/* ============================================================
   ShotCanvas — Studio Light · Champagne edition
   The studio opens after dark: true black + champagne gold,
   then paper + ink inside. Instrument Serif + Inter Tight +
   JetBrains Mono.
   ============================================================ */

/* ── Brand tokens ─────────────────────────────────────────── */
:root {
  /* Paper + ink */
  --paper:      #F4EFE6;
  --paper-2:    #EAE3D5;
  --paper-3:    #DDD4C2;
  --ink:        #131110;
  --ink-2:      #272320;
  --ink-3:      #56524B;
  --ink-muted:  #8A847B;

  /* True-black "Ink" theme (matches the app's dark mode) */
  --black:      #0B0B0D;
  --black-2:    #161518;
  --black-3:    #1C1B1E;
  --black-4:    #28262A;
  --cream-12:   rgba(255,249,236,.12);
  --cream-18:   rgba(255,249,236,.18);

  /* Accents */
  --gold:       #F2C14E;
  --gold-deep:  #D9A532;
  --gold-text:  #8A6512;
  --lime:       var(--gold);      /* legacy alias — legal + guide pages */
  --lime-deep:  var(--gold-deep);
  --tomato:     #E8502F;
  --cobalt:     #1E4FFF;
  --cream:      #FFF9EC;

  /* Type */
  --serif: "Instrument Serif", "Times New Roman", ui-serif, Georgia, serif;
  --sans:  "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Radii + shadows */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --shadow-soft: 0 1px 0 rgba(22,19,14,.04), 0 12px 30px -12px rgba(22,19,14,.18);
  --shadow-hard: 0 2px 0 rgba(22,19,14,.08), 0 30px 60px -20px rgba(22,19,14,.35);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
/* Root size scales smoothly on large monitors so everything
   (padding, spacing, rem-based sizes) grows in proportion. */
@media (min-width: 1600px) { html { font-size: 17px; } }
@media (min-width: 2000px) { html { font-size: 18px; } }
@media (min-width: 2600px) { html { font-size: 20px; } }
@media (min-width: 3400px) { html { font-size: 22px; } }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
  /* Paper grain + champagne glow */
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(242,193,78,.12), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(30,79,255,.05), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0.02em; }
.caps {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--sans);
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
}
/* On large + ultrawide monitors, widen the content column so the layout
   doesn't feel squeezed into the middle of the screen. */
@media (min-width: 1600px) { .container { max-width: 1400px; } }
@media (min-width: 2000px) { .container { max-width: 1520px; } }
@media (min-width: 2600px) { .container { max-width: 1680px; } }

/* ── The dark zone — true-black opening, like the app's welcome ──
   Fills the first viewport edge-to-edge: nav up top, hero centered,
   marquee pinned to the bottom fold. The paper "sheet" (main.sheet)
   then rises over the black with rounded corners. */
