/* =====================================================================
   THE ARKCLIP: "EDITORIAL BOLD" DESIGN SYSTEM
   Light paper canvas · heavy grotesk display · one violet accent
   (Legal pages still use main.css / components.css; this file is
    only for the landing page.)
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #F6F4EF;
  --paper-2: #EFECE5;
  --card: #FFFFFF;
  --ink: #0B0B0F;
  --ink-2: #4A4A55;
  --ink-3: #8A8A95;
  --line: rgba(11, 11, 15, 0.09);
  --line-strong: rgba(11, 11, 15, 0.16);

  --violet: #9E87FC;          /* exact logo violet */
  --violet-text: #7A62F4;     /* accessible on paper for big text */
  --violet-btn: #6B52EE;      /* button fill, AA with white */
  --violet-soft: rgba(158, 135, 252, 0.14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --announce-h: 40px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
ol, ul { list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-btn); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- 3. Layout & type ---------- */
main, .footer { position: relative; z-index: 1; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variation-settings: "opsz" 72;
}
.h2 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.serif-accent { color: var(--violet-text); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 34rem; line-height: 1.55; }
.lead.center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  
  
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}
.mono { font-family: var(--font-mono); }

/* ---------- 4. Primitives ---------- */
.btn {
  --pad-y: 0.95rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s var(--ease), color 0.25s;
}
.btn-sm { --pad-y: 0.6rem; --pad-x: 1.1rem; font-size: 0.86rem; }
.btn-block { width: 100%; }

.btn-violet {
  background: var(--violet-btn);
  color: #fff;
  box-shadow: 0 3px 0 #4530b5;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.2s;
}
.btn-violet:hover { background: #5a41dc; transform: translateY(-1px); box-shadow: 0 4px 0 #4530b5; }
.btn-violet:active { transform: translateY(3px); box-shadow: 0 0 0 #4530b5; }
.nav .btn { border-radius: 999px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #22222a; transform: translateY(-1px); }
.btn-ghost-light { color: rgba(255,255,255,0.82); }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,0.08); }

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.95rem; font-weight: 500;
}
.pill-violet { color: var(--ink-2); }

.dot-live { display: none; }

.icon-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 1.1rem;
  transition: background 0.25s, color 0.25s, transform 0.35s var(--ease), border-color 0.25s;
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.05); }

/* ---------- 5. Living vine ---------- */
.vine {
  position: fixed;
  top: 0; right: 0;
  width: 58vw;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  /* multiply melts the video's white backdrop into the paper */
  mix-blend-mode: multiply;
  opacity: var(--vine-o, 1);
  transform: translate3d(var(--vine-x, 0vw), 0, 0) scale(var(--vine-s, 1));
  transform-origin: 70% 60%;
  /* wipe reveal / unreveal from the right edge */
  clip-path: inset(0 0 0 var(--vine-clip, 0%));
  /* feather every edge so the video never reads as a box */
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 55% 58%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 70% at 55% 58%, #000 52%, transparent 100%);
  will-change: transform, opacity, clip-path;
}
.vine video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  filter: brightness(1.05) contrast(1.06) saturate(1.12);
}

