/* ============================================================
   flor.cam — marketing site
   flor.rgb design system: crimson · near-black · warm grey · glass
   ============================================================ */

/* ---------------- the type system — the APP's faces, 1:1 (2026-07-16) ----------------
   Self-hosted copies of the exact woff2 files the app ships (app/assets/fonts/) — the site
   stopped calling Google Fonts the same day (a privacy-first brand shouldn't leak visitor
   IPs for a font). Same split as the app (TYPE-BRIEF): Fraunces is the VOICE (italic-only
   family, real weights — never ask it for upright), Bricolage Grotesque is the display,
   Syne is the wordmark ONLY (--font-nav — the rail law), Maple Mono is the mono, Alfa Slab
   One survives for the big slab NUMBERS (one 400 face — never bold it). Instrument Serif
   and Space Mono are retired here exactly as they were in the app. */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  src: url('assets/fonts/syne-2.woff2') format('woff2');
}
@font-face {
  font-family: 'Maple Mono';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/MapleMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Maple Mono';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/MapleMono-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Alfa Slab One';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/AlfaSlabOne-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  src: url('assets/fonts/Fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  src: url('assets/fonts/BricolageGrotesque.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/InstrumentSans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/InstrumentSans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/InstrumentSans-600.woff2') format('woff2');
}

:root {
  --bg: #08070A;
  --bg-2: #0E0D11;
  --bg-3: #16141A;
  --accent: #FF4655;
  --accent-soft: #FF8FA0;
  --accent-deep: #C91F2E;
  --accent-pale: #FFC2CB;
  --accent-dark: #9C122E;
  --accent-abyss: #5C0E2E;
  --accent-rgb: 255, 70, 85;
  --accent-deep-rgb: 201, 31, 46;
  --accent-abyss-rgb: 92, 14, 46;
  --crimson: #E5484D;
  --green: #34E07E;
  --amber: #F5A623;
  --text: #F7F4F6;
  --text-2: #B6AFBA;
  --text-3: #8E8792;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(var(--accent-rgb), 0.38);
  --hairline: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 14px;
  --radius-lg: 22px;
  /* mirrors app/styles.css :root — --font-nav is the wordmark/rail law (Syne ONLY there) */
  --font-brand: 'Alfa Slab One', 'Syne', serif;   /* the slab NUMBERS — one 400 face, never bold */
  --font-nav: 'Syne', 'Archivo', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Archivo', sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;        /* the voice — italic-only family */
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Maple Mono', 'JetBrains Mono', monospace;
  --maxw: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------- living colour ----------------
   There is no manual scheme picker any more. A rAF loop in index.html glides the accent
   family through flor.cam's four brand palettes (crimson · violet · pacific · gold),
   writing the same --accent* custom properties below in place. :root here is the resting
   crimson state (what you get with JS off) — everything on the page routes through it. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the persistent fractal canvas — fixed behind everything, follows you the whole page.
   It sits under the aurora wash and grain so those still add their glow on top. */
#page-fx {
  position: fixed; inset: 0; z-index: -3;
  width: 100%; height: 100%; display: block; pointer-events: none;
  opacity: 0; transition: opacity 2s var(--ease);
}
#page-fx.lit { opacity: 1; }

/* atmosphere: a slowly breathing aurora wash + grain. The drift is deliberately glacial —
   felt more than seen — and the global prefers-reduced-motion rule at the end stills it. */
body::before {
  content: '';
  position: fixed; inset: -8%; z-index: -2;
  background:
    radial-gradient(70% 55% at 78% -5%, rgba(var(--accent-rgb), 0.16), transparent 60%),
    radial-gradient(60% 50% at 8% 8%, rgba(var(--accent-abyss-rgb), 0.28), transparent 55%),
    radial-gradient(50% 60% at 50% 110%, rgba(var(--accent-deep-rgb), 0.12), transparent 60%);
  pointer-events: none;
  animation: aurora 36s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  40%  { transform: translate3d(-1.6%, 1.2%, 0) scale(1.05); opacity: .8; }
  100% { transform: translate3d(1.4%, -1%, 0) scale(1.02); opacity: .92; }
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--accent-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-pale); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 7, 10, 0.72);
  border-bottom: 1px solid var(--hairline);
  transition: background .3s var(--ease), border-color .3s;
}
/* condense + solidify once you start scrolling */
.nav.scrolled { background: rgba(8, 7, 10, 0.92); border-color: var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 66px; transition: height .3s var(--ease); }
.nav.scrolled .wrap { height: 56px; }
/* the wordmark is Syne — the app's rail law (--font-nav), one face with the app topbar */
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-nav); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 26px; height: 26px; }
.brand em { font-style: normal; color: var(--accent-soft); }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav .links a { position: relative; color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.nav .links a:hover { color: var(--text); }
/* scroll-spy: the section you're in lights up with an accent underline */
.nav .links a.active { color: var(--text); }
.nav .links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
/* hamburger — only shown on narrow screens */
.nav-toggle {
  display: none; margin-left: 4px; width: 38px; height: 38px; cursor: pointer;
  align-items: center; justify-content: center; font-size: 17px; line-height: 1;
  color: var(--text); background: var(--glass); border: 1px solid var(--border); border-radius: 10px;
  transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--border-strong); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  border: 1px solid var(--border); background: var(--glass); color: var(--text);
  cursor: pointer; transition: all .3s var(--ease); white-space: nowrap;
}
.btn:hover { border-color: var(--border-strong); transform: translateY(-1px); color: var(--text); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 10px 34px -8px rgba(var(--accent-rgb),.55);
}
.btn.primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 14px 44px -8px rgba(var(--accent-rgb),.7); color: #fff; }
.btn.big { padding: 16px 34px; font-size: 16.5px; }