.dz {
  position: relative;
  background: var(--black);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  /* the marquee sits exactly at the first fold; the 26px sheet-shoulder
     lives BELOW the fold so no paper ever peeks into the first screen */
  min-height: calc(100vh + 26px);
  min-height: calc(100svh + 26px);
  padding-bottom: 26px;
}
.dz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 560px at 78% -10%, rgba(242,193,78,.14), transparent 62%),
    radial-gradient(820px 480px at -8% 30%, rgba(242,193,78,.05), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.7 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.dz > * { position: relative; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
/* Press settle-in — same micro-interaction as the app's pill buttons */
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-accent  { background: var(--gold); color: var(--ink); font-weight: 600; box-shadow: 0 8px 24px -10px rgba(217,165,50,.7); }
.btn-accent:hover  { background: #F7CD66; transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(217,165,50,.9); }
.btn-ghost   { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-outline-cream { background: transparent; color: var(--cream); border: 1px solid rgba(255,249,236,.3); }
.btn-outline-cream:hover { background: rgba(255,249,236,.08); border-color: rgba(255,249,236,.5); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn-store:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: 0 14px 34px -16px rgba(22,19,14,.5); }
.btn-store__icon { width: 18px; height: 18px; flex: none; }
.btn-store__text { text-align: left; line-height: 1.1; }
.btn-store__label { display: block; font-size: 10px; font-family: var(--mono); color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.btn-store__name  { display: block; font-size: 14px; font-weight: 600; font-family: var(--sans); letter-spacing: -0.01em; }

/* ── Chips, badges, tape ──────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--paper-3);
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
}
.chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242,193,78,.3);
}
.chip--hollow { background: transparent; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
/* Higher specificity than .container, and vertical-only padding — the
   container's later responsive padding rules must never collapse the bar */
.nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 16px; gap: 24px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 22px; color: var(--ink);
}
.nav-logo .mk { width: 28px; height: 28px; display: inline-block; flex: none; }
.nav-logo sup {
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-muted); letter-spacing: .1em;
  margin-left: 2px;
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; color: var(--ink-2);
  list-style: none; padding: 0; margin: 0;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--ink);
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .btn { padding: 9px 16px; font-size: 13px; }
/* App link only exists in the mobile drawer */
.nav-applink { display: none; }

/* Ink nav — the landing page's liquid-glass bar on black */
.nav--ink {
  background: color-mix(in srgb, var(--black) 72%, transparent);
  border-bottom-color: rgba(255,249,236,.08);
}
.nav--ink .nav-logo { color: var(--cream); }
.nav--ink .nav-logo .mk svg rect:first-of-type { stroke: rgba(255,249,236,.14); stroke-width: 1; }
.nav--ink .nav-logo sup { color: rgba(255,249,236,.45); }
.nav--ink .nav-links { color: rgba(255,249,236,.72); }
.nav--ink .nav-links a:hover { color: var(--cream); }
.nav--ink .nav-links a.active::after,
.nav--ink .nav-links a:hover::after { background: var(--gold); }
.nav--ink .nav-toggle { border-color: rgba(255,249,236,.22); }
.nav--ink .nav-toggle span { background: var(--cream); }
.nav--ink .nav-toggle:hover { background: rgba(255,249,236,.07); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }

/* CTA banner: mobile preference label */
.cta-mobile-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,249,236,.4);
  margin: 24px 0 10px !important;
}

@media (max-width: 860px) {
  .nav .nav-inner { padding-block: 10px; gap: 10px; }
  .nav-toggle { display: inline-flex; order: 3; width: 44px; height: 44px; }
  /* Mobile is app-focused — the Studio CTA is a desktop affordance */
  .nav-right { display: none; }
  .nav-logo sup { display: none; }

  /* Drawer */
  .nav-links {
    position: fixed;
    top: 65px; left: 0; right: 0;
    padding: 20px 24px 28px;
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    flex-direction: column; align-items: flex-start; gap: 0;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
    z-index: 39;
    box-shadow: 0 24px 40px -24px rgba(22,19,14,.18);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a {
    width: 100%; padding: 16px 0;
    font-family: var(--serif);
    font-size: 22px; letter-spacing: -0.01em;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none !important; }
  .nav-applink { display: block; }
  .nav--ink .nav-links .nav-applink { color: var(--gold); }
  body.nav-open { overflow: hidden; }

  /* Ink drawer — solid, no backdrop blur: it's opaque anyway, and blur
     makes some renderers drop the background paint entirely */
  .nav--ink .nav-links {
    background: #0E0D10;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: rgba(255,249,236,.1);
    box-shadow: 0 24px 40px -24px rgba(0,0,0,.6);
    color: var(--cream);
  }
  .nav--ink .nav-links a { border-bottom-color: rgba(255,249,236,.08); }
}

/* ── The paper sheet — main content rises over the black desk ── */
main.sheet {
  position: relative;
  z-index: 1;
  margin-top: -26px;
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(242,193,78,.12), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(30,79,255,.05), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    var(--paper);
  box-shadow: 0 -16px 40px -18px rgba(0,0,0,.6);
}

/* ── Section anatomy ─────────────────────────────────────── */
.section { padding: 100px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 48px; align-items: end; margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(42px, 5.2vw, 80px);
  line-height: 0.98; letter-spacing: -0.02em;
}
.section-head .no {
  display: block;
  font-family: var(--mono); font-size: 13px;
  color: var(--gold-text); letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-head p {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-2); max-width: 520px; margin: 0;
}

/* ============================================================
   HERO — true black, serif champagne, the Studio front + center
   ============================================================ */
.hero {
  padding: 44px 0 64px; position: relative; overflow: hidden;
  /* grow to fill the first viewport, content vertically centered */
  flex: 1; display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.04fr; gap: 64px;
  align-items: center;
  width: 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px;
  color: var(--gold); margin-bottom: 28px;
  letter-spacing: .06em;
}
.eyebrow .tick { width: 24px; height: 1px; background: rgba(255,249,236,.3); }

.hero h1 {
  font-size: clamp(52px, 6.6vw, 100px);
  line-height: 0.96; letter-spacing: -0.03em;
  color: var(--cream);
}
.hero h1 em { font-style: italic; color: rgba(255,249,236,.85); }
.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(242,193,78,.45);
  text-underline-offset: 10px;
}

.hero-sub {
  margin: 28px 0 36px;
  font-size: 18px; line-height: 1.55;
  color: rgba(255,249,236,.66); max-width: 520px;
}
/* Short mobile-only sub — the full paragraph is too dense on phones */
.hero-sub--m { display: none; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-meta {
  display: flex; gap: 32px; margin-top: 44px;
  font-size: 13px;
}
.hero-meta .n {
  font-family: var(--serif); font-size: 40px;
  color: var(--cream); line-height: 1; display: block;
}
.hero-meta small {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,249,236,.42);
}

/* Page-load stagger — hero only */
@keyframes stagRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stag { opacity: 0; animation: stagRise .7s cubic-bezier(.22,.61,.36,1) forwards; }
.stag-1 { animation-delay: .05s; }
.stag-2 { animation-delay: .14s; }
.stag-3 { animation-delay: .26s; }
.stag-4 { animation-delay: .38s; }
.stag-5 { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .stag { animation: none; opacity: 1; }
}

/* ── The Studio in a browser frame ───────────────────────── */
.studio-float { position: relative; }
.studio-float::before {
  /* champagne pool beneath the frame */
  content: ""; position: absolute;
  left: 6%; right: 6%; bottom: -34px; height: 90px;
  background: radial-gradient(closest-side, rgba(242,193,78,.32), transparent 75%);
  filter: blur(14px);
  pointer-events: none;
}
@keyframes sfFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
.studio-frame {
  position: relative;
  background: var(--black-2);
  border: 1px solid var(--cream-12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,249,236,.06) inset,
    0 40px 80px -30px rgba(0,0,0,.8),
    0 24px 60px -20px rgba(242,193,78,.12);
  animation: sfFloat 7s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .studio-frame { animation: none; }
}

.sf-tape {
  position: absolute; top: -13px; left: -12px; z-index: 3;
  background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  padding: 6px 11px;
  border: 1px dashed rgba(0,0,0,.3);
  transform: rotate(-4deg);
  box-shadow: 0 8px 16px -6px rgba(0,0,0,.5);
}

.sf-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,249,236,.08);
  background: var(--black-3);
}
.sf-dots { display: flex; gap: 6px; flex: none; }
.sf-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--black-4); display: block;
}
.sf-dots i:nth-child(1) { background: var(--tomato); opacity: .85; }
.sf-dots i:nth-child(2) { background: var(--gold); opacity: .85; }
.sf-dots i:nth-child(3) { background: rgba(255,249,236,.3); }
.sf-url {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,249,236,.55); letter-spacing: .04em;
  background: var(--black);
  border: 1px solid rgba(255,249,236,.08);
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf-url b { color: var(--gold); font-weight: 500; }
.sf-badge {
  flex: none;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em;
  color: var(--gold);
  border: 1px solid rgba(242,193,78,.35);
  padding: 5px 9px; border-radius: 999px;
}

