:root {
  color-scheme: light;
  --ink: oklch(18% 0.03 35);
  --muted: oklch(48% 0.035 270);
  --paper: oklch(98% 0.006 205);
  --porcelain: oklch(95% 0.014 176);
  --wine: oklch(36% 0.16 19);
  --wine-deep: oklch(27% 0.13 18);
  --olive: oklch(44% 0.10 128);
  --brass: oklch(65% 0.13 82);
  --blue: oklch(58% 0.14 253);
  --line: oklch(86% 0.018 185);
  --shadow: oklch(20% 0.03 35 / 16%);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", "Avenir Next", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, oklch(95% 0.012 185 / 82%) 1px, transparent 1px),
    linear-gradient(180deg, oklch(95% 0.012 185 / 82%) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 12px;
  background: var(--wine);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 10;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 10px 10px 14px;
  border: 1px solid oklch(100% 0 0 / 45%);
  border-radius: 8px;
  background: oklch(99% 0.004 205 / 84%);
  box-shadow: 0 18px 40px var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.pilot-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--wine);
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.header-cta {
  text-decoration: none;
}

.nav-links a:focus-visible,
.header-cta:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.header-cta {
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding: 152px max(24px, calc((100vw - var(--max)) / 2)) 84px;
  background: var(--porcelain);
}

.kit-hero {
  display: grid;
  min-height: 84vh;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: 48px;
  align-items: end;
  padding: 152px max(24px, calc((100vw - var(--max)) / 2)) 84px;
  background:
    linear-gradient(115deg, oklch(96% 0.017 176) 0%, oklch(98% 0.007 205) 58%, oklch(95% 0.026 82) 100%);
}

.kit-hero-copy {
  max-width: 760px;
}

.kit-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.kit-facts div {
  border: 1px solid oklch(78% 0.05 82);
  border-radius: 8px;
  padding: 18px;
  background: oklch(100% 0 0 / 58%);
  box-shadow: 0 18px 48px oklch(20% 0.03 40 / 7%);
}

.kit-facts dt {
  color: var(--wine);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kit-facts dd {
  margin: 6px 0 0;
  font-size: 19px;
  font-weight: 850;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 18vh;
  content: "";
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--porcelain) 0%, oklch(95% 0.014 176 / 86%) 44%, oklch(95% 0.014 176 / 28%) 100%),
    linear-gradient(180deg, oklch(98% 0.006 205 / 0%) 0%, var(--paper) 100%);
  z-index: 2;
}

.phone {
  position: absolute;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 38px 80px oklch(18% 0.04 35 / 22%);
}

.phone-scan {
  right: max(34px, calc((100vw - var(--max)) / 2 + 242px));
  top: 96px;
  transform: rotate(-5deg);
}

.phone-picks {
  right: max(12px, calc((100vw - var(--max)) / 2));
  top: 58px;
  transform: rotate(4deg);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(640px, 100%);
}

.eyebrow,
.feature-label,
.timeline-label {
  margin: 0 0 12px;
  color: var(--wine);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: 88px;
}

h2 {
  font-size: 52px;
}

h3 {
  font-size: 30px;
}

.hero-lede {
  max-width: 570px;
  margin: 24px 0 0;
  color: oklch(34% 0.04 270);
  font-size: 22px;
  line-height: 1.42;
}

.hero-actions,
.pilot-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
}

.button-secondary {
  background: oklch(100% 0 0 / 54%);
  color: var(--wine-deep);
}

.hero-stats {
  display: grid;
  width: min(560px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 44px 0 0;
}

.hero-stats div {
  border: 1px solid oklch(86% 0.025 82 / 70%);
  border-radius: 8px;
  padding: 14px;
  background: oklch(100% 0 0 / 34%);
}

.hero-stats dt {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 850;
}

.band {
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
}

.problem-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: oklch(99% 0.004 205 / 84%);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.problem-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.problem-copy p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.timeline article,
.kit-card,
.pilot-flow-list article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: oklch(100% 0 0 / 76%);
  box-shadow: 0 18px 48px oklch(20% 0.03 40 / 7%);
}

