/* ============================================================
   UNLIMITED AI STORE - design system
   SSV.ASIA · original, human, editorial premium
   Palette: warm paper + ink + oxblood accent + moss + brass
   ============================================================ */

:root {
  /* Base paper & ink: human, warm */
  --paper: #F4F0E8;
  --paper-bright: #FBF8F1;
  --card: #FFFFFF;
  --ink: #1F1D1A;
  --ink-soft: #4A453E;
  --muted: #7A746A;

  /* Accent: purple from the SSV.ASIA logo (was oxblood; kept in --accent-old for rollback) */
  --accent: #8B3FBF;
  --accent-soft: #A855F7;
  --accent-bright: #B35CFF;
  --accent-dark: #6D2B9E;
  --accent-ink: #FBF6FF;
  --accent-glow: rgba(139, 63, 191, 0.5);
  --accent-old: #8E2A1F; /* oxblood, rollback value */

  /* Greens / moss for the terminal + sale */
  --moss: #2F5D46;
  --moss-dark: #1F4432;
  --green-term: #5FC38A;

  /* Brass foil */
  --brass: #B98A3E;
  --brass-soft: #D9BE85;

  /* Hairlines */
  --line: rgba(31, 29, 26, 0.12);
  --line-strong: rgba(31, 29, 26, 0.22);

  /* Type */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Rhythm */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --gutter: clamp(20px, 4vw, 48px);

  --shadow-soft: 0 24px 60px -28px rgba(31, 29, 26, 0.35);
  --shadow-lift: 0 40px 90px -30px rgba(31, 29, 26, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Rich background system (texture + geometry + drift) ---------- */
.bg-veil {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    /* fine paper grain */
    radial-gradient(circle at 15% 20%, rgba(139,63,191,0.07), transparent 42%),
    radial-gradient(circle at 85% 12%, rgba(185,138,62,0.06), transparent 38%),
    radial-gradient(circle at 75% 85%, rgba(139,63,191,0.06), transparent 44%),
    radial-gradient(circle at 20% 90%, rgba(47,93,70,0.06), transparent 40%),
    var(--paper);
}
.bg-veil::before {
  /* tiny archival dot grid */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(31,29,26,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 85%);
}
.bg-veil::after {
  /* blueprint grid lines, more visible */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,63,191,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,63,191,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, rgba(0,0,0,0.5), transparent 78%);
  mask-image: radial-gradient(circle at 50% 20%, rgba(0,0,0,0.5), transparent 78%);
}

/* looped geometry: blueprint field + crosshair + particles */
.bg-geo {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* the grid field: a large perspective plane of grid lines that slowly shifts */
.bg-geo__field {
  position: absolute;
  left: 50%; top: 55%;
  width: 1600px; height: 1600px;
  transform: translate(-50%, -50%) perspective(900px) rotateX(62deg);
  transform-origin: center;
  background-image:
    linear-gradient(rgba(139,63,191,0.13) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(139,63,191,0.13) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.85), transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.85), transparent 72%);
  animation: geo-field-pan 38s linear infinite;
}
@keyframes geo-field-pan {
  from { background-position: 0 0; }
  to   { background-position: 0 44px; }
}

/* crosshair: a large technical reticle, top-right */
.bg-geo__crosshair {
  position: absolute;
  width: 420px; height: 420px;
  top: -60px; right: -60px;
  opacity: 0.55;
  animation: geo-cross-rotate 90s linear infinite;
}
.bg-geo__crosshair::before,
.bg-geo__crosshair::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(139,63,191,0.35);
}
.bg-geo__crosshair::after {
  inset: 34px;
  border: 1px dashed rgba(139,63,191,0.22);
}
.bg-geo__crosshair .ch-h,
.bg-geo__crosshair .ch-v {
  position: absolute;
  background: rgba(139,63,191,0.3);
}
.bg-geo__crosshair .ch-h { left: -60px; right: -60px; top: 50%; height: 1px; }
.bg-geo__crosshair .ch-v { top: -60px; bottom: -60px; left: 50%; width: 1px; }
@keyframes geo-cross-rotate { to { transform: rotate(360deg); } }

