/* ============================================================
   Focul — landing page design system
   Kinso-grade polish · green accent · light/dark alternation
   ============================================================ */

:root {
  --font-sans: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* brand */
  --accent: #18a06a;
  --accent-2: #3cba87;
  --accent-grad: linear-gradient(95deg, #1f9d63, #45c191);
  --accent-soft: rgba(24,160,106,.12);

  /* functional tag colors */
  --tag-action: #18a06a;
  --tag-calendar: #6b7cff;
  --tag-blocker: #e0823d;

  /* light surface tokens */
  --l-bg: #f6f4f0;
  --l-bg-grad: linear-gradient(118deg, #dff0e6 0%, #eef5ef 40%, #f6f4f0 74%, #f7f3ee 100%);
  --l-card: #ffffff;
  --l-ink: #14181a;
  --l-sub: rgba(20,24,26,.58);
  --l-faint: rgba(20,24,26,.34);
  --l-border: rgba(20,24,26,.09);
  --l-border-2: rgba(20,24,26,.14);
  --l-row: rgba(20,24,26,.022);

  /* dark surface tokens */
  --d-bg: #0d100f;
  --d-card: #16191b;
  --d-ink: #f3f5f4;
  --d-sub: rgba(255,255,255,.6);
  --d-faint: rgba(255,255,255,.4);
  --d-border: rgba(255,255,255,.1);
  --d-border-2: rgba(255,255,255,.16);
  --d-row: rgba(255,255,255,.035);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--l-bg);
  color: var(--l-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- section theming ---------- */
.section { position: relative; padding: 110px 0; }
.section.light {
  --bg: var(--l-bg); --card: var(--l-card); --ink: var(--l-ink);
  --sub: var(--l-sub); --faint: var(--l-faint); --border: var(--l-border);
  --border-2: var(--l-border-2); --row: var(--l-row);
  background: var(--l-bg); color: var(--l-ink);
}
.section.dark {
  --bg: var(--d-bg); --card: var(--d-card); --ink: var(--d-ink);
  --sub: var(--d-sub); --faint: var(--d-faint); --border: var(--d-border);
  --border-2: var(--d-border-2); --row: var(--d-row);
  background: var(--d-bg); color: var(--d-ink);
}
.section.dark .grid-tex {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(140% 120% at 50% 30%, #000 65%, transparent 100%);
          mask-image: radial-gradient(140% 120% at 50% 30%, #000 65%, transparent 100%);
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sub); border: 1px solid var(--border-2);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

.h-sec {
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.032em;
  font-weight: 600; margin: 22px 0 0; color: var(--ink); text-wrap: balance;
}
.h-sec .muted { color: var(--faint); font-weight: 450; }
.h-sec .accent {
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16px,1.3vw,18.5px); line-height: 1.55; color: var(--sub); font-weight: 450; max-width: 540px; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15.5px; font-weight: 600; padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--row); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(24,160,106,.6); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(24,160,106,.7); }

/* ============================================================
   NAV — floating frosted pill, adaptive to section behind it
   ============================================================ */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
  transition: top .3s var(--ease);
}
.nav-inner {
  pointer-events: auto;
  width: min(1180px, calc(100vw - 36px));
  display: flex; align-items: center; gap: 6px;
  padding: 10px 10px 10px 22px; border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,24,26,.07);
  box-shadow: 0 10px 34px -18px rgba(30,50,40,.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.on-dark .nav-inner {
  background: rgba(26,30,28,.66); border-color: rgba(255,255,255,.1);
  box-shadow: 0 10px 34px -16px rgba(0,0,0,.6);
}
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 17.5px; letter-spacing: -.02em; padding-right: 4px; color: #14181a; transition: color .4s var(--ease); white-space: nowrap; flex-shrink: 0; }
.nav.on-dark .nav-brand { color: #f3f5f4; }
.nav-logo { width: 26px; height: 20px; flex-shrink: 0; }
.nav-sep { width: 1px; height: 20px; background: rgba(20,24,26,.1); margin: 0 8px; transition: background .4s var(--ease); }
.nav.on-dark .nav-sep { background: rgba(255,255,255,.12); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: rgba(20,24,26,.6); text-decoration: none;
  padding: 8px 13px; border-radius: 10px; transition: color .25s, background .25s;
  white-space: nowrap;
}
.nav-links a:hover { color: #14181a; background: rgba(20,24,26,.04); }
.nav.on-dark .nav-links a { color: rgba(255,255,255,.66); }
.nav.on-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-login {
  font-size: 14.5px; font-weight: 550; color: #14181a; text-decoration: none;
  padding: 9px 17px; border-radius: 999px; background: rgba(20,24,26,.04); transition: all .25s;
  white-space: nowrap; flex-shrink: 0;
}
.nav.on-dark .nav-login { color: #f3f5f4; background: rgba(255,255,255,.07); }
.nav-cta {
  margin-left: auto;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  color: #fff; background: #14181a; padding: 11px 18px; border-radius: 13px;
  display: inline-flex; align-items: center; gap: 7px; transition: all .25s var(--ease);
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav.on-dark .nav-cta { color: #0e1110; background: #f3f5f4; }
.nav-burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 150px 0 96px; background: var(--l-bg-grad); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.04fr; gap: 24px; align-items: center; }
.hero-h {
  font-size: clamp(44px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.038em;
  font-weight: 600; margin: 24px 0 0; color: #14181a;
}
.hero-h .muted { color: rgba(20,24,26,.34); font-weight: 450; }
.hero .lead { margin-top: 28px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-proof { margin-top: 30px; color: var(--l-sub); font-size: 16px; }
.proof-logo { flex-shrink: 0; }
.wl-num { color: var(--accent); font-weight: 700; margin: 0 .15em; }
/* simplistic Kinso-style closing CTA */
.cta-join { font-size: clamp(28px, 4vw, 46px); font-weight: 600; letter-spacing: -.03em; color: var(--l-ink); margin: 0; text-align: center; }
.cta-join .wl-num { font-size: 1em; }

.hero-visual { position: relative; display: flex; justify-content: center; }
/* ambient depth so the window reads as a real screenshot, not a flat card */
.hero-visual::before {
  content: ""; position: absolute; inset: -10% -8% -14% -8%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 48% at 54% 44%, rgba(24,160,106,.12), transparent 72%);
}
.hero-visual > * { position: relative; z-index: 1; }

/* ---------- app window (reused) ---------- */
.appwin {
  width: 440px; background: var(--card, #fff);
  border: 1px solid var(--win-bd, rgba(20,24,26,.08)); border-radius: 16px;
  /* layered, realistic macOS-style depth + glass top highlight */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 2px 5px -2px rgba(24,40,30,.10),
    0 14px 34px -16px rgba(24,60,42,.22),
    0 56px 104px -48px rgba(24,60,42,.40);
  overflow: hidden;
}
.section.dark .appwin, .appwin.dark {
  --win-bd: rgba(255,255,255,.08); background: #16191b;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
}
.appwin-bar { display: flex; align-items: center; gap: 9px; padding: 13px 18px; border-bottom: 1px solid var(--win-bd, rgba(20,24,26,.06)); background: linear-gradient(rgba(20,24,26,.02), rgba(20,24,26,0)); }
.appwin-dots { display: flex; gap: 7px; }
.appwin-dots i { width: 11px; height: 11px; border-radius: 99px; background: #e7e8e7; display: block; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,.08); }
/* real macOS traffic lights */
.appwin-dots i:nth-child(1) { background: #ff5f57; }
.appwin-dots i:nth-child(2) { background: #febc2e; }
.appwin-dots i:nth-child(3) { background: #28c840; }
.appwin.dark .appwin-dots i, .section.dark .appwin-dots i { background: #33383b; }
.appwin-title { font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--win-ink, #14181a); }
.appwin.dark .appwin-title, .section.dark .appwin-title { color: #f1f4f3; }
.appwin-meta { font-size: 11.5px; color: var(--win-sub, rgba(20,24,26,.48)); }
.appwin.dark .appwin-meta, .section.dark .appwin-meta { color: rgba(255,255,255,.5); }
.rec { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--win-ink,#14181a); }
.appwin.dark .rec, .section.dark .rec { color: #f1f4f3; }
.rec i { width: 7px; height: 7px; border-radius: 99px; background: #e0473d; box-shadow: 0 0 0 3px rgba(224,71,61,.14); }
.appwin-body { padding: 18px 18px 8px; }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; margin-bottom: 14px; }
.wave i { flex: 1; border-radius: 99px; background: rgba(20,24,26,.1); display: block; }
.appwin.dark .wave i, .section.dark .wave i { background: rgba(255,255,255,.12); }
.wave i.on { background: var(--accent); }
.transcript { margin: 0; font-size: 13px; line-height: 1.55; color: var(--win-sub, rgba(20,24,26,.48)); font-style: italic; }
.appwin.dark .transcript, .section.dark .transcript { color: rgba(255,255,255,.5); }
.appwin-extract { padding: 14px 18px 18px; }
.extract-label { font-size: 11px; font-weight: 700; letter-spacing: .13em; color: var(--win-sub, rgba(20,24,26,.48)); font-family: var(--font-mono); margin-bottom: 11px; }
.appwin.dark .extract-label, .section.dark .extract-label { color: rgba(255,255,255,.5); }
.task-rows { display: flex; flex-direction: column; gap: 8px; }
.task-row {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px;
  background: var(--win-row, rgba(20,24,26,.022)); border: 1px solid var(--win-bd, rgba(20,24,26,.07)); border-radius: 12px;
}
.appwin.dark .task-row, .section.dark .task-row { background: rgba(255,255,255,.035); }
.task-row .bullet { width: 6px; height: 6px; border-radius: 99px; flex-shrink: 0; }
.task-row .txt { font-size: 13px; line-height: 1.3; letter-spacing: -.01em; flex: 1; color: var(--win-ink,#14181a); }
.appwin.dark .task-row .txt, .section.dark .task-row .txt { color: #f1f4f3; }
.task-row .tag { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-mono); flex-shrink: 0; }
/* source-app icon: shows where the captured task lands (real product feel) */
.task-row .src { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 1px 2px rgba(20,24,26,.12); background: #fff; }
.task-row .src svg { width: 16px; height: 16px; display: block; }

/* floating notification cards */
.notif {
  position: absolute; width: 250px; padding: 13px 15px; border-radius: 15px;
  background: rgba(255,255,255,.96); border: 1px solid rgba(20,24,26,.08);
  box-shadow: 0 24px 50px -24px rgba(24,60,42,.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.section.dark .notif { background: rgba(24,28,26,.92); border-color: rgba(255,255,255,.1); box-shadow: 0 24px 50px -22px rgba(0,0,0,.7); }
.notif-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.notif-top .bullet { width: 8px; height: 8px; border-radius: 99px; }
.notif-top .title { font-size: 12.5px; font-weight: 650; letter-spacing: -.01em; color: #14181a; }
.section.dark .notif-top .title { color: #f1f4f3; }
.notif-top .time { margin-left: auto; font-size: 10.5px; color: rgba(20,24,26,.5); font-family: var(--font-mono); }
.section.dark .notif-top .time { color: rgba(255,255,255,.5); }
.notif p { margin: 0; font-size: 12px; line-height: 1.45; color: rgba(20,24,26,.55); }
.section.dark .notif p { color: rgba(255,255,255,.6); }

/* float animation */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: floaty 6s var(--ease) infinite; }
  .float-b { animation: floaty 7s var(--ease) infinite; animation-delay: -2s; }
}

/* ============================================================
   SPEED — 3x faster comparison
   ============================================================ */
/* compact speed strip */
.speed-strip { background: var(--l-bg); padding: 40px 0; border-top: 1px solid var(--l-border); border-bottom: 1px solid var(--l-border); }
.sstrip { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.sstrip-head { font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; color: var(--l-ink); margin: 0; }
.sstrip-head .accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sstrip-lanes { display: flex; flex-direction: column; gap: 14px; }
.sl { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; }
.sl-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--l-faint); }
.sl-bar { height: 10px; border-radius: 99px; background: var(--l-row); overflow: hidden; }
.sl-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--l-border-2, #c9ccc6); transition: width 1.5s cubic-bezier(.16,.84,.3,1); }
.sl--accent .sl-bar i { background: var(--accent-grad); }
.sl-num { font-size: 13px; color: var(--l-sub); white-space: nowrap; }
.sl-num b { font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--l-ink); margin-right: 3px; font-variant-numeric: tabular-nums; }
.sl--accent .sl-num b { color: var(--accent); }
@media (max-width: 720px) { .sstrip { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   PERSONA TABS
   ============================================================ */
.persona { margin-top: 50px; }
.persona-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.persona-tab {
  font-size: 15px; font-weight: 550; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--border-2); background: transparent; color: var(--sub); cursor: pointer;
  transition: all .25s var(--ease); font-family: var(--font-sans);
}
.persona-tab:hover { color: var(--ink); border-color: var(--ink); }
.persona-tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.persona-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.persona-pane { display: none; }
.persona-pane.active { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; animation: fadeUp .5s var(--ease); }
.persona-h { font-size: clamp(26px,2.6vw,36px); line-height: 1.08; letter-spacing: -.03em; font-weight: 620; margin: 0; color: var(--ink); }
.persona-body { font-size: 16.5px; line-height: 1.6; color: var(--sub); margin: 18px 0 0; }
.persona-quote {
  border-left: 2px solid var(--ba, var(--accent)); padding: 4px 0 4px 22px; margin: 0;
}
.frow-visual .persona-quote { width: 100%; max-width: 460px; }
.persona-quote p { font-size: 18px; line-height: 1.5; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.persona-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 13.5px; color: var(--faint); }
.persona-card-wrap { display: flex; justify-content: center; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   INSIDE — 4-step loop (dark)
   ============================================================ */
.step-index { font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.step-h { font-size: clamp(36px,4vw,54px); line-height: 1.03; letter-spacing: -.035em; font-weight: 600; margin: 18px 0 0; color: var(--ink); }
.step-body { font-size: 18px; line-height: 1.6; color: var(--sub); margin: 22px 0 0; max-width: 460px; }

/* ---------- scroll-pinned showcase (How it works) ---------- */
.scrolly { position: relative; margin-top: 60px; }
html.js .scrolly { height: calc(var(--beats, 4) * 88vh); }
.scrolly-stage { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
html.js .scrolly-stage { position: sticky; top: 0; height: 100vh; }
.scrolly-text { display: flex; gap: 26px; align-items: stretch; }
.srail { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.srail i { width: 3px; height: 30px; border-radius: 99px; background: var(--border-2); transition: background .4s, height .4s; }
.srail i.on { background: var(--ba, var(--accent)); height: 42px; }
.spanels { position: relative; flex: 1; min-height: 230px; }
.spanel { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
html.js .spanel { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); pointer-events: none; }
html.js .spanel.on { opacity: 1; transform: none; pointer-events: auto; }
.spanel .step-index { color: var(--ba, var(--accent)); transition: color .4s; }
.scrolly-visual { display: flex; align-items: center; justify-content: center; }
.appscreen-view { position: relative; width: 100%; max-width: 560px; height: 480px; overflow: hidden; }
.appscreen-view::before, .appscreen-view::after { content: ""; position: absolute; left: 0; right: 0; height: 64px; z-index: 2; pointer-events: none; }
.appscreen-view::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.appscreen-view::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.appscreen-track { display: flex; flex-direction: column; will-change: transform; }
.ascreen { height: 440px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.ascreen .vcard { width: 100%; }
.ascreen .bell-emoji svg { color: var(--ba, var(--accent)); }
.ascreen .focus-status .pulse { background: var(--ba, var(--accent)); }
.ascreen .wave i.on { background: var(--ba, var(--accent)); }
html:not(.js) .scrolly-text, .scrolly.is-flat .scrolly-text { flex-direction: column; }
html:not(.js) .srail, .scrolly.is-flat .srail { display: none; }
html:not(.js) .scrolly-stage, .scrolly.is-flat .scrolly-stage { grid-template-columns: 1fr; gap: 40px; }
.scrolly.is-flat { height: auto; }
.scrolly.is-flat .scrolly-stage { position: static; height: auto; }
.scrolly.is-flat .spanel { position: relative; opacity: 1; transform: none; inset: auto; margin-bottom: 40px; }
.scrolly.is-flat .appscreen-view { height: auto; }
.scrolly.is-flat .ascreen { height: auto; min-height: 200px; }
html:not(.js) .appscreen-view { height: auto; }
html:not(.js) .ascreen { height: auto; min-height: 200px; }

/* ---------- "built for" compact grid ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.who-cell {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.who-cell::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--ba, var(--accent)); border-radius: 0 0 3px 0; }
.who-cell:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(20,40,30,.35); border-color: var(--border-2); }
.who-name { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ba, var(--accent)); }
.who-line { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; color: var(--ink); margin: 16px 0 0; }
/* CTA spans the full row beneath the 3 cards, as a horizontal banner */
.who-cell--cta {
  grid-column: 1 / -1;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 18px; background: var(--ink); border-color: var(--ink); text-decoration: none;
  padding: 24px 30px;
}
.who-cell--cta::before { display: none; }
.who-cell--cta .who-line { color: var(--bg); margin: 0; }
.who-arrow { font-size: 14px; font-weight: 600; color: var(--accent-2); white-space: nowrap; }
.who-cell--cta:hover { transform: translateY(-2px); }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- alternating feature rows (Kinso-style) ---------- */
.frows { display: flex; flex-direction: column; gap: 112px; margin-top: 84px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.frow--rev .frow-text { order: 2; }
.frow--rev .frow-visual { order: 1; }
.frow-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ba, var(--accent));
}
.frow-eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--border-2); }
.frow-h { font-size: clamp(28px, 3vw, 40px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; margin: 18px 0 0; color: var(--ink); }
.frow-body { font-size: 16.5px; line-height: 1.6; color: var(--sub); margin: 18px 0 0; max-width: 440px; }
.frow-body + .frow-body { margin-top: 14px; }
.frow-visual { display: flex; justify-content: center; }
.frow-visual .vcard { width: 100%; max-width: 460px; }
.ln2 { color: var(--ba, var(--accent)); }

/* product card used in each row, tinted by the row colour */
.vcard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -44px rgba(0,0,0,.65);
}
.vcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--ba, var(--accent)); opacity: .9;
}
.vcard--center { display: flex; align-items: center; justify-content: center; min-height: 220px; }
/* dark section: big translucent glass card so the grid shows through (Kinso-style) */
.section.dark .vcard {
  background: rgba(20, 25, 23, 0.55);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 50px 110px -50px rgba(0,0,0,.75);
  padding: 34px;
}
.section.dark .vcard--center { min-height: 300px; }
.section.dark .focus-time { font-size: 80px; }
.section.dark .focus-status, .section.dark .focus-hint { font-size: 15px; }
.rec-head .rec { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ba, var(--accent)); }
.rec-head .rec i { background: var(--ba, var(--accent)) !important; }

/* ---- distinct per-beat visuals that float on the grid (How it works) ---- */
/* beat 0: menu-bar timer widget */
.v-focus { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mbwidget {
  display: inline-flex; align-items: center; gap: 20px;
  background: rgba(18,23,21,.88); border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px; padding: 14px 24px;
  box-shadow: 0 34px 64px -32px rgba(0,0,0,.75);
}
.mbw-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.55); white-space: nowrap; }
.mbw-status .pulse { width: 8px; height: 8px; border-radius: 99px; background: var(--ba, var(--accent)); }
.mbw-time { font-size: 38px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #f3f5f4; }
.v-note { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.42); text-align: center; max-width: 300px; margin: 0; }

/* beat 1: notification toast */
.v-toast {
  display: flex; align-items: center; gap: 14px; width: 100%; max-width: 400px;
  background: rgba(26,23,20,.9); border: 1px solid rgba(255,255,255,.10); border-left: 3px solid var(--ba);
  border-radius: 16px; padding: 16px 18px; box-shadow: 0 34px 64px -30px rgba(0,0,0,.75);
}
.vt-ico { width: 42px; height: 42px; border-radius: 11px; background: color-mix(in srgb, var(--ba) 18%, transparent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vt-ico svg { width: 22px; height: 22px; color: var(--ba); }
.vt-tx { display: flex; flex-direction: column; gap: 3px; }
.vt-title { font-size: 15px; font-weight: 600; color: #f3f5f4; }
.vt-body { font-size: 13px; color: rgba(255,255,255,.55); }

/* beat 2: recording capsule + transcript bubble */
.v-speak { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 430px; }
.v-rechud {
  display: flex; align-items: center; gap: 13px; width: 100%;
  background: rgba(18,22,28,.88); border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px; padding: 12px 20px; box-shadow: 0 28px 56px -30px rgba(0,0,0,.7);
}
.rec-dot { width: 9px; height: 9px; border-radius: 99px; background: #ff5f57; flex-shrink: 0; }
.v-rechud .wave { flex: 1; height: 24px; margin: 0; }
.v-rectime { font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,.55); flex-shrink: 0; }
.v-bubble {
  align-self: flex-end; max-width: 350px;
  background: color-mix(in srgb, var(--ba) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ba) 28%, transparent);
  border-radius: 16px 16px 4px 16px; padding: 14px 16px;
  font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.82); font-style: italic;
}

/* beat 3: floating task list */
.v-brief { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.v-brief-head { display: flex; align-items: center; justify-content: space-between; }
.v-brief-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.v-chip { font-size: 11px; font-weight: 600; color: var(--ba); background: color-mix(in srgb, var(--ba) 16%, transparent); border-radius: 999px; padding: 4px 11px; }
.frow .bell-emoji svg { color: var(--ba, var(--accent)); }
.frow .focus-status .pulse { background: var(--ba, var(--accent)); }
.frow .wave i.on { background: var(--ba, var(--accent)); }

/* mini state cards used inside steps */
.statecard { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px; position: relative; overflow: hidden; }
.statecard .grow { font-family: var(--font-mono); }
.focus-timer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 0; }
.focus-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); }
.focus-status .pulse { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 0 rgba(24,160,106,.5); }
@media (prefers-reduced-motion: no-preference){ .focus-status .pulse { animation: pulse 2s infinite; } }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(24,160,106,.5);} 70%{ box-shadow: 0 0 0 10px rgba(24,160,106,0);} 100%{ box-shadow:0 0 0 0 rgba(24,160,106,0);} }
.focus-time { font-size: 64px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
.focus-hint { font-size: 13.5px; color: var(--faint); }
.bell-ring { display:flex; flex-direction: column; align-items:center; gap: 16px; padding: 20px 0; text-align:center; }
.bell-emoji { width: 64px; height: 64px; border-radius: 999px; background: var(--accent-soft); display:flex; align-items:center; justify-content:center; }
.bell-emoji svg { width: 30px; height: 30px; color: var(--accent); }
.bell-txt { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.bell-sub { font-size: 13.5px; color: var(--sub); }
.kbd { font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--row); border: 1px solid var(--border); color: var(--ink); }

/* step rail dots */
.steprail { display: flex; gap: 8px; margin-top: 28px; }
.steprail i { width: 26px; height: 4px; border-radius: 99px; background: var(--border-2); }
.steprail i.on { background: var(--accent); }

/* ============================================================
   FAQ (dark)
   ============================================================ */
.faq-list { max-width: 860px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.018); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--border-2); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-sans); }
.faq-q span { flex: 1; font-size: 18px; font-weight: 550; letter-spacing: -.015em; color: var(--ink); }
.faq-icon { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.faq-icon::before { width: 12px; height: 1.6px; }
.faq-icon::after { width: 1.6px; height: 12px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; font-size: 15.5px; line-height: 1.62; color: var(--sub); max-width: 680px; }

/* ============================================================
   CTA (light)
   ============================================================ */
.cta { text-align: center; }
.cta .h-sec { font-size: clamp(40px,5vw,64px); }
.cta-card {
  max-width: 720px; margin: 0 auto; padding: 40px 24px;
  position: relative;
}
.cta-card > *:not(.cta-glow):not(.cta-wave) { position: relative; z-index: 2; }
.cta-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 700px; height: 360px; border-radius: 999px; background: var(--accent); opacity: .12; filter: blur(110px); pointer-events: none; }
.cta-glow--2 { top: auto; bottom: -160px; left: 78%; width: 420px; height: 300px; background: #45c191; opacity: .14; }

/* animated soundwave rising from the base — the Focul motif */
.cta-wave {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center; gap: 6px;
  padding: 0 28px; pointer-events: none; opacity: .55;
  -webkit-mask-image: linear-gradient(transparent, #000 55%);
  mask-image: linear-gradient(transparent, #000 55%);
}
.cta-wave i {
  display: block; width: 7px; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(24,160,106,.08));
  transform-origin: bottom; transform: scaleY(.45);
}
@media (prefers-reduced-motion: no-preference) {
  .cta-wave i { animation: eq 2.4s ease-in-out infinite; }
}
@keyframes eq { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* ---------- integrations marquee ---------- */
.intg-sec { overflow: hidden; }
.marquee {
  margin-top: 44px; position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.intg {
  display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto;
  /* spacing as margin (not flex gap) so the last item carries it too — seamless loop */
  margin-right: 64px;
  font-size: 19px; font-weight: 650; letter-spacing: -.01em; color: var(--ink);
  opacity: .82; transition: opacity .2s;
}
.intg:hover { opacity: 1; }
.intg svg { flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   FOOTER (dark)
   ============================================================ */
.footer { background: var(--d-bg); color: var(--d-ink); padding: 60px 0 40px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { color: var(--d-sub); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: var(--d-ink); }
.footer-copy { color: var(--d-faint); font-size: 13px; width: 100%; padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--d-border); }

/* ============================================================
   reveal animation (keyframe + forwards fill = no transition stall;
   hidden state gated on html.js so content shows if JS is absent)
   ============================================================ */
@keyframes revealIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
html.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }
html.js [data-reveal].in { animation: revealIn .7s var(--ease) forwards; }
html.js [data-reveal].in[data-delay="1"] { animation-delay: .08s; }
html.js [data-reveal].in[data-delay="2"] { animation-delay: .16s; }
html.js [data-reveal].in[data-delay="3"] { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal]:not(.in) { opacity: 1; transform: none; }
  html.js [data-reveal].in { animation: none; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 920px) {
  .section { padding: 80px 0; }
  .hero { padding: 130px 0 70px; }
  .hero .wrap, .persona-pane.active, .persona-panel, .step, .step.rev .step-text, .step.rev .step-visual { grid-template-columns: 1fr; order: 0; }
  .hero-visual { margin-top: 30px; }
  .nav-links, .nav-sep, .nav-login { display: none; }
  .step-visual { order: 2 !important; }
  .step-text { order: 1 !important; }
  /* feature rows stack: text then visual */
  .frows { gap: 64px; margin-top: 48px; }
  .frow { grid-template-columns: 1fr; gap: 28px; }
  .frow--rev .frow-text { order: 1; }
  .frow--rev .frow-visual { order: 2; }
  /* scroll showcase: stack text above the visual, still pinned + wiping */
  .scrolly-stage { grid-template-columns: 1fr; gap: 18px; align-items: start; padding-top: 104px; padding-bottom: 20px; }
  .scrolly-text { gap: 16px; }
  .spanels { min-height: 250px; }
  .spanel .step-body { max-width: none; }
  .scrolly-visual { width: 100%; }
  .appscreen-view { height: 280px; max-width: 100%; }
  .ascreen { height: 280px; padding: 0; }
  .appscreen-view::before, .appscreen-view::after { height: 36px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  /* more air between sections so the page breathes */
  .section { padding: 76px 0; }
  .hero { padding: 124px 0 40px; }
  .appwin, .statecard { width: 100%; max-width: 100%; }
  .notif { display: none; }
  .hero-visual .appwin { transform: none !important; }

  /* typography down a notch */
  .eyebrow { font-size: 11px; letter-spacing: .08em; padding: 7px 13px; }
  .hero-h { font-size: 33px; line-height: 1.06; }
  .hero .lead { margin-top: 22px; }
  .h-sec { font-size: 27px; }
  .step-h { font-size: 24px; }
  .lead { font-size: 15px; }
  .lane-num b { font-size: 34px; }
  .cta .h-sec { font-size: 32px; }
  .cta-join { font-size: 26px; }

  /* hero CTA: stack full-width, no awkward wrapping */
  .hero-cta { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-proof { margin-top: 26px; }

  /* built-for grid: roomier, calmer cells */
  .who-grid { gap: 14px; margin-top: 40px; }
  .who-cell { padding: 24px 22px; }
  .who-line { font-size: 16px; margin-top: 12px; }
  .who-cell--cta { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* speed strip: its own calm band with real breathing room */
  .speed-strip { padding: 48px 0; }
  .sstrip { gap: 28px; }
  .sstrip-head { font-size: 18px; line-height: 1.4; }
  .sstrip-lanes { gap: 18px; }
  .sl { grid-template-columns: 46px 1fr auto; gap: 10px; }

  /* integrations: more space around the moving row */
  .intg-sec { padding: 60px 0; }
  .marquee { margin-top: 30px; }
  .intg { font-size: 16px; gap: 9px; margin-right: 40px; }

  /* section heads: a touch tighter internally */
  .section-head .lead { margin-top: 14px; }
}
