/* ═══════════════════════════════════════════════════════════════
   RecruitFlow — Marketing Site
   Design language mirrors the real product:
   Linear/Vercel-grade SaaS · quiet luxury · indigo accent · Geist
   No purple-neon, no gradient soup. Light base + deep-navy showcase.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tokens ─── */
:root {
  --bg:           hsl(220 24% 97.5%);
  --bg-tint:      hsl(222 30% 96%);
  --card:         #ffffff;
  --ink:          hsl(222 38% 9%);
  --ink-soft:     hsl(222 15% 31%);
  --muted:        hsl(220 10% 46%);
  --line:         hsl(220 18% 90%);
  --line-soft:    hsl(220 24% 94.5%);

  --primary:      hsl(243 75% 59%);
  --primary-600:  hsl(243 72% 52%);
  --primary-700:  hsl(244 70% 45%);
  --primary-ink:  hsl(243 70% 48%);
  --primary-50:   hsl(243 80% 97%);
  --primary-100:  hsl(243 76% 93%);

  --emerald:      hsl(160 84% 33%);
  --emerald-bg:   hsl(160 70% 95%);
  --amber:        hsl(35 92% 45%);

  --navy:         hsl(222 47% 7.5%);
  --navy-2:       hsl(222 40% 11%);
  --navy-3:       hsl(222 34% 14%);
  --navy-line:    hsl(222 24% 20%);
  --navy-ink:     hsl(220 14% 92%);
  --navy-muted:   hsl(220 10% 58%);
  --primary-soft: hsl(243 75% 70%);

  --radius:   0.875rem;
  --radius-sm: 0.625rem;
  --radius-lg: 1.25rem;

  --shadow-xs:  0 1px 2px rgba(15,23,42,.05);
  --shadow-sm:  0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md:  0 6px 16px rgba(15,23,42,.07), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg:  0 18px 44px rgba(15,23,42,.10), 0 4px 10px rgba(15,23,42,.05);
  --shadow-xl:  0 36px 80px -16px rgba(13,20,45,.30), 0 10px 28px -8px rgba(13,20,45,.18);
  --shadow-brand: 0 12px 30px hsl(243 75% 50% / .28);

  --ease:    cubic-bezier(.2,.8,.2,1);
  --ease-emph: cubic-bezier(.16,1,.3,1);

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 40px);

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  font-feature-settings: 'cv11','ss01','ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: hsl(243 75% 59% / .18); }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ─── Placeholder marker ─── */
.ph {
  font-size: .72em; font-weight: 500; letter-spacing: .01em;
  color: var(--primary-ink);
  background: var(--primary-50);
  border: 1px dashed hsl(243 70% 75%);
  padding: .05em .45em; border-radius: 6px;
  white-space: normal; overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  vertical-align: middle;
}

/* ─── Typography ─── */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.025em; font-weight: 650; color: var(--ink); }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--primary-ink);
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--primary-50); border: 1px solid var(--primary-100);
  margin-bottom: 1.1rem;
}
.kicker--light { color: var(--primary-soft); background: hsl(243 60% 60% / .12); border-color: hsl(243 60% 60% / .22); }

.hl { color: var(--primary); }
.hl-ink { color: var(--primary-ink); }
.hl-soft { color: var(--primary-soft); }
.muted-ink { color: var(--muted); font-weight: 600; }

/* ─── Sections ─── */
.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.section--center .section__head { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.9rem, 4.2vw, 3.05rem); font-weight: 680; }
.section__lead { margin-top: 1.1rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-soft); line-height: 1.6; max-width: 620px; }