/* three floating particles, slow looped drift */
.bg-geo__dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.45;
  filter: blur(0.3px);
}
.bg-geo__dot--1 { top: 24%; left: 14%; animation: geo-dot-1 16s ease-in-out infinite; }
.bg-geo__dot--2 { top: 68%; left: 82%; width: 8px; height: 8px; animation: geo-dot-2 20s ease-in-out infinite; }
.bg-geo__dot--3 { top: 12%; left: 68%; width: 5px; height: 5px; background: var(--brass); animation: geo-dot-3 24s ease-in-out infinite; }
@keyframes geo-dot-1 {
  0%,100% { transform: translate(0,0); opacity: 0.35; }
  50%     { transform: translate(18px,-26px); opacity: 0.65; }
}
@keyframes geo-dot-2 {
  0%,100% { transform: translate(0,0); opacity: 0.4; }
  50%     { transform: translate(-24px,16px); opacity: 0.7; }
}
@keyframes geo-dot-3 {
  0%,100% { transform: translate(0,0); opacity: 0.3; }
  50%     { transform: translate(20px,22px); opacity: 0.6; }
}

/* keep the original drifting shapes but slightly stronger */
.bg-geo__ring {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1.5px solid rgba(139,63,191,0.14);
  top: -160px; right: -120px;
  animation: geo-drift-1 26s ease-in-out infinite alternate;
}
.bg-geo__ring::after {
  content: "";
  position: absolute; inset: 48px;
  border-radius: 50%;
  border: 1px dashed rgba(139,63,191,0.10);
  animation: geo-spin 60s linear infinite;
}
.bg-geo__square {
  position: absolute;
  width: 420px; height: 420px;
  border: 1.5px solid rgba(185,138,62,0.12);
  transform: rotate(45deg);
  bottom: -220px; left: -140px;
  border-radius: 24px;
  animation: geo-drift-2 32s ease-in-out infinite alternate;
}
.bg-geo__square::after {
  content: "";
  position: absolute; inset: 56px;
  border: 1px dashed rgba(47,93,70,0.12);
  border-radius: 18px;
  animation: geo-spin-rev 48s linear infinite;
}
.bg-geo__triangle {
  position: absolute;
  width: 0; height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 220px solid rgba(139,63,191,0.06);
  top: 42%; left: 6%;
  opacity: 0.5;
  animation: geo-drift-3 38s ease-in-out infinite alternate;
}
@keyframes geo-drift-1 {
  from { transform: translate(0,0) rotate(0deg); }
  to   { transform: translate(-46px, 34px) rotate(8deg); }
}
@keyframes geo-drift-2 {
  from { transform: rotate(45deg) translate(0,0); }
  to   { transform: rotate(45deg) translate(34px, -26px); }
}
@keyframes geo-drift-3 {
  from { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  to   { transform: translateY(40px) rotate(6deg); opacity: 0.6; }
}
@keyframes geo-spin { to { transform: rotate(360deg); } }
@keyframes geo-spin-rev { to { transform: rotate(-360deg); } }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

::selection { background: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -14px rgba(139, 63, 191, 0.55);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -16px rgba(139, 63, 191, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-xl { padding: 20px 34px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "/// ";
  color: var(--brass);
}

.section-head { max-width: 620px; margin-bottom: 54px; }
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.section-title .serif, .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  color: var(--accent);
}
.section-sub {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 560px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 240, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--ink);
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.12);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-toggle { display: none; }

/* ---------- Wordmark (logo image) ---------- */
.wordmark-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}
.wordmark-img--footer {
  height: 40px;
  /* logo is dark-on-transparent; on the dark footer we need a light chip so it reads */
  background: var(--paper-bright);
  padding: 6px 12px;
  border-radius: 10px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
}
.hero-texture {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 8%, rgba(185, 138, 62, 0.10), transparent 40%),
    radial-gradient(circle at 12% 78%, rgba(47, 93, 70, 0.08), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(139, 63, 191, 0.08), transparent 42%);
  pointer-events: none;
}
.hero::after {
  /* faint archival grid, deeply restrained */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,29,26,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,29,26,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-texture, .hero::after { z-index: 0; }
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero-title {
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -1.5px;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero-title .serif {
  font-size: 1.08em;
  color: var(--accent);
}

.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.hero-trust {
  font-size: 14px;
  color: var(--muted);
}

/* Hero stats: the numbers above the fold */
.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hstat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 26px;
  min-width: 0;
}
.hstat:first-child { padding-left: 0; }
.hstat-num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.hstat-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  white-space: nowrap;
}
.hstat-sep {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--brass);
  padding: 0 2px;
}
@media (max-width: 560px) {
  .hero-stats { flex-wrap: wrap; gap: 14px 0; }
  .hstat { padding: 0 18px; }
  .hstat-sep { display: none; }
}