/* ---------------- hero ---------------- */
.hero { padding: 104px 0 72px; text-align: center; position: relative; }
.hero .wrap { position: relative; z-index: 2; }

/* the three.js pipeline field sits full-bleed behind the hero content. A vertical mask
   keeps it clear of the nav and fades it out before the app mock, so text stays crisp.
   overflow:hidden guarantees it can never widen the page (the responsive e2e checks this). */
.hero-fx {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 56%, transparent 84%);
          mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 56%, transparent 84%);
}
.hero-fx.lit { opacity: 1; }
.hero-fx canvas { display: block; width: 100%; height: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-soft); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 6px 15px; margin-bottom: 28px; background: rgba(var(--accent-rgb),.06);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--accent); }
/* the voice line — the app's tagline treatment exactly: Fraunces, a REAL 600 italic */
.hero .tagline {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(21px, 3.4vw, 32px); color: var(--accent-pale); margin-bottom: 22px;
}
.hero p.sub { max-width: 620px; margin: 0 auto 34px; font-size: 19px; color: var(--text-2); }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .microcopy { margin-top: 18px; font-size: 13.5px; color: var(--text-3); font-family: var(--font-mono); }
/* platform requirements + the unsigned-build note that sits under every download pair */
.reqline { margin-top: 7px; font-size: 12.5px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .01em; }
.firstrun { max-width: 620px; margin: 14px auto 0; font-size: 12.5px; line-height: 1.75; color: var(--text-3);
  padding: 11px 16px; border: 1px solid var(--hairline); border-radius: 10px; background: rgba(255,255,255,.02); }
.firstrun b { color: var(--text-2); font-weight: 700; }

/* ---------------- section heads ---------------- */
.shead { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.shead .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.shead h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; margin: 12px 0 12px; letter-spacing: -0.01em; }
.shead h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--accent-soft); }
.shead p { color: var(--text-2); font-size: 18px; }

/* ---------------- features grid ---------------- */
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(4,3,5,.2));
  padding: 26px 24px; transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 15px;
  background: rgba(var(--accent-rgb),.1); border: 1px solid var(--border-strong); color: var(--accent-soft);
}
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 7px; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.card .soon { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(245,166,35,.35); border-radius: 999px; padding: 2px 9px; }

/* ---------------- privacy band ---------------- */
.band { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(var(--accent-rgb),.05), transparent); }
.band .wrap { text-align: center; }
.band h2 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 4.2vw, 40px); margin-bottom: 16px; }
.band .pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass); font-size: 14px; color: var(--text-2); }
.pill b { color: var(--text); font-weight: 600; }

/* ---------------- sidekick (the assistant band) ---------------- */
/* each moment-card closes on a bold law-line — accent, ruled off from the promise above it */
#sidekick .card .law { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--accent); font-size: 14.5px; }
/* the brains panel — the shipped-tiers copy, centred like the old AI spotlight it grew from */
.sidekick-brains { padding: 40px 44px; text-align: center; margin-top: 24px; border-color: var(--border-strong); background: linear-gradient(180deg, rgba(var(--accent-rgb), .07), rgba(4, 3, 5, .3)); }
.sidekick-brains .k { margin-bottom: 12px; }

/* ---------------- pricing ---------------- */
.price-card {
  max-width: 480px; margin: 0 auto; text-align: center;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.08), rgba(4,3,5,.35));
  padding: 44px 40px; box-shadow: 0 30px 90px -30px rgba(var(--accent-rgb),.3);
}
.price-card .own { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.price-card .amount { font-family: var(--font-brand); font-size: 68px; line-height: 1; margin: 14px 0 4px; }
.price-card .amount span { font-size: 26px; color: var(--text-3); vertical-align: super; }
.price-card .launch-line { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-soft); margin: 2px 0 6px; letter-spacing: .01em; }
.price-card .once { color: var(--text-2); margin-bottom: 22px; }
.price-card ul { list-style: none; text-align: left; margin: 24px 0; display: grid; gap: 11px; }
.price-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.price-card li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.price-card .fineprint { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* ---------------- faq ---------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 22px; margin-bottom: 12px; background: var(--glass); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); font-size: 15.5px; }

/* ---------------- final cta ---------------- */
.finalcta { text-align: center; }
.finalcta h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(32px, 6vw, 60px); line-height: 1.05; margin-bottom: 12px; }
.finalcta h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 600; }
.finalcta h2 em { font-style: normal; color: var(--accent); }
.finalcta p { color: var(--text-2); font-size: 19px; margin-bottom: 30px; }

