/* OnlyStamp — private subscription × retro postage */

:root {
  --paper: #f3efe6;
  --paper-2: #fffdf8;
  --ink: #111111;
  --muted: #5a564e;
  --line: #d9d2c5;
  --only: #0094ff;
  --only-deep: #0066d6;
  --only-glow: #3ad0ff;
  --stamp: #ff6a00;
  --stamp-hot: #ff8a1a;
  --stamp-amber: #ffb020;
  --black: #0b0b0b;
  --focus: #0066d6;
  --header-h: 72px;
  --font-ui: "Outfit", system-ui, sans-serif;
  --font-only: "Syne", "Outfit", sans-serif;
  --font-stamp: "Pixelify Sans", "Courier New", monospace;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 180px),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(17, 17, 17, 0.015) 3px, rgba(17, 17, 17, 0.015) 4px),
    var(--paper);
  font-family: var(--font-ui);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
.btn {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.section-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--stamp);
  font-family: var(--font-stamp);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-only);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.95;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost,
.btn-outline,
.btn-outline-light,
.btn-ghost-light {
  background: transparent;
  border: 1.5px solid var(--ink);
}

.btn-ghost-light,
.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.btn-only {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 46%),
    linear-gradient(135deg, var(--only-glow), var(--only) 45%, var(--only-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px rgba(0, 148, 255, 0.28);
}

.btn-stamp,
.btn-buy {
  border-radius: 4px;
  color: #fff;
  background: var(--stamp);
  box-shadow:
    3px 0 0 var(--ink),
    0 3px 0 var(--ink),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
  font-family: var(--font-stamp);
}

.btn-buy {
  background: var(--ink);
  box-shadow:
    3px 0 0 var(--stamp),
    0 3px 0 var(--stamp);
}

.btn-copy {
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.btn-copy.is-copied {
  background: var(--only);
}

.icon {
  width: 14px;
  height: 14px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 7px;
  background: radial-gradient(circle, var(--paper) 3px, transparent 4px) 0 0 / 12px 7px;
  pointer-events: none;
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-word {
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-only {
  font-family: var(--font-only);
  color: var(--only);
}

.brand-stamp {
  font-family: var(--font-stamp);
  color: var(--stamp);
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: 12px;
}

.site-nav a {
  position: relative;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--stamp);
  box-shadow: 2px 2px 0 var(--ink);
}

.header-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-drawer {
  position: sticky;
  top: var(--header-h);
  z-index: 39;
  display: none;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 8px 20px 18px;
}

.mobile-drawer a {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  border-bottom: 1px dashed var(--line);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  padding: 36px 0 64px;
}

.hero-grid {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.badge-pre {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--stamp-amber);
  font-family: var(--font-stamp);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.ticker,
.chain {
  font-weight: 700;
  color: var(--muted);
}

.hero-title {
  margin: 0;
  line-height: 0.82;
  font-size: clamp(4.2rem, 11vw, 8.2rem);
}

.title-only {
  display: block;
  font-family: var(--font-only);
  color: var(--only);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 28px rgba(0, 148, 255, 0.22);
}

.title-stamp {
  display: block;
  font-family: var(--font-stamp);
  color: var(--stamp);
  text-shadow: 4px 4px 0 var(--ink);
}

.hero-headline {
  margin: 22px 0 10px;
  font-family: var(--font-only);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
}

.hero-support,
.hero-line {
  margin: 0 0 8px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-line {
  color: var(--ink);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.ca-module {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  width: min(100%, 560px);
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px dashed var(--ink);
  box-shadow: var(--shadow);
}

.ca-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ca-label {
  font-family: var(--font-stamp);
  font-size: 0.75rem;
  color: var(--stamp);
}

.ca-name {
  font-size: 0.78rem;
  color: var(--muted);
}

.ca-value {
  grid-column: 1;
  font-family: var(--font-stamp);
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.ca-module .btn-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.hero-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 194, 255, 0.22), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(255, 106, 0, 0.18), transparent 55%);
  filter: blur(8px);
}

.hero-mascot {
  position: relative;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 28px rgba(17, 17, 17, 0.16));
  will-change: transform;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles i {
  position: absolute;
  display: block;
}

.hero-particles .px {
  width: 8px;
  height: 8px;
  background: var(--stamp);
  animation: pixel-float 7s ease-in-out infinite;
}

.hero-particles .px:nth-child(1) { top: 14%; left: 8%; animation-delay: 0s; }
.hero-particles .px:nth-child(2) { top: 22%; left: 46%; background: var(--only); animation-delay: 0.6s; }
.hero-particles .px:nth-child(3) { top: 68%; left: 12%; animation-delay: 1.1s; }
.hero-particles .px:nth-child(4) { top: 18%; right: 10%; animation-delay: 1.6s; }
.hero-particles .px:nth-child(5) { bottom: 16%; left: 38%; background: var(--stamp-amber); animation-delay: 0.3s; }
.hero-particles .px:nth-child(6) { top: 42%; right: 18%; animation-delay: 2s; }
.hero-particles .px:nth-child(7) { bottom: 24%; right: 8%; background: var(--only-glow); animation-delay: 0.9s; }
.hero-particles .px:nth-child(8) { top: 8%; left: 28%; animation-delay: 1.4s; }

.hero-particles .hole {
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-radius: 50%;
  animation: hole-pulse 5.5s ease-in-out infinite;
}

.hero-particles .hole:nth-child(9) { top: 30%; left: 18%; }
.hero-particles .hole:nth-child(10) { top: 58%; right: 22%; animation-delay: 1s; }
.hero-particles .hole:nth-child(11) { bottom: 18%; left: 22%; animation-delay: 1.8s; }
.hero-particles .hole:nth-child(12) { top: 12%; right: 28%; animation-delay: 0.4s; }
.hero-particles .hole:nth-child(13) { top: 74%; right: 36%; animation-delay: 2.2s; }

.hero-particles .mini-stamp {
  width: 22px;
  height: 28px;
  border: 2px dashed var(--stamp);
  transform: rotate(-12deg);
  animation: stamp-tilt 8s ease-in-out infinite;
}

.hero-particles .mini-stamp:nth-child(14) { top: 36%; left: 6%; }
.hero-particles .mini-stamp:nth-child(15) { bottom: 12%; right: 16%; animation-delay: 1.5s; }
.hero-particles .mini-stamp:nth-child(16) { top: 8%; right: 42%; animation-delay: 2.4s; }

@keyframes pixel-float {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-14px); opacity: 1; }
}

@keyframes hole-pulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

@keyframes stamp-tilt {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-10px); }
}