/* ═══ BUTTONS ═══ */
.btn {
  --bg: transparent; --fg: var(--ink);
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 560; font-size: .95rem; letter-spacing: -.01em;
  padding: .72em 1.25em; border-radius: 11px;
  background: var(--bg); color: var(--fg);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn .ico { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn--sm { font-size: .875rem; padding: .56em 1em; }
.btn--lg { font-size: 1rem; padding: .92em 1.5em; border-radius: 12px; }

.btn--primary { --bg: var(--primary); --fg: #fff; box-shadow: var(--shadow-brand), inset 0 1px 0 hsl(0 0% 100% / .18); }
.btn--primary:hover { --bg: var(--primary-600); transform: translateY(-2px); box-shadow: 0 16px 36px hsl(243 75% 48% / .36), inset 0 1px 0 hsl(0 0% 100% / .2); }
.btn--primary:hover .ico { transform: translateX(3px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { --fg: var(--ink); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: hsl(220 16% 84%); }

.btn--dark { --bg: var(--navy); --fg: #fff; box-shadow: var(--shadow-md), inset 0 1px 0 hsl(0 0% 100% / .08); }
.btn--dark:hover { --bg: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--dark:hover .ico { transform: translateX(3px); }

.btn--glass { --fg: #fff; background: hsl(0 0% 100% / .08); border: 1px solid hsl(0 0% 100% / .18); backdrop-filter: blur(8px); }
.btn--glass:hover { background: hsl(0 0% 100% / .14); transform: translateY(-2px); }

.play { width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--primary); position: relative; flex: none; }
.play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: .4em solid #fff; border-top: .26em solid transparent; border-bottom: .26em solid transparent; transform: translateX(.06em); }

/* ═══ NAV ═══ */
.nav { position: sticky; top: 0; z-index: 100; transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: hsl(220 24% 98% / .8); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line-soft); box-shadow: 0 1px 0 rgba(15,23,42,.02); }
.nav__inner { max-width: var(--maxw); margin-inline: auto; padding: .8rem var(--pad); display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 660; letter-spacing: -.02em; font-size: 1.08rem; }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--primary) 0%, var(--primary-700) 100%); box-shadow: var(--shadow-sm), inset 0 1px 0 hsl(0 0% 100% / .25); }

.nav__links { display: flex; gap: .35rem; margin-left: .5rem; }
.nav__links a { font-size: .92rem; color: var(--ink-soft); font-weight: 500; padding: .45rem .7rem; border-radius: 8px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: hsl(220 18% 92% / .7); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: .55rem; }
.nav__menucta { display: none; margin-top: 8px; padding: .7rem .9rem !important; border-radius: 10px; background: var(--primary); color: #fff !important; font-weight: 560; box-shadow: var(--shadow-brand); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* ═══ HERO ═══ */
.hero { position: relative; padding: clamp(40px, 7vw, 78px) 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(720px 460px at 78% -8%, hsl(243 80% 92% / .55), transparent 70%),
    radial-gradient(640px 520px at 6% 8%, hsl(210 70% 94% / .5), transparent 65%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(hsl(222 20% 70% / .14) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }

.hero__grid { display: grid; grid-template-columns: 1.04fr 1.12fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 550; color: var(--ink-soft); padding: .35rem .7rem .35rem .55rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-xs); margin-bottom: 1.4rem; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px hsl(160 84% 40% / .18); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 3px hsl(160 84% 40% / .18);} 50%{ box-shadow: 0 0 0 5px hsl(160 84% 40% / .05);} }

.hero__title { font-size: clamp(2.35rem, 5.6vw, 4rem); font-weight: 700; letter-spacing: -.035em; }
.hero__title span { display: block; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--ink-soft); max-width: 540px; line-height: 1.58; }
.hero__sub strong { color: var(--ink); font-weight: 600; }

.switcher { position: relative; display: inline-flex; margin-top: 1.7rem; padding: 5px; border-radius: 13px; background: hsl(220 20% 93% / .8); border: 1px solid var(--line); box-shadow: inset 0 1px 2px rgba(15,23,42,.04); gap: 0; max-width: 100%; }
.switcher__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 9px; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .42s var(--ease-emph); z-index: 0; }
body[data-perspective="agency"] .switcher__pill { transform: translateX(100%); }
.switcher__opt { position: relative; z-index: 1; flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-size: .85rem; font-weight: 550; color: var(--muted); padding: .58rem .85rem; border-radius: 9px; transition: color .3s var(--ease); white-space: nowrap; }
.switcher__opt .ico { width: 1.05em; height: 1.05em; }
.switcher__opt.is-active { color: var(--primary-ink); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; margin-top: 1.8rem; }
.hero__proof li { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--ink-soft); font-weight: 500; }
.hero__proof .ico { width: 1rem; height: 1rem; color: var(--emerald); stroke-width: 2.6; }

/* ─── Hero product mockup ─── */
.hero__visual { position: relative; perspective: 1600px; }
.glow { position: absolute; border-radius: 50%; filter: blur(56px); z-index: -1; }
.glow--a { width: 320px; height: 320px; background: hsl(243 80% 65% / .25); top: -40px; right: -30px; }
.glow--b { width: 280px; height: 280px; background: hsl(190 80% 60% / .18); bottom: -50px; left: -20px; }

.app {
  position: relative; display: grid; grid-template-columns: 168px 1fr;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden; min-height: 420px;
  transform: rotateY(-8deg) rotateX(3deg) translateZ(0); transform-style: preserve-3d;
  transition: transform .5s var(--ease-emph);
}
.app__side { background: var(--navy); color: var(--navy-ink); padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.app__brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: #fff; padding: 4px 6px; }
.app__brandmark { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(150deg, var(--primary), var(--primary-700)); color: #fff; }
.app__nav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.app__navitem { display: flex; align-items: center; gap: .55rem; font-size: .82rem; color: var(--navy-muted); padding: .5rem .6rem; border-radius: 8px; }
.app__navitem .ico { width: 1rem; height: 1rem; }
.app__navitem.is-active { background: hsl(243 70% 60% / .16); color: #fff; }
.app__plan { margin-top: auto; font-size: .68rem; color: var(--navy-muted); padding: 8px; border-radius: 9px; background: hsl(0 0% 100% / .04); border: 1px solid var(--navy-line); }
.app__planbar { height: 5px; border-radius: 3px; background: hsl(0 0% 100% / .1); overflow: hidden; margin-bottom: 6px; }
.app__planbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-soft)); border-radius: 3px; }

.app__main { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.app__top { display: flex; align-items: flex-start; justify-content: space-between; }
.app__crumb { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.app__title { font-size: 1.02rem; font-weight: 640; margin-top: 2px; }
.app__topright { display: flex; align-items: center; gap: 8px; }
.app__chip { font-size: .68rem; font-weight: 600; color: var(--emerald); background: var(--emerald-bg); padding: .25rem .55rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.app__avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(150deg, var(--primary), var(--primary-700)); color: #fff; font-size: .68rem; font-weight: 600; display: grid; place-items: center; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot--live { background: var(--emerald); box-shadow: 0 0 0 3px hsl(160 84% 40% / .16); }
.dot--new { background: var(--primary); }
.dot--warm { background: var(--amber); }
.dot--won { background: var(--emerald); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px 8px; box-shadow: var(--shadow-xs); }
.kpi__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.kpi__label { font-size: .66rem; color: var(--muted); font-weight: 550; }
.kpi__delta { font-size: .62rem; font-weight: 650; padding: .1rem .35rem; border-radius: 6px; }
.kpi__delta.up { color: var(--emerald); background: var(--emerald-bg); }
.kpi__val { font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; margin: 3px 0 5px; font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 30px; }
.spark__area { fill: hsl(243 75% 59% / .12); stroke: none; }
.spark__line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; }
.in .spark__line, .app .spark__line { animation: draw 1.4s var(--ease-emph) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.app__panel { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 12px; box-shadow: var(--shadow-xs); flex: 1; }
.app__panelhead { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; font-weight: 620; margin-bottom: 10px; }
.app__seg { display: inline-flex; background: var(--bg-tint); border-radius: 8px; padding: 2px; }
.app__seg i { font-size: .64rem; font-style: normal; color: var(--muted); padding: .2rem .5rem; border-radius: 6px; font-weight: 600; }
.app__seg i.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-xs); }

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.board__col { background: var(--bg-tint); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 7px; }
.board__colhead { display: flex; align-items: center; gap: .4rem; font-size: .66rem; font-weight: 600; color: var(--ink-soft); }
.board__colhead b { margin-left: auto; color: var(--muted); font-weight: 600; }
.leadcard { display: flex; align-items: center; gap: .5rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; box-shadow: var(--shadow-xs); }
.leadcard__av { width: 22px; height: 22px; border-radius: 6px; background: hsl(243 60% 92%); color: var(--primary-ink); font-size: .58rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.leadcard b { font-size: .7rem; font-weight: 600; display: block; }
.leadcard i { font-size: .6rem; color: var(--muted); font-style: normal; }
.leadcard--won { border-color: hsl(160 60% 80%); background: hsl(160 70% 98%); }
.leadcard--won .leadcard__av { background: var(--emerald-bg); color: var(--emerald); }

.toast { position: absolute; right: -18px; bottom: 38px; z-index: 3; display: flex; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; box-shadow: var(--shadow-lg); max-width: 240px; opacity: 0; transform: translateY(10px) scale(.96); }
.toast.show { animation: toastIn .6s var(--ease-emph) forwards; }
@keyframes toastIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.toast__ico { width: 30px; height: 30px; border-radius: 8px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; flex: none; }
.toast b { font-size: .76rem; font-weight: 620; display: block; }
.toast i { font-size: .66rem; color: var(--muted); font-style: normal; }

/* ═══ TRUST ═══ */
.trust { padding: 30px 0 8px; border-top: 1px solid var(--line-soft); }
.trust__label { text-align: center; font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 1.4rem; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.6rem; }
.logo-ph { font-size: 1.02rem; font-weight: 680; letter-spacing: -.02em; color: hsl(222 14% 58%); opacity: .75; filter: grayscale(1); transition: opacity .25s, color .25s; }
.logo-ph:hover { opacity: 1; color: var(--ink); }

/* ═══ PROBLEM ═══ */
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prob { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.prob:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: hsl(220 16% 85%); }
.prob__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; }
.prob__ico .ico { width: 1.25rem; height: 1.25rem; }
.prob__ico.bad { background: hsl(0 80% 96%); color: hsl(0 72% 52%); }
.prob h3 { font-size: 1.04rem; font-weight: 620; margin-bottom: 7px; }
.prob p { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }
.problem__turn { text-align: center; margin-top: 44px; font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--ink-soft); font-weight: 500; letter-spacing: -.015em; }
.problem__turn strong { color: var(--ink); font-weight: 680; }

/* ═══ SOLUTION FLOW ═══ */
.solution { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%); border-top: 1px solid var(--line-soft); }
.flow { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.flow__step { flex: 1 1 180px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-xs); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.flow__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.flow__num { font-family: var(--mono); font-size: .72rem; color: var(--primary-ink); font-weight: 500; }
.flow__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; margin: 12px 0 14px; }
.flow__ico .ico { width: 1.3rem; height: 1.3rem; }
.flow__step b { font-size: 1.02rem; font-weight: 620; display: block; margin-bottom: 6px; }
.flow__step p { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.flow__arrow { display: grid; place-items: center; color: hsl(220 14% 70%); width: 28px; flex: none; }
.flow__arrow .ico { width: 1.2rem; height: 1.2rem; }

/* ═══ SEATS ═══ */
.seats { border-top: 1px solid var(--line-soft); }
.seatgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.seatcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), border-color .35s; position: relative; overflow: hidden; }
.seatcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--primary); opacity: .9; }
#seat-agency::before { background: var(--navy); }
.seatcard:hover { box-shadow: var(--shadow-lg); }
body[data-perspective="company"] #seat-company,
body[data-perspective="agency"] #seat-agency { box-shadow: var(--shadow-lg); border-color: hsl(243 60% 80%); }
body[data-perspective="agency"] #seat-agency { border-color: hsl(222 30% 70%); }

