:root {
  --ink: #15271f;
  --ink-soft: #3e4d46;
  --cream: #f6f0e3;
  --cream-deep: #e9deca;
  --tomato: #d94932;
  --tomato-dark: #a82d20;
  --basil: #1f5a3b;
  --lime: #d9df72;
  --white: #fffefa;
  --line: rgba(21, 39, 31, 0.16);
  --shadow: 0 22px 64px rgba(20, 39, 30, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(246, 240, 227, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  color: var(--cream);
  background: var(--tomato);
  font: 700 25px/1 "Fraunces", serif;
  transform: rotate(-7deg);
}
.brand strong { display: block; font: 700 20px/1 "Fraunces", serif; }
.brand small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--tomato); }
.header-call { justify-self: end; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, .92fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(60px, 8vw, 112px) clamp(20px, 7vw, 112px);
  overflow: hidden;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -250px; top: -190px; border: 1px solid rgba(217,73,50,.25); box-shadow: inset 0 0 0 80px rgba(217,73,50,.045), inset 0 0 0 160px rgba(217,73,50,.035); }
.hero::after { width: 170px; height: 170px; left: -80px; bottom: 20px; background: var(--lime); opacity: .32; filter: blur(2px); }
.hero-copy, .order-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--tomato-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Fraunces", Georgia, serif; letter-spacing: -.045em; }
h1 { max-width: 730px; font-size: clamp(48px, 6.8vw, 92px); line-height: .96; }
h1 em { color: var(--tomato); font-weight: 600; }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 54px; padding: 0 22px; border: 0; border-radius: 12px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--tomato); box-shadow: 0 10px 24px rgba(217,73,50,.22); }
.button-primary:hover { background: var(--tomato-dark); box-shadow: 0 14px 28px rgba(217,73,50,.28); }
.button-secondary { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }

