/* Covered site. Dark theme with a gold accent. Every text pair clears WCAG AA (see tools/check_site.py). */
:root {
  --paper: #141414;
  --surface: #1F1F1F;
  --blob: #1C1C1C;
  --hill: #1A1A1A;
  --ink: #FFFFFF;
  --muted: #B8B8B8;
  --line: #2C2C2C;
  --gold: #F8BD32;
  --gold-pressed: #FFCD57;
  --on-gold: #1F1F1F;
  --green: #7FCFA2;
  --warn: #FF8A7A;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 80px; --space-9: 120px;
  --font: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--space-6); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.5 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-pressed); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 var(--space-4); }
.wrap.prose > * { max-width: 680px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); background: var(--surface); padding: var(--space-2) var(--space-3); z-index: 10; }

.gold { color: var(--gold); }
.green { color: var(--green); }

/* Buttons: gold pills */
.button {
  font: 700 16px/1 var(--font); min-height: 56px; padding: 0 var(--space-6); border: 2px solid var(--gold); border-radius: 53px;
  background: var(--gold); color: var(--on-gold); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
}
.button:hover { background: var(--gold-pressed); border-color: var(--gold-pressed); color: var(--on-gold); }
.button[disabled] { cursor: progress; }
.button.small { min-height: 36px; min-width: 120px; padding: 0 var(--space-4); font-size: 12px; }
.button.large { min-width: 320px; }
.button.outline, .button.secondary { background: transparent; color: var(--gold); }
.button.outline:hover, .button.secondary:hover { background: rgba(248, 189, 50, .12); color: var(--gold-pressed); }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 26px; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: var(--space-3); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: var(--space-6) 0 var(--space-9); }
.hill { position: absolute; left: -30%; right: -30%; bottom: -260px; height: 520px; border-radius: 50%; background: var(--hill); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
h1 { font-size: clamp(36px, 4.6vw, 48px); line-height: 1.3; margin: 0 0 var(--space-6); }
.lede { font-size: 18px; line-height: 1.4; margin: 0 0 var(--space-7); max-width: 40ch; }
.hero-shot { display: grid; place-items: center; perspective: 1600px; padding: var(--space-5) 0; }
.phone { width: 100%; max-width: 280px; border-radius: 42px; border: 10px solid #0A0A0A; box-shadow: 0 0 0 2px #3A3A3A, 0 30px 60px rgba(0,0,0,.55); background: #000; }
.phone.tilt { transform: rotateX(16deg) rotateY(-18deg) rotateZ(14deg); }

/* Badges */
.badges { padding: var(--space-7) 0 var(--space-6); }
.badges ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin: 0 auto; }
.badges li { display: grid; justify-items: center; gap: var(--space-3); text-align: center; font-weight: 700; font-size: 14px; line-height: 1.3; }

/* Features */
.feature { padding: var(--space-8) 0; }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.feature.flip .shot { order: 2; }
.shot { position: relative; display: grid; place-items: center; padding: var(--space-6) 0; }
.shot::before { content: ""; position: absolute; width: min(110%, 480px); aspect-ratio: 1; border-radius: 50%; background: var(--blob); }
.shot .phone { position: relative; }
.copy { text-align: center; display: grid; justify-items: center; }
.art { width: 200px; height: auto; margin-bottom: var(--space-4); }
.copy h2 { font-size: 32px; line-height: 1.25; margin: 0 0 var(--space-4); }
.copy p { font-size: 18px; line-height: 1.4; color: var(--muted); margin: 0; max-width: 34ch; }

/* Store carousel (in place of testimonials) */
.stores { padding: var(--space-8) 0; }
.stores h2 { font-size: 32px; text-align: center; margin: 0 0 var(--space-3); }
.stores .sub { text-align: center; color: var(--muted); font-size: 18px; margin: 0 0 var(--space-7); }
.carousel { position: relative; max-width: 1180px; margin: 0 auto; }
.track {
  list-style: none; margin: 0; padding: var(--space-2) max(var(--space-4), calc((100% - 948px) / 2)) var(--space-5);
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(var(--space-4), calc((100% - 948px) / 2));
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: var(--surface); border-radius: 20px; padding: var(--space-5); display: grid; align-content: start; gap: var(--space-1); min-height: 220px; }
.card p { margin: 0; }
.card-store { font-weight: 700; font-size: 18px; }
.card-days { font-weight: 900; font-size: 36px; color: var(--gold); line-height: 1.1; margin-top: var(--space-3) !important; }
.card-start { color: var(--muted); font-size: 14px; }
.card-note { color: var(--ink); font-size: 15px; line-height: 1.4; margin-top: var(--space-4) !important; }
.arrow {
  position: absolute; top: 40%; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold);
  background: var(--paper); color: var(--gold); font: 700 26px/1 var(--font); cursor: pointer; display: grid; place-items: center; padding-bottom: 4px;
}
.arrow:hover { background: var(--surface); }
.arrow.prev { left: var(--space-2); }
.arrow.next { right: var(--space-2); }

/* Closing CTA */
.closer { padding: var(--space-8) 0 var(--space-9); text-align: center; }
.closer h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; margin: 0 0 var(--space-3); }
.closer p { color: var(--muted); font-size: 18px; margin: 0 0 var(--space-6); }
.closer .signup { margin: 0 auto; justify-content: center; }