/* ---------------- per-section texture (grown 2026-07-16 — Flor's ask: every section
   visually its own room) ----------------
   EVERY major section now carries its own distinct motif so the page reads as composed
   chapters, not one long scroll. All sit at z-index 0 under the content (lifted below),
   never take pointer events, are tinted through --accent-rgb so they drift with the colour
   waveform, and are pure CSS gradients (nothing fetched, nothing animated — reduced-motion
   safe by construction). One motif per idea: dots=demo, grid=features, rings=lanes,
   ledger-rules=stack, hatch=privacy, notebook-lines=sidekick, diamond-weave=founding,
   bloom=pricing, staggered-dots=faq, filmstrip=creator, bloom=finale. */
section > .wrap { position: relative; z-index: 1; }

#demo::before, #features::before, #for::before, #stack::before, .band::before,
#sidekick::before, #founding::before, #pricing::before, #faq::before, #creator::before,
.finalcta::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
/* guided demo — a soft dot matrix */
#demo::before {
  background-image: radial-gradient(rgba(var(--accent-rgb), .14) 1px, transparent 1.5px);
  background-size: 26px 26px; opacity: .65;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
/* features — a faint blueprint grid */
#features::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 42%, #000, transparent 88%);
          mask-image: radial-gradient(75% 65% at 50% 42%, #000, transparent 88%);
}
/* who it's for — concentric rings: many trades, one centre */
#for::before {
  background-image: repeating-radial-gradient(circle at 50% 24%, rgba(var(--accent-rgb), .055) 0 1px, transparent 1px 38px);
  -webkit-mask-image: radial-gradient(80% 75% at 50% 35%, #000, transparent 85%);
          mask-image: radial-gradient(80% 75% at 50% 35%, #000, transparent 85%);
}
/* replaces-your-stack — vertical ledger rules, the accounts book it retires */
#stack::before {
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 45%, #000, transparent 85%);
          mask-image: radial-gradient(80% 80% at 50% 45%, #000, transparent 85%);
}
/* privacy — diagonal hatching, like a security watermark */
.band::before {
  background-image: repeating-linear-gradient(-45deg, rgba(var(--accent-rgb), .06) 0 1px, transparent 1px 13px);
  -webkit-mask-image: radial-gradient(92% 130% at 50% 50%, #000, transparent 76%);
          mask-image: radial-gradient(92% 130% at 50% 50%, #000, transparent 76%);
}
/* the sidekick — ruled notebook lines, the book it keeps for you */
#sidekick::before {
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(75% 85% at 50% 50%, #000, transparent 82%);
          mask-image: radial-gradient(75% 85% at 50% 50%, #000, transparent 82%);
}
/* launch price (#founding) — a diamond weave, the velvet rope */
#founding::before {
  background-image:
    repeating-linear-gradient(45deg, rgba(var(--accent-rgb), .045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(var(--accent-rgb), .045) 0 1px, transparent 1px 26px);
  -webkit-mask-image: radial-gradient(85% 95% at 50% 45%, #000, transparent 80%);
          mask-image: radial-gradient(85% 95% at 50% 45%, #000, transparent 80%);
}
/* pricing — a rising glow behind the card */
#pricing::before { background: radial-gradient(60% 55% at 50% 12%, rgba(var(--accent-rgb), .10), transparent 70%); }
/* faq — staggered double dots: question, answer */
#faq::before {
  background-image:
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.5px),
    radial-gradient(rgba(var(--accent-rgb), .09) 1px, transparent 1.5px);
  background-size: 44px 44px, 44px 44px;
  background-position: 0 0, 22px 22px;
  -webkit-mask-image: radial-gradient(80% 85% at 50% 45%, #000, transparent 84%);
          mask-image: radial-gradient(80% 85% at 50% 45%, #000, transparent 84%);
}
/* from the creator — two sprocket strips: a filmstrip for the videographer who built it */
#creator::before {
  background-image:
    repeating-linear-gradient(180deg, rgba(var(--accent-rgb), .12) 0 12px, transparent 12px 30px),
    repeating-linear-gradient(180deg, rgba(var(--accent-rgb), .12) 0 12px, transparent 12px 30px);
  background-size: 7px 100%, 7px 100%;
  background-position: 5% 0, 95% 0;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
/* final CTA — the closing bloom */
.finalcta::before { background: radial-gradient(55% 70% at 50% 40%, rgba(var(--accent-rgb), .13), transparent 72%); }

/* ---------------- replaces your stack ---------------- */
.stack-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.stack-old { border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(4,3,5,.25)); padding: 26px 26px 20px; }
.stack-old-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--text-2); }
.stack-old-head span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.stack-row { display: grid; grid-template-columns: minmax(0, auto) 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--hairline); }
.stack-row b { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); white-space: nowrap; }
.stack-row span { font-size: 12.5px; color: var(--text-3); min-width: 0; }
.stack-row i { font-family: var(--font-mono); font-style: normal; font-size: 15px; color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(var(--accent-rgb), .6); white-space: nowrap; }
.stack-row i u, .stack-total i u { text-decoration: none; font-size: 11px; color: var(--text-3); }
.stack-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.stack-total b { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.stack-total i { font-family: var(--font-mono); font-style: normal; font-size: 24px; color: var(--accent-soft); text-decoration: line-through; text-decoration-color: rgba(var(--accent-rgb), .55); }
.stack-new { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 30px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(120% 90% at 50% 0%, rgba(var(--accent-rgb),.14), transparent 68%), var(--bg-2); box-shadow: 0 40px 110px -50px rgba(var(--accent-rgb),.4); }
.stack-new-mark { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.stack-new-name { font-family: var(--font-nav); font-weight: 800; letter-spacing: -.02em; font-size: 30px; } /* it IS the wordmark */
.stack-new-name em { font-style: normal; color: var(--accent-soft); }
.stack-new-price { font-family: var(--font-brand); font-size: 52px; line-height: 1; margin: 10px 0 4px; }
.stack-new-price span { font-size: 22px; color: var(--text-3); vertical-align: super; }
.stack-new-price u { text-decoration: none; font-family: var(--font-mono); font-size: 14px; color: var(--text-2); }
/* the qualifier under the big number — "$0/mo" must never be skimmable as "free" */
.stack-new-sub { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); margin: -2px 0 4px; }
.stack-new-list { list-style: none; margin: 18px 0 4px; display: grid; gap: 9px; text-align: left; }
.stack-new-list li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.stack-new-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.stack-new .btn { margin-top: 22px; }
.stack-save { margin-top: 16px; font-size: 12.5px; color: var(--text-3); font-family: var(--font-mono); }
.stack-save b { color: var(--accent-soft); font-weight: 400; }
.stack-fine { max-width: 720px; margin: 26px auto 0; text-align: center; font-size: 12px; color: var(--text-3); line-height: 1.7; }

/* ---------------- from the creator ---------------- */
.byline { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.byline a { color: var(--accent-soft); text-decoration: none; border-bottom: 1px solid rgba(var(--accent-rgb),.35); }
.byline a:hover { color: var(--text); border-bottom-color: var(--accent); }
.creator-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: 46px 34px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.06), rgba(4,3,5,.3));
}
.creator-card .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.creator-card h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.6vw, 36px); margin: 0 0 18px; }
.creator-card h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--accent-soft); }
.creator-card p { max-width: 580px; margin: 0 auto 14px; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.creator-card .btn { margin-top: 10px; }

/* ---------------- stat band ---------------- */
.stat-band .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { text-align: center; padding: 10px; }
.stat b { display: block; font-family: var(--font-brand); font-size: clamp(40px, 5vw, 58px); line-height: 1; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin: 10px auto 0; font-size: 13.5px; color: var(--text-2); max-width: 190px; }

/* ---------------- scroll reveal ----------------
   Content eases up + fades in as it enters the viewport (JS adds .in once). Only active
   when JS is on (html.js) so a no-JS visit shows everything; stilled under reduced-motion. */
html.js .reveal, html.js .reveal-group > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js .reveal.in, html.js .reveal-group.in > * { opacity: 1; transform: none; }
html.js .reveal-group.in > *:nth-child(2) { transition-delay: .06s; }
html.js .reveal-group.in > *:nth-child(3) { transition-delay: .12s; }
html.js .reveal-group.in > *:nth-child(4) { transition-delay: .18s; }
html.js .reveal-group.in > *:nth-child(5) { transition-delay: .24s; }
html.js .reveal-group.in > *:nth-child(6) { transition-delay: .30s; }
html.js .reveal-group.in > *:nth-child(7) { transition-delay: .36s; }
html.js .reveal-group.in > *:nth-child(8) { transition-delay: .42s; }
html.js .reveal-group.in > *:nth-child(9) { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-group > * { opacity: 1 !important; transform: none !important; }
}

/* ---------------- focus: the keyboard user can always see where they are ----------------
   The site had NO focus styling at all — on a near-black page the browser default is close to
   invisible, so tabbing through it was a guess. :focus-visible keeps the ring off mouse presses,
   and riding --accent means it breathes with the living colour like everything else. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .cta:focus-visible { border-color: var(--accent); }
.faq summary:focus-visible { outline-offset: 6px; }

/* ---------------- footer ---------------- */
footer { border-top: 1px solid var(--hairline); padding: 54px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
footer .brand { font-size: 18px; margin-bottom: 8px; }
footer .tag { color: var(--text-3); font-family: var(--font-serif); font-style: italic; font-size: 15px; max-width: 280px; }
footer .cols { display: flex; gap: 60px; flex-wrap: wrap; }
footer .col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
footer .col a { display: block; color: var(--text-2); font-size: 14.5px; margin-bottom: 9px; }
footer .col a:hover { color: var(--text); }
footer .legal { width: 100%; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--text-3); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------------- legal pages ---------------- */
.legal-doc { max-width: 800px; margin: 0 auto; padding: 60px 0 40px; }
.legal-doc .back { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.legal-doc h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 46px); margin: 18px 0 6px; }
.legal-doc .updated { color: var(--text-3); font-size: 14px; margin-bottom: 6px; }
.legal-doc .note { background: rgba(245,166,35,.07); border: 1px solid rgba(245,166,35,.3); border-radius: 12px; padding: 14px 18px; color: var(--text-2); font-size: 14px; margin: 22px 0 34px; }
.legal-doc h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 34px 0 10px; color: var(--text); }
.legal-doc p, .legal-doc li { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.legal-doc ul, .legal-doc ol { padding-left: 24px; margin-bottom: 12px; }
.legal-doc strong { color: var(--text); }
.legal-doc .placeholder { color: var(--accent-soft); font-family: var(--font-mono); font-size: .92em; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .stat-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .creator-card { padding: 34px 20px; }
  /* the nav links collapse into a real dropdown behind the hamburger */
  .nav-toggle { display: inline-flex; }
  .nav .links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8, 7, 10, 0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; padding: 0 16px;
    transition: max-height .32s var(--ease), opacity .25s, padding .32s var(--ease);
  }
  .nav.open .links { max-height: 74vh; opacity: 1; pointer-events: auto; padding: 8px 16px 14px; }
  .nav .links a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--hairline); }
  .nav .links a:last-child { border-bottom: none; }
  .nav .links a.active::after { display: none; }
  section { padding: 68px 0; }
}
@media (max-width: 520px) {
  .hero .actions { flex-direction: column; align-items: stretch; }
  /* keep brand + buy button on one uncrowded line — Syne 800 runs a touch wider than the
     retired slab did, so the wordmark drops 2px on phones or the hamburger pokes out */
  .nav .wrap { padding: 0 12px; gap: 10px; }
  .nav .links { gap: 12px; }
  .brand { font-size: 18px; }
  .brand img { width: 23px; height: 23px; }
}

