:root {
  --aubergine: #5b2351;
  --aubergine-dark: #45183d;
  --charcoal: #2b2b2b;
  --rose: #d7a7b4;
  --taupe: #d9d2c9;
  --off-white: #faf8f5;
  --white: #ffffff;
  --muted: #696360;
  --success: #176b48;
  --danger: #a22922;
  --shadow: 0 18px 50px rgba(43, 43, 43, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body, input, select, button { font: inherit; }
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 210, 201, 0.78);
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(14px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 116px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.nav-link:hover { color: var(--aubergine); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--aubergine); color: var(--white); }
.button-primary:hover { background: var(--aubergine-dark); }
.button-secondary { border-color: var(--taupe); background: transparent; color: var(--charcoal); }
.button-secondary:hover { border-color: var(--aubergine); color: var(--aubergine); }
.button-light { background: var(--off-white); color: var(--aubergine); }
.nav-cta { min-height: 42px; padding-inline: 19px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(91, 35, 81, 0.28);
  outline-offset: 3px;
}

.hero { padding: clamp(72px, 9vw, 126px) 0 clamp(78px, 10vw, 136px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.82fr); gap: clamp(50px, 8vw, 112px); align-items: center; }
.eyebrow {
  margin: 0 0 19px;
  color: var(--aubergine);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1, .section h2, .legal h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero h1 { max-width: 720px; font-size: clamp(3.45rem, 7.2vw, 6.5rem); }
.hero h1 span { color: var(--aubergine); }
.hero-lead { max-width: 560px; margin: 29px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 35px; }
.hero-proposition { margin: 24px 0 0; color: var(--aubergine); font-size: 0.91rem; font-weight: 850; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 26px 0 0; font-size: 0.9rem; font-weight: 750; }
.hero-note span { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 5px rgba(215, 167, 180, 0.25); }

.hero-panel { border-radius: var(--radius-lg); background: var(--aubergine); color: var(--white); padding: clamp(25px, 4vw, 38px); box-shadow: 0 26px 70px rgba(91, 35, 81, 0.2); }
.hero-panel-heading { display: flex; align-items: center; gap: 17px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.hero-panel-heading img { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 17px; }
.hero-panel-heading div { display: grid; gap: 3px; }
.hero-panel-heading small, .route-stop small { color: var(--rose); font-size: 0.64rem; font-weight: 850; letter-spacing: 0.12em; }
.hero-panel-heading strong { font-size: 1.12rem; }
.route { display: grid; padding-top: 9px; }
.route-stop { position: relative; display: grid; grid-template-columns: 39px 1fr; gap: 15px; align-items: center; padding: 19px 0; }
.route-stop:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 49px; bottom: -10px; width: 1px; background: rgba(255, 255, 255, 0.2); }
.route-stop > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--aubergine); font-size: 0.68rem; font-weight: 900; }
.route-stop div { display: grid; gap: 2px; }
.route-stop strong { font-size: 0.96rem; }

.section { padding: clamp(78px, 9vw, 124px) 0; }
.how-section { background: var(--white); }
.section-heading { max-width: 670px; margin-bottom: 47px; }
.section h2 { font-size: clamp(2.35rem, 4.6vw, 4.1rem); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--taupe); }
.step-card { min-width: 0; padding: 31px 38px 3px 0; }
.step-card:not(:last-child) { border-right: 1px solid var(--taupe); margin-right: 38px; }
.step-number { display: block; margin-bottom: 47px; color: var(--aubergine); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; }
.step-card h3 { margin: 0 0 10px; font-size: 1.22rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.steps-callout { margin: 39px 0 0; color: var(--aubergine); font-size: 1.05rem; font-weight: 850; }

.why-section { background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.why-heading > p:last-child { max-width: 470px; margin: 26px 0 0; color: var(--muted); font-size: 1.06rem; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefits-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 15px; min-height: 150px; padding: 24px; border: 1px solid var(--taupe); border-radius: var(--radius-md); background: var(--white); }
.benefits-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(215, 167, 180, 0.27); color: var(--aubergine); font-weight: 900; }
.benefits-grid h3 { margin: 2px 0 7px; font-size: 1rem; }
.benefits-grid p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.join-section { background: #eee9e3; }
.join-grid { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(490px, 1.16fr); gap: clamp(48px, 8vw, 105px); align-items: start; }
.join-copy { position: sticky; top: 112px; }
.join-copy > p:not(.eyebrow):not(.privacy-note) { max-width: 500px; margin: 27px 0 0; color: var(--muted); font-size: 1.05rem; }
.join-points { display: grid; gap: 15px; margin-top: 37px; }
.join-points span { display: flex; align-items: center; gap: 13px; font-weight: 750; }
.join-points b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--aubergine); color: var(--white); font-size: 0.64rem; }
.privacy-note { max-width: 500px; margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--taupe); color: var(--muted); font-size: 0.83rem; }
.privacy-note a, .consent a, .legal a { color: var(--aubergine); font-weight: 750; }

