/* ─────────────────────────────────────────────────────────────
   Marketing site — shared styles
   Brand accent: #EE8F06 (from logo.svg)
   ───────────────────────────────────────────────────────────── */

:root {
  --orange: #EE8F06;
  --orange-dark: #c97606;
  --orange-soft: #fff6e8;
  --ink: #14110c;
  --body: #4a463f;
  --muted: #6f6a61;
  --line: #ece8e1;
  --bg: #ffffff;
  --bg-soft: #faf8f4;
  --bg-dark: #16130d;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(20, 17, 12, .04), 0 8px 24px rgba(20, 17, 12, .06);
  --shadow-lg: 0 24px 60px rgba(20, 17, 12, .12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--orange-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(238, 143, 6, .28);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 30px; width: auto; display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a.navlink {
  color: var(--body);
  font-weight: 500;
  font-size: 15px;
}
.nav a.navlink:hover { color: var(--ink); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 80px;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(238, 143, 6, .12), transparent 60%),
    radial-gradient(700px 360px at 0% 10%, rgba(238, 143, 6, .06), transparent 55%),
    var(--bg);
  text-align: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  max-width: 16ch;
  margin: 0 auto .3em;
}
.hero h1 .hl { color: var(--orange); }
.hero .lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ── Channel strip ────────────────────────────────────────── */
.channels {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.chan {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.chan svg { width: 18px; height: 18px; display: block; }

/* ── Sections ─────────────────────────────────────────────── */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

/* ── Feature grid ─────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #e3dcd0; }
.feature .ficon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature .ficon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.feature .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.feature .tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-dark);
  background: var(--orange-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ── Two-column how-it-works ──────────────────────────────── */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.pillar .tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange-dark);
}
.pillar h3 { font-size: 24px; margin: 8px 0 14px; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 15px;
}
.pillar li:first-child { border-top: none; }
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 16px; height: 16px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Audience ─────────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.roles span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
}
.metrics { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.metric .n { font-size: 30px; font-weight: 800; color: var(--orange); letter-spacing: -.02em; }
.metric .l { font-size: 14px; color: var(--muted); }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(238, 143, 6, .25), transparent 60%),
    var(--bg-dark);
  color: #fff;
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.72); font-size: 18px; max-width: 52ch; margin: 0 auto 28px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.66);
  padding: 56px 0 40px;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .flogo img { height: 26px; filter: brightness(0) invert(1); opacity: .9; }
.site-footer nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.site-footer nav a {
  color: rgba(255,255,255,.72);
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.site-footer nav a:hover { color: #fff; text-decoration: none; }
.site-footer nav a svg { width: 18px; height: 18px; }
.copyright {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 28px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ── Legal pages ──────────────────────────────────────────── */
.legal {
  padding: 64px 0 88px;
}
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; color: var(--body); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; }

/* ── Demo modal ───────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 17, 12, .55);
  backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in .2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.99); }
  to   { opacity: 1; transform: none; }
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-close {
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.modal-close:hover { background: var(--line); }
.modal-card iframe { display: block; width: 100%; height: 600px; border: 0; }
@media (max-width: 600px) {
  .modal { padding: 0; }
  .modal-card { max-width: 100%; height: 100%; border-radius: 0; display: flex; flex-direction: column; }
  .modal-card iframe { flex: 1; height: auto; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .features { grid-template-columns: 1fr; }
  .nav .navlink { display: none; }
  .cta-band { padding: 44px 24px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