/* ============================================================
   LIVE DEMO — a real app frame in HTML/CSS. No screenshots.
   Works with JS disabled: the Home panel ships with `.on`.
   ============================================================ */
.demo {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--bg-2); box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--accent-rgb),.06);
}
.demo-chrome {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--bg-3); border-bottom: 1px solid var(--hairline);
}
.demo-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #3a343c; }
.demo-chrome i.r { background: #FF5F57; } .demo-chrome i.y { background: #FEBC2E; } .demo-chrome i.g { background: #28C840; }
.demo-title { margin-left: 10px; font-family: var(--font-mono, monospace); font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
.demo-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 470px; }
.demo-side { border-right: 1px solid var(--hairline); padding: 16px 10px; background: rgba(0,0,0,.22); }
.demo-cap { font-size: 9.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--text-3); margin: 16px 0 6px 10px; }
.demo-nav {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 8px 11px; margin-bottom: 2px; border-radius: 9px;
  background: transparent; border: 1px solid transparent; color: var(--text-2);
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  transition: all .18s ease;
}
.demo-nav:hover { color: var(--text); background: rgba(var(--accent-rgb),.07); }
.demo-nav.on {
  color: var(--accent-pale); font-weight: 700; border-color: var(--border);
  background: linear-gradient(90deg, rgba(var(--accent-rgb),.18), rgba(var(--accent-rgb),.04));
  box-shadow: inset 2px 0 0 var(--accent);
}
.demo-canvas { padding: 26px 28px; min-width: 0; }
.demo-panel { display: none; animation: demoIn .34s cubic-bezier(.16,1,.3,1); }
.demo-panel.on { display: block; }
@keyframes demoIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.demo-canvas h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; margin: 0 0 4px; }
/* the view-head subtitle voice — Fraunces 450, the app's exact weight for this surface */
.demo-lead { font-family: var(--font-serif); font-style: italic; font-weight: 450; color: var(--text-2); font-size: 14px; margin-bottom: 18px; }
.demo-lead b { font-style: normal; color: var(--accent-soft); font-family: inherit; }