.order-card { padding: 22px; border: 1px solid rgba(255,255,255,.74); border-radius: 28px; background: rgba(255,254,250,.78); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.card-topline { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 16px; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--basil); }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: #39a95e; box-shadow: 0 0 0 5px rgba(57,169,94,.12); }
.route { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.58); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.route:hover { transform: translateY(-2px); border-color: rgba(217,73,50,.5); box-shadow: 0 10px 22px rgba(21,39,31,.08); }
.route-featured { min-height: 94px; margin-bottom: 10px; padding: 16px; color: var(--white); background: var(--basil); border-color: var(--basil); }
.route-icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink); background: var(--cream-deep); font-weight: 900; }
.route-featured .route-icon { background: var(--cream); }
.pizza-icon { font-size: 20px; }
.route-copy { min-width: 0; }
.route-copy strong, .route-copy small { display: block; }
.route-copy strong { font-size: 15px; }
.route-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.route-featured .route-copy strong { font-size: 17px; }
.route-featured .route-copy small { color: rgba(255,255,255,.72); }
.route .arrow { margin-left: auto; font-size: 18px; }
.pill { margin-left: auto; padding: 7px 10px; border-radius: 999px; color: var(--basil); background: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.route-featured .arrow { margin-left: 0; }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-order { display: flex; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 15px 4px 2px; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.phone-order strong { color: var(--tomato-dark); }

.comparison-section { padding: clamp(72px, 10vw, 132px) clamp(20px, 7vw, 112px); color: var(--cream); background: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; max-width: 1320px; margin: 0 auto 42px; }
.section-heading .eyebrow { color: #f1937e; }
h2 { font-size: clamp(40px, 5vw, 67px); line-height: 1.02; }
.comparison-wrap { max-width: 1320px; margin: 0 auto; }
.comparison-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compare-card { display: flex; flex-direction: column; min-height: 370px; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.055); }
.compare-card.recommended { color: var(--ink); background: var(--cream); border-color: var(--cream); }
.compare-tag { align-self: flex-start; padding: 7px 10px; border-radius: 999px; color: var(--basil); background: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.compare-tag.muted { color: var(--cream); background: rgba(255,255,255,.12); }
.compare-card h3 { margin: 27px 0 12px; font: 700 clamp(25px, 2vw, 32px)/1.1 "Fraunces", serif; }
.compare-card p { margin: 0; color: rgba(255,255,255,.69); font-size: 15px; line-height: 1.6; }
.compare-card.recommended p { color: var(--ink-soft); }
.compare-card ul { margin: 20px 0 30px; padding: 0; list-style: none; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.9; }
.compare-card.recommended ul { color: var(--ink-soft); }
.compare-card li::before { content: "✓"; margin-right: 9px; color: #f1937e; font-weight: 900; }
.compare-card.recommended li::before { color: var(--tomato); }
.compare-card > a, .compare-card > button { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding: 16px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.17); color: inherit; background: transparent; font-weight: 800; text-align: left; text-decoration: none; cursor: pointer; }
.compare-card.recommended > a { border-top-color: var(--line); }
.comparison-note { margin: 24px 0 0; color: rgba(255,255,255,.5); font-size: 12px; text-align: center; }

.preview-section { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 430px); gap: clamp(38px, 8vw, 110px); align-items: center; padding: clamp(72px, 10vw, 132px) clamp(20px, 8vw, 128px) 0; overflow: hidden; }
.preview-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: 3vw; top: 90px; border-radius: 50%; background: var(--cream-deep); }
.preview-copy, .phone-preview, .location-strip { position: relative; z-index: 1; }
.preview-copy { align-self: start; padding-top: 40px; }
.preview-copy > p:not(.eyebrow) { max-width: 650px; margin: 22px 0 34px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.preview-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { display: flex; flex-direction: column; gap: 9px; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,254,250,.55); }
legend { padding: 0 8px; font-size: 12px; font-weight: 800; }
label { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 9px; color: var(--ink-soft); font-size: 14px; cursor: pointer; }
label:has(input:checked) { color: var(--ink); background: var(--white); font-weight: 700; }
input[type="radio"] { width: 17px; height: 17px; accent-color: var(--tomato); }
.phone-preview { width: min(100%, 390px); justify-self: center; border: 10px solid #0d1712; border-radius: 42px; background: var(--white); box-shadow: 0 34px 76px rgba(21,39,31,.24); overflow: hidden; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; height: 37px; padding: 0 19px; color: #0d1712; font-size: 10px; font-weight: 800; }
.phone-bar i { width: 90px; height: 23px; border-radius: 0 0 15px 15px; background: #0d1712; transform: translateY(-7px); }
.phone-content { padding: 24px 25px 27px; text-align: center; }
.phone-logo { font: 800 16px/1 "Fraunces", serif; letter-spacing: .12em; }
.step-label { margin: 28px 0 16px; color: var(--tomato-dark); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.result-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; background: var(--cream); font-size: 32px; }
.phone-content h3 { margin: 0; font: 700 28px/1.05 "Fraunces", serif; }
.phone-content > p:not(.step-label) { min-height: 44px; margin: 12px 0 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.phone-content .button { width: 100%; }
.text-button { margin-top: 14px; border: 0; color: var(--ink-soft); background: transparent; font-size: 12px; text-decoration: underline; cursor: pointer; }
.journey-steps { display: flex; justify-content: space-between; gap: 7px; margin: 27px 0 0; padding: 19px 0 0; border-top: 1px solid var(--line); list-style: none; color: #849088; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.journey-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.journey-steps span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #b8c0bb; border-radius: 50%; }
.journey-steps .done { color: var(--basil); }
.journey-steps .done span { color: white; background: var(--basil); border-color: var(--basil); }
.location-strip { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 24px; align-items: center; margin-top: 82px; padding: 26px 0; border-top: 1px solid var(--line); }
.location-strip span { color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.location-strip strong { display: block; color: var(--ink); }
.location-strip > a, .location-strip span a { color: var(--tomato-dark); font-weight: 800; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 26px clamp(20px, 8vw, 128px) 90px; color: var(--ink-soft); font-size: 11px; }
.marketplace-drawer[hidden] { display: none; }
.marketplace-drawer { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 1fr minmax(340px, 510px); }
.drawer-backdrop { border: 0; background: rgba(9,18,13,.62); backdrop-filter: blur(5px); cursor: pointer; }
.drawer-panel { padding: 42px; background: var(--cream); box-shadow: -30px 0 70px rgba(0,0,0,.18); overflow: auto; animation: slide-in .25s ease both; }
@keyframes slide-in { from { transform: translateX(30px); opacity: 0; } }
.drawer-heading { display: flex; justify-content: space-between; align-items: start; gap: 22px; margin-bottom: 28px; }
.drawer-heading h2 { font-size: 39px; }
.drawer-heading button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 28px; cursor: pointer; }
.drawer-panel > a { display: flex; justify-content: space-between; padding: 22px 2px; border-top: 1px solid var(--line); text-decoration: none; }
.drawer-panel > a span { color: var(--tomato-dark); font-size: 13px; font-weight: 800; }
.mobile-order-bar { display: none; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 30px; padding: 12px 18px; border-radius: 999px; color: white; background: var(--ink); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .order-card { max-width: 720px; width: 100%; }
  .comparison-cards { grid-template-columns: 1fr; }
  .compare-card { min-height: 0; }
}
@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .site-header { min-height: 64px; padding: 10px 17px; }
  .header-call { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 18px; }
  .hero { min-height: auto; padding: 52px 17px 72px; }
  h1 { font-size: clamp(45px, 13vw, 66px); }
  .hero-lede { margin-top: 21px; font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-row { display: grid; gap: 9px; }
  .order-card { padding: 13px; border-radius: 21px; }
  .card-topline { align-items: flex-start; gap: 10px; font-size: 9px; }
  .route-grid { grid-template-columns: 1fr; }
  .route { min-height: 68px; }
  .pill { display: none; }
  .route-featured .arrow { margin-left: auto; }
  .phone-order { flex-direction: column; gap: 2px; }
  .comparison-section { padding: 72px 17px; }
  .section-heading { align-items: start; flex-direction: column; }
  .compare-card { padding: 23px; }
  .preview-section { grid-template-columns: 1fr; padding: 72px 17px 0; }
  .preview-copy { padding-top: 0; }
  .preview-controls { grid-template-columns: 1fr; }
  .phone-preview { width: min(100%, 370px); }
  .location-strip { grid-template-columns: 1fr; margin-top: 56px; padding: 26px 0; }
  footer { flex-direction: column; padding: 24px 17px 36px; }
  .marketplace-drawer { grid-template-columns: 1fr; align-items: end; }
  .drawer-backdrop { position: absolute; inset: 0; }
  .drawer-panel { position: relative; max-height: 80vh; padding: 28px 21px; border-radius: 24px 24px 0 0; animation-name: slide-up; }
  @keyframes slide-up { from { transform: translateY(30px); opacity: 0; } }
  .drawer-heading h2 { font-size: 32px; }
  .mobile-order-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 90px; gap: 8px; padding: 9px 12px; background: rgba(246,240,227,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
  .mobile-order-bar a { display: flex; justify-content: center; align-items: center; min-height: 48px; border: 1px solid var(--ink); border-radius: 10px; font-weight: 800; text-decoration: none; }
  .mobile-order-bar a:first-child { gap: 12px; color: white; background: var(--tomato); border-color: var(--tomato); }
  .toast { bottom: 78px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