.sf-body {
  display: grid; grid-template-columns: 62px 1fr 170px;
  min-height: 420px;
}

/* Template rail */
.sf-rail {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 10px;
  background: #121114;
  border-right: 1px solid rgba(255,249,236,.07);
}
.sf-mini {
  width: 100%; aspect-ratio: 9 / 16;
  border-radius: 7px;
  border: 1px solid rgba(255,249,236,.1);
  position: relative; overflow: hidden;
}
.sf-mini.m-gold  { background: linear-gradient(165deg, var(--gold), var(--gold-deep)); }
.sf-mini.m-ink   { background: var(--black); }
.sf-mini.m-ink::after {
  content: ""; position: absolute; left: 22%; right: 22%; top: 24%;
  height: 3px; border-radius: 2px; background: var(--gold);
}
.sf-mini.m-cream { background: linear-gradient(165deg, var(--cream), var(--paper-2)); }
.sf-mini.m-split { background: linear-gradient(180deg, var(--gold-deep) 48%, var(--ink) 48%); }
.sf-mini.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(242,193,78,.35), 0 6px 16px -6px rgba(242,193,78,.4);
}

/* Canvas */
.sf-canvas {
  position: relative;
  display: grid; place-items: center;
  padding: 34px 26px 40px;
  background:
    radial-gradient(rgba(255,249,236,.07) 1px, transparent 1.5px) 0 0 / 18px 18px,
    var(--black-3);
}
.sf-canvas-label {
  position: absolute; top: 12px; left: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  color: rgba(255,249,236,.35);
}

/* The design being edited — the app's brand-styled sample shot */
.sf-art {
  width: min(66%, 230px);
  aspect-ratio: 9 / 15.4;
  background: var(--black);
  border: 1px solid rgba(255,249,236,.1);
  border-radius: 14px;
  padding: 9% 9% 10%;
  display: flex; flex-direction: column; gap: 7%;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.7);
}
.sf-art .hl {
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.04; letter-spacing: -0.02em;
  color: var(--cream);
}
.sf-art .hl em { font-style: italic; color: var(--gold); }

.sf-phone-slot { position: relative; flex: 1; display: grid; place-items: center; }
.sf-phone {
  width: 68%; height: 96%;
  background: #131114;
  border: 1px solid rgba(255,249,236,.14);
  border-radius: 13px;
  padding: 12% 10%;
  display: flex; flex-direction: column; gap: 8%;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.8);
}
.sf-phone .bal {
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  border-radius: 6px; padding: 9% 10%;
  display: flex; flex-direction: column; gap: 28%;
  min-height: 26%;
}
.sf-phone .bal i { display: block; width: 38%; height: 3px; border-radius: 2px; background: rgba(19,17,16,.55); }
.sf-phone .bal b { display: block; width: 62%; height: 5px; border-radius: 3px; background: var(--ink); }
.sf-phone .row { height: 4px; border-radius: 2px; background: rgba(255,249,236,.16); }
.sf-phone .bars {
  flex: 1; display: flex; align-items: flex-end; gap: 7%;
  padding-top: 6%;
}
.sf-phone .bars i {
  flex: 1; border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--gold), rgba(242,193,78,.35));
  min-height: 12%;
}

/* Selection ring + handles around the phone */
.sf-ring {
  position: absolute; inset: -4% 12%;
  border: 1.5px dashed rgba(242,193,78,.8);
  border-radius: 15px;
  pointer-events: none;
  animation: ringPulse 2.6s ease-in-out infinite;
}
.sf-ring i {
  position: absolute; width: 7px; height: 7px;
  background: var(--gold); border-radius: 2px;
  box-shadow: 0 0 0 2px var(--black-3);
}
.sf-ring i:nth-child(1) { top: -4px; left: -4px; }
.sf-ring i:nth-child(2) { top: -4px; right: -4px; }
.sf-ring i:nth-child(3) { bottom: -4px; left: -4px; }
.sf-ring i:nth-child(4) { bottom: -4px; right: -4px; }
@keyframes ringPulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-ring { animation: none; }
}

