/* ===========================================================================
   Jess — airy, light, editorial SaaS landing.
   teal #1F6A70 · blue #4E95AE · light #82C3CC · beige #ECE7E3 · orange #F7AA0B
   Type: Fustat (display, light + tight) · Inter (body) · DM Mono (labels)
   =========================================================================== */
:root {
  --teal: #1F6A70;
  --teal-deep: #154a4f;
  --blue: #4E95AE;
  --blue-light: #82C3CC;
  --beige: #ECE7E3;
  --orange: #F7AA0B;
  --orange-deep: #d98f00;

  --bg: #ffffff;
  --bg-soft: #faf8f5;        /* faint warm panel */
  --ink: #16201f;            /* near-black */
  --ink-soft: #5d6b6b;       /* secondary */
  --muted: #667170;          /* tertiary / labels — darkened to meet WCAG AA (≈5:1 on white) */
  --line: #e9e6e1;           /* hairline border */
  --line-2: #f0ede8;

  --shadow-sm: 0 1px 2px rgba(20,30,28,.04), 0 6px 18px rgba(20,30,28,.04);
  --shadow-md: 0 10px 34px rgba(20,30,28,.08);
  --shadow-lg: 0 36px 80px rgba(20,30,28,.12);

  --r: 16px;
  --r-lg: 28px;
  --wrap: 1080px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --display: "Fustat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;

  /* legacy aliases for dashboard.css */
  --cream: var(--beige); --cream-2: var(--bg-soft); --glass-brd: var(--line);
  --shadow: var(--shadow-md); --teal-500: var(--blue); --teal-700: var(--teal);
  --teal-900: var(--teal-deep); --orange-600: var(--orange-deep);
}

* { box-sizing: border-box; }

/* ── Accessibility primitives (a11y) ──────────────────────────────────────── */
/* Visible keyboard focus for every interactive element (WCAG 2.4.7). Uses
   :focus-visible so it shows for keyboard/AT users without ringing on mouse click. */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}
/* Screen-reader-only text (accessible names without visual change). */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Skip-to-content link: hidden until focused, then visible at top-left. */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 1000;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px;
  font: 600 14px var(--body); text-decoration: none; transition: top .15s var(--ease);
}
.skip-link:focus { top: 8px; }
/* Guarantee a visible keyboard ring on form controls even where component CSS sets
   `outline:none` (box-shadow can't be cleared by those rules). Keyboard-only. */
input:focus-visible, textarea:focus-visible, select:focus-visible {
  box-shadow: 0 0 0 3px rgba(31, 106, 112, .45) !important;
  border-color: var(--teal) !important;
}

/* Pin text scaling so mobile Safari/Chrome don't auto-inflate ("boost") font sizes. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  font-size: 16px;
}
h1,h2,h3,h4 { font-family: var(--display); font-weight: 400; margin: 0; }
h1 { letter-spacing: -.045em; line-height: 1.04; }
h2 { letter-spacing: -.035em; line-height: 1.06; }
h3 { letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0; line-height: 1.62; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
sup { font-size: .5em; color: var(--muted); margin-left: 2px; font-family: var(--mono); vertical-align: super; }
.wrap { width: min(var(--wrap), 90vw); margin-inline: auto; }
.stars { color: var(--orange); letter-spacing: 1px; font-size: .82rem; }

/* signature dot */
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; position: relative; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(247,170,11,.5);} 70%{ box-shadow: 0 0 0 9px rgba(247,170,11,0);} 100%{ box-shadow: 0 0 0 0 rgba(247,170,11,0);} }

/* buttons — rounded-rect, gojiberry style */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--body); font-weight: 500; font-size: .94rem; padding: .72rem 1.2rem; border-radius: 11px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; }
.btn-primary { background: var(--orange); color: #3a2600; box-shadow: 0 4px 14px rgba(247,170,11,.30); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(247,170,11,.42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: .8rem 0; transition: background .3s, box-shadow .3s, padding .3s; }
.nav.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line); padding: .55rem 0; }
.nav-in { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; gap: 5px; }
.brand-word { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.05em; color: var(--ink); }
.brand .brand-dot { transform: translateY(-2px); }
.nav-links { display: flex; gap: 2.1rem; }
.nav-links a { font-size: .92rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: .55rem 1rem; }