/* Forms */
.signup { display: flex; gap: var(--space-3); max-width: 560px; flex-wrap: wrap; align-items: flex-start; }
.signup .field { flex: 1 1 260px; text-align: left; }
.signup input[type="email"] { border-radius: 53px; padding: 0 var(--space-5); min-height: 56px; }
label.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input[type="email"], input[type="text"], textarea {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--ink); background: var(--surface);
  border: 2px solid #4A4A4A; border-radius: 16px; padding: 13px 16px; min-height: 52px;
}
input::placeholder, textarea::placeholder { color: #8C8C8C; }
input:focus, textarea:focus { border-color: var(--gold); outline: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--warn); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--warn); font-size: 14px; margin: var(--space-1) 0 0 var(--space-4); min-height: 1.4em; text-align: left; }
.status { font-size: 15px; margin: var(--space-2) 0 0; flex-basis: 100%; }
.status:empty { display: none; }
.turnstile { flex-basis: 100%; display: flex; justify-content: center; }
.stack { display: grid; gap: var(--space-2); max-width: 560px; margin-top: var(--space-5); }
.stack label { font-weight: 700; font-size: 15px; display: block; margin-bottom: var(--space-1); }
.stack .error { margin-left: 0; }
.stack .button { justify-self: start; }
.stack .turnstile { justify-content: flex-start; }

/* Legal and plain pages */
.page { padding: var(--space-7) 0 var(--space-9); }
.page h1 { font-size: 40px; line-height: 1.2; margin-bottom: var(--space-5); }
.page p, .page li { max-width: 68ch; color: var(--muted); line-height: 1.6; }
.page h2 { font-size: 22px; margin: var(--space-6) 0 var(--space-2); }
.page h2.spaced { font-size: 28px; margin-top: var(--space-8); }
.page h3 { font-size: 18px; margin: var(--space-5) 0 var(--space-1); }
.meta { font-family: var(--mono); font-size: 14px; }

/* Footer */
.site-footer { padding: var(--space-6) 0 var(--space-7); text-align: center; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5); margin-bottom: var(--space-4); }
.site-footer a, .linkish { color: var(--ink); text-decoration: none; font: 700 13px var(--font); }
.site-footer a:hover, .linkish:hover { color: var(--gold); }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; }
.site-footer p { margin: 0; }

/* Consent */
.consent {
  position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 20;
  max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px; padding: var(--space-4) var(--space-5);
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.consent p { margin: 0 0 var(--space-3); font-size: 15px; }
.consent .actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.consent .button { min-height: 44px; flex: 1 1 140px; font-size: 14px; }

@media (max-width: 820px) {
  .hero { padding: var(--space-4) 0 var(--space-8); text-align: left; }
  .hero .wrap, .feature .wrap { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-shot { padding: var(--space-6) 0 0; }
  .phone { max-width: 230px; border-radius: 34px; border-width: 8px; }
  .phone.tilt { transform: rotateX(12deg) rotateY(-12deg) rotateZ(10deg); }
  .badges ul { grid-template-columns: 1fr 1fr; row-gap: var(--space-6); }
  .feature { padding: var(--space-7) 0; }
  .feature.flip .shot { order: 0; }
  .copy h2, .stores h2 { font-size: 28px; }
  .arrow { display: none; }
}
@media (max-width: 520px) {
  .nav .outline { display: none; }
  .brand { font-size: 22px; }
  .button.large, .signup .button { width: 100%; min-width: 0; }
  .track { grid-auto-columns: 78%; }
}

/* ---- Taste + Impeccable pass ---- */

/* Display tracking tightens as size grows; body stays at 0. */
h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.015em; }
.field-label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 var(--space-2) var(--space-4); }
.closer .field { text-align: left; }

/* Browser surfaces carry the palette too. */
::selection { background: rgba(248, 189, 50, .35); color: var(--ink); }
input, textarea { caret-color: var(--gold); }
html { scrollbar-color: #3A3A3A var(--paper); }
.card-days, .proof strong { font-variant-numeric: tabular-nums; }
.phone { background: #0A0A0A; }
.arrow { padding: 0; }

/* Phone-native baseline: no tap flash, no 300ms delay, no selecting button labels. */
html { -webkit-tap-highlight-color: transparent; }
button, a, .button, .arrow, [role="button"] { touch-action: manipulation; }
button, .button, .arrow { -webkit-user-select: none; user-select: none; }

/* Press feedback on touch-down for every input type; hover only where hover exists. */
.button, .arrow { transition: transform 120ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease-out; }
.button:active, .arrow:active { transform: scale(.97); }
@media (hover: none) {
  .button:hover { background: var(--gold); border-color: var(--gold); }
  .button.outline:hover, .button.secondary:hover { background: transparent; color: var(--gold); }
  .arrow:hover { background: var(--paper); }
  .site-footer a:hover, .linkish:hover { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .button, .arrow { transition: none; }
  .button:active, .arrow:active { transform: none; }
}

/* Arrows sit below the cards so they never cover text. */
.arrow { position: static; }
.carousel-controls { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }
@media (max-width: 820px) { .carousel-controls { display: none; } }