.demo-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.demo-kpi { padding: 12px 13px; border: 1px solid var(--hairline); border-radius: 11px; background: var(--glass); }
.demo-kpi label { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 5px; }
.demo-kpi b { font-family: var(--font-mono); font-size: 19px; }
.demo-kpi.a b { color: var(--accent-soft); } .demo-kpi.g b { color: var(--green); } .demo-kpi.e b { color: var(--crimson); }

.demo-card { border: 1px solid var(--hairline); border-radius: 12px; padding: 15px 16px; background: var(--glass); }
.demo-cardhead { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; margin-bottom: 11px; }
.demo-cardhead span { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); }
.demo-upd { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--text-2); padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; }
.demo-upd + .demo-upd { margin-top: 2px; }
.demo-upd:hover { border-color: var(--hairline); background: rgba(255,255,255,.02); }
.demo-upd b { color: var(--text); }
.demo-upd .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex: 0 0 auto; }

.demo-kanban { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.demo-col { border: 1px solid var(--hairline); border-radius: 11px; padding: 11px; background: rgba(0,0,0,.2); }
.demo-colhead { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 10px; }
.demo-tile { border: 1px solid var(--hairline); border-radius: 9px; padding: 10px; background: var(--bg-2); }
.demo-tile b { display: block; font-size: 12px; margin-bottom: 3px; }
.demo-tile span { display: block; font-size: 10.5px; color: var(--text-3); }
.demo-bar { height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); margin-top: 9px; }
.demo-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }
.demo-tile.done .demo-bar i { background: var(--green); }