.seatcard__tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 620; padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem; }
.seatcard__tag .ico { width: 1rem; height: 1rem; }
.tag--company { color: var(--primary-ink); background: var(--primary-50); border: 1px solid var(--primary-100); }
.tag--agency { color: var(--navy); background: hsl(222 20% 94%); border: 1px solid hsl(222 16% 86%); }
.seatcard__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 650; line-height: 1.16; }
.seatcard__head p { margin-top: .8rem; font-size: .96rem; color: var(--ink-soft); line-height: 1.6; }
.seatcard__list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .8rem; }
.seatcard__list li { display: flex; gap: .65rem; font-size: .94rem; color: var(--ink-soft); line-height: 1.45; }
.seatcard__list .ico { width: 1.1rem; height: 1.1rem; color: var(--primary); stroke-width: 2.6; margin-top: .15rem; flex: none; }
.seatcard__list b { color: var(--ink); font-weight: 620; }
.seatcard .btn { align-self: flex-start; margin-bottom: 1.8rem; }

/* seat mockups */
.seatshot { margin-top: auto; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.miniapp { background: var(--card); }
.miniapp__bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; font-size: .74rem; font-weight: 550; border-bottom: 1px solid var(--line); background: var(--bg-tint); }
.miniapp__bar--dark { background: var(--navy); color: var(--navy-ink); border-bottom-color: var(--navy-line); }
.miniapp__brand { display: inline-flex; align-items: center; gap: .45rem; font-weight: 620; }
.swatch { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex: none; }
.miniapp__user { font-size: .68rem; color: var(--muted); font-weight: 600; }
.miniapp__bar--dark .miniapp__user { color: var(--navy-muted); }
.miniapp__body { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk { background: var(--bg-tint); border-radius: 9px; padding: 9px 10px; display: flex; flex-direction: column; }
.mk span { font-size: .62rem; color: var(--muted); font-weight: 550; }
.mk b { font-size: 1.05rem; font-weight: 700; margin: 1px 0; }
.mk i { font-size: .6rem; font-style: normal; font-weight: 650; color: var(--emerald); }
.miniapp__list { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.lrow { display: flex; align-items: center; gap: .5rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.lrow__av { width: 22px; height: 22px; border-radius: 6px; background: hsl(243 60% 92%); color: var(--primary-ink); font-size: .58rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.lrow__name { font-size: .72rem; font-weight: 500; flex: 1; }
.pill { font-size: .58rem; font-weight: 650; padding: .12rem .45rem; border-radius: 999px; }
.pill--new { color: var(--primary-ink); background: var(--primary-50); }
.pill--warm { color: var(--amber); background: hsl(35 90% 94%); }
.pill--won { color: var(--emerald); background: var(--emerald-bg); }

.miniapp__body--dark { background: var(--navy-2); display: flex; flex-direction: column; gap: 7px; }
.clientrow { display: flex; align-items: center; gap: .6rem; background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: 9px; padding: 8px 10px; }
.clientrow__logo { width: 26px; height: 26px; border-radius: 7px; color: #fff; font-size: .6rem; font-weight: 700; display: grid; place-items: center; flex: none; }
.clientrow__name { font-size: .76rem; font-weight: 600; color: var(--navy-ink); flex: 1; }
.clientrow__stat { font-size: .64rem; color: var(--navy-muted); font-weight: 500; }
.clientrow__stat.strong { color: var(--primary-soft); font-weight: 680; }
.clientrow--add { background: transparent; border-style: dashed; }
.clientrow__logo--add { background: hsl(0 0% 100% / .06); color: var(--navy-muted); }
.clientrow__logo--add .ico { width: 1rem; height: 1rem; }
.clientrow .muted { color: var(--navy-muted); }

/* ═══ FEATURES (dark) ═══ */
.features { background: var(--navy); color: var(--navy-ink); overflow: hidden; }
.features::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% -5%, hsl(243 70% 55% / .18), transparent 70%); pointer-events: none; }
.features .section__title { color: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 24px; transition: transform .35s var(--ease), border-color .35s, background .35s; position: relative; overflow: hidden; }
.feat:hover { transform: translateY(-4px); border-color: hsl(243 50% 50% / .5); background: var(--navy-3); }
.feat--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.feat--accent { background: linear-gradient(155deg, hsl(243 60% 24%), var(--navy-2)); border-color: hsl(243 55% 45% / .5); }
.feat__tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 620; color: var(--primary-soft); padding: .3rem .65rem; border-radius: 999px; background: hsl(243 60% 60% / .14); border: 1px solid hsl(243 60% 60% / .24); margin-bottom: 1rem; }
.feat__tag .ico { width: 1rem; height: 1rem; }
.feat__tag--accent { color: #fff; background: hsl(243 70% 60% / .3); border-color: hsl(243 70% 70% / .4); }
.feat h3 { color: #fff; font-size: 1.18rem; font-weight: 640; margin-bottom: .6rem; line-height: 1.2; }
.feat p { font-size: .9rem; color: var(--navy-muted); line-height: 1.55; }
.feat--wide .feat__text h3 { font-size: 1.4rem; }

/* builder mockup */
.builder { display: grid; grid-template-columns: 1fr 130px; gap: 14px; background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: 14px; padding: 14px; }
.builder__steps { display: flex; flex-direction: column; gap: 7px; }
.bstep { display: flex; align-items: center; gap: .55rem; font-size: .76rem; color: var(--navy-muted); background: hsl(0 0% 100% / .03); border: 1px solid var(--navy-line); border-radius: 9px; padding: .55rem .7rem; font-weight: 500; }
.bstep span { width: 19px; height: 19px; border-radius: 6px; background: hsl(0 0% 100% / .07); display: grid; place-items: center; font-size: .64rem; font-weight: 700; flex: none; }
.bstep.is-active { color: #fff; background: hsl(243 70% 60% / .16); border-color: hsl(243 60% 60% / .4); }
.bstep.is-active span { background: var(--primary); color: #fff; }
.phone { background: #fff; border-radius: 16px; padding: 8px 8px 12px; box-shadow: var(--shadow-lg); }
.phone__top { display: grid; place-items: center; padding: 3px 0 7px; }
.phone__top i { width: 36px; height: 4px; border-radius: 3px; background: hsl(220 14% 88%); }
.phone__screen { background: var(--bg); border-radius: 11px; padding: 11px; }
.phone__h { font-size: .76rem; font-weight: 680; color: var(--ink); line-height: 1.25; }
.phone__p { font-size: .62rem; color: var(--muted); margin: 4px 0 9px; }
.phone__opt { font-size: .66rem; font-weight: 550; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; margin-bottom: 5px; }
.phone__opt.is-sel { border-color: var(--primary); background: var(--primary-50); color: var(--primary-ink); box-shadow: 0 0 0 2px hsl(243 75% 59% / .12); }
.phone__cta { margin-top: 7px; text-align: center; font-size: .68rem; font-weight: 620; color: #fff; background: var(--primary); border-radius: 8px; padding: .5rem; }
.phone__bar { height: 4px; border-radius: 3px; background: hsl(220 14% 90%); margin-top: 9px; overflow: hidden; }
.phone__bar i { display: block; height: 100%; background: var(--primary); border-radius: 3px; }

.feat__mini { margin-top: 16px; }
.board--dark { background: transparent; }
.board--dark .board__col { background: hsl(0 0% 100% / .04); }
.board--dark .board__colhead { color: var(--navy-ink); }
.leadcard--d { display: block; background: var(--navy-3); border-color: var(--navy-line); color: var(--navy-ink); font-size: .72rem; font-weight: 550; }
.chartbox { background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: 12px; padding: 14px; }
.bigchart { width: 100%; height: 64px; }
.bigchart__area { fill: hsl(243 75% 62% / .18); }
.bigchart__line { fill: none; stroke: var(--primary-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 480; stroke-dashoffset: 480; }
.in .bigchart__line { animation: draw 1.6s var(--ease-emph) .2s forwards; }
.chartbox__legend { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: var(--navy-muted); }
.chartbox__legend span { display: inline-flex; align-items: center; gap: .35rem; }
.chartbox__legend b { color: var(--emerald); font-weight: 680; }
.swatches, .mailrow { display: flex; flex-direction: column; gap: 8px; }
.swrow { display: flex; align-items: center; gap: .55rem; font-size: .76rem; color: var(--navy-ink); font-family: var(--mono); background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: 8px; padding: .5rem .65rem; }
.mailrow { flex-direction: row; align-items: center; gap: .7rem; background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: 11px; padding: 12px; }
.mailrow__ico { width: 34px; height: 34px; border-radius: 9px; background: hsl(243 70% 60% / .18); color: var(--primary-soft); display: grid; place-items: center; flex: none; }
.mailrow b { font-size: .8rem; color: #fff; display: block; }
.mailrow i { font-size: .66rem; color: var(--navy-muted); font-style: normal; }

/* ═══ HOW ═══ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-xs); position: relative; }
.step__n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1rem; color: #fff; background: var(--navy); margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; font-weight: 640; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }

/* ═══ METRICS ═══ */
.metrics { background: var(--bg-tint); border-block: 1px solid var(--line-soft); padding-block: clamp(54px, 8vw, 88px); }
.metrics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric { text-align: center; padding: 8px; }
.metric b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 720; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.metric b .count { display: inline; }
.metric span { display: block; margin-top: .7rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }
.metrics__note { text-align: center; margin-top: 32px; font-size: .82rem; }

/* ═══ QUOTES ═══ */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); position: relative; }
.quote__mark { width: 2rem; height: 2rem; color: var(--primary-100); stroke-width: 1.4; margin-bottom: 8px; }
.quote blockquote { font-size: 1.1rem; line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.quote blockquote em { color: var(--primary-ink); font-style: normal; font-weight: 600; }
.quote figcaption { display: flex; align-items: center; gap: .7rem; margin-top: 22px; }
.quote__av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, var(--primary), var(--primary-700)); color: #fff; font-weight: 650; font-size: .85rem; display: grid; place-items: center; flex: none; }
.quote figcaption b { font-size: .92rem; font-weight: 620; display: block; }
.quote figcaption i { font-size: .8rem; color: var(--muted); font-style: normal; }

/* ═══ FAQ ═══ */
.faq__wrap { max-width: 820px; }
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.acc__item[open] { box-shadow: var(--shadow-md); border-color: hsl(243 50% 86%); }
.acc__item summary { display: flex; align-items: center; gap: 1rem; padding: 18px 22px; font-size: 1rem; font-weight: 580; color: var(--ink); cursor: pointer; list-style: none; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__chev { width: 1.1rem; height: 1.1rem; color: var(--muted); margin-left: auto; transition: transform .3s var(--ease); }
.acc__item[open] .acc__chev { transform: rotate(90deg); color: var(--primary); }
.acc__body { padding: 0 22px 20px; }
.acc__body p { font-size: .94rem; color: var(--ink-soft); line-height: 1.6; max-width: 64ch; }
.acc__body em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ═══ CTA ═══ */
.cta { background: var(--navy); color: #fff; text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; background:
    radial-gradient(600px 340px at 50% 0%, hsl(243 70% 55% / .3), transparent 70%),
    radial-gradient(500px 300px at 85% 100%, hsl(200 70% 50% / .14), transparent 70%); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(hsl(0 0% 100% / .05) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent); }
.cta__inner { position: relative; max-width: 720px; }
.cta__title { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.cta__sub { margin: 1.3rem auto 0; max-width: 540px; color: var(--navy-ink); font-size: 1.08rem; line-height: 1.6; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2.1rem; }
.cta__micro { margin-top: 1.4rem; font-size: .82rem; color: var(--navy-muted); }

/* ═══ FOOTER ═══ */
.footer { background: hsl(222 40% 6%); color: var(--navy-ink); padding: 64px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer__brand p { font-size: .88rem; color: var(--navy-muted); line-height: 1.6; max-width: 30ch; }
.footer__made { margin-top: 1rem !important; }
.footer__made a { color: var(--primary-soft); }
.footer__col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--navy-muted); font-weight: 600; margin-bottom: 1rem; }
.footer__col a { display: block; font-size: .9rem; color: var(--navy-ink); margin-bottom: .7rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: .8rem; color: var(--navy-muted); }

/* ═══ REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-emph), transform .7s var(--ease-emph); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 540px; }
  .app { transform: none; }
  .prob-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat--wide { grid-column: span 2; }
  .seatgrid, .quote-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 12px var(--pad) 18px;
    background: hsl(220 24% 98% / .96); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease-emph);
  }
  .nav__links a { font-size: 1rem; padding: .7rem .8rem; }
  body.menu-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  body.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__burger { display: flex; }
}
@media (max-width: 720px) {
  .nav__inner { gap: .8rem; }
  .nav__cta .btn--ghost { display: none; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .switcher { width: 100%; }
  .switcher__opt { font-size: .74rem; padding: .5rem .4rem; white-space: normal; min-width: 0; line-height: 1.18; text-align: center; }
  .switcher__opt .ico { display: none; }
  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); width: auto; height: 24px; }
  .feat-grid, .steps, .metrics__grid { grid-template-columns: 1fr; }
  .feat--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .builder { grid-template-columns: 1fr; }
  .builder__canvas { display: grid; place-items: center; }
  .phone { max-width: 200px; }
  .prob-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  /* Hero product mockup → collapsed icon-rail so it fits narrow screens */
  .hero__visual { max-width: 100%; min-width: 0; margin-inline: auto; }
  .app { grid-template-columns: 52px 1fr; min-width: 0; min-height: 0; border-radius: 14px; }
  .app, .app * { min-width: 0; }
  .app__side { padding: 12px 8px; gap: 8px; }
  .app__brand { justify-content: center; }
  .app__brand span, .app__navitem span, .app__plan { display: none; }
  .app__navitem { justify-content: center; padding: .5rem 0; }
  .app__main { padding: 12px; gap: 10px; }
  .kpis { gap: 6px; }
  .kpi { padding: 8px 9px; }
  .kpi__label { font-size: .56rem; }
  .kpi__val { font-size: 1.02rem; }
  .kpi__delta { font-size: .56rem; }
  .board { gap: 5px; }
  .board__col { padding: 6px; }
  .leadcard { padding: 5px 6px; }
  .toast { right: auto; left: 50%; transform: translateX(-50%) translateY(10px) scale(.96); bottom: -16px; }
  .toast.show { animation: toastInM .6s var(--ease-emph) forwards; }
}
@keyframes toastInM { to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }

@media (max-width: 480px) {
  .nav__cta { display: none; }
  .nav__menucta { display: block; text-align: center; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .spark__line, .bigchart__line { stroke-dashoffset: 0; }
}