/* About */

.about {
  padding: 96px 0 80px;
  background:
    linear-gradient(90deg, rgba(0, 148, 255, 0.05), transparent 28%, transparent 72%, rgba(255, 106, 0, 0.06)),
    var(--paper-2);
}

.about-title {
  margin: 0 0 48px;
  font-family: var(--font-only);
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 0.88;
}

.about-story {
  display: grid;
  gap: 28px;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.story-block {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 0.95;
  font-weight: 800;
}

.only-type {
  font-family: var(--font-only);
  color: var(--only);
}

.stamp-type {
  font-family: var(--font-stamp);
  color: var(--stamp);
}

.story-block.pair {
  font-size: clamp(1.6rem, 4.4vw, 3rem);
}

.story-block.barred span {
  position: relative;
  display: inline-block;
}

.story-block.barred span::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 46%;
  height: 0.18em;
  background: var(--ink);
  transform: scaleX(0.15);
  transform-origin: left;
  transition: transform 0.8s ease;
}

.story-row.is-visible .story-block.barred span::after {
  transform: scaleX(1);
}

.about-closer {
  max-width: 46rem;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

/* How */

.how {
  padding: 90px 0;
}

.how-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
  counter-reset: none;
}

.how-step {
  min-width: 0;
}

.postage-card {
  position: relative;
  height: 100%;
  padding: 28px 24px 36px;
  background:
    radial-gradient(circle at 12px 12px, transparent 7px, var(--paper-2) 8px) 0 0 / 24px 24px;
  background-color: var(--paper-2);
  box-shadow: var(--shadow);
}

.how-num {
  font-family: var(--font-stamp);
  color: var(--stamp);
}

.postage-card h3 {
  margin: 8px 0 10px;
  font-family: var(--font-only);
  font-size: 2rem;
}

.postage-card p {
  margin: 0;
  color: var(--muted);
}