/* Value pillars: the four proof points, mockup style */
.pillars {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--paper-bright);
  border-block: 1px solid var(--line);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.pillar-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--brass);
  display: block;
  margin-bottom: 14px;
}
.pillar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pillar-body {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
@media (max-width: 980px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------- Downloads ---------- */
.downloads {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0;
  color: #d4d4d8;
  background:
    radial-gradient(circle at 50% 5%, rgba(139, 63, 191, 0.24), transparent 34rem),
    #151310;
}
.downloads-inner { text-align: center; }
.downloads-brand {
  width: clamp(180px, 26vw, 300px);
  height: auto;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(139, 63, 191, 0.38));
}
.downloads .eyebrow { color: var(--brass-soft); }
.downloads-title {
  color: var(--paper-bright);
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto;
}
.downloads-title .serif { color: var(--brass-soft); }
.downloads-lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: rgba(212, 212, 216, 0.75);
  font-size: 17px;
  line-height: 1.7;
}
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 58px);
  text-align: left;
}
.dl {
  position: relative;
  display: flex;
  min-height: 168px;
  align-items: center;
  gap: 17px;
  padding: 26px;
  overflow: hidden;
  color: #e4e4e7 !important;
  text-decoration: none !important;
  background: linear-gradient(145deg, rgba(39, 39, 42, 0.78), rgba(24, 24, 27, 0.54));
  border: 1px solid rgba(161, 161, 170, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.dl::after {
  content: "";
  position: absolute;
  right: -55px; bottom: -75px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(65px);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.dl:hover, .dl:focus-visible {
  z-index: 1;
  transform: translateY(-4px);
  border-color: rgba(185, 138, 62, 0.5);
  background: rgba(47, 42, 54, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(185, 138, 62, 0.12);
  outline: none;
}
.dl:hover::after, .dl:focus-visible::after { opacity: 0.16; }
.dl-featured { border-color: rgba(185, 138, 62, 0.38); }
.dl-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 8px;
  color: var(--brass-soft);
  background: rgba(185, 138, 62, 0.14);
  border: 1px solid rgba(217, 190, 133, 0.24);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.dl-icon {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 54px;
  width: 54px; height: 54px;
  place-items: center;
  color: #f4e8ff;
  background: linear-gradient(145deg, var(--brass), var(--accent-dark));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(139, 63, 191, 0.32);
}
.dl-icon svg { width: 27px; height: 27px; fill: currentColor; }
.dl-copy { position: relative; z-index: 1; min-width: 0; }
.dl-overline {
  display: block;
  margin-bottom: 5px;
  color: rgba(212, 212, 216, 0.55);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dl-name {
  display: block;
  color: #e4e4e7;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
}
.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 8px;
  color: rgba(161, 161, 170, 0.75);
  font-size: 11px;
  line-height: 1.4;
}
.dl-dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.dl-arrow {
  position: absolute;
  z-index: 1;
  right: 20px; bottom: 18px;
  color: rgba(161, 161, 170, 0.7);
  font-size: 18px;
  transition: color 180ms ease, transform 180ms ease;
}
.dl:hover .dl-arrow, .dl:focus-visible .dl-arrow {
  color: var(--brass-soft);
  transform: translateY(2px);
}
.downloads-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
  color: rgba(161, 161, 170, 0.7);
  font-size: 12px;
  line-height: 1.5;
}
.downloads-trust span::before { content: "✓"; margin-right: 7px; color: var(--brass-soft); }
.downloads-note {
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(161, 161, 170, 0.6);
  font-size: 12.5px;
  line-height: 1.6;
}
.downloads-note a { color: rgba(212, 212, 216, 0.75); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .downloads-grid { grid-template-columns: 1fr; width: min(100%, 620px); margin-right: auto; margin-left: auto; }
  .dl { min-height: 138px; }
}
@media (max-width: 520px) {
  .dl { gap: 14px; min-height: 132px; padding: 22px 18px; border-radius: 14px; }
  .dl-badge { display: none; }
  .dl-icon { flex-basis: 48px; width: 48px; height: 48px; }
  .dl-name { font-size: 18px; }
}

/* Social proof: early builders */
.proof { padding: clamp(72px, 10vw, 130px) 0; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  margin: 0;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink);
}
.quote figcaption {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
@media (max-width: 980px) { .proof-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* Platform row under the buy button */
.platform-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.plat {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ---------- Terminal ---------- */
.hero-visual { position: relative; }
.terminal {
  background: #161410;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 90px -34px rgba(20, 16, 10, 0.65);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transform: rotate(-0.6deg);
  transition: transform .3s ease;
}
.terminal:hover { transform: rotate(0deg); }
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #E8765A; }
.dot-yellow { background: #E3B34F; }
.dot-green { background: #62BF7D; }
.terminal-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: #8a857a;
}
.terminal-body {
  padding: 20px 22px 22px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
}
.terminal-body p { margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-white { color: #E9E5DC; }
.c-gray { color: #9B958A; }
.c-green { color: var(--green-term); }
.c-amber { color: #E3B34F; font-size: 16px; }
.c-dim { color: #6E6860; }
.c-amber { animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.terminal-note {
  position: absolute;
  left: -14px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.note-light {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-term);
  box-shadow: 0 0 0 3px rgba(95,195,138,0.18);
}

.scroll-cue {
  position: absolute;
  bottom: 8px;
  left: calc(var(--gutter) / 2);
  font-family: var(--mono);
  color: var(--muted);
  text-decoration: none;
  animation: bob 2.2s ease-in-out infinite;
  font-size: 20px;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--paper-bright);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 34s linear infinite;
  padding: 16px 0;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  padding: 0 34px;
  white-space: nowrap;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-track span::after { content: "◆"; color: var(--brass); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tokens section ---------- */
.tokens { padding: clamp(72px, 10vw, 130px) 0; }

.token-scale {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 4vw, 44px);
  align-items: stretch;
  margin-bottom: 46px;
}
.token-block {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.token-free { background: var(--paper-bright); border: 1px solid var(--line); }
.token-pro { background: var(--ink); color: var(--paper-bright); position: relative; overflow: hidden; }
.token-pro::after {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
}
.token-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: 12px;
}
.token-pro .token-label { color: var(--brass-soft); }
.token-number {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.token-free .token-number { color: var(--moss); }
.token-meaning { color: var(--muted); font-size: 15.5px; }
.token-pro .token-meaning { color: rgba(251,248,241,0.72); }
.token-plus {
  align-self: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--accent);
}

.token-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tcard {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px;
}
.tcard-strong {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
}
.tcard-title { font-weight: 600; font-size: 21px; margin-bottom: 10px; }
.tcard-strong .tcard-title { color: #fff; }
.tcard-body { color: var(--ink-soft); font-size: 16.5px; }
.tcard-strong .tcard-body { color: rgba(255,246,241,0.85); }

/* ---------- How ---------- */
.how { padding: clamp(72px, 10vw, 130px) 0; background: var(--paper-bright); border-block: 1px solid var(--line); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.step-num {
  position: absolute;
  top: 30px; right: 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 42px;
  color: var(--brass);
  opacity: 0.75;
}
.step h3 { font-size: 23px; font-weight: 600; margin-bottom: 12px; padding-right: 50px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Compare ---------- */
.compare { padding: clamp(72px, 10vw, 130px) 0; }
.compare-table {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-name, .cmp-cell {
  padding: 20px 24px;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.cmp-name { font-weight: 600; color: var(--ink); }
.cmp-cell { color: var(--ink-soft); }
.cmp-alt { background: rgba(31,29,26,0.025); }
.cmp-us {
  background: var(--moss-dark);
  color: var(--paper-bright);
  font-weight: 600;
}
.cmp-head { background: var(--ink); }
.cmp-head .cmp-name, .cmp-head .cmp-cell { color: var(--paper-bright); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); }
.cmp-head .cmp-alt { background: transparent; color: rgba(251,248,241,0.6); }
.cmp-head .cmp-us { background: transparent; color: var(--brass-soft); }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(72px, 10vw, 130px) 0; background: var(--paper-bright); border-block: 1px solid var(--line); }
.pricing-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  max-width: 980px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
.price-left {
  background: var(--ink);
  color: var(--paper-bright);
  padding: clamp(36px, 5vw, 64px);
}
.price-left .eyebrow { color: var(--brass-soft); }
.price-title { font-size: clamp(28px, 4vw, 42px); font-weight: 600; margin-bottom: 18px; letter-spacing: -0.5px; }
.price-tag {
  font-size: clamp(58px, 9vw, 92px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
}
.price-sub { font-family: var(--serif); font-style: italic; font-size: 0.32em; color: var(--brass-soft); font-weight: 400; }
.price-usd { font-family: var(--mono); font-size: 14px; color: var(--brass-soft); margin-top: 6px; letter-spacing: 0.08em; }
.price-note { margin-top: 24px; color: rgba(251,248,241,0.66); font-size: 15px; max-width: 300px; }

.price-right {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
}
.price-features { list-style: none; margin-bottom: 30px; display: grid; gap: 16px; }
.price-features li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 16.5px;
  color: var(--ink-soft);
}
.price-features li::before {
  content: "✓";
  font-family: var(--mono);
  color: var(--moss);
  font-weight: 600;
  flex-shrink: 0;
}
.price-features li strong { color: var(--ink); font-weight: 600; }
.pay-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(72px, 10vw, 130px) 0; }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(30px, 6vw, 90px); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 14px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17.5px;
  padding: 20px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--brass);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 8px 22px; color: var(--ink-soft); font-size: 16px; max-width: 640px; }

.text-link {
  color: var(--accent);
  text-decoration-line: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(139,63,191,0.35);
  transition: text-decoration-color .15s ease;
}
.text-link:hover { text-decoration-color: var(--accent); }

/* ---------- Final CTA ---------- */
.final { padding: clamp(72px, 10vw, 130px) 0; }
.final-card {
  text-align: center;
  background: var(--moss-dark);
  color: var(--paper-bright);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.final-card::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,138,62,0.16), transparent 65%);
  top: -180px; left: -120px;
}
.final-card::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  bottom: -160px; right: -80px;
}
.final-card .eyebrow { color: var(--brass-soft); }
.final-title {
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 34px;
  position: relative; z-index: 1;
}
.final-title .serif { color: var(--brass-soft); }
.final-card .btn { position: relative; z-index: 1; }
.final-note { margin-top: 22px; font-size: 15px; color: rgba(251,248,241,0.66); position: relative; z-index: 1; }
.final-note .text-link { color: var(--brass-soft); text-decoration-color: rgba(217,190,133,0.4); }

/* ---------- Footer ---------- */
.site-footer { background: #151310; color: var(--paper-bright); padding-top: 64px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.site-footer .wordmark-mark { background: var(--paper-bright); color: var(--ink); }
.footer-note { margin-top: 14px; color: rgba(251,248,241,0.6); font-size: 14.5px; max-width: 320px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { text-decoration: none; color: rgba(251,248,241,0.72); font-size: 15px; transition: color .15s ease; }
.footer-nav a:hover { color: #fff; }
.site-footer .text-link { color: var(--brass-soft); }
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 22px;
  font-size: 13.5px;
  color: rgba(251,248,241,0.45);
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .compare-table { font-size: 15px; }
  .pricing-card { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--paper-bright);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--gutter) 28px;
    gap: 18px;
    box-shadow: var(--shadow-soft);
  }

  .token-scale { grid-template-columns: 1fr; }
  .token-plus { text-align: center; transform: rotate(90deg); padding: 4px 0; align-self: auto; }
  .token-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr; gap: 0; }
  .cmp-name, .cmp-cell { justify-content: flex-start; }
  .cmp-head { display: none; }
  .cmp-row:not(.cmp-head) { border-bottom: 1px solid var(--line); }
  .hero-cta-row { flex-direction: column; }
  .scroll-cue { display: none; }
  .terminal-note { left: 8px; bottom: -14px; }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
/* ============================================================
   INNER PAGES (docs / blog / changelog)
   ============================================================ */
.inner-page { background: var(--paper); }
.page-main { padding: clamp(48px, 7vw, 90px) var(--gutter) clamp(64px, 9vw, 120px); }
.page-title {
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -0.6px;
  font-weight: 600;
  line-height: 1.05;
  max-width: 760px;
  margin-bottom: 18px;
}
.page-title .serif { color: var(--accent); }
.page-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 48px;
}

/* Docs layout */
.page-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 64px); }
.page-side { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 6px; }
.page-side-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.page-side-link {
  color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 7px 10px; border-radius: 9px; transition: background .15s ease, color .15s ease;
}
.page-side-link:hover { color: var(--ink); background: rgba(31,29,26,0.05); }
.page-side-cards { margin-top: 18px; display: grid; gap: 8px; }
.page-side-card {
  font-size: 13.5px; color: var(--ink-soft); text-decoration: none;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper-bright); transition: border-color .15s ease;
}
.page-side-card:hover { border-color: var(--accent); }

.doc-block { margin-bottom: 44px; max-width: 720px; }
.doc-h { font-size: 23px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.3px; }
.doc-block p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 12px; }
.doc-list { padding-left: 20px; display: grid; gap: 10px; color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.doc-list code, .doc-block code {
  font-family: var(--mono); font-size: 0.9em; background: rgba(31,29,26,0.06);
  padding: 2px 6px; border-radius: 6px;
}
.doc-code {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.8;
  background: #161410; color: #d4d4d8; padding: 18px; border-radius: 12px;
  overflow-x: auto; margin-bottom: 16px;
}
.doc-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 15px; }
.doc-table th, .doc-table td {
  text-align: left; padding: 12px 14px; border: 1px solid var(--line);
}
.doc-table th { background: var(--ink); color: var(--paper-bright); font-weight: 600; }
.doc-block a, .callout a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.callout {
  border-left: 3px solid var(--brass); background: var(--paper-bright);
  padding: 16px 18px; border-radius: 0 12px 12px 0; font-size: 15px; color: var(--ink-soft);
}
.callout-warn { border-left-color: var(--accent); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post {
  display: block; text-decoration: none; background: var(--paper-bright);
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.post-tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 14px;
}
.post-title { font-size: 21px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; color: var(--ink); }
.post-excerpt { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.post-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Changelog */
.changelog { display: grid; gap: 18px; max-width: 860px; }
.cl-entry {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  background: var(--paper-bright); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 30px;
}
.cl-version { }
.cl-badge {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--moss-dark); background: rgba(47,93,70,0.12);
  padding: 5px 9px; border-radius: 999px; margin-bottom: 12px;
}
.cl-badge-soon { color: var(--accent); background: rgba(139,63,191,0.12); }
.cl-num { font-size: 28px; font-weight: 600; letter-spacing: -0.5px; }
.cl-date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cl-list { list-style: none; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-soft); }
.cl-list li { padding-left: 24px; position: relative; }
.cl-list li::before {
  content: "＋"; position: absolute; left: 0; color: var(--moss); font-family: var(--mono); font-weight: 600;
}
.cl-list .cl-note::before { content: "!"; color: var(--brass); }
.cl-list .cl-soon::before { content: "·"; color: var(--accent); font-size: 20px; top: -4px; }
.cl-download { margin-top: 16px; font-size: 15px; }
.cl-download a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Extra
homepage footer link row */
.footer-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 26px;
  color: rgba(251,248,241,0.55);
  font-size: 14px;
}
.footer-mini strong { color: rgba(251,248,241,0.8); font-weight: 600; }
.footer-mini a { color: var(--brass-soft); text-decoration: none; }
.footer-mini a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-side { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .cl-entry { grid-template-columns: 1fr; }
}

/* Ecosystem / backlink strip */
.ecosystem { padding: clamp(72px, 10vw, 130px) 0; background: var(--paper-bright); border-block: 1px solid var(--line); }
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.eco-card {
  display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.eco-title { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.eco-body { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin-bottom: 16px; }
.eco-link { font-family: var(--mono); font-size: 13px; color: var(--accent); }
@media (max-width: 760px) { .eco-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(21, 19, 16, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: min(100%, 460px);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 34px 30px;
  box-shadow: 0 40px 100px -30px rgba(21, 19, 16, 0.55);
  transform: translateY(14px) scale(0.98);
  transition: transform .25s ease;
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: 0;
  font-size: 28px; line-height: 1;
  color: var(--muted); cursor: pointer;
  padding: 6px 10px; border-radius: 10px;
}
.modal-close:hover { color: var(--ink); background: rgba(31,29,26,0.05); }
.modal-title { font-size: 26px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 10px; }
.modal-sub { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin-bottom: 22px; }
.modal-footnote { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.modal-footnote a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field {
  width: 100%;
  font-family: var(--sans); font-size: 16px;
  padding: 13px 15px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.field-hint { margin: 8px 0 18px; font-size: 13px; color: var(--muted); }
.modal-textbtn {
  margin-top: 14px; background: none; border: 0;
  color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.modal-plan {
  display: flex; justify-content: space-between; align-items: baseline;
  background: var(--ink); color: var(--paper-bright);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 18px;
}
.modal-plan-name { font-weight: 600; font-size: 17px; }
.modal-plan-price { font-size: 26px; font-weight: 600; color: #fff; }
.modal-plan-price small { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--brass-soft); font-weight: 400; }
.modal-features { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.modal-features li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.modal-features li::before { content: "✓"; color: var(--moss); font-weight: 600; }

.dl-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.dl-buttons .btn { font-size: 14px; padding: 12px 18px; }

/* ============================================================
   VALUE SECTION: what $10 buys
   ============================================================ */
.value { padding: clamp(72px, 10vw, 130px) 0; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.v-card {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.v-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.v-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.v-title { font-size: 19px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
.v-body { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

.value-bars {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 40px;
}
.value-bars-title {
  color: var(--paper-bright);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 28px;
}
.vbar {
  display: grid;
  grid-template-columns: 240px 1fr 140px;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.vbar:last-child { margin-bottom: 0; }
.vbar-label { color: rgba(251,248,241,0.75); font-size: 15px; }
.vbar-track {
  height: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.vbar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  animation: bar-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: left;
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vbar-purple { background: var(--accent-soft); }
.vbar-brass { background: var(--brass); }
.vbar-moss { background: var(--moss); }
.vbar-accent { background: var(--accent-bright); }
.vbar-num { color: var(--brass-soft); font-family: var(--mono); font-size: 14px; text-align: right; }

.value-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
}
.value-cta-text { max-width: 620px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.value-cta-text strong { color: var(--ink); }

@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .vbar { grid-template-columns: 1fr; gap: 8px; }
  .vbar-num { text-align: left; }
}
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