.demo-row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; margin-bottom: 7px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--glass); position: relative; overflow: hidden; }
.demo-row > div { flex: 1; min-width: 0; }
.demo-row b { display: block; font-size: 12.5px; }
.demo-row span:not(.stripe) { font-size: 11px; color: var(--text-3); }
.demo-row i { font-family: var(--font-mono); font-style: normal; color: var(--accent-soft); font-size: 13px; }
.demo-row .stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.stripe.b { background: #5B8DEF; } .stripe.r { background: var(--crimson); } .stripe.g { background: var(--green); }
.demo-row .tag { font-family: var(--font-mono); font-style: normal; font-size: 9px; letter-spacing: .08em; padding: 3px 8px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-3); }
.tag.red { color: var(--crimson); border-color: rgba(229,72,77,.5); }
.tag.green { color: var(--green); border-color: rgba(52,224,126,.5); }
.demo-aging { display: flex; gap: 3px; height: 9px; margin-bottom: 11px; }
.demo-aging i { border-radius: 3px; }
.demo-aging i.g { background: var(--green); } .demo-aging i.r { background: var(--crimson); }
.demo-agelegend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11px; color: var(--text-2); }
.demo-agelegend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; }
.demo-agelegend i.g { background: var(--green); } .demo-agelegend i.a { background: var(--amber); } .demo-agelegend i.r { background: var(--crimson); }

.demo-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.demo-pills span { font-size: 11.5px; padding: 5px 13px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-2); }
.demo-pills span.on { border-color: var(--accent); color: var(--accent-pale); background: rgba(var(--accent-rgb),.1); }
.demo-ideas { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.demo-idea { border: 1px solid var(--hairline); border-radius: 12px; padding: 15px; background: var(--glass); }
.demo-idea em { font-family: var(--font-mono); font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); }
.demo-idea b { display: block; font-size: 14.5px; margin: 7px 0 9px; line-height: 1.35; }
.demo-idea p { font-size: 12px; color: var(--text-2); margin: 0 0 11px; line-height: 1.6; }
.demo-idea .fmt { font-size: 10.5px; color: var(--text-3); font-family: var(--font-mono); }
/* Develop — the scripted concept card revealed under the ideas (Track D, 2026-07-17) */
.demo-developrow { margin-top: 13px; }
.demo-concept { margin-top: 13px; border: 1px solid var(--hairline); border-radius: 12px; padding: 16px; background: rgba(var(--accent-rgb), .04); opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.demo-concept.open { opacity: 1; transform: none; }
.demo-concept-sec { margin: 0 0 12px; }
.demo-concept-sec:last-of-type { margin-bottom: 6px; }
.demo-concept-sec em { display: block; font-family: var(--font-mono); font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 5px; }
.demo-concept-sec p { font-size: 12.5px; color: var(--text-2); margin: 2px 0; line-height: 1.55; }

.demo-chat { min-height: 190px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.demo-msg { display: flex; gap: 9px; max-width: 88%; }
.demo-msg.user { align-self: flex-end; }
.demo-msg i { color: var(--accent); font-style: normal; font-size: 13px; padding-top: 11px; }
.demo-msg p { margin: 0; padding: 11px 15px; border-radius: 15px; font-size: 12.5px; line-height: 1.6; border: 1px solid var(--border); background: var(--glass); }
.demo-msg.user p { background: linear-gradient(135deg, var(--accent-abyss), var(--accent-dark)); border-color: var(--border-strong); border-bottom-right-radius: 5px; }
.demo-msg.ai p { border-bottom-left-radius: 5px; }
.demo-caret::after { content: '▍'; color: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-prompts { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-prompts button {
  font-family: inherit; font-size: 11.5px; cursor: pointer;
  padding: 6px 13px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--glass); color: var(--text-2); transition: all .18s ease;
}
.demo-prompts button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-pale); }
.demo-prompts button:disabled { opacity: .35; cursor: default; }
/* calendar */
.demo-cal { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 6px; margin-bottom: 16px; }
.demo-dow { text-align: center; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-family: var(--font-mono); }
.demo-day { min-height: 58px; border: 1px solid var(--hairline); border-radius: 9px; padding: 5px 6px; background: rgba(0,0,0,.2); font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.demo-day.has { border-color: var(--border); }
.demo-day b { display: block; color: var(--text-2); font-weight: 400; margin-bottom: 4px; }
.demo-day .ev { display: block; font-family: var(--font-body); font-style: normal; font-size: 9.5px; line-height: 1.3; color: var(--text); padding: 2px 5px; border-radius: 4px; border-left: 2px solid var(--text-3); background: rgba(255,255,255,.04); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-day .ev.b { border-left-color: #4D6BFF; } .demo-day .ev.a { border-left-color: var(--accent-soft); } .demo-day .ev.r { border-left-color: var(--crimson); }
/* call sheet rows */
.demo-cs { display: flex; gap: 12px; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--hairline); }
.demo-cs:last-child { border-bottom: 0; }
.demo-cs span { flex: 0 0 60px; color: var(--text-3); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; padding-top: 1px; }
.demo-cs b { flex: 1; color: var(--text); font-weight: 500; }
/* lead heat tags (reused in outreach rows) */
.heat { font-family: var(--font-mono); font-style: normal; font-size: 8.5px; letter-spacing: .06em; padding: 1px 6px; border-radius: 5px; vertical-align: 1px; margin-left: 7px; }
.heat.hot { color: var(--crimson); background: rgba(229,72,77,.14); border: 1px solid rgba(229,72,77,.35); }
.heat.warm { color: var(--amber); background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3); }
.heat.cold { color: var(--text-3); border: 1px solid var(--hairline); }
.demo-row .stripe.a { background: var(--amber); }
/* expense category bars */
.demo-catbar { display: grid; grid-template-columns: 130px 1fr 56px; align-items: center; gap: 12px; margin-bottom: 9px; font-size: 12px; }
.demo-catbar:last-child { margin-bottom: 0; }
.demo-catbar span { color: var(--text-2); }
.demo-catbar i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent-deep), var(--accent-soft)); }
.demo-catbar em { font-family: var(--font-mono); font-style: normal; text-align: right; color: var(--text); }
/* hero scroll cue */
.hero-scrollcue { margin-top: 30px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft); opacity: .85; animation: cuebob 2.4s ease-in-out infinite; }
@keyframes cuebob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.demo-note, .demo-caption { font-size: 11.5px; color: var(--text-3); margin-top: 12px; }
.demo-caption { text-align: center; margin-top: 18px; font-style: italic; font-family: var(--font-serif); font-weight: 450; font-size: 14px; }

