/* ARRO site styles: tokens from the ARRO Brand Kit */
:root {
  --surface: #FBF3E8;
  --surface-raised: #FFFAF3;
  --surface-sunken: #F3E4D0;
  --line: #E4CDB3;
  --ink: #3D0F05;
  --ink-muted: #7A5446;
  --saffron: #FDB813;
  --rojo: #F0521F;
  --plum: #6B1A4D;
  --teal: #00707D;
  --butter: #FDE6AE;
  --error: #B3261E;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --pad-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.on-dark a:focus-visible { outline-color: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.display { font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; text-transform: uppercase; }
.eyebrow { margin: 0; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }
.h1 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 700; }
.lead { margin: 0; font-size: 18px; line-height: 28px; max-width: 34em; text-wrap: pretty; }
.body { margin: 0; font-size: 16px; line-height: 24px; }
.muted { color: var(--ink-muted); }
.stack { display: flex; flex-direction: column; }

/* Buttons */
.btn { height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 16px/1 var(--font-sans); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--ink); color: var(--surface); }
.btn-primary { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.btn-primary:hover { background: #E9A700; border-color: #E9A700; color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--surface); height: 44px; padding: 0 20px; font-size: 15px; }
.btn-dark:hover { background: #5A1D0E; border-color: #5A1D0E; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.site-header .logo { display: flex; align-items: center; min-height: 44px; }
.site-header .logo img { height: 30px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
.nav-link { color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(56px, 6vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Waitlist form */
.join { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.join form { display: flex; flex-wrap: wrap; gap: 12px; }
.input { flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ink-muted); background: var(--surface-raised); color: var(--ink); font: 16px var(--font-sans); }
.input::placeholder { color: var(--ink-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; font-size: 14px; line-height: 20px; color: var(--error); }
.hint { margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.joined { background: var(--butter); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; max-width: 560px; }

/* Box lineup illustration */
.lineup { flex: 1.6 1 460px; min-width: 0; position: relative; min-height: clamp(300px, 34vw, 480px); background: var(--surface-sunken); border-radius: 20px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: clamp(24px, 3vw, 40px) clamp(16px, 2.6vw, 36px); }
.lineup-tri { position: absolute; left: 50%; bottom: 0; width: 92%; aspect-ratio: 1.16; transform: translateX(-50%); background: var(--butter); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.box { position: relative; z-index: 1; flex: 0 0 auto; width: 32%; aspect-ratio: 5 / 7; container-type: inline-size; border-radius: 6px; }
.box-in { position: absolute; inset: 0; padding: 7cqw; display: flex; flex-direction: column; gap: 3cqw; }
.box-1 { background: var(--saffron); color: var(--ink); transform: rotate(-2deg); margin-right: -1%; }
.box-2 { background: var(--rojo); color: var(--ink); width: 36%; z-index: 2; }
.box-3 { background: var(--teal); color: var(--surface); transform: rotate(2deg); margin-left: -1%; }
.box-3 .box-name { color: var(--butter); }
.box-logo { width: 50cqw; height: auto; display: block; align-self: center; }
.box-eyebrow { margin: 0; text-align: center; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 700; font-size: 4.2cqw; letter-spacing: 0.08em; text-transform: uppercase; }
.box-name { margin: 2cqw 0 0; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; font-size: 17cqw; line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; }
.box-stats { display: flex; align-items: stretch; gap: 3cqw; }
.box-stats p { margin: 0; font-family: var(--font-display); font-stretch: 87.5%; }
.box-stat-num { font-weight: 800; font-size: 10cqw; line-height: 1; }
.box-stat-word { font-weight: 800; font-size: 7.5cqw; line-height: 1.15; }
.box-stat-label { font-weight: 700; font-size: 3.6cqw; margin-top: .6cqw !important; text-transform: uppercase; }
.box-stat-split { border-left: .8cqw solid currentColor; padding-left: 3cqw; }
.box-window { flex: 1 1 0; min-height: 0; position: relative; overflow: hidden; border-radius: 5cqw; background-color: var(--surface-raised); background-image: radial-gradient(ellipse 42% 28% at 50% 50%, var(--line) 0 60%, transparent 66%), radial-gradient(ellipse 42% 28% at 50% 50%, var(--surface-sunken) 0 60%, transparent 66%); background-size: 8cqw 4.4cqw, 8cqw 4.4cqw; background-position: 0 0, 4cqw 2.2cqw; }
.box-window::after { content: ""; position: absolute; left: 8%; bottom: 0; width: 34%; aspect-ratio: 1 / .87; background: var(--saffron); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.box-1 .box-window::after { background: var(--ink); }
.box-net { margin: 0; font-size: 3.4cqw; font-weight: 500; }
.box-sticker { position: absolute; right: -10cqw; top: 60%; display: inline-flex; align-items: center; gap: 2cqw; padding: 2.4cqw 4.4cqw; border-radius: 999px; background: var(--saffron); color: var(--ink); font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; font-size: 4.6cqw; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; transform: rotate(-6deg); }
.box-sticker::before { content: ""; width: 0; height: 0; border-left: 1.8cqw solid transparent; border-right: 1.8cqw solid transparent; border-bottom: 3cqw solid currentColor; }

/* Stickers */
.stickers { display: flex; flex-wrap: wrap; gap: 12px; padding: 4px 0; }
.sticker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--saffron); color: var(--ink); font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; transform: rotate(-3deg); }
.sticker + .sticker { transform: rotate(2deg); }
.sticker::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid currentColor; }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.stats { background: var(--butter); border-radius: 12px; padding: 20px 24px; display: flex; flex-wrap: wrap; row-gap: 16px; }
.stat { padding: 0 24px; border-left: 2px solid var(--ink); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat:last-child { padding-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.stat-word b { font-size: 28px; line-height: 1.43; }
.stat span { display: block; margin-top: 4px; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }

/* Sections */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.sunken { background: var(--surface-sunken); }

/* Flavor cards */
.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }
.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.card-top { padding: 24px; min-height: 172px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.card-top .eyebrow { font-size: 12px; }
.card-name { margin: 0; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; font-size: 44px; line-height: .92; letter-spacing: -0.01em; text-transform: uppercase; }
.card-body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; flex: 1 1 auto; }
.card-body p:first-child { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.bg-saffron { background: var(--saffron); color: var(--ink); }
.bg-rojo { background: var(--rojo); color: var(--ink); }
.bg-teal { background: var(--teal); color: var(--surface); }
.bg-plum { background: var(--plum); color: var(--surface); }
.bg-teal .card-name, .bg-plum .card-name { color: var(--butter); }

/* Steps */
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.step-num { margin: 0; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; font-size: 56px; line-height: .92; }

/* Story teaser */
.teaser { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.teaser-title { margin: 0; flex: 1 1 420px; font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800; font-size: clamp(48px, 6.4vw, 96px); line-height: .92; letter-spacing: -0.01em; text-transform: uppercase; }
.teaser-copy { flex: 1 1 360px; max-width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* Waitlist band */
.band { background: var(--surface-sunken); border-radius: 20px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.band-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.band-form { flex: 1 1 380px; min-width: 0; max-width: 560px; }

/* Beliefs */
.beliefs { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.belief { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.tri { width: 28px; height: 24px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Footer */
.site-footer { background: var(--ink); color: var(--surface); }
.site-footer .wrap { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-top img { height: 36px; width: auto; display: block; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav .eyebrow { color: var(--butter); margin-bottom: 4px; }
.footer-nav a { color: var(--surface); text-decoration: none; font-size: 16px; line-height: 24px; padding: 10px 0; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { margin: 0; padding-top: 24px; border-top: 1px solid var(--ink-muted); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--line); }

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