/* AI toast — cycles in and out */
.sf-toast {
  position: absolute; bottom: 13px; left: 50%;
  transform: translateX(-50%);
  background: var(--cream); color: var(--ink);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.7);
  white-space: nowrap;
  animation: toastCycle 9s ease-in-out infinite;
}
@keyframes toastCycle {
  0%, 10%  { opacity: 0; transform: translate(-50%, 8px); }
  16%, 58% { opacity: 1; transform: translate(-50%, 0); }
  66%, 100%{ opacity: 0; transform: translate(-50%, -6px); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-toast { animation: none; opacity: 1; }
}

/* Properties panel */
.sf-props {
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px 14px;
  background: #121114;
  border-left: 1px solid rgba(255,249,236,.07);
}
.sf-prop { display: flex; flex-direction: column; gap: 5px; }
.sf-prop small {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em;
  color: rgba(255,249,236,.38);
}
.sf-prop > span {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  color: rgba(255,249,236,.85);
  background: rgba(255,249,236,.05);
  border: 1px solid rgba(255,249,236,.09);
  padding: 7px 10px; border-radius: 8px;
}
.sf-swatches { display: flex !important; gap: 5px; background: none !important; border: none !important; padding: 2px 0 !important; }
.sf-swatches i {
  width: 17px; height: 17px; border-radius: 5px;
  border: 1px solid rgba(255,249,236,.18); display: block;
}
.sf-swatches i:nth-child(2) { box-shadow: 0 0 0 2px rgba(242,193,78,.4); }
.sf-export {
  margin-top: auto;
  background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-align: center;
  padding: 11px 8px; border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(242,193,78,.45);
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.tick-strip {
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  padding: 18px 0; overflow: hidden;
  background: color-mix(in srgb, var(--paper-2) 60%, transparent);
}
.tick-row {
  display: flex; gap: 48px; align-items: center;
  white-space: nowrap;
  animation: tick 48s linear infinite;
  font-family: var(--serif); font-size: 22px; color: var(--ink-2);
  width: max-content;
}
.tick-row span { display: inline-flex; align-items: center; gap: 10px; }
.tick-row em { font-style: italic; }
.tick-row .star { color: var(--gold-deep); font-size: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Champagne band on black */
.tick-strip--ink {
  background: var(--black);
  border-top-color: rgba(255,249,236,.1);
  border-bottom-color: rgba(255,249,236,.1);
}
.tick-strip--ink .tick-row { color: rgba(255,249,236,.78); }
.tick-strip--ink .tick-row em { color: var(--gold); }
.tick-strip--ink .tick-row .star { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .tick-row { animation: none; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: var(--r-lg); overflow: hidden;
}
.feat {
  background: var(--paper); padding: 36px 30px 32px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 360px; position: relative;
  transition: background .2s ease;
}
.feat:hover { background: var(--cream); }
.feat .num {
  font-family: var(--mono); font-size: 11px;
  color: var(--gold-text); letter-spacing: .16em;
}
.feat h3 { font-size: 30px; line-height: 1.05; }
.feat p { margin: 0; color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
.feat .viz { flex: 1; display: grid; place-items: center; margin-top: 8px; }

/* Individual feature visuals */
.viz-gradient {
  width: 100%; height: 120px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ink) 0%, #38301E 45%, var(--gold) 130%);
  position: relative; box-shadow: 0 10px 24px -10px rgba(22,19,14,.3);
}
.viz-gradient .dots {
  position: absolute; inset: auto 10px 10px 10px;
  display: flex; gap: 6px;
}
.viz-gradient .dots i {
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; opacity: .9;
}
.viz-gradient .dots i:nth-child(1) { background: var(--gold); }
.viz-gradient .dots i:nth-child(2) { background: var(--cream); }
.viz-gradient .dots i:nth-child(3) { background: var(--tomato); }
.viz-gradient .dots i:nth-child(4) { background: var(--cobalt); }

.viz-frames {
  width: 100%; display: flex; gap: 10px;
  justify-content: center; align-items: center;
}
.viz-frames .mini {
  width: 62px; height: 108px; background: #fff;
  border-radius: 10px; border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 10px 18px -10px rgba(0,0,0,.25);
  padding: 8px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s ease;
}
.viz-frames .mini .topbar {
  height: 6px; background: #EFE9DB; border-radius: 3px;
}
.viz-frames .mini .blk {
  flex: 1; background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
  border-radius: 4px;
}
.viz-frames .mini.active {
  transform: translateY(-6px) rotate(-2deg);
  box-shadow: 0 18px 28px -12px rgba(0,0,0,.3);
  border-color: var(--ink);
}
.viz-frames .mini.active .blk { background: var(--gold); }

.viz-stack { position: relative; width: 200px; height: 140px; }
.viz-stack .lyr {
  position: absolute; inset: 0; border-radius: 10px;
  background: #fff; border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.3);
  padding: 12px; font-family: var(--mono);
  font-size: 11px; color: var(--ink-3);
}
.viz-stack .lyr:nth-child(1) { transform: translate(-16px, -12px) rotate(-3deg); background: #FFF9EC; }
.viz-stack .lyr:nth-child(2) { transform: translate(0, 0) rotate(0deg); background: #fff; }
.viz-stack .lyr:nth-child(3) {
  transform: translate(16px, 12px) rotate(3deg);
  background: var(--gold); color: var(--ink);
  border-color: var(--ink);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 100px 0; position: relative;
}
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; counter-reset: step;
}
.how-card {
  background: var(--paper); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  counter-increment: step;
  position: relative; overflow: hidden;
}
.how-card::before {
  content: "0" counter(step);
  position: absolute; top: 16px; right: 22px;
  font-family: var(--serif); font-size: 64px;
  color: var(--ink); opacity: .06; line-height: 1;
}
.how-card .step-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text);
}
.how-card h3 { font-size: 24px; line-height: 1.1; }
.how-card p { margin: 0; font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  padding: 110px 0; position: relative;
  background: linear-gradient(180deg, transparent, rgba(242,193,78,.22), transparent);
}
.quote .container { max-width: 1040px; }
.quote .overhead {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3);
}
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.08; letter-spacing: -0.015em;
  margin: 18px 0 0; color: var(--ink);
}
.quote blockquote em { color: var(--gold-text); }
.quote .attrib {
  display: flex; align-items: center; gap: 14px; margin-top: 34px;
}
.quote .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFD3A1, #D68B5A);
  border: 2px solid var(--ink);
  flex: none;
}
.quote .attrib .info {
  font-size: 14px; color: var(--ink-2); line-height: 1.4;
}
.quote .attrib .info b {
  display: block; color: var(--ink); font-weight: 500;
}

/* ============================================================
   GALLERY — the champagne carousel, re-set for the web
   ============================================================ */
.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.g {
  border-radius: var(--r-md); overflow: hidden; position: relative;
  box-shadow: var(--shadow-soft); min-height: 220px;
  display: flex; align-items: end; padding: 18px;
  color: var(--cream);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  transition: transform .25s ease, box-shadow .25s ease;
}
.g:hover { transform: translateY(-4px); box-shadow: 0 20px 48px -20px rgba(22,19,14,.45); }
.g .cap { position: relative; z-index: 2; text-transform: uppercase; opacity: .8; }