/* ---------------- demo interactions (2026-07-16 — the demo grew hands) ----------------
   Every affordance below is a real <button>; everything it triggers is scripted and
   deterministic (CSS transitions + the same typed-reply pipeline — no timers, no Date). */
.demo-mini {
  font: 600 10.5px var(--font-body); color: var(--accent-pale);
  background: rgba(var(--accent-rgb), .08); border: 1px solid var(--border-strong);
  border-radius: 20px; padding: 4px 11px; cursor: pointer; white-space: nowrap; flex: 0 0 auto;
  transition: background .2s, color .2s, opacity .2s;
}
.demo-mini:hover:not(:disabled) { background: rgba(var(--accent-rgb), .2); color: #fff; }
.demo-mini:disabled { opacity: .45; cursor: default; }
.demo-mini.go { border-color: rgba(52,224,126,.5); color: var(--green); background: rgba(52,224,126,.08); }
.demo-mini.go:hover:not(:disabled) { background: rgba(52,224,126,.18); color: #fff; }
.demo-upd .demo-updtxt { flex: 1; min-width: 0; }
.demo-upd .demo-mini { margin-left: auto; }

/* pillar / platform pills are buttons now */
.demo-pills button {
  font: 500 11.5px var(--font-body); padding: 5px 13px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text-2); background: transparent; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.demo-pills button:hover { border-color: var(--accent); color: var(--accent-pale); }
.demo-pills button.on { border-color: var(--accent); color: var(--accent-pale); background: rgba(var(--accent-rgb),.1); }

/* client rows are buttons — the row look, plus a press affordance + selected state */
button.demo-row { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.demo-row:hover { border-color: var(--border-strong); }
.demo-client.on { border-color: var(--accent); background: rgba(var(--accent-rgb),.06); }
.demo-row .tag.amber { border-color: rgba(245,166,35,.45); color: var(--amber); }

/* calendar events are buttons */
.demo-day .ev { border: 0; border-left: 2px solid var(--text-3); width: 100%; text-align: left; cursor: pointer; transition: background .2s; }
.demo-day .ev:hover { background: rgba(255,255,255,.09); }
.demo-day .ev.on { background: rgba(var(--accent-rgb), .16); color: #fff; }

/* the drafted follow-up (hidden until asked) + the mark-paid confirm chip */
.demo-draft { display: none; margin-top: 12px; }
.demo-draft.open { display: block; animation: demoIn .34s var(--ease); }
.demo-drafttxt { font-size: 12.5px; color: var(--text-2); line-height: 1.7; border-left: 2px solid var(--accent); padding-left: 12px; margin: 2px 0 4px; }
.demo-confirm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-2);
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 13px; margin: -1px 0 8px; background: rgba(var(--accent-rgb), .05); animation: demoIn .34s var(--ease); }
.demo-confirm[hidden] { display: none; }
.demo-confirm b { color: var(--text); }

/* Snap — the receipt and its read-out */
.demo-snapgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
.demo-receipt { font-family: var(--font-mono); font-size: 10px; line-height: 2; color: var(--text-2);
  border: 1px dashed var(--border); border-radius: 8px; padding: 12px 14px; background: rgba(255,255,255,.02); transform: rotate(-.6deg); }
.demo-receipt b { display: block; letter-spacing: .05em; color: var(--text); }
.demo-receipt span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-receipt .demo-rcpt-total { color: var(--text); font-weight: 700; }
.demo-snapfields { display: none; }
.demo-snap.read .demo-snapfields { display: block; animation: demoIn .34s var(--ease); }
.demo-snap.read #demo-snapread-btn { display: none; }
.demo-snapfields .demo-mini { margin-top: 9px; }

/* Publish — master text + the render queue */
.demo-master { font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin: 0; }
.demo-render i[data-render] { transition: width 1.15s var(--ease); }
.demo-render .demo-catbar em[data-rlabel] { color: var(--text-3); font-size: 10.5px; }
.demo-render .demo-catbar.done em[data-rlabel] { color: var(--green); }

/* ============ LAUNCH PRICE (#founding — id kept; see index.html) ============ */
.founding {
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 44px 40px; text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, rgba(var(--accent-rgb),.10), transparent 70%), var(--bg-2);
  box-shadow: 0 40px 120px -50px rgba(var(--accent-rgb),.35);
}
.founding-mark { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.founding h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 12px; }
.founding-sub { max-width: 620px; margin: 0 auto 30px; color: var(--text-2); line-height: 1.75; }
.founding-tiers { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; max-width: 420px; margin: 0 auto 28px; }
.ftier { border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; background: var(--glass); text-align: center; }
.ftier-n { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); }
.ftier-p { font-family: var(--font-mono); font-size: 30px; color: var(--accent-soft); margin: 8px 0 10px; }
.ftier-p s { font-size: 16px; color: var(--text-3); margin-left: 8px; }
.ftier-d { font-size: 12.5px; color: var(--text-2); line-height: 1.65; }
.ftier-d code { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-pale); background: rgba(var(--accent-rgb),.1); border: 1px solid var(--border-strong); border-radius: 5px; padding: 1px 6px; }
.ftier-left { margin-top: 12px; font-size: 11.5px; color: var(--text-3); }
.ftier-left b { color: var(--green); font-family: var(--font-mono); }
.founding-fine { margin-top: 20px; font-size: 11.5px; color: var(--text-3); max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============ RESPONSIVE + MOTION ============ */
@media (max-width: 900px) {
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .demo-side { display: flex; gap: 6px; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--hairline); padding: 10px; }
  .demo-cap { display: none; }
  .demo-nav { width: auto; white-space: nowrap; }
  .demo-nav.on { box-shadow: inset 0 -2px 0 var(--accent); }
  .demo-kpis, .demo-kanban { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .demo-ideas, .founding-tiers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .demo-kpis, .demo-kanban { grid-template-columns: minmax(0, 1fr); }
  .demo-canvas { padding: 20px 16px; }
  .founding { padding: 32px 20px; }
  .demo-agelegend { flex-direction: column; gap: 7px; }
  /* the 7-col calendar + fixed-label category rows would otherwise overflow a phone */
  .demo-cal { gap: 4px; }
  .demo-day { min-height: 46px; padding: 4px; font-size: 10px; }
  .demo-day .ev { font-size: 8px; padding: 1px 3px; }
  .demo-catbar { grid-template-columns: 96px 1fr 48px; gap: 8px; font-size: 11px; }
  .demo-snapgrid { grid-template-columns: minmax(0, 1fr); }
  .demo-upd { flex-wrap: wrap; }
  .demo-upd .demo-mini { margin-left: 15px; }
  .demo-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .demo-caret::after { animation: none; }
}

/* ── the film band (2026-07-17) — the killer hook, real app footage, self-hosted mp4 ── */
#film { padding: 74px 0 44px; }
#film .film-frame { max-width: 960px; margin: 34px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #000; }
#film .film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
#film .film-fallback { padding: 48px 24px; text-align: center; color: var(--text-2); }
#film .film-sub { max-width: 660px; margin: 18px auto 0; text-align: center; color: var(--text-3); font-size: 14px; line-height: 1.55; }

/* ── the demo's "file a whole day" echo (2026-07-17) — scripted staged-plan, the consent law ── */
.demo-filedayrow { margin: 10px 0 4px; }
.demo-fileday { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--accent); background: rgba(var(--accent-rgb), .10); color: var(--accent); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, transform .1s; }
.demo-fileday:hover { background: rgba(var(--accent-rgb), .18); }
.demo-fileday:disabled { opacity: .5; cursor: default; }
.demo-plan { margin: 10px 0 2px 30px; border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px; background: rgba(255,255,255,.02); }
.demo-planrow { display: flex; align-items: center; gap: 8px; padding: 7px 4px; font-size: 13.5px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.demo-planrow:last-of-type { border-bottom: 0; }
.demo-planrow .pk { display: inline-flex; width: 18px; justify-content: center; color: var(--accent); font-weight: 700; }
.demo-planrow.filed { color: var(--text); }
.demo-planrow.filed .pk { color: var(--green, #46d19e); }
.demo-planacts { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.demo-planok { color: var(--green, #46d19e); font-size: 13px; font-weight: 600; }
.demo-plandrop { color: var(--text-3); font-size: 13px; }
.demo-plan.dropped .demo-planrow { opacity: .4; text-decoration: line-through; }