/* ── hero (centered) ── */
.hero { position: relative; padding: 9rem 0 5rem; text-align: center; overflow: hidden; }
.hero-wash { position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 70% at 50% -8%, rgba(247,170,11,.22), transparent 60%),
    radial-gradient(50% 60% at 30% -4%, rgba(130,195,204,.30), transparent 60%),
    radial-gradient(50% 60% at 70% -2%, rgba(247,170,11,.16), transparent 60%);
}
/* decorative layers must never intercept clicks */
.hero-wash, .hero-lines, .cta-wash, .stage-glow, .atmos, .blob, .hub-glow, .ring-lines, .orbit-svg, .fx-line { pointer-events: none; }
.hero-lines { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1200px; max-width: 120%; height: 420px; }
.hero-lines path { fill: none; stroke: rgba(247,170,11,.30); stroke-width: 1.2; stroke-dasharray: 5 11; animation: flowline 2.6s linear infinite; }
.hero-lines path:nth-child(2){animation-delay:-.4s} .hero-lines path:nth-child(3){animation-delay:-.8s}
.hero-lines path:nth-child(4){animation-delay:-1.2s} .hero-lines path:nth-child(5){animation-delay:-1.6s}
@keyframes flowline { to { stroke-dashoffset: -64; } }
.hero-in { position: relative; }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: .35rem .75rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.badge-live strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
/* Green "live" heartbeat dot to signal Jess is actively working right now. */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; display: inline-block; animation: pulse-live 2.2s var(--ease) infinite; }
@keyframes pulse-live { 0%{ box-shadow: 0 0 0 0 rgba(43,182,115,.55);} 70%{ box-shadow: 0 0 0 8px rgba(43,182,115,0);} 100%{ box-shadow: 0 0 0 0 rgba(43,182,115,0);} }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 300; margin: 1.4rem auto .9rem; max-width: 16ch; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 50ch; margin: 0 auto; }
.hero-form { display: flex; gap: .5rem; max-width: 470px; margin: 1.9rem auto .9rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .35rem; box-shadow: var(--shadow-md); }
.hero-form input { flex: 1; border: 0; background: transparent; padding: .6rem .8rem; font-family: var(--body); font-size: .98rem; color: var(--ink); }
.hero-form input:focus { outline: none; }
.hero-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin: 1.9rem 0 1rem; }
.hero-add { gap: .6rem; }
.gs-ico { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 17px; height: 17px; flex: none; }
.gs-ico i { border-radius: 50%; }
.gs-ico i:nth-child(1){ background:#36c5f0 } .gs-ico i:nth-child(2){ background:#2eb67d }
.gs-ico i:nth-child(3){ background:#ecb22e } .gs-ico i:nth-child(4){ background:#e01e5a }
/* "Add Jess to your life" channel picker */
.gs-channels { display: flex; flex-direction: column; gap: .6rem; }
.gs-ico2 { font-size: 1.05rem; line-height: 1; flex: none; }
.gs-ch { justify-content: flex-start; gap: .7rem; }
.gs-ch em { margin-left: auto; font-style: normal; font-size: .72rem; opacity: .6; text-transform: uppercase; letter-spacing: .04em; }
/* "Add Jess to your life" channel picker */
.gs-channels { display: flex; flex-direction: column; gap: .6rem; }
.gs-ico2 { font-size: 1.05rem; line-height: 1; width: 20px; text-align: center; flex: none; }
.gs-ch { justify-content: flex-start; gap: .7rem; }
.hero-rate { display: inline-flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--muted); }
.hero-rate strong { color: var(--ink-soft); font-weight: 600; }
/* Quiet multi-channel reassurance: answers "do I have to put this in Slack?"
   without competing with the CTA above it. */
.hero-chan { margin-top: .7rem; font-size: .82rem; color: var(--muted); }
.hero-chan strong { color: var(--ink-soft); font-weight: 600; }

/* ── framed mockup ── */
.frame { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-frame { max-width: 760px; margin: 3.2rem auto 0; text-align: left; }
.frame-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.tl { width: 11px; height: 11px; border-radius: 50%; } .tl.r{background:#ff5f57}.tl.y{background:#febc2e}.tl.g{background:#28c840}
.frame-app { width: 20px; height: 20px; border-radius: 6px; margin-left: .5rem; }
.frame-url { margin: 0 auto; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.frame-live { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--teal); font-weight: 600; }
.mock-feed { padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; min-height: 320px; }
.msg { display: flex; gap: .7rem; align-items: flex-start; opacity: 0; transform: translateY(8px); }
.msg.show { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ava { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; font-family: var(--body); }
.ava-u { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.ava-j { background: url(/jess-app-icon.png) center/cover, var(--teal); }
.ava.sm { width: 26px; height: 26px; border-radius: 7px; }
.bub b { font-size: .8rem; display: block; margin-bottom: .25rem; }
.bub p { font-size: .9rem; background: var(--bg-soft); padding: .55rem .8rem; border-radius: 4px 12px 12px 12px; }
.msg-jess .bub > b { color: var(--orange-deep); }
.work { display: flex; flex-direction: column; gap: .45rem; }
.wstep { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); opacity: 0; transform: translateX(-6px); }
.wstep.show { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.tick { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--blue-light); flex: none; position: relative; }
.wstep.show .tick { border-color: var(--teal); background: var(--teal); }
.wstep.show .tick::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cards { display: flex; flex-direction: column; gap: .55rem; }
.rcard { display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .75rem; box-shadow: var(--shadow-sm); }
.rcard div { flex: 1; } .rcard b { font-size: .86rem; display: block; } .rcard small { font-size: .75rem; color: var(--muted); }
.ric { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.ric-doc { background: rgba(78,149,174,.16); } .ric-warn { background: rgba(247,170,11,.18); } .ric-send { background: rgba(31,106,112,.14); }
.tag { font-size: .67rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; white-space: nowrap; font-family: var(--body); }
.tag-ok { background: rgba(31,106,112,.12); color: var(--teal); }
.tag-warn { background: rgba(247,170,11,.18); color: #8a5a00; }
.tag-blue { background: rgba(78,149,174,.16); color: var(--blue); }
.mock-input { display: flex; align-items: center; justify-content: space-between; margin: .2rem 1.2rem 1.2rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .88rem; }
.send { width: 24px; height: 24px; border-radius: 7px; background: var(--orange); position: relative; }
.send::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 7px solid #3a2600; border-top: 4px solid transparent; border-bottom: 4px solid transparent; left: 3px; }

/* ── realistic Slack mockup ── */
.mock-frame { max-width: 820px; }
.slack { display: flex; height: 432px; background: #fff; }
.sk-rail { width: 56px; background: #2b0d2d; display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: .7rem 0; flex: none; }
.sk-ws { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; box-shadow: 0 0 0 2px rgba(255,255,255,.22); }
.sk-ws img { width: 100%; height: 100%; display: block; }
.sk-railb { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); font-size: 1.25rem; }
.sk-side { width: 202px; background: #3f0e40; color: rgba(255,255,255,.74); padding: .55rem .45rem; flex: none; overflow: hidden; font-size: .9rem; }
.sk-team { display: flex; justify-content: space-between; align-items: center; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1rem; padding: .2rem .5rem .65rem; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: .45rem; }
.sk-sec { font-size: .74rem; color: rgba(255,255,255,.5); padding: .55rem .5rem .25rem; }
.sk-ch, .sk-dm { display: flex; align-items: center; gap: .5rem; padding: .34rem .5rem; border-radius: 6px; color: rgba(255,255,255,.74); }
.sk-ch.active { background: #1164a3; color: #fff; }
.sk-dm .pres { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); box-sizing: border-box; flex: none; }
.sk-dm .pres.on { background: #2bac76; border-color: #2bac76; }
.appbadge { font-size: .55rem; font-weight: 700; padding: .07rem .3rem; border-radius: 3px; letter-spacing: .04em; background: #dcdad6; color: #5b5b5b; text-transform: uppercase; }
.sk-dm .appbadge { background: rgba(255,255,255,.2); color: #fff; }
.sk-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sk-head { display: flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); flex: none; }
.sk-head b { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.sk-topic { color: var(--muted); font-size: .82rem; }
.sk-feed { flex: 1; padding: .5rem 0; overflow: hidden; }
.sk-msg { display: flex; gap: .65rem; padding: .5rem 1.1rem; opacity: 0; transform: translateY(8px); }
.sk-msg.show { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sk-msg .ava { width: 36px; height: 36px; border-radius: 9px; }
.sk-body { min-width: 0; flex: 1; }
.sk-meta { display: flex; align-items: center; gap: .4rem; margin-bottom: .2rem; }
.sk-meta b { font-family: var(--display); font-weight: 600; font-size: .88rem; }
.sk-meta time { font-size: .7rem; color: var(--muted); }
.sk-body > p { font-size: .9rem; color: var(--ink); }
.sk-compose { margin: .3rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .85rem; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .88rem; flex: none; }

/* ── trust + marquee ── */
/* Continue the memory section's warm grey at the top, then ease back to white so
   it flows into the next section — no white pop, no teal-blue band. */
.trust { padding: 1rem 0 4.5rem; text-align: center; background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%); }
/* Two stat blocks (big number + quiet label) with a hairline divider — reads as
   proof at a glance instead of a run-on sentence. */
.trust-stats { display: flex; align-items: stretch; justify-content: center; gap: clamp(1.8rem, 6vw, 3.6rem); margin-bottom: 2.1rem; }
.tstat { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.tstat-num { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.tstat-label { font-family: var(--mono); font-size: .74rem; letter-spacing: .02em; color: var(--ink-soft); }
.tstat-div { width: 1px; align-self: stretch; min-height: 46px; background: linear-gradient(180deg, transparent, var(--line) 28%, var(--line) 72%, transparent); }
/* The mask fades the edges. On iOS Safari a masked container with an animated,
   layer-promoted child can freeze — so the container gets its own compositing layer
   (translateZ) too, which keeps mask + moving track on the same GPU path. */
.marquee { position: relative; overflow: hidden; transform: translateZ(0); -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; gap: .7rem; width: max-content; animation: scrollx 40s linear infinite; will-change: transform; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Only pause on real pointer devices — on touch, :hover sticks after a tap and
   freezes the marquee ("not working" on mobile). */
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
.mq-item { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: .45rem 1rem .45rem .5rem; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.mqi { width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: .76rem; flex: none; }
.mqi-logo { background: #fff; border: 1px solid var(--line); padding: 3px; }
.mqi-logo svg { width: 100%; height: 100%; display: block; }
/* Explicit from-keyframe: iOS Safari sometimes won't start an infinite transform
   animation that only declares a `to` state. */
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── section intro (centered, gojiberry) ── */
.feat-intro { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.feat-intro h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.feat-intro p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }

/* ── feature cards (big framed, text below) ── */
.feat { padding: 4rem 0 2rem; }
.fcard { margin-bottom: 4.5rem; perspective: 1100px; }
.fviz { position: relative; min-height: 340px; display: grid; place-items: center; padding: 2.4rem; background: linear-gradient(180deg, #fff, var(--bg-soft)); transition: transform .35s var(--ease), box-shadow .35s var(--ease); will-change: transform; }
.fviz.dark { background: linear-gradient(180deg, #12302f, #0d2422); }
.ct { position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--line); }
.ct-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.ct-tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.ct-bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.ct-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.fviz.dark .ct { border-color: rgba(255,255,255,.14); }
.fmeta { padding: 1.6rem .4rem 0; max-width: 640px; }
.pill { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .74rem; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: 999px; }
.pic { width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }
.fmeta h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 1rem 0 .7rem; }
.fmeta p { color: var(--ink-soft); font-size: 1.05rem; max-width: 54ch; }

/* feature visuals */
.vdoc, .vauto, .vslack, .vcode { width: 100%; max-width: 440px; }
.vdoc { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); padding: 1.3rem; }
.vdoc-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.vdoc-t { font-family: var(--display); font-weight: 500; }
.ln { display: block; height: 9px; border-radius: 5px; background: var(--bg-soft); margin: .55rem 0; }
.ln.w90{width:90%}.ln.w80{width:80%}.ln.w70{width:70%}.ln.w60{width:60%}.ln.w50{width:50%}
.vbar { display: flex; align-items: flex-end; gap: .5rem; height: 108px; margin: 1.1rem 0; padding: .6rem; background: var(--bg-soft); border-radius: 12px; }
.vbar span { flex: 1; height: var(--h); background: linear-gradient(var(--blue), var(--teal)); border-radius: 5px 5px 2px 2px; }
.vbar span:nth-child(4) { background: linear-gradient(var(--orange), var(--orange-deep)); }
.vcode { background: #0c211f; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 1.3rem; font-family: var(--mono); color: #cfe6e3; }
.vcode-h { display: flex; align-items: center; gap: .4rem; margin-bottom: .9rem; }
.vcode .dot { width: 11px; height: 11px; border-radius: 50%; } .vcode .r{background:#ff5f57}.vcode .y{background:#febc2e}.vcode .g{background:#28c840}
.vcode-t { margin-left: auto; font-size: .76rem; color: #6f9491; }
.vcode pre { margin: 0; font-size: .8rem; line-height: 1.75; white-space: pre; }
.vcode .cl { display: block; } .vcode .kw{color:var(--orange)} .vcode .fn{color:var(--blue-light)} .vcode .st{color:#8fd6a8} .vcode .cm{color:#5f8481}
.vcode-f { display: flex; gap: .5rem; margin-top: 1rem; }
.vauto { display: flex; flex-direction: column; gap: .55rem; }
.arow { display: flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--ink-soft); padding: .65rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.arow .tag { margin-left: auto; } .ad { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-light); flex: none; }
.arow.live { background: rgba(78,149,174,.08); color: var(--ink); }
.ad.pulse { background: var(--orange); animation: pulse 2.2s var(--ease) infinite; }
.vslack { display: flex; flex-direction: column; gap: .8rem; }
.vmsg { display: flex; gap: .6rem; align-items: flex-start; }
.vmsg p { font-size: .9rem; background: #fff; border: 1px solid var(--line); padding: .55rem .8rem; border-radius: 4px 12px 12px 12px; }
.vmsg.j p { background: rgba(31,106,112,.07); border-color: transparent; }

/* ── every team ── */
.teams { padding: 3.5rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tcell { background: #fff; padding: 1.8rem; transition: background .25s; }
.tcell:hover { background: var(--bg-soft); }
.tk { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.02em; display: block; margin-bottom: .5rem; }
.tcell p { color: var(--ink-soft); font-size: .92rem; }

/* ── memory showcase (remember vs forget) ── */
.memo2 { padding: 4.5rem 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 12%); overflow: hidden; }
.memo2 .feat-intro { margin-bottom: 2.2rem; }
.rf-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.rf-col { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.3rem 1.5rem; background: #fff; }
.rf-other { background: #f4f3f0; }
.rf-jess { border-color: rgba(31,106,112,.28); box-shadow: 0 10px 40px rgba(31,106,112,.1); }
.rf-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.rf-name { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); display: inline-flex; align-items: center; }
.rf-name .brand-word { font-size: 1.3rem; } .rf-name .brand-dot { width: 7px; height: 7px; margin-left: 3px; }
.rf-pill { font-family: var(--mono); font-size: .72rem; font-weight: 700; padding: .28rem .7rem; border-radius: 999px; letter-spacing: .01em; }
.rf-pill.bad { color: #8a8880; background: #e6e4de; }
.rf-pill.good { color: #fff; background: var(--teal); }
.rf-thread { display: flex; flex-direction: column; gap: .55rem; min-height: 168px; }
.rf-msg { align-self: flex-end; max-width: 82%; font-size: .9rem; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: .5rem .8rem; border-radius: 13px 13px 4px 13px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.rf-other .rf-msg { background: #fbfaf8; }
.rf-jess .rf-msg { background: rgba(31,106,112,.06); border-color: rgba(31,106,112,.14); }
.rf-msg.show { opacity: 1; transform: none; }
.rf-mem { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rf-mem-cap { display: block; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); margin-bottom: .6rem; }
.rf-mem-box { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; min-height: 62px; align-content: flex-start; }
.rf-empty { font-size: .86rem; color: #a7a49c; font-style: italic; }
.rf-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .34rem .6rem; border-radius: 999px; white-space: nowrap; }
.rf-chip.j { color: var(--teal-deep); background: rgba(31,106,112,.1); opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .4s cubic-bezier(.2,1.5,.4,1); }
.rf-chip.j.on { opacity: 1; transform: none; }
.rf-chip.o { color: #8a8880; background: #e8e6e0; }
.rf-chip.o.forget { animation: rfforget 1.1s var(--ease) forwards; }
@keyframes rfforget { 0%{ opacity: 1; } 55%{ opacity: 1; text-decoration: line-through; } 100%{ opacity: 0; transform: translateY(-6px); text-decoration: line-through; } }
.rf-count { font-family: var(--mono); font-size: .74rem; font-weight: 700; margin-left: .2rem; }
.rf-jess .rf-count { color: var(--teal-deep); }
.rf-other .rf-count { color: #a7a49c; }
.m3-note { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 1.4rem; }

/* ── how it works ── */
.how { padding: 4rem 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { border-top: 1.5px solid var(--ink); padding-top: 1.1rem; }
.snum { font-family: var(--mono); font-size: .8rem; color: #8a5a00; }
.step h4 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.02em; margin: .6rem 0 .5rem; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ── stats (light numbers on white) ── */
.stats { padding: 4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: left; }
.num { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.04em; line-height: 1; display: block; color: var(--ink); }
.lab { font-size: .92rem; color: var(--ink-soft); margin-top: .7rem; display: block; }

/* ── mid-page CTA band ── */
.midcta { background: var(--teal); padding: 2.8rem 0; }
.midcta-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.midcta-txt h3 { font-family: var(--display); color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; }
.midcta-txt p { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: .3rem; }
.midcta-btn { background: var(--orange); color: #3a2600; font-weight: 700; }
.midcta-btn:hover { background: var(--orange-deep); }

/* ── pricing ── */
.pricing { padding: 4.5rem 0; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
/* Flex column + equal-height row so every card is the same size and the CTA sits
   flush at the bottom regardless of how many bullets or how long the blurb is. */
.tier { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tier .btn-block { margin-top: auto; }
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* The recommended tier is the biggest — scaled up and lifted above its neighbours.
   Every .tier also gets a .reveal class (app.js), whose `.reveal.in { transform:none }`
   would wipe the scale — so the scale is re-asserted through the reveal states at
   higher specificity. The featured card fades in (opacity) but stays scaled. */
.tier-feat { border-color: var(--orange); box-shadow: 0 20px 50px rgba(247,170,11,.14); position: relative; transform: scale(1.05); z-index: 1; }
.tier-feat.reveal, .tier-feat.reveal.in { transform: scale(1.05); }
.t-badge { position: absolute; top: -.7rem; left: 1.9rem; background: var(--orange); color: #3a2600; font-family: var(--mono); font-size: .68rem; font-weight: 500; padding: .25rem .7rem; border-radius: 999px; }
.t-name { font-family: var(--display); font-size: 1.1rem; letter-spacing: -.02em; }
.t-price { font-family: var(--display); margin: .7rem 0; color: var(--ink-soft); }
.t-price span { font-size: 2.6rem; font-weight: 300; letter-spacing: -.03em; color: var(--ink); }
.t-desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.2rem; min-height: 2.6em; }
.tier ul { margin-bottom: 1.4rem; }
.tier li { font-size: .92rem; padding: .5rem 0 .5rem 1.6rem; position: relative; border-bottom: 1px solid var(--line-2); color: var(--ink-soft); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ── closing CTA ── */
.cta { position: relative; padding: 5rem 0 6rem; text-align: center; overflow: hidden; }
.cta-wash { position: absolute; inset: auto 0 0 0; height: 480px; z-index: -1;
  background: radial-gradient(60% 80% at 50% 110%, rgba(247,170,11,.20), transparent 60%), radial-gradient(50% 70% at 30% 120%, rgba(130,195,204,.26), transparent 60%); }
.cta h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; margin: 1.2rem auto .9rem; }
.cta-in > p { color: var(--ink-soft); font-size: 1.08rem; max-width: 48ch; margin: 0 auto; }
/* Demo CTA: a booking link, not a form. The old form only wrote a lead row and left
   the visitor with nothing to do, so it's a Calendly link now. */
.cta-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 2rem auto .7rem; }
.cta-form { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; max-width: 640px; margin: 2rem auto .7rem; }
.cta-form input { flex: 1; min-width: 160px; font-family: var(--body); font-size: .96rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
.cta-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,106,112,.1); }
.cta-form .btn { white-space: nowrap; }
.form-note { font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: var(--teal); } .form-note.err { color: #c0392b; }
.cta-fine { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.cta-form.done { display: none; }

/* ── footer ── */
.foot { padding: 3rem 0 2rem; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.5rem; }
.foot-brand { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.foot-brand p { width: 100%; color: var(--ink-soft); font-size: .9rem; margin-top: .5rem; }
.foot-links { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--ink-soft); font-size: .92rem; } .foot-links a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--line-2); color: var(--muted); font-size: .85rem; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d,0) * 80ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ── flow pipeline (smooth, self-playing — no scroll hijack) ── */
.flowx { padding: 4rem 0 5rem; }
.flowx-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fx-line { position: absolute; top: 35px; left: 13%; right: 13%; height: 3px; background: var(--line); border-radius: 999px; }
.fx-line::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--teal), var(--orange)); border-radius: 999px; animation: fxfill 6s ease-in-out infinite; }
.fx-pulse { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247,170,11,.22); transform: translate(-50%,-50%); animation: fxmove 6s ease-in-out infinite; }
@keyframes fxfill { 0% { width: 0; } 80%, 100% { width: 100%; } }
@keyframes fxmove { 0% { left: 0; } 80%, 100% { left: 100%; } }
.fx-node { text-align: center; position: relative; z-index: 1; }
.fx-ic { width: 70px; height: 70px; border-radius: 20px; margin: 0 auto 1rem; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); animation: fxpop 6s ease-in-out infinite; }
.fx-ic svg { width: 30px; height: 30px; }
.fx-node[data-i="1"] .fx-ic { animation-delay: 1.5s; }
.fx-node[data-i="2"] .fx-ic { animation-delay: 3s; }
.fx-node[data-i="3"] .fx-ic { animation-delay: 4.5s; }
@keyframes fxpop {
  0%, 100% { transform: none; border-color: var(--line); box-shadow: var(--shadow-sm); }
  6% { transform: translateY(-6px) scale(1.07); border-color: var(--teal); box-shadow: var(--shadow-md); }
  18% { transform: none; border-color: var(--line); box-shadow: var(--shadow-sm); }
}
.fx-cluster { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 13px; }
.fx-cluster i { display: grid; place-items: center; }
.fx-cluster i svg { width: 100%; height: 100%; display: block; }
.fx-node b { display: block; font-family: var(--display); font-weight: 500; letter-spacing: -.02em; font-size: 1.05rem; }
.fx-node small { display: block; color: var(--muted); font-size: .85rem; margin-top: .3rem; max-width: 22ch; margin-inline: auto; }
@media (max-width: 760px) {
  .flowx-rail { grid-template-columns: 1fr; gap: 1.8rem; max-width: 340px; margin-inline: auto; }
  .fx-line { display: none; }
}
/* ── integration explainer (animated hub) ── */
/* ── 3D feature scenes ── */
.scene { transform-style: preserve-3d; }
.s3d { transform: rotateY(-11deg) rotateX(5deg); box-shadow: -22px 26px 52px rgba(20,30,28,.16); will-change: transform; }
.scene.go .s3d { animation: s3dfloat 7s ease-in-out 1.1s infinite; }
@keyframes s3dfloat { 0%,100%{ transform: rotateY(-11deg) rotateX(5deg) translateY(0); } 50%{ transform: rotateY(-11deg) rotateX(5deg) translateY(-12px); } }
.fviz.dark .s3d { box-shadow: -22px 26px 52px rgba(0,0,0,.32); }

.s-float { position: absolute; display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .42rem .75rem; font-size: .76rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-md); transform: translateZ(var(--z,40px)); opacity: 0; transition: opacity .6s var(--ease); z-index: 3; }
.scene.go .s-float { opacity: 1; animation: floatbob 5s ease-in-out infinite; }
.s-float.sf-tr { top: 7%; right: 3%; }
.s-float.sf-bl { bottom: 9%; left: 0; animation-delay: -2.5s; }
@keyframes floatbob { 0%,100%{ transform: translateZ(var(--z,40px)) translateY(0); } 50%{ transform: translateZ(var(--z,40px)) translateY(-9px); } }
.sf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); } .sf-dot.ok { background: var(--teal); }
.sf-ic { font-size: .85rem; line-height: 1; }

.s-logo { position: absolute; width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; place-items: center; padding: 9px; transform: translateZ(var(--z,80px)); opacity: 0; transition: opacity .6s var(--ease); z-index: 3; }
.s-logo svg { width: 100%; height: 100%; display: block; }
.scene.go .s-logo { opacity: 1; animation: floatbob 5.5s ease-in-out infinite; }
.s-logo.sl-1 { top: 5%; right: 5%; } .s-logo.sl-2 { bottom: 11%; right: 12%; animation-delay: -1.8s; } .s-logo.sl-3 { top: 32%; left: 1%; animation-delay: -3.4s; }

.conn { padding: 4rem 0 5rem; perspective: 1500px; }
.orbit { position: relative; max-width: 820px; height: 480px; margin: 1.5rem auto 0; opacity: 0; transform-style: preserve-3d; transition: opacity .8s var(--ease), transform .5s var(--ease); }
.orbit.in { opacity: 1; transform: rotateX(13deg); }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.o-base line { stroke: var(--line); stroke-width: 1.5; }
.o-flow line { stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 2 18; opacity: .8; animation: flowin 2s linear infinite; }
.o-flow line:nth-child(2n){ animation-duration: 2.6s; } .o-flow line:nth-child(3n){ animation-duration: 1.6s; stroke: var(--teal); }
@keyframes flowin { to { stroke-dashoffset: -40; } }
.hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 134px; height: 134px; border-radius: 28px; background: linear-gradient(150deg, #fff, #f2fafa); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; place-items: center; z-index: 3; }
.hub .brand-word { font-size: 1.8rem; }
.hub .brand-dot { position: absolute; top: 22px; right: 28px; }
.hub-glow { position: absolute; inset: -28%; border-radius: 50%; background: radial-gradient(circle, rgba(247,170,11,.32), transparent 62%); z-index: -1; animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%,100%{ transform: scale(1); opacity: .55; } 50%{ transform: scale(1.18); opacity: .95; } }
.onode { position: absolute; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font-size: .85rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); z-index: 2; animation: floatnode 5s ease-in-out infinite; animation-delay: calc(var(--i,0) * -.6s); }
@keyframes floatnode { 0%,100%{ transform: translate(-50%,-50%) translateY(0); } 50%{ transform: translate(-50%,-50%) translateY(-8px); } }
.oicon { width: 22px; height: 22px; flex: none; display: inline-grid; place-items: center; }
.oicon svg { width: 100%; height: 100%; display: block; }

/* ── feature visuals: animate in when card scrolls into view (.fviz.go) ── */
.vbar span { transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.fviz.go .vbar span { transform: scaleY(1); }
.vbar span:nth-child(1){transition-delay:.05s}.vbar span:nth-child(2){transition-delay:.13s}.vbar span:nth-child(3){transition-delay:.21s}.vbar span:nth-child(4){transition-delay:.29s}.vbar span:nth-child(5){transition-delay:.37s}
.vdoc .ln { transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.fviz.go .vdoc .ln { transform: scaleX(1); }
.vdoc .ln:nth-child(2){transition-delay:.1s}.vdoc .ln:nth-child(3){transition-delay:.18s}
.vcode .cl { opacity: 0; transform: translateX(-7px); transition: opacity .35s, transform .35s; }
.fviz.go .vcode .cl { opacity: 1; transform: none; }
.vcode .cl:nth-child(2){transition-delay:.18s}.vcode .cl:nth-child(3){transition-delay:.34s}.vcode .cl:nth-child(4){transition-delay:.5s}.vcode .cl:nth-child(5){transition-delay:.66s}
.vauto .arow { opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fviz.go .vauto .arow { opacity: 1; transform: none; }
.vauto .arow:nth-child(2){transition-delay:.12s}.vauto .arow:nth-child(3){transition-delay:.24s}.vauto .arow:nth-child(4){transition-delay:.36s}
.vslack .vmsg { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fviz.go .vslack .vmsg { opacity: 1; transform: none; }
.vslack .vmsg:nth-child(2){transition-delay:.45s}

/* ── responsive ── */
/* Phones: fully flatten the 3D feature scenes. Placed AFTER the base 3D rules so
   it wins the cascade. Three things caused the "autopilot" section to glitch on
   mobile: (1) the s3dfloat/floatbob animations kept re-applying transforms over
   the flattened layout, (2) `will-change: transform` + a preserve-3d/perspective
   context promoted a compositing layer, and (3) the box-shadow `pulse` animating
   inside that 3D layer flickered. We kill all three on phones. */
@media (max-width: 760px) {
  .fcard, .fviz { perspective: none !important; }
  .scene { transform-style: flat !important; }
  .s3d { transform: none !important; animation: none !important; will-change: auto !important; box-shadow: var(--shadow-md) !important; }
  .s-float, .s-logo { display: none !important; }
  .ad.pulse { animation: none !important; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .team-grid, .steps, .stats-in, .tiers { grid-template-columns: 1fr 1fr; }
  /* Don't scale the featured tier once cards wrap — it would overflow its column. */
  .tier-feat, .tier-feat.reveal, .tier-feat.reveal.in { transform: none !important; }
  .rf-wrap { grid-template-columns: 1fr; }
  .midcta-in { justify-content: center; text-align: center; }
  .fviz { min-height: 280px; padding: 1.6rem; }
  .fmeta { margin: 0 auto; text-align: center; } .fmeta p { margin-inline: auto; }
  .pill { }
}
@media (max-width: 560px) {
  .hero { padding-top: 7rem; }
  .team-grid, .steps, .stats-in, .tiers { grid-template-columns: 1fr; }
  .rf-thread { min-height: 0; }
  .hero-form { flex-direction: column; } .hero-form .btn { width: 100%; }
  .stat { text-align: center; }
  .orbit { height: 360px; }
  /* Slack MOBILE app look: no sidebar, an aubergine channel header bar. */
  .sk-rail, .sk-side { display: none; }
  .slack { height: auto; min-height: 380px; }
  .sk-main { min-width: 0; }
  .sk-head { background: #3f0e40; color: #fff; padding: .7rem .9rem; gap: .5rem; }
  .sk-head::before { content: "☰"; font-size: 1.05rem; color: #fff; opacity: .9; margin-right: .15rem; }
  .sk-head b { color: #fff; }
  .sk-head .sk-topic { color: rgba(255,255,255,.72); margin-left: auto; }
  .sk-head::after { content: ""; width: 22px; height: 22px; border-radius: 6px; background: url(/jess-app-icon.png) center/cover; flex: none; }
  .sk-feed { padding-top: .3rem; }
  .hub { width: 100px; height: 100px; border-radius: 22px; } .hub .brand-word { font-size: 1.3rem; }
  .onode { font-size: .72rem; padding: .38rem .6rem; gap: .35rem; } .oicon { width: 16px; height: 16px; }
  /* tighter rhythm on phones */
  .hero { padding: 6.5rem 0 3rem; }
  .feat, .flowx, .conn, .teams, .pricing { padding: 3rem 0; }
  .cta { padding: 3.5rem 0 4rem; } .stats { padding: 3rem 0; }
  .feat-intro { margin-bottom: 2rem; }
  /* flatten 3D scenes + drop floating accents on phones (cleaner, no tilt overflow) */
  .s3d { transform: none !important; animation: none !important; } .fviz { perspective: none; min-height: 0; }
  .s-float, .s-logo { display: none !important; }
  /* comfortable tap targets */
  .btn { padding: .82rem 1.2rem; } .nav-cta { padding: .7rem 1.1rem; }
  /* stack the rating: stars on their own line above the text (centered to match
     the hero), so they don't float beside the wrapped "Free to start…" line */
  .hero-rate { flex-direction: column; align-items: center; text-align: center; gap: .25rem; }
}

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .orbit { opacity: 1 !important; transform: none !important; }
  .rf-msg, .rf-chip.j { opacity: 1 !important; transform: none !important; }
  .msg, .sk-msg, .wstep, .vcode .cl, .vauto .arow, .vslack .vmsg { opacity: 1 !important; transform: none !important; }
  .vbar span, .vdoc .ln { transform: scaleY(1) scaleX(1) !important; }
  .onode { transform: translate(-50%,-50%) !important; }
  .s3d { transform: none !important; }
  .s-float, .s-logo { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ───────────────── feature: cinematic scroll-story (01–04) ───────────────── */
.story { position: relative; overflow: hidden; padding: 5.5rem 0 4rem;
  /* Start from the exact tint the carousel fades into, then ease to clear — so the
     two sections meet with no color seam. The ::before radials layer on top. */
  background: linear-gradient(180deg, rgba(130,195,204,.13) 0%, rgba(130,195,204,.05) 10%, transparent 24%); }
.story::before {
  content: ""; position: absolute; inset: -10% 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 38% at 12% 8%, rgba(130,195,204,.20), transparent 70%),
    radial-gradient(38% 36% at 90% 42%, rgba(247,170,11,.09), transparent 72%),
    radial-gradient(50% 46% at 58% 99%, rgba(31,106,112,.12), transparent 72%);
  filter: blur(14px);
  /* Fade the tint in at the top and out at the bottom so it blends into the white
     sections instead of being clipped into a hard line by overflow:hidden. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.story > .wrap { position: relative; z-index: 1; }

.story-head { text-align: center; max-width: 840px; margin: 0 auto; }
.story-eyebrow { font-family: "DM Mono", ui-monospace, monospace; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); opacity: .85; margin: 0 0 1.1rem; }
.story-title { font-family: "Fustat"; font-weight: 300; letter-spacing: -.035em; font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.0; margin: 0 0 1rem; color: var(--ink); }
.story-sub { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.55; max-width: 540px; margin: 0 auto; }

/* alternating full-width rows — generous air = the "flow" */
.story-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3rem, 7vw, 6.5rem) 0; }
.story-row.reverse .story-text { order: 2; }
.story-num { display: block; font-family: "Fustat"; font-weight: 300; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--teal); opacity: .22; margin-bottom: .3rem; }
.story-text h3 { font-family: "Fustat"; font-weight: 300; letter-spacing: -.03em; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.04; margin: 0 0 1.1rem; color: var(--ink); }
.story-text h3 em { font-style: italic; color: var(--teal); }
.story-text p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.62; max-width: 44ch; margin: 0; }

/* flat Slack-thread visual — no 3D, no looping animation → mobile-safe */
.sl { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 55px rgba(20,30,28,.11); overflow: hidden; max-width: 470px; }
.story-row.reverse .sl { margin-left: auto; }
.sl-head { display: flex; align-items: center; gap: .35rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); }
.sl-hash { color: #9aa6a3; font-weight: 500; }
.sl-msg { display: flex; gap: .7rem; padding: .9rem 1.1rem .35rem; }
.sl-msg:last-child { padding-bottom: 1rem; }
.sl-av { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; }
.sl-av.u { background: linear-gradient(145deg, var(--blue, #4E95AE), var(--teal)); }
.sl-av.j { background: url(/jess-app-icon.png) center/cover, var(--ink); } /* real app icon, same as hero .ava-j */
.sl-av.j i { display: none; }
.sl-b { font-size: .95rem; line-height: 1.5; color: var(--ink); }
.sl-b > b:first-child { display: block; font-size: .82rem; margin-bottom: .15rem; }
.sl-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.sl-chip, .sl-tag { font-size: .72rem; font-weight: 600; padding: .24rem .56rem; border-radius: 7px; white-space: nowrap; }
.sl-chip { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft); }
.sl-tag.ok { background: rgba(31,106,112,.12); color: var(--teal-deep); }
.sl-tag.blue { background: rgba(78,149,174,.16); color: #2f6f86; }
/* scheduled-list variant */
.sl-row { display: flex; align-items: center; gap: .6rem; padding: .72rem 1.1rem; font-size: .9rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.sl-row:last-child { border-bottom: 0; }
.sl-row .sl-tag { margin-left: auto; }
.sl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light, #82C3CC); flex: none; }
.sl-dot.on { background: var(--orange); }
.sl-row.live { background: rgba(247,170,11,.07); color: var(--ink); }

/* motion: word-by-word blur-in headline + blur/fade-up rows (IntersectionObserver adds .in) */
[data-blur] [data-bw] { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(18px); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); }
[data-blur].in [data-bw] { opacity: 1; filter: blur(0); transform: none; }
.reveal-up { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal-up.in { opacity: 1; transform: none; filter: blur(0); }
.story-viz.reveal-up { transition-delay: .12s; } /* visual lands a beat after the words */

@media (max-width: 760px) {
  .story { padding: 3.5rem 0; }
  .story-row { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .story-row.reverse .story-text { order: 0; } /* text always first on phones */
  .sl, .story-row.reverse .sl { max-width: 100%; margin: 0; }
  .story-num { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up, [data-blur] [data-bw] { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ───────────────── FAQ ───────────────── */
.faq { padding: 5.5rem 0; }
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: .7rem; margin-top: 2.2rem; }
.faq-q { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.25rem; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq-q[open] { border-color: var(--teal); }
.faq-q summary { list-style: none; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); padding: 1.1rem 2rem 1.1rem 0; position: relative; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: "+"; position: absolute; right: .1rem; top: 50%; transform: translateY(-50%); font-family: var(--body); font-weight: 400; font-size: 1.5rem; color: var(--teal); transition: transform .2s; }
.faq-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; padding: 0 0 1.2rem; max-width: 64ch; }
.faq-a p { margin: 0; }
.faq-a b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .faq { padding: 4rem 0; } .faq-q summary { font-size: 1rem; } }

/* ───────────── creative studio (story item 05) ───────────── */
.cs-studio { display: grid; gap: 14px; }
.cs-studio figure { margin: 0; }

/* animated, video-style ad — deep aubergine→violet, cross-fading scenes + progress */
.cs-ad-art {
  position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-md);
  aspect-ratio: 20 / 9;
  background: radial-gradient(120% 140% at 80% 10%, #7c3aed 0%, #4c1d95 38%, #2e1065 70%, #1b0b3a 100%);
}
.cs-orb { position: absolute; border-radius: 50%; filter: blur(14px); opacity: .8; animation: csFloat 9s var(--ease) infinite; }
.cs-orb.a { width: 120px; height: 120px; right: 8%; top: -28px; background: radial-gradient(circle, #e879f9, transparent 70%); }
.cs-orb.b { width: 90px; height: 90px; right: 26%; bottom: -26px; background: radial-gradient(circle, #c084fc, transparent 70%); animation-delay: -3s; }
.cs-ribbon { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(232,121,249,.35) 50%, transparent 60%); mix-blend-mode: screen; }
.cs-scenes { position: absolute; inset: 0; }
.cs-scene { position: absolute; inset: 0; padding: 0 7%; display: flex; flex-direction: column; justify-content: center; color: #fff; opacity: 0; }
.cs-s1 { animation: csScene1 6s var(--ease) infinite; }
.cs-s2 { animation: csScene2 6s var(--ease) infinite; }
.cs-kicker { align-self: flex-start; font: 700 .58rem/1 var(--mono); letter-spacing: .18em; color: #3a2600; background: var(--orange); padding: 4px 8px; border-radius: 6px; }
.cs-ad-h { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -.03em; margin: 10px 0 2px; line-height: 1; }
.cs-ad-sub { font-size: .82rem; color: rgba(255,255,255,.82); margin: 0; max-width: 24ch; }
.cs-ad-cta { align-self: flex-start; margin-top: 12px; font-weight: 700; font-size: .8rem; color: #3a2600; background: var(--orange); padding: 9px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(247,170,11,.4); }
.cs-track { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.18); }
.cs-track i { display: block; height: 100%; width: 0; background: var(--orange); animation: csTrack 6s linear infinite; }

/* output-type tiles (social post / static ad / AI image) — auto-upgrade to real assets */
.cs-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cs-th-art { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: transform .3s var(--ease); }
.cs-thumb:hover .cs-th-art { transform: translateY(-3px); }
.cs-th-tag { position: relative; z-index: 2; font: 600 .74rem/1 var(--body); color: #fff; background: rgba(0,0,0,.34); padding: 6px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cs-social { background: linear-gradient(140deg, #8a3ffc, #e0398a 55%, #ff7a45); }
.cs-ad2 { background: linear-gradient(150deg, var(--teal), var(--teal-deep) 72%); }
.cs-ad2 .cs-th-tag { background: var(--orange); color: #2a1c00; }
.cs-image { background: linear-gradient(150deg, #4E95AE, #82C3CC 55%, #ECE7E3); }
.cs-image .cs-th-tag { color: var(--ink); background: rgba(255,255,255,.62); }
/* real asset overlays — populated by app.js only if the file exists (else mockup shows) */
.cs-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: none; }
/* contain shows the whole ad (headline/logo never clipped); the img's own bg fills
   the letterbox bands so the gradient mockup behind it doesn't peek through. */
.cs-real.is-loaded { display: block; background: #f3f0e9; }
.cs-real.is-loaded + .cs-th-tag { display: none; }
.cs-realvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: none; z-index: 4; }
.cs-realvid.is-loaded { display: block; }

.cs-studio figcaption { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cs-chip { font: 500 .7rem/1 var(--mono); color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 8px; border-radius: 8px; }
.cs-chip.ok { color: var(--teal); border-color: rgba(31,106,112,.3); background: rgba(31,106,112,.07); }

@keyframes csFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes csScene1 { 0%,4% { opacity: 0; transform: translateY(7px); } 12%,42% { opacity: 1; transform: none; } 50%,100% { opacity: 0; transform: translateY(-7px); } }
@keyframes csScene2 { 0%,50% { opacity: 0; transform: translateY(7px); } 58%,90% { opacity: 1; transform: none; } 96%,100% { opacity: 0; transform: translateY(-7px); } }
@keyframes csTrack { 0% { width: 0; } 100% { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .cs-orb { animation: none; }
  .cs-s1 { opacity: 1; animation: none; }
  .cs-s2 { display: none; }
  .cs-track i { animation: none; width: 40%; }
}
@media (max-width: 640px) { .cs-ad-art { aspect-ratio: 16 / 9; } .cs-th-h { font-size: .95rem; } }