/* ---------- 6. Announcement bar ---------- */
.announce {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--announce-h);
  z-index: 60;
  background: var(--ink);
  color: rgba(255,255,255,0.86);
  font-size: 0.84rem;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3rem;
  transition: transform 0.5s var(--ease);
}
.announce-track { display: flex; align-items: center; gap: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce strong { color: #fff; font-weight: 600; }
.announce-link { color: var(--violet); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.announce-link:hover { border-color: var(--violet); }
.announce-close { position: absolute; right: 1rem; font-size: 1.25rem; color: rgba(255,255,255,0.5); width: 28px; height: 28px; border-radius: 50%; }
.announce-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
body.is-scrolled .announce, body.announce-off .announce { transform: translateY(-100%); }

/* ---------- 7. Navbar ---------- */
.nav {
  position: fixed;
  top: calc(var(--announce-h) + 14px);
  left: 0; right: 0;
  z-index: 50;
  padding: 0 var(--gutter);
  transition: top 0.5s var(--ease);
}
body.is-scrolled .nav, body.announce-off .nav { top: 14px; }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0.65rem 0.45rem 1.25rem;
  background: rgba(11, 11, 15, 0.9);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  box-shadow: 0 10px 40px -12px rgba(11,11,15,0.35);
  position: relative;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-mark { height: 36px; width: auto; transition: transform 0.6s var(--ease); }
.nav-brand:hover .nav-mark { transform: rotate(-8deg) scale(1.06); }
.nav-word { height: 25px; width: auto; }
.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-actions { display: flex; align-items: center; gap: 0.35rem; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 23px; }
.nav.open .nav-burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.open .nav-burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--announce-h) + 9rem) 0 6rem;
  position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: end; gap: 2rem; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.hero-title { font-size: clamp(3.2rem, 8.5vw, 7.5rem); }
.hero-note { font-size: 0.92rem; color: var(--ink-2); margin-top: -0.9rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .word { display: inline-block; }
.hero-title .line:nth-child(1) { white-space: nowrap; }
.hero-title .line:nth-child(1) .word:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(1) .word:nth-child(2) { animation-delay: 0.28s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.44s; padding-right: 0.08em; }

.waitlist-form {
  display: flex; align-items: center;
  width: 100%; max-width: 31rem;
  padding: 6px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 20px 50px -20px rgba(11,11,15,0.45);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.waitlist-form:focus-within { box-shadow: 0 0 0 4px var(--violet-soft), 0 24px 60px -20px rgba(107,82,238,0.5); }
.waitlist-form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-size: 0.98rem;
}
.waitlist-form input::placeholder { color: rgba(255,255,255,0.42); }
.waitlist-form.center { margin: 0 auto; }
.waitlist-form.is-error { animation: shake 0.45s; }
.waitlist-form.is-done { background: var(--violet-btn); }

.hero-proof { display: flex; align-items: center; gap: 0.9rem; font-size: 0.9rem; color: var(--ink-2); }
.hero-proof strong { color: var(--ink); }

.mono-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.68rem; font-weight: 600; 
  color: hsl(var(--h) 45% 30%);
  background: hsl(var(--h) 70% 88%);
  border: 2px solid var(--paper);
  flex-shrink: 0;
}



/* ---------- 9. Strip marquee ---------- */
.strip {
  position: relative; z-index: 2;
  background: var(--ink);
  color: var(--paper);
  padding: 1.15rem 0;
  margin: 1rem 0;
  overflow: hidden;
}
.strip-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 32s linear infinite; }
.strip span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; }
.strip b { color: var(--ink-3); font-weight: 400; font-size: 1rem; }

/* ---------- 9b. Intro video ---------- */
.intro { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.intro-head { max-width: 60rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.intro-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0b0f; box-shadow: 0 30px 70px -30px rgba(40, 20, 120, .45); border: 1px solid var(--line); }
.intro-player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.intro-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; background: var(--violet-btn); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(107, 82, 238, .55); transition: transform .2s; }
.intro-play:hover { transform: scale(1.08); }
.intro-play:focus-visible, .intro-chapters button:focus-visible { outline: 2px solid var(--violet-text); outline-offset: 3px; }
.intro-player.is-playing .intro-play { display: none; }
.intro-chapters { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.intro-chapters button { font: inherit; font-size: .92rem; cursor: pointer; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); transition: background .2s, color .2s; }
.intro-chapters button:hover { background: var(--ink); color: #fff; }
.intro-chapters .mono { color: var(--violet-text); margin-right: .35rem; font-size: .78rem; }
.intro-chapters button:hover .mono { color: #fff; }
.hero-watch { margin-top: 1rem; }
.watch-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.watch-link:hover { color: var(--violet-text); border-color: var(--violet-text); }
.watch-icon { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--violet-btn); color: #fff; font-size: .6rem; padding-left: 2px; }

/* ---------- 10. Showcase (pinned horizontal slides) ---------- */
.showcase { position: relative; height: 500vh; /* overwritten by JS */ }
.showcase-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  overflow: hidden;
  padding-top: 5rem;
}
.showcase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.showcase-head .eyebrow { margin-bottom: 0.9rem; }
.showcase-head .h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.08; }
.showcase-counter { font-size: 0.95rem; color: var(--ink-3); }
.showcase-counter #slide-current { color: var(--ink); font-size: 2.4rem; font-weight: 500; letter-spacing: -0.02em; }
.showcase-viewport { width: 100%; }
.showcase-track {
  display: flex; gap: clamp(1.5rem, 3vw, 3rem);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-right: 10vw;
  width: max-content;
  will-change: transform;
}
.slide { width: max(480px, min(68vw, 920px, calc((100svh - 20rem) * 16 / 9))); flex-shrink: 0; display: flex; flex-direction: column; gap: 1.1rem; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); opacity: 0.7; transform: scale(0.97); }
.slide.is-active { opacity: 1; transform: scale(1); }
.slide-frame {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 40px 80px -40px rgba(11,11,15,0.35), 0 12px 24px -16px rgba(11,11,15,0.2);
  overflow: hidden;
}
.slide-frame { position: relative; }
.vid-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; display: flex; align-items: flex-end; cursor: pointer; background: linear-gradient(to top, rgba(11,11,15,0.28), transparent); }
.vid-bar i { display: block; width: 100%; height: 4px; background: var(--violet-text, #7c5cff); transform: scaleX(0); transform-origin: left; border-radius: 0 2px 2px 0; }
.vid-bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,0.35); }
.vid-bar i { position: relative; }
.slide-frame img, .slide-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.slide-meta p strong { color: var(--ink); font-weight: 600; }
.slide-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: baseline; padding: 0 0.25rem; }
.slide-meta .mono { grid-row: span 2; color: var(--violet-text); font-size: 0.85rem; }
.slide-meta h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.slide-meta p { color: var(--ink-2); font-size: 0.98rem; max-width: 36rem; }
.progress-rail { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--ink); transform-origin: left; }