/* 01 — serif hero on true black */
.g1 {
  grid-column: span 5; min-height: 340px;
  background:
    radial-gradient(420px 260px at 80% -10%, rgba(242,193,78,.18), transparent 65%),
    var(--black);
  border: 1px solid rgba(255,249,236,.08);
}
.gc-hero {
  position: absolute; inset: 26px 26px 54px;
  display: flex; flex-direction: column;
}
.gc-eyebrow {
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em;
  color: var(--gold); margin-bottom: 12px;
}
.gc-line {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 0.98; letter-spacing: -0.02em;
  color: var(--cream);
}
.gc-line em { font-style: italic; color: var(--gold); }
.gc-phone {
  margin-top: auto; align-self: flex-end;
  width: 34%; max-width: 110px; aspect-ratio: 9 / 12;
  background: #131114; border: 1px solid rgba(255,249,236,.16);
  border-radius: 12px 12px 0 0; border-bottom: none;
  padding: 10% 9% 0;
  display: flex; flex-direction: column; gap: 9%;
  box-shadow: 0 -10px 40px -16px rgba(242,193,78,.35);
}
.gc-phone i { display: block; height: 22%; border-radius: 5px; background: linear-gradient(150deg, var(--gold), var(--gold-deep)); }
.gc-phone b { display: block; height: 6%; border-radius: 3px; background: rgba(255,249,236,.2); width: 80%; }
.gc-phone u { display: block; height: 6%; border-radius: 3px; background: rgba(255,249,236,.12); width: 55%; }

/* 02 — cinematic tilt on neutral ink */
.g2 {
  grid-column: span 4; min-height: 340px;
  background:
    radial-gradient(300px 220px at 50% 110%, rgba(242,193,78,.14), transparent 70%),
    var(--black-2);
  border: 1px solid rgba(255,249,236,.07);
}
.gc-tilt {
  position: absolute; inset: 0 0 40px;
  display: grid; place-items: center;
  perspective: 600px;
}
.gc-tilt-phone {
  width: 44%; max-width: 130px; aspect-ratio: 9 / 17;
  background: #131114;
  border: 1px solid rgba(255,249,236,.18);
  border-radius: 14px;
  transform: rotateY(-22deg) rotateX(8deg) rotateZ(2deg);
  box-shadow: -18px 30px 50px -20px rgba(0,0,0,.8), 0 0 40px -10px rgba(242,193,78,.25);
  padding: 14% 11%;
  display: flex; flex-direction: column; gap: 9%;
}
.gc-tilt-phone .tb { height: 9%; border-radius: 4px; background: linear-gradient(150deg, var(--gold), var(--gold-deep)); }
.gc-tilt-phone .rw { height: 4%; border-radius: 2px; background: rgba(255,249,236,.18); }
.gc-tilt-phone .card { flex: 1; border-radius: 6px; background: rgba(255,249,236,.07); border: 1px solid rgba(255,249,236,.1); }

/* 03 — deep-gold editorial split */
.g3 {
  grid-column: span 3; min-height: 340px;
  background: linear-gradient(170deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
}
.g3 .cap { color: rgba(19,17,16,.75); }
.gc-edit {
  position: absolute; inset: 24px 22px 52px;
  display: flex; flex-direction: column;
}
.gc-edit-line {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.0; letter-spacing: -0.02em;
  color: #221A06;
}
.gc-edit-line em { font-style: italic; }
.gc-edit-block {
  margin-top: auto; height: 42%;
  background: var(--ink); border-radius: 8px 8px 0 0;
  box-shadow: 0 -14px 30px -14px rgba(19,17,16,.5);
}

/* 04 — prism on near-black */
.g4 {
  grid-column: span 4; min-height: 240px;
  background: #100E12;
  border: 1px solid rgba(255,249,236,.07);
}
.gc-prism {
  position: absolute; inset: -20%;
  background: conic-gradient(from 210deg at 62% 38%,
    transparent 0deg,
    rgba(242,193,78,.4) 24deg,
    rgba(232,80,47,.18) 52deg,
    rgba(30,79,255,.16) 80deg,
    transparent 110deg);
  filter: blur(6px);
}
.gc-prism-dot {
  position: absolute; top: 34%; left: 58%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px 6px rgba(242,193,78,.55);
}

/* 05 — minimal clean on paper */
.g5 {
  grid-column: span 4;
  background: linear-gradient(160deg, var(--cream), var(--paper-2));
  color: var(--ink); min-height: 240px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.g5 .cap { color: var(--ink-3); }

/* 06 — bold type on tomato */
.g6 {
  grid-column: span 4; min-height: 240px;
  background: linear-gradient(160deg, var(--tomato), #C23B1D);
}
.gc-stamp {
  position: absolute; top: 22px; left: 22px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.92; letter-spacing: -0.02em;
  color: var(--cream); font-style: italic;
}
.gc-stamp-ring {
  position: absolute; right: 18px; top: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid rgba(255,249,236,.55);
  transform: rotate(-12deg);
}
.gc-stamp-ring::after {
  content: "✦"; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,249,236,.8); font-size: 18px;
}

/* legacy fake screenshot bits (used by the paper card) */
.g .fake-ss {
  position: absolute; inset: 20px 20px 60px;
  background: #fff; border-radius: 8px;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.35);
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.g .fake-ss .r {
  height: 6px; background: #EFE9DB; border-radius: 3px;
}
.g .fake-ss .head {
  height: 10px; background: var(--ink);
  width: 40%; border-radius: 3px; margin-bottom: 4px;
}
.g .fake-ss .chart {
  flex: 1; background: linear-gradient(180deg, #f5efe1, #e8e1cf);
  border-radius: 4px; position: relative; overflow: hidden;
}
.g .fake-ss .chart::after {
  content: ""; position: absolute;
  left: 10%; right: 10%; bottom: 20%;
  height: 2px; background: var(--gold-deep);
  box-shadow: 0 -30px 0 var(--tomato), 0 -20px 0 var(--cobalt);
  border-radius: 2px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 960px; margin: 0 auto;
}
.price-card {
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.price-card.pro {
  background: var(--black); color: var(--cream);
  border-color: var(--black);
}
.price-card.pro::before {
  content: ""; position: absolute;
  right: -140px; top: -100px; width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,193,78,.35), transparent 70%);
  filter: blur(10px);
}
.price-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.price-name {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3);
}
.price-card.pro .price-name { color: var(--gold); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
}
.tag-free { background: rgba(217,165,50,.15); color: var(--gold-text); border: 1px solid rgba(217,165,50,.3); }
.price-card.pro .tag-free { color: var(--gold); }
.tag-soon { background: rgba(232,80,47,.14); color: var(--tomato); border: 1px solid rgba(232,80,47,.3); }

.price-amt {
  font-family: var(--serif);
  font-size: 72px; line-height: 1; letter-spacing: -0.03em;
  margin: 6px 0 2px;
}
.price-amt .cur { font-size: 32px; vertical-align: top; margin-right: 2px; }
.price-amt .per {
  display: inline-block; margin-left: 10px;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-3); letter-spacing: .06em;
  vertical-align: middle;
}
.price-card.pro .price-amt .per { color: rgba(255,249,236,.6); }

.price-desc {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-3);
  position: relative;
}
.price-card.pro .price-desc { color: rgba(255,249,236,.7); }