.signup-card { padding: clamp(25px, 4vw, 43px); border: 1px solid rgba(217, 210, 201, 0.9); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-heading { margin-bottom: 27px; }
.form-heading span { color: var(--aubergine); font-size: 0.65rem; font-weight: 900; letter-spacing: 0.14em; }
.form-heading h3 { margin: 6px 0 3px; font-size: 1.7rem; letter-spacing: -0.035em; }
.form-heading p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.form-row, .structured-address-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: grid; gap: 7px; margin-bottom: 17px; }
.field label { font-size: 0.78rem; font-weight: 800; }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--taupe);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  padding: 0 14px;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input::placeholder { color: #918a86; }
.field input:focus, .field select:focus { border-color: var(--aubergine); box-shadow: 0 0 0 4px rgba(91, 35, 81, 0.1); }
.field small { color: var(--muted); font-size: 0.72rem; }
.field small.address-valid { color: var(--success); font-weight: 750; }
.address-field { z-index: 5; }
.public-address-suggestions { position: absolute; z-index: 20; top: 82px; left: 0; right: 0; max-height: 290px; overflow-y: auto; border: 1px solid var(--taupe); border-radius: 12px; background: var(--white); box-shadow: 0 18px 45px rgba(43, 43, 43, 0.16); }
.public-address-suggestions button { width: 100%; min-height: 58px; display: grid; gap: 2px; border: 0; border-bottom: 1px solid #eeeae6; background: var(--white); padding: 10px 13px; text-align: left; cursor: pointer; }
.public-address-suggestions button:hover, .public-address-suggestions button:focus-visible { background: var(--off-white); }
.public-address-suggestions button strong { font-size: 0.8rem; }
.public-address-suggestions button small { color: var(--muted); font-size: 0.7rem; }
.public-address-suggestions > span { display: block; padding: 7px 12px; color: var(--muted); font-size: 0.62rem; text-align: right; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 3px 0 20px; color: var(--muted); font-size: 0.76rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--aubergine); }
.form-button { width: 100%; border: 0; }
.form-button:disabled { opacity: 0.62; cursor: wait; transform: none; }
.form-message { display: none; margin-top: 14px; padding: 12px 13px; border-radius: 10px; font-size: 0.82rem; font-weight: 700; }
.form-message.success { display: block; border: 1px solid #b8dec9; background: #e8f7ee; color: var(--success); }
.form-message.error { display: block; border: 1px solid #edc2be; background: #fff0ee; color: var(--danger); }

.restaurant-section { background: var(--charcoal); color: var(--white); }
.restaurant-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: clamp(55px, 9vw, 125px); align-items: center; }
.eyebrow-light { color: var(--rose); }
.restaurant-copy > p:not(.eyebrow) { max-width: 590px; margin: 26px 0 31px; color: #d9d2c9; font-size: 1.08rem; }
.restaurant-points { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.restaurant-points article { padding: 23px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.restaurant-points strong { font-size: 1.02rem; }
.restaurant-points p { margin: 6px 0 0; color: #c8c0ba; font-size: 0.88rem; }

.footer { padding: 57px 0; background: var(--off-white); border-top: 1px solid var(--taupe); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr auto; gap: 48px; align-items: start; }
.footer-brand-wrap p { max-width: 330px; margin: 16px 0 0; color: var(--muted); font-size: 0.84rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.footer-links a { font-size: 0.84rem; font-weight: 750; text-decoration: none; }
.footer-links a:hover { color: var(--aubergine); }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 7px; color: var(--muted); font-size: 0.78rem; }

.legal-shell { background: var(--off-white); }
.legal { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: clamp(65px, 8vw, 105px) 0 110px; }
.legal h1 { max-width: 700px; font-size: clamp(2.7rem, 6vw, 4.9rem); }
.legal .intro { margin: 25px 0 43px; padding-bottom: 31px; border-bottom: 1px solid var(--taupe); color: var(--muted); font-size: 1.04rem; }
.legal h2 { margin: 35px 0 10px; font-size: 1.22rem; }
.legal p, .legal li { color: #514c49; }
.legal ul { padding-left: 21px; }
.legal-back { display: inline-flex; margin-top: 34px; color: var(--aubergine); font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .hero-grid, .why-grid, .join-grid, .restaurant-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-panel { width: min(620px, 100%); }
  .why-heading { max-width: 680px; }
  .join-copy { position: static; max-width: 700px; }
  .signup-card { width: min(720px, 100%); }
  .restaurant-copy { max-width: 740px; }
  .restaurant-points { max-width: 700px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(100% - 30px, 1160px); }
  .nav { min-height: 68px; gap: 15px; }
  .brand-logo { width: 101px; }
  .nav-links { gap: 8px; }
  .nav-link { display: none; }
  .nav-cta { min-height: 42px; padding-inline: 17px; }
  .hero { padding: 60px 0 78px; }
  .hero-grid { gap: 48px; }
  .hero h1 { font-size: clamp(3.05rem, 14vw, 4.6rem); }
  .hero-lead { margin-top: 23px; }
  .section { padding: 75px 0; }
  .section-heading { margin-bottom: 33px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 24px 0; }
  .step-card:not(:last-child) { margin: 0; border-right: 0; border-bottom: 1px solid var(--taupe); }
  .step-number { margin-bottom: 22px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid article { min-height: 0; }
  .join-grid, .restaurant-grid { gap: 43px; }
  .form-row, .structured-address-fields { grid-template-columns: 1fr; gap: 0; }
  .public-address-suggestions { top: 82px; max-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-wrap { grid-column: 1 / -1; }
  .footer-meta { text-align: left; }
}

@media (max-width: 480px) {
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-panel { padding: 22px; border-radius: 20px; }
  .hero-panel-heading img { width: 57px; height: 57px; }
  .signup-card { margin-inline: -3px; padding: 23px 19px; border-radius: 19px; }
  .field input, .field select { min-height: 52px; font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand-wrap { grid-column: auto; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

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