/* ---------- 11. How it works ---------- */
.how { padding: clamp(6rem, 14vh, 10rem) 0; position: relative; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 7vh, 5rem);
  border-top: 1px solid var(--line-strong);
}
.step {
  padding: 2.25rem 1.5rem 2.25rem 0;
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 0;
  align-content: start;
}
.step + .step {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line-strong);
}
.step-name {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1;
  letter-spacing: -0.02em;
  /* Unhovered state: soft ink fill + thin stroke so the word stays legible. */
  color: color-mix(in srgb, var(--ink) 16%, transparent);
  -webkit-text-stroke: 1px var(--ink);
  paint-order: stroke fill;
  margin-bottom: 1.25rem;
  transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s;
}
.step:hover .step-name { color: var(--violet); -webkit-text-stroke-color: var(--violet); }
.step-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  
  
  color: var(--violet-text);
  background: var(--violet-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.step-thesis {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 24rem;
}

.step-ledger {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  align-self: start;
}
.ledger-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s var(--ease);
}
.ledger-item:last-child { border-bottom: none; }
.step:hover .ledger-item { border-bottom-color: var(--line-strong); }

.ledger-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0;
  background: transparent;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: color 0.2s var(--ease);
}
.ledger-header:hover .ledger-title {
  color: var(--violet-text);
}
.ledger-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.ledger-toggle {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink-3);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.ledger-header:hover .ledger-toggle {
  color: var(--ink);
  background: rgba(11, 11, 15, 0.04);
}
.ledger-item.is-open .ledger-toggle {
  transform: rotate(45deg);
  color: var(--violet-btn);
  background: var(--violet-soft);
}
.ledger-item.is-open .ledger-title {
  color: var(--ink);
  font-weight: 700;
}

/* Zero-jank CSS Grid accordion animation */
.ledger-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease), opacity 0.25s var(--ease);
  opacity: 0;
}
.ledger-inner {
  overflow: hidden;
}
.ledger-inner p {
  padding: 0 0 1rem 0;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 23rem;
}
.ledger-item.is-open .ledger-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Platform Foundation Rail */
.platform-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.platform-item {
  padding: 0 1.5rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.platform-item + .platform-item {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}
.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-btn);
  padding: 0;
  margin-top: 0.15rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), color 0.3s;
}
.platform-item:hover .platform-icon {
  transform: translateY(-2px);
  color: var(--violet-text);
}
.platform-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.platform-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.platform-item p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 5vh, 4rem);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  overflow: hidden;
}
.stats div { padding: 2rem; display: flex; flex-direction: column; gap: 0.2rem; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.stats small { font-size: 0.45em; letter-spacing: 0; margin-left: 0.15em; color: var(--ink-3); }
.stats span { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-3); }

/* ---------- 12. Testimonials ---------- */
.voices { padding: clamp(6rem, 14vh, 10rem) 0 clamp(4rem, 8vh, 6rem); position: relative; }
.voices-head { max-width: 48rem; }
.quote-stage { margin-top: clamp(2.5rem, 6vh, 4rem); max-width: 54rem; }
.quote-slides { display: grid; }
.quote {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.quote.active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-indent: -0.4em;
}
.quote figcaption { display: flex; align-items: center; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }
.quote figcaption > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption em { font-style: normal; color: var(--ink-3); font-size: 0.9rem; }
.mono-avatar { width: 46px; height: 46px; font-size: 0.8rem; border: 0; }
.metric {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 0.78rem; 
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: var(--ink); color: #fff;
}
.quote-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.quote-dots { display: flex; gap: 0.5rem; }
.quote-dots button {
  width: 28px; height: 4px; border-radius: 4px;
  background: var(--line-strong);
  position: relative; overflow: hidden;
  transition: width 0.4s var(--ease);
}
.quote-dots button.active { width: 56px; }
.quote-dots button.active::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: left;
  animation: fillbar var(--quote-ms, 6500ms) linear forwards;
}
.quote-stage.paused .quote-dots button.active::after { animation-play-state: paused; }