.postmark {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 106, 0, 0.55);
  border-radius: 50%;
  color: var(--stamp);
  font-family: var(--font-stamp);
  font-size: 0.78rem;
  transform: rotate(-18deg);
  opacity: 0.8;
}

/* Split */

.split {
  display: flex;
  min-height: 78vh;
}

.split-half {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: flex 0.45s ease;
}

.split-only {
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(160deg, #3ad0ff, #0094ff 42%, #0057c2);
}

.split-stamp {
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 4px, transparent 4px 8px),
    linear-gradient(160deg, #ffb020, #ff6a00 50%, #111);
}

.split-half:hover,
.split-half:focus-within {
  flex: 1.28 1 58%;
}

.split-inner {
  width: min(460px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
}

.split-kicker {
  margin: 0 0 8px;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.split-only .split-kicker,
.split-only h2 {
  font-family: var(--font-only);
}

.split-stamp .split-kicker,
.split-stamp h2 {
  font-family: var(--font-stamp);
}

.split-half h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.92;
}

.split-copy {
  margin: 0 0 28px;
  max-width: 26rem;
}

.sub-card {
  width: min(280px, 100%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.sub-lock {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  border: 3px solid #fff;
  border-radius: 6px;
  position: relative;
}

.sub-lock::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -10px;
  width: 8px;
  height: 10px;
  border: 3px solid #fff;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.sub-bars span {
  display: block;
  height: 8px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.sub-bars span:nth-child(2) { width: 72%; }
.sub-bars span:nth-child(3) { width: 48%; }

.sub-card p {
  margin: 10px 0 0;
  font-weight: 800;
}

.pixel-cancel {
  display: inline-block;
  padding: 14px 18px;
  border: 4px solid #fff;
  box-shadow: 6px 6px 0 #111;
  transform: rotate(-8deg);
  font-family: var(--font-stamp);
  letter-spacing: 0.08em;
}

/* Manifesto */

.manifesto {
  min-height: 86vh;
  display: grid;
  place-content: center;
  padding: 80px 24px;
  background: var(--black);
  color: #fff;
  text-align: center;
}

.manifesto-line {
  margin: 0;
  font-family: var(--font-only);
  font-size: clamp(2.1rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.manifesto-line:nth-child(2) {
  transition-delay: 0.12s;
  color: var(--only-glow);
}

.manifesto-line:nth-child(3) {
  transition-delay: 0.24s;
  font-family: var(--font-stamp);
  color: var(--stamp-hot);
}

.manifesto-line.is-visible {
  opacity: 1;
  transform: none;
}

/* Machine */

.machine-section {
  padding: 96px 0;
  background: var(--paper-2);
}

.machine-lede,
.chart-lede {
  max-width: 40rem;
  color: var(--muted);
}

.machine {
  margin-top: 36px;
  padding: 28px 20px 32px;
  background: #111;
  color: #fff;
  box-shadow: 8px 8px 0 var(--stamp);
}

.machine-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  text-align: center;
  color: var(--stamp-amber);
}

.machine-stage {
  position: relative;
  height: 260px;
  margin-bottom: 22px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 8px, transparent 8px 16px),
    #171717;
  border: 2px dashed #3a3a3a;
}

.machine-token {
  position: absolute;
  top: 58%;
  left: 6%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff, #14f195 28%, #9945ff);
  box-shadow: 0 0 0 3px #111, 0 0 0 6px #14f195;
  transform: translateY(-50%);
}

.machine-press {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(240px, 46%);
  height: 100%;
  transform: translateX(-50%);
}

.machine-arm {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 18px;
  height: 78px;
  transform: translateX(-50%);
  transform-origin: top center;
  background: linear-gradient(#ddd, #777);
}

.machine-handle {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 54px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--stamp);
}

.machine-head {
  position: absolute;
  left: 50%;
  bottom: -36px;
  width: 92px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  background: var(--stamp);
  color: #111;
  font-family: var(--font-stamp);
  font-size: 0.75rem;
  box-shadow: 4px 4px 0 #000;
}

.machine-chamber {
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 150px;
  height: 78px;
  transform: translateX(-50%);
  background: #0d0d0d;
  border: 3px solid #444;
}

.machine-slot {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 10px;
  background: #2a2a2a;
}

.machine-flash {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 176, 32, 0.8) 0 4px, transparent 4px 8px),
    #fff;
  opacity: 0;
}

.machine-receipt {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 88px;
  height: 108px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 8px 8px, transparent 5px, #ff8a1a 6px) 0 0 / 16px 16px;
  color: #111;
  opacity: 0;
  transform: translate(40px, -50%) rotate(8deg);
}

.receipt-title,
.receipt-meta {
  font-family: var(--font-stamp);
  font-size: 0.7rem;
}

.machine.is-stamping .machine-token {
  animation: token-in 0.7s ease forwards;
}

.machine.is-stamping .machine-arm {
  animation: punch 0.38s 0.72s ease-in;
}

.machine.is-stamping .machine-flash {
  animation: flash 0.22s 0.88s linear;
}

.machine.is-stamping .machine-receipt {
  animation: receipt-out 0.7s 1.05s ease forwards;
}

.machine .btn-stamp {
  display: block;
  margin: 0 auto 8px;
  min-width: 180px;
}

.machine-note {
  margin: 0;
  text-align: center;
  color: #9a9a9a;
  font-size: 0.88rem;
}

@keyframes token-in {
  0% { left: 6%; }
  70% { left: 47%; opacity: 1; }
  100% { left: 47%; opacity: 0; }
}

@keyframes punch {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  55% { transform: translateX(-50%) translateY(42px); }
}

@keyframes flash {
  0%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@keyframes receipt-out {
  0% { opacity: 0; transform: translate(10px, -50%) rotate(8deg); }
  100% { opacity: 1; transform: translate(0, -50%) rotate(-6deg); }
}

/* Chart */

.chart-section {
  padding: 90px 0;
}

.chart-frame {
  position: relative;
  margin-top: 28px;
  min-height: 420px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.postage-frame {
  background:
    radial-gradient(circle at 12px 12px, transparent 7px, var(--paper-2) 8px) 0 0 / 24px 24px;
}

.chart-embed {
  height: 460px;
}

.chart-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-veil {
  position: absolute;
  inset: 18px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background: rgba(243, 239, 230, 0.86);
  text-align: center;
}

.chart-veil p {
  margin: 0;
  font-family: var(--font-only);
  font-size: 1.4rem;
}

/* Contract */

.contract {
  padding: 40px 0 90px;
}

.ca-card {
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 42px 28px;
}

.ca-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.ca-card-ticker {
  margin: 0;
  font-family: var(--font-only);
  font-size: 2rem;
  color: var(--only);
}

.ca-card-value {
  margin: 6px 0 18px;
  font-family: var(--font-stamp);
  font-size: clamp(0.95rem, 3vw, 1.2rem);
  line-height: 1.4;
  color: var(--stamp);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.ca-card-note {
  margin: 10px 0 18px;
  color: var(--muted);
}

/* Finale */

.finale {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.finale-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finale-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.55));
}

.finale-copy {
  position: relative;
  z-index: 1;
  width: min(800px, calc(100% - 32px));
  padding: 72px 0;
}

.finale-verbs {
  margin: 0 0 16px;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.9;
}

.finale-verbs span:first-child {
  font-family: var(--font-only);
}

.finale-verbs span:last-child {
  font-family: var(--font-stamp);
  color: var(--stamp-amber);
}

.finale-quote {
  margin: 0 0 28px;
  font-size: 1.2rem;
}

.finale-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */

.site-footer {
  background: var(--black);
  color: #d7d3cb;
  padding: 42px 0 32px;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand p {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.footer-x {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--only-glow);
  font-weight: 700;
}

.footer-disclaimer {
  max-width: 46rem;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.copy-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 0;
    order: -1;
  }

  .hero-mascot {
    width: min(100%, 420px);
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .story-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .how-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .split {
    flex-direction: column;
    min-height: 0;
  }

  .split-half,
  .split-half:hover,
  .split-half:focus-within {
    flex: 1 1 auto;
  }

  .machine-labels {
    font-size: 0.7rem;
  }

  .machine-stage {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 18px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 20vw, 4.6rem);
  }

  .ca-module {
    grid-template-columns: 1fr;
  }

  .ca-module .btn-copy {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .about,
  .how,
  .machine-section,
  .chart-section {
    padding: 72px 0;
  }

  .finale-actions .btn {
    min-width: 44%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .manifesto-line {
    opacity: 1;
    transform: none;
  }
}