.price-divider {
  height: 1px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  margin: 6px 0 2px;
}
.price-card.pro .price-divider {
  background: rgba(255,249,236,.15);
}
.price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.price-list li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 14.5px; line-height: 1.45;
  color: var(--ink-2);
}
.price-card.pro .price-list li { color: rgba(255,249,236,.88); }
.price-list li::before {
  content: "→";
  font-family: var(--mono); color: var(--gold-text);
  flex: none;
}
.price-card.pro .price-list li::before { color: var(--gold); }
.price-list li.limit::before { content: "·"; color: var(--ink-muted); font-size: 24px; line-height: 0.6; }
.price-list strong { font-weight: 600; color: var(--ink); }
.price-card.pro .price-list strong { color: var(--cream); }

.price-card .btn { align-self: stretch; justify-content: center; margin-top: 12px; }
.price-card.pro .btn-primary { background: var(--gold); color: var(--ink); font-weight: 600; }
.price-card.pro .btn-primary:hover { background: #F7CD66; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 0; }
.faq .container { max-width: 900px; }
.faq-list {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item:hover { border-color: color-mix(in srgb, var(--ink) 24%, transparent); }
.faq-item[open] {
  background: var(--cream);
  border-color: var(--ink);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; gap: 20px;
  font-family: var(--serif); font-size: 22px;
  color: var(--ink); cursor: pointer;
  list-style: none; user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ''; }
.faq-q::after {
  content: "+";
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-family: var(--sans); font-size: 20px; font-weight: 400;
  color: var(--ink-3);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  transition: transform .3s ease, background .2s ease, color .2s ease;
}
.faq-item[open] .faq-q::after {
  content: "\2212";
  background: var(--gold);
  border-color: var(--ink);
  color: var(--ink);
}
.faq-a { padding: 0 28px 26px; animation: faqIn .25s ease; }
.faq-a p {
  margin: 0; font-size: 15px; line-height: 1.7;
  color: var(--ink-2); max-width: 70ch;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  margin: 60px 0 0; padding: 72px 60px;
  background: var(--black); color: var(--cream);
  border: 1px solid rgba(255,249,236,.08);
  border-radius: var(--r-lg);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: end;
}
.cta-banner::before {
  content: ""; position: absolute;
  right: -120px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold), transparent 70%);
  opacity: .45;
}
.cta-banner h2 {
  color: var(--cream);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1; letter-spacing: -0.02em;
  position: relative;
}
.cta-banner h2 em { color: var(--gold); font-style: italic; }
.cta-banner > div { position: relative; }
.cta-banner p {
  color: rgba(255,249,236,.7); font-size: 16px;
  line-height: 1.5; margin: 18px 0 28px;
  max-width: 500px;
}
.cta-banner .actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.cta-banner .side {
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,249,236,.6); letter-spacing: .1em;
}
.cta-banner .side ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cta-banner .side li::before { content: "→ "; color: var(--gold); }

.cta-banner .btn-store-lg {
  padding: 12px 22px;
  background: var(--cream); color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
}
.cta-banner .btn-store-lg:hover { background: #fff; transform: translateY(-1px); }
.cta-banner .btn-store-lg .btn-store__label { color: var(--ink-muted); }
.cta-banner .btn-store-lg .btn-store__name { color: var(--ink); }
/* the waitlist button sits on black — flip it to cream-on-ink-readable */
.cta-banner .btn-primary { background: var(--cream); color: var(--ink); }
.cta-banner .btn-primary:hover { background: #fff; }

/* Waitlist form */
.cta-banner .waitlist { align-items: stretch; }
#waitlist-email {
  flex: 1 1 220px; min-width: 0;
  padding: 14px 18px; border-radius: 999px;
  border: 1.5px solid rgba(255,249,236,.25);
  background: rgba(255,249,236,.06);
  font: inherit; font-size: 15px; color: var(--cream);
  outline: none;
  transition: border-color .2s ease;
}
#waitlist-email::placeholder { color: rgba(255,249,236,.35); }
#waitlist-email:focus { border-color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  padding: 56px 0 40px; margin-top: 80px;
}
.footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h5 {
  font-family: var(--sans); text-transform: uppercase;
  letter-spacing: .14em; font-size: 11px;
  color: var(--ink-muted); margin: 0 0 14px;
  font-weight: 600;
}
.footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--ink-2); font-size: 14px;
}
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer p {
  max-width: 320px; color: var(--ink-3);
  font-size: 14px; line-height: 1.5; margin: 0;
}
.footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-muted);
}