.kit-band {
  background: oklch(99% 0.004 205 / 86%);
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kit-card p,
.pilot-flow-list p,
.email-band p,
.final-kit-cta p {
  color: var(--muted);
}

.flow-band {
  border-top: 1px solid var(--line);
  background: oklch(95% 0.018 158);
}

.pilot-flow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kit-safety-band {
  background: var(--wine-deep);
  color: white;
}

.kit-safety-band .eyebrow,
.kit-safety-band .restaurant-list strong {
  color: var(--brass);
}

.kit-table {
  display: grid;
  border: 1px solid oklch(76% 0.06 82);
  border-radius: 8px;
  overflow: hidden;
  background: oklch(99% 0.008 88 / 88%);
  box-shadow: 0 22px 56px oklch(34% 0.06 55 / 12%);
}

.kit-table div {
  display: grid;
  grid-template-columns: minmax(160px, 0.48fr) 1fr;
  gap: 18px;
  padding: 18px;
}

.kit-table div + div {
  border-top: 1px solid oklch(84% 0.035 82);
}

.kit-table span {
  color: oklch(40% 0.04 70);
}

.email-band {
  background: oklch(93% 0.028 176);
}

.email-script {
  display: grid;
  gap: 12px;
  border: 1px solid oklch(74% 0.05 176);
  border-radius: 8px;
  padding: 24px;
  background: oklch(98% 0.008 176 / 84%);
  box-shadow: 0 22px 56px oklch(20% 0.04 185 / 12%);
}

.email-script p {
  margin: 0;
}

.objection-grid .kit-card {
  min-height: 230px;
}

.final-kit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  background: var(--porcelain);
}

.final-kit-cta div {
  max-width: 760px;
}

.feature-card p,
.timeline p,
.restaurant-layout p,
.pilot-copy p {
  color: var(--muted);
}

.decoder-band {
  border-top: 1px solid var(--line);
  background: oklch(93% 0.028 176);
}

.decoder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.decoder-copy {
  max-width: 680px;
}

.decoder-copy p {
  color: oklch(36% 0.045 185);
  font-size: 20px;
}