.cards-marquee {
  margin-top: clamp(4rem, 9vh, 6rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cards-row { display: flex; gap: 1rem; width: max-content; animation: marquee 50s linear infinite; padding: 0.5rem 0; }
.cards-marquee:hover .cards-row { animation-play-state: paused; }
.mini-card {
  width: 320px; flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 30px -20px rgba(11,11,15,0.25);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.mini-card:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 20px 40px -20px rgba(107,82,238,0.35); }
.mini-card p { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.9rem; }
.mini-card span { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- 13. Final CTA ---------- */
.final { padding: clamp(6rem, 16vh, 11rem) 0 clamp(6rem, 14vh, 9rem); text-align: center; position: relative; }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mega {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 17vw, 17rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  display: flex; flex-direction: column; align-items: center;
  --fill: 0%;
}
.mega-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  background-image: linear-gradient(90deg, var(--ink) 0 var(--fill), color-mix(in srgb, var(--ink) 14%, transparent) var(--fill));
  -webkit-background-clip: text;
          background-clip: text;
  padding: 0 0.04em 0.06em;
}
.mega-dot { color: var(--violet); -webkit-text-stroke: 0; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 5rem 0 2rem; border-radius: 36px 36px 0 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { width: 170px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; }
.footer-cols { display: flex; gap: clamp(3rem, 8vw, 7rem); }
.footer-cols h4 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; color: rgba(255,255,255,0.4); margin-bottom: 1.1rem; }
.footer-cols a { display: block; padding: 0.3rem 0; font-size: 0.95rem; transition: color 0.2s, transform 0.3s var(--ease); }
.footer-cols a:hover { color: var(--violet); transform: translateX(3px); }
.footer-base { display: flex; justify-content: space-between; padding-top: 1.75rem; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-base a:hover { color: #fff; }

/* ---------- 15. Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 1.5rem;
  background: rgba(11,11,15,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-card {
  width: 100%; max-width: 400px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.45s var(--ease);
  box-shadow: 0 40px 100px -30px rgba(11,11,15,0.5);
}
.modal.active .modal-card { transform: none; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; color: var(--ink-3); }
.modal-close:hover { background: var(--paper-2); color: var(--ink); }
.modal-mark { width: 52px; padding: 10px; background: var(--ink); border-radius: 14px; margin-bottom: 1.25rem; box-sizing: content-box; }
.modal-card h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.modal-sub { color: var(--ink-2); margin-bottom: 1.5rem; font-size: 0.95rem; }
.modal-card label { display: block; font-size: 0.8rem; font-weight: 600; margin: 0 0 0.4rem; }
.modal-card input {
  width: 100%; padding: 0.8rem 1rem; margin-bottom: 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal-card input:focus { border-color: var(--violet-btn); box-shadow: 0 0 0 4px var(--violet-soft); }
.modal-card .btn { margin-top: 0.5rem; }

/* ---------- 16. Toasts ---------- */
.toasts { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 95; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  background: var(--ink); color: #fff;
  border-radius: 14px;
  font-size: 0.9rem;
  box-shadow: 0 20px 40px -15px rgba(11,11,15,0.5);
  opacity: 0; transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast i { font-style: normal; color: var(--violet); }

/* ---------- 17. Reveal + keyframes ---------- */
/* Content is visible by default (no-JS, crawlers, reviewers). Animation hiding only applies once JS has set html.js. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.65s; }
.hero .reveal + .reveal { transition-delay: 0.78s; }
.steps .step:nth-child(2) { transition-delay: 0.12s; }
.steps .step:nth-child(3) { transition-delay: 0.24s; }
.steps .step:nth-child(4) { transition-delay: 0.36s; }

.step .ledger-item {
  opacity: 0.45;
  transform: translateY(6px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.step.in .ledger-item {
  opacity: 1;
  transform: none;
}
.step.in .ledger-item:nth-child(1) { transition-delay: 0.12s; }
.step.in .ledger-item:nth-child(2) { transition-delay: 0.22s; }
.step.in .ledger-item:nth-child(3) { transition-delay: 0.32s; }
.step.in .ledger-item:nth-child(4) { transition-delay: 0.42s; }
.step.in .ledger-item:nth-child(5) { transition-delay: 0.52s; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(158,135,252,0.7); } 70% { box-shadow: 0 0 0 9px rgba(158,135,252,0); } 100% { box-shadow: 0 0 0 0 rgba(158,135,252,0); } }
@keyframes drip { 0% { top: -14px; } 100% { top: 42px; } }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step, .step + .step { padding: 2.25rem 1.5rem; border-left: 0; border-top: 1px solid var(--line-strong); }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line-strong); }
  .step:nth-child(-n+2) { border-top: 0; }
  .nav-links { gap: 0; }
  .nav-link { padding: 0.5rem 0.65rem; }
}

@media (max-width: 900px) {
  :root { --announce-h: 36px; }
  .announce { font-size: 0.78rem; padding: 0 2.5rem 0 1rem; justify-content: flex-start; }
  .announce-track span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }

  .vine { width: 100vw; }

  .nav-burger { display: block; }
  #nav-cta { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(11,11,15,0.96);
    border-radius: var(--radius);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.3s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 0.85rem 1rem; font-size: 1rem; }

  .hero { padding-top: calc(var(--announce-h) + 7rem); }
  .hero-grid { grid-template-columns: 1fr; }

  .showcase { height: auto !important; }
  .showcase-sticky { position: relative; height: auto; padding: 5rem 0 3rem; }
  .showcase-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .showcase-viewport::-webkit-scrollbar { display: none; }
  .showcase-track { transform: none !important; padding-right: var(--gutter); }
  .slide { width: 84vw; scroll-snap-align: center; opacity: 1; transform: none; }
  .showcase-progress { display: none; }

  .steps, .stats, .platform-bar { grid-template-columns: 1fr; }
  .step { display: flex; flex-direction: column; grid-row: auto; }
  .step, .step + .step { padding: 2.25rem 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-strong); }
  .platform-item { padding: 1.25rem 0; }
  .platform-item + .platform-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }

  .metric { margin-left: 0; }
  .footer-base { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 520px) {
  .nav-word { display: none; }
  .waitlist-form { flex-direction: column; border-radius: 24px; padding: 8px; gap: 6px; }
  .waitlist-form input { width: 100%; text-align: center; }
  .waitlist-form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-title .word { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Still screenshot slides: show uncropped on a dark gradient */
.slide-frame.is-still { background: radial-gradient(120% 120% at 20% 0%, #2a2146 0%, #14121f 55%, #0b0b0f 100%); border-color: rgba(255,255,255,0.08); }
.slide-frame.is-still img { object-fit: contain; background: transparent; padding: clamp(0.75rem, 2vw, 1.75rem); }

/* "And more" closing slide */
.slide-frame.is-more { aspect-ratio: 16 / 9; display: flex; align-items: center; background: radial-gradient(120% 120% at 20% 0%, #2a2146 0%, #14121f 55%, #0b0b0f 100%); border-color: rgba(255,255,255,0.08); }
.more-body { padding: clamp(1.25rem, 4vw, 3.25rem); color: #fff; width: 100%; }
.more-body .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.more-body h3 { font-size: clamp(1.4rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: clamp(1rem, 2.5vw, 2rem); color: #fff; }
.more-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; padding: 0; margin: 0; }
.more-chips li { font-size: clamp(0.72rem, 1.15vw, 0.95rem); padding: 0.4rem 0.9rem; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); }

/* ---------- Plans teaser + calculator band ---------- */
.plans-teaser { position: relative; padding: clamp(3rem, 6vw, 5rem) 0; }
.calc-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 2.25rem; box-shadow: 0 12px 36px -12px rgba(11,11,15,.06); margin-bottom: clamp(3rem, 6vw, 5rem); }
.calc-band > div { max-width: 42rem; }
.calc-band-tag { font-size: .74rem; color: var(--violet-text); font-weight: 600; }
.calc-band h3 { font-size: 1.45rem; font-weight: 700; margin: .35rem 0; }
.calc-band p { font-size: .94rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.plans-head { margin-bottom: 1.75rem; }
.plans-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plans-mini li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.plans-mini li.featured { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 24px 50px -28px rgba(107,82,238,.55); }
.plans-mini h3 { font-family: var(--font-display); font-size: 1.2rem; }
.plans-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: .4rem 0; }
.plans-price small { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.plans-mini p:last-child { color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.plans-mini .plan-flag { position: absolute; top: -.7rem; right: 1.2rem; font-size: .72rem; background: var(--violet-btn); color: #fff; padding: .2rem .6rem; border-radius: 999px; }
.plans-link { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 800px) { .plans-mini { grid-template-columns: 1fr; } .calc-band { padding: 1.4rem; } }
.btn-ghost-dark { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