/* Ink footer — bookends the black hero; same sheet treatment, inverted */
.footer--ink {
  background: var(--black);
  border-top: none;
  border-radius: 26px 26px 0 0;
  color: var(--cream);
}
.footer--ink .nav-logo { color: var(--cream); }
.footer--ink h5 { color: rgba(255,249,236,.4); }
.footer--ink ul { color: rgba(255,249,236,.72); }
.footer--ink ul a:hover { color: var(--cream); }
.footer--ink p { color: rgba(255,249,236,.55); }
.footer--ink .chip {
  background: rgba(255,249,236,.06);
  border-color: rgba(255,249,236,.14);
  color: rgba(255,249,236,.75);
}
.footer--ink .chip--hollow { background: transparent; }
.footer--ink .bottom {
  border-top-color: rgba(255,249,236,.08);
  color: rgba(255,249,236,.4);
}

/* ============================================================
   LEGAL PAGES (terms + privacy)
   ============================================================ */
.legal-page {
  min-height: 100vh;
  padding: 64px 0 96px;
}
.legal-page .container { max-width: 780px; }

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.legal-header .no {
  display: block; font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 14px;
}
.legal-header h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98; letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.legal-meta {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-muted); letter-spacing: .04em;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 28px; letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  line-height: 1.1;
}
.legal-content h2:first-child {
  border-top: none; padding-top: 0; margin-top: 0;
}
.legal-content h3 {
  font-family: var(--sans);
  font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal-content p,
.legal-content li {
  font-size: 15.5px; line-height: 1.75;
  color: var(--ink-2);
}
.legal-content p { margin: 0 0 14px; }
.legal-content ul, .legal-content ol {
  padding-left: 22px; margin: 0 0 16px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-content a:hover { color: var(--ink); }
.legal-content strong { color: var(--ink); font-weight: 600; }

.legal-callout {
  background: var(--cream);
  border: 1px solid var(--ink);
  border-left-width: 3px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
  position: relative;
}
.legal-callout::before {
  content: "TL;DR";
  position: absolute; top: -11px; left: 18px;
  background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; padding: 3px 8px;
  border-radius: 3px; border: 1px solid var(--ink);
}
.legal-callout p {
  margin: 4px 0 0; font-size: 15px;
  line-height: 1.65; color: var(--ink-2);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
.reveal-delay-4 { transition-delay: .24s; }
.reveal-delay-5 { transition-delay: .30s; }
.reveal-delay-6 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ── Tablet / narrow-desktop range (900–1080px) ──────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .studio-float { max-width: 640px; margin: 0 auto; width: 100%; }
  .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .section-head p { max-width: none; }
  .section { padding: 88px 0; }
  .how { padding: 88px 0; }
  .pricing { padding: 88px 0; }
  .faq { padding: 88px 0; }

  /* Features / gallery keep 2 columns on tablet to avoid full-width walls of text */
  .features { grid-template-columns: 1fr 1fr; }
  .features .feat:last-child { grid-column: span 2; }

  .gallery { gap: 14px; }
  .g1 { grid-column: span 8; }
  .g2 { grid-column: span 4; }
  .g3 { grid-column: span 6; }
  .g4 { grid-column: span 6; }
  .g5 { grid-column: span 6; }
  .g6 { grid-column: span 6; }

  .pricing-grid { max-width: 720px; }
  .cta-banner { padding: 56px 44px; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .how { padding: 64px 0; }
  .pricing { padding: 64px 0; }
  .faq { padding: 64px 0; }
  .quote { padding: 72px 0; }
  .hero { padding: 32px 0 56px; }

  .features { grid-template-columns: 1fr; }
  .features .feat:last-child { grid-column: span 1; }
  .how-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery > * { grid-column: span 12 !important; min-height: 220px; }
  /* the tilted phone needs vertical room or it crops */
  .gallery .g2 { min-height: 360px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; }

  .section-head { margin-bottom: 36px; }
  .section-head h2 br { display: none; }

  .hero h1 {
    font-size: clamp(42px, 11vw, 72px);
    line-height: 1.0;
  }
  .hero h1 br { display: none; }
  .hero h1 .accent { text-underline-offset: 7px; }
  .hero-sub { font-size: 16px; margin: 22px 0 28px; }
  .eyebrow { font-size: 11px; margin-bottom: 20px; }

  /* Mobile hero leads with the app — the gold CTA becomes "Get the
     mobile app"; the Studio button is desktop-only */
  .hero-cta .btn-accent { display: none; }
  .hero-cta .btn-outline-cream {
    background: var(--gold);
    border-color: transparent;
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 8px 24px -10px rgba(217,165,50,.7);
  }
  .cta-banner .actions .btn-accent { display: none; }

  .sf-body { grid-template-columns: 54px 1fr; min-height: 360px; }
  .sf-props { display: none; }
  .sf-badge { display: none; }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 44px 26px;
    gap: 24px;
  }
  /* keep the gold glow tucked into the corner — at full size it lands
     mid-card on a narrow column and reads as a muddy ellipse */
  .cta-banner::before {
    width: 220px; height: 220px;
    right: -90px; top: -90px;
  }
  .cta-banner h2 { font-size: clamp(32px, 7vw, 56px); }
  .cta-banner .side ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }

  .footer { margin-top: 48px; padding: 40px 0 28px; }
  .footer .grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer .grid > div:first-child { grid-column: span 2; }
  .footer .bottom { flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 32px; }

  .hero-meta {
    flex-wrap: wrap; gap: 20px 28px;
    padding-top: 24px; margin-top: 28px;
    border-top: 1px solid rgba(255,249,236,.12);
  }
  .hero-meta .n { font-size: 32px; }

  .how-card { padding: 26px 24px; }
  .how-card h3 { font-size: 22px; }
  .how-card::before { font-size: 52px; }

  .feat { min-height: 280px; padding: 28px 24px 24px; gap: 14px; }
  .feat h3 { font-size: 26px; }

  .price-card { padding: 32px 28px; }
  .price-amt { font-size: 56px; }

  .tick-row { font-size: 18px; gap: 32px; }

  .quote blockquote { font-size: clamp(28px, 5.2vw, 44px); }

  .faq-q { font-size: 19px; padding: 20px 22px; gap: 14px; }
  .faq-a { padding: 0 22px 22px; }
  .faq-q::after { width: 28px; height: 28px; font-size: 18px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }
  .how, .pricing, .faq { padding: 52px 0; }
  .quote { padding: 60px 0; }

  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .btn,
  .hero-cta .btn-store { width: 100%; justify-content: center; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }

  .hero h1 { font-size: clamp(40px, 13vw, 60px); letter-spacing: -0.025em; }
  .hero h1 .accent {
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  /* Calm the hero: one short eyebrow line, one short paragraph,
     one tidy stat row, one quiet mockup */
  .eyebrow { font-size: 10px; letter-spacing: .14em; white-space: nowrap; }
  .eyebrow .eyebrow-no, .eyebrow .tick { display: none; }
  .hero-sub--d { display: none; }
  .hero-sub--m { display: block; }
  .hero-sub { font-size: 15.5px; line-height: 1.55; margin: 20px 0 26px; }

  .sf-body { grid-template-columns: 1fr; min-height: 280px; }
  .sf-rail { display: none; }
  .sf-canvas { padding: 26px 18px 34px; }
  .sf-art { width: min(58%, 190px); }
  .sf-tape { display: none; }
  .sf-url { font-size: 10px; }
  .sf-badge { display: none; }

  .hero-meta {
    flex-wrap: nowrap; gap: 14px;
    padding-top: 20px; margin-top: 24px;
  }
  .hero-meta > div { flex: 1 1 0; min-width: 0; }
  .hero-meta .n { font-size: 24px; }
  .hero-meta small { font-size: 9px; letter-spacing: .08em; }

  .section-head h2 { font-size: clamp(34px, 9vw, 52px); }

  .cta-banner { padding: 36px 22px; border-radius: var(--r-md); }
  .cta-banner h2 { font-size: clamp(30px, 8vw, 44px); }
  .cta-banner .side ul { grid-template-columns: 1fr; }
  .cta-banner .actions { flex-direction: column; align-items: stretch; }
  .cta-banner .actions .btn,
  .cta-banner .actions .btn-store { width: 100%; justify-content: center; }
  /* in the column layout the 220px flex-basis would become height */
  #waitlist-email { flex: 0 0 auto; }

  .feat { min-height: auto; padding: 24px 22px 22px; }
  .feat h3 { font-size: 22px; }

  .price-card { padding: 28px 24px; }
  .price-amt { font-size: 48px; }
  .price-amt .per { display: block; margin: 6px 0 0; }

  .quote .attrib { gap: 12px; }
  .quote .avatar { width: 40px; height: 40px; }

  .footer .grid { grid-template-columns: 1fr; }
  .footer .grid > div:first-child { grid-column: span 1; }
  .footer .bottom { font-size: 11px; }

  .g1, .g2, .g3, .g4, .g5, .g6 { min-height: 200px !important; }
  .g2 { min-height: 340px !important; }
  .gc-line { font-size: 26px; }
  .gc-phone { max-width: 90px; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 40px; }
  .section-head h2 { font-size: 32px; }
  .feat h3 { font-size: 20px; }
}

/* ── Large monitors (≥1400px) ─────────────────────────────── */
@media (min-width: 1400px) {
  .section { padding: 130px 0; }
  .how { padding: 130px 0; }
  .pricing { padding: 130px 0; }
  .faq { padding: 130px 0; }
  .quote { padding: 140px 0; }
  .hero { padding: 48px 0 72px; }

  .section-head { margin-bottom: 72px; gap: 64px; }
  .hero-grid { gap: 88px; }
  .features { gap: 3px; }
  .how-grid { gap: 28px; }

  .sf-body { min-height: 480px; grid-template-columns: 70px 1fr 190px; }
  .sf-art { width: min(62%, 260px); }

  .feat { padding: 44px 36px 38px; min-height: 420px; gap: 22px; }
  .feat h3 { font-size: 34px; }

  .how-card { padding: 40px 34px; }
  .how-card h3 { font-size: 28px; }

  .price-card { padding: 48px 42px; }
  .price-amt { font-size: 84px; }

  .faq-q { padding: 26px 32px; font-size: 24px; }
  .faq-a { padding: 0 32px 30px; }

  .cta-banner { padding: 88px 72px; gap: 56px; }
}

/* ── Ultra-wide + 4K (≥1800px) ────────────────────────────── */
@media (min-width: 1800px) {
  .section { padding: 150px 0; }
  .quote { padding: 160px 0; }
  .section-head { margin-bottom: 88px; }
  .hero-grid { gap: 104px; }

  .sf-body { min-height: 540px; }

  .feat { min-height: 480px; padding: 52px 42px 44px; }
  .feat h3 { font-size: 38px; }

  .how-card { padding: 48px 40px; }
  .how-card h3 { font-size: 32px; }
  .how-card::before { font-size: 86px; }

  .price-card { padding: 56px 48px; }
  .price-amt { font-size: 96px; }

  .cta-banner { padding: 104px 88px; }

  .gallery { gap: 24px; }
  .g1, .g2, .g3 { min-height: 420px; }
  .g4, .g5, .g6 { min-height: 300px; }

  .tick-row { font-size: 26px; gap: 56px; }
}

/* ── 4K & 5K monitors (≥2400px) — cap content, generous gutters ── */
@media (min-width: 2400px) {
  .section { padding: 180px 0; }
  .hero { padding: 56px 0 88px; }
  .feat { min-height: 540px; }
  .cta-banner { padding: 120px 104px; }
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