.decoder-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.decoder-examples button {
  min-height: 42px;
  border: 1px solid oklch(72% 0.055 176);
  border-radius: 8px;
  padding: 9px 12px;
  background: oklch(98% 0.008 176 / 76%);
  color: oklch(25% 0.04 185);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.decoder-examples button:hover {
  transform: translateY(-2px);
  background: oklch(100% 0 0 / 92%);
}

.decoder-tool {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid oklch(74% 0.05 176);
  border-radius: 8px;
  background: oklch(98% 0.008 176 / 84%);
  box-shadow: 0 22px 56px oklch(20% 0.04 185 / 12%);
}

.decoder-ticket,
.decoder-result {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.decoder-ticket {
  background:
    linear-gradient(180deg, oklch(100% 0 0 / 76%), oklch(96% 0.012 176 / 76%)),
    repeating-linear-gradient(90deg, transparent 0 22px, oklch(82% 0.035 176 / 40%) 22px 23px);
}

.decoder-result {
  background: var(--wine-deep);
  color: white;
}

.decoder-result .calc-label {
  color: var(--brass);
}

.decoder-result p {
  margin: 4px 0 0;
  color: oklch(91% 0.02 95);
}

.decoder-result .button-secondary {
  border-color: oklch(88% 0.06 82);
  background: oklch(100% 0 0 / 9%);
  color: white;
}

.decoder-tool textarea {
  min-height: 94px;
}

.decoder-tool button:focus-visible,
.decoder-examples button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.restaurant-band {
  background: var(--wine-deep);
  color: white;
}

.restaurant-band .eyebrow,
.restaurant-band .restaurant-list strong {
  color: var(--brass);
}

.restaurant-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 60px;
  align-items: start;
}

.restaurant-layout p {
  max-width: 560px;
  color: oklch(90% 0.018 112);
  font-size: 20px;
}

.restaurant-list {
  display: grid;
  gap: 12px;
}

.restaurant-list div {
  border: 1px solid oklch(82% 0.07 82 / 42%);
  border-radius: 8px;
  padding: 18px;
  background: oklch(100% 0 0 / 7%);
}

.restaurant-list strong,
.restaurant-list span {
  display: block;
}

.restaurant-list span {
  margin-top: 5px;
  color: oklch(90% 0.018 112);
}

.proof-band {
  background: oklch(97% 0.015 88);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: start;
}

.proof-copy {
  max-width: 700px;
}

.proof-copy p {
  color: oklch(38% 0.045 65);
  font-size: 20px;
}

.proof-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.proof-list div {
  display: grid;
  gap: 5px;
  border-top: 1px solid oklch(78% 0.05 82);
  padding-top: 14px;
}

.proof-list strong,
.calc-results strong {
  font-size: 20px;
  font-weight: 850;
}

.proof-list span {
  color: oklch(40% 0.04 70);
}

.calculator {
  display: grid;
  gap: 18px;
  border: 1px solid oklch(76% 0.06 82);
  border-radius: 8px;
  padding: 24px;
  background: oklch(99% 0.008 88 / 88%);
  box-shadow: 0 22px 56px oklch(34% 0.06 55 / 12%);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calculator-grid label span::after {
  color: var(--muted);
  font-weight: 700;
}

.calculator-grid label:nth-child(2) span::after,
.calculator-grid label:nth-child(3) span::after {
  content: " (%)";
}

.calc-results {
  display: grid;
  border-top: 1px solid oklch(80% 0.045 82);
  border-bottom: 1px solid oklch(80% 0.045 82);
}

.calc-results div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}

.calc-results div + div {
  border-top: 1px solid oklch(86% 0.028 82);
}

.calc-label {
  color: oklch(44% 0.04 70);
  font-size: 14px;
  font-weight: 800;
}

.launch-band {
  background: oklch(95% 0.018 158);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.pilot-band {
  border-top: 1px solid var(--line);
}

.pilot-copy {
  max-width: 760px;
}

.lead-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: oklch(100% 0 0 / 72%);
  box-shadow: 0 18px 48px oklch(20% 0.03 40 / 7%);
}

.form-intro,
.privacy-note,
.form-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: oklch(100% 0 0 / 92%);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.consent-row input {
  min-height: auto;
  margin-top: 2px;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status[data-state="success"] {
  color: var(--olive);
  font-weight: 800;
}

.form-status[data-state="error"] {
  color: var(--wine);
  font-weight: 800;
}

.privacy-note a {
  color: var(--wine);
  font-weight: 800;
}

.form-intro a {
  color: var(--wine);
  font-weight: 800;
}

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

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-media {
    opacity: 0.24;
  }

  .phone {
    width: 250px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  .section-grid,
  .decoder-layout,
  .restaurant-layout,
  .proof-layout,
  .pilot-layout,
  .kit-hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .timeline,
  .decoder-tool,
  .kit-grid,
  .pilot-flow-list {
    grid-template-columns: 1fr;
  }

  .kit-hero {
    min-height: auto;
    padding-top: 132px;
  }

  .final-kit-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 116px 20px 64px;
  }

  .phone-scan {
    right: 36px;
    top: 170px;
  }

  .phone-picks {
    right: -64px;
    top: 70px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 25px;
  }

  .hero-lede {
    font-size: 18px;
  }

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

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

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

  .calc-results div {
    display: grid;
    gap: 3px;
  }

  .kit-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .band {
    padding: 64px 20px;
  }

  .kit-hero {
    padding: 116px 20px 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
