:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef3ed;
  --ink: #121713;
  --text: #171717;
  --muted: #5f655f;
  --line: #dce4d9;
  --brand: #0f7a5f;
  --brand-strong: #085c45;
  --accent: #a04b00;
  --blue: #315f72;
  --shadow: 0 24px 70px rgba(18, 23, 19, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #f7f8f4;
    --surface: #ffffff;
    --surface-soft: #eef3ed;
    --ink: #121713;
    --text: #171717;
    --muted: #5f655f;
    --line: #dce4d9;
    --brand: #0f7a5f;
    --brand-strong: #085c45;
    --accent: #a04b00;
    --blue: #315f72;
    --shadow: 0 24px 70px rgba(18, 23, 19, 0.14);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Avenir Next, Avenir, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--brand-strong);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  position: relative;
  z-index: 5;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 20px;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  border-radius: 10px;
  height: 34px;
  width: 34px;
}

.links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  text-decoration: none;
}

.links a:hover,
.links a[aria-current="page"] {
  color: var(--text);
}

.links a[aria-current="page"]::after {
  background: var(--brand);
  border-radius: 999px;
  bottom: -6px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero {
  padding: 64px 0 36px;
}

.hero-product {
  min-height: 760px;
  overflow: hidden;
  padding: 42px 0 76px;
  position: relative;
}

.hero-product::before {
  background: #e7f1e7;
  border: 1px solid var(--line);
  border-radius: 30px;
  content: "";
  inset: 16px 16px 52px;
  position: absolute;
  z-index: 0;
}

@media (prefers-color-scheme: dark) {
  .hero-product::before {
    background: #e7f1e7;
  }
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  min-height: 650px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
  padding: 34px 0;
}

.eyebrow {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
  max-width: 700px;
}

h2 {
  color: var(--ink);
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
  max-width: 680px;
}

h3 {
  color: var(--text);
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 20px;
  margin: 24px 0 0;
  max-width: 650px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  align-items: center;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: #f8fff9;
  display: inline-flex;
  font-weight: 700;
  min-height: 46px;
  padding: 11px 18px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  box-shadow: 0 8px 20px rgba(8, 92, 69, 0.18);
}

.button.secondary {
  background: transparent;
  border: 1px solid #b8c5b8;
  color: var(--brand-strong);
}

.button.secondary:hover {
  background: #edf5ee;
  border-color: var(--brand);
  box-shadow: none;
  color: var(--brand-strong);
}

.trust-row {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  background: var(--surface);
  border: 1px solid #ccd8cc;
  border-radius: 999px;
  color: #354139;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 11px;
}

.hero-visual {
  min-height: 560px;
  position: relative;
}

.phone {
  background: #101412;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  box-shadow: var(--shadow);
  padding: 13px;
  position: absolute;
  width: 300px;
}

.phone-front {
  right: 58px;
  top: 28px;
  z-index: 2;
}

.phone-back {
  right: 305px;
  top: 120px;
  transform: rotate(-5deg);
  width: 260px;
  z-index: 1;
}

.phone-speaker {
  background: #252c28;
  border-radius: 999px;
  height: 5px;
  margin: 0 auto 10px;
  width: 70px;
}

.app-screen {
  background: #fbfaf7;
  border-radius: 30px;
  color: #181714;
  min-height: 548px;
  overflow: hidden;
  padding: 22px 16px;
}

.phone-back .app-screen {
  min-height: 486px;
}

.screen-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.screen-header strong,
.screen-header span {
  display: block;
}

.screen-header strong {
  font-size: 22px;
  line-height: 1.1;
}

.screen-header span {
  color: #6f6b62;
  font-size: 12px;
  margin-top: 3px;
}

.profile-dot {
  align-items: center;
  background: #eef3ed;
  border-radius: 999px;
  color: #0f7a5f;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  height: 34px;
  place-items: center;
  width: 34px;
}

.search-pill {
  background: #ffffff;
  border: 1px solid #e5e1d8;
  border-radius: 12px;
  color: #6f6b62;
  font-size: 13px;
  margin: 22px 0 14px;
  padding: 12px 13px;
}

.restaurant-row {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e1d8;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 10px;
  min-height: 78px;
  padding: 13px;
}

.restaurant-row.pinned {
  border-color: rgba(15, 122, 95, 0.32);
}

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

.restaurant-row strong {
  font-size: 15px;
  line-height: 1.2;
}

.restaurant-row span {
  color: #6f6b62;
  font-size: 11px;
  margin-top: 4px;
}

.restaurant-row b {
  color: #0f7a5f;
  flex: 0 0 auto;
  font-size: 16px;
}

.muted-row b {
  color: #6f6b62;
  font-size: 13px;
}

.detail-screen {
  padding-top: 28px;
}

.detail-hero {
  background: #0f7a5f;
  border-radius: 18px;
  color: #ffffff;
  padding: 18px;
}

.detail-hero span,
.detail-hero strong {
  display: block;
}

.detail-hero span {
  font-size: 12px;
  opacity: 0.78;
}

.detail-hero strong {
  font-size: 42px;
  line-height: 1;
  margin-top: 8px;
}

.graph-card {
  align-items: end;
  background: #ffffff;
  border: 1px solid #e5e1d8;
  border-radius: 16px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  height: 112px;
  margin: 14px 0;
  padding: 16px;
}

.graph-card span {
  background: #0f7a5f;
  border-radius: 999px;
  min-height: 28px;
}

.graph-card span:nth-child(2) {
  background: var(--accent);
  min-height: 58px;
}

.graph-card span:nth-child(3) {
  background: #0f9f6e;
  min-height: 40px;
}

.graph-card span:nth-child(4) {
  background: #d6533f;
  min-height: 76px;
}

.metric-row {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e1d8;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  padding: 12px;
}

.metric-row span {
  color: #6f6b62;
  font-size: 13px;
}

.metric-row b {
  color: #181714;
  font-size: 14px;
}

.mock-button {
  background: #0f7a5f;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  margin-top: 14px;
  min-height: 48px;
  width: 100%;
}

.pain-section,
.screenshot-section {
  padding: 70px 0;
}

.pain-section {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.pain-grid,
.feature-grid,
.screenshot-grid {
  display: grid;
  gap: 14px;
}

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

.pain-item,
.feature-card,
.mini-screen,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-item {
  padding: 22px;
}

.pain-item span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pain-item p,
.feature-card p,
.mini-screen p,
.section-copy p,
.download-inner p {
  color: var(--muted);
  margin: 10px 0 0;
}

.feature-band {
  background: #0f1712;
  color: #f7f8f4;
  padding: 68px 0;
}

.feature-band h2 {
  max-width: 680px;
}

.feature-band h2,
.feature-band h3 {
  color: #ffffff;
}

.feature-band .eyebrow {
  color: #9ee7bf;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.feature-card {
  background: #17221b;
  border-color: #415044;
  min-height: 230px;
  padding: 20px;
}

.feature-card p {
  color: #d8ded8;
}

.feature-icon {
  align-items: center;
  background: #dff4e7;
  border: 1px solid #9fdcb8;
  border-radius: 8px;
  color: #085c45;
  display: grid;
  font-size: 13px;
  font-weight: 700;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  width: 38px;
}

.screenshot-section {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  padding-bottom: 52px;
}

.section-copy {
  position: sticky;
  top: 24px;
}

.screenshot-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mini-screen {
  min-height: 280px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.mini-screen::after {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  bottom: 18px;
  content: "";
  height: 108px;
  left: 20px;
  position: absolute;
  right: 20px;
  z-index: 0;
}

.mini-screen:nth-child(2)::after {
  background: #eaf2f5;
}

.mini-screen:nth-child(3)::after {
  background: #f4eee5;
}

.mini-label {
  color: var(--brand-strong);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.mini-screen strong {
  color: var(--text);
  display: block;
  font-size: 18px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.mini-screen p {
  font-size: 15px;
  line-height: 1.5;
  max-width: 24ch;
  position: relative;
  z-index: 1;
}

.download-band {
  padding: 26px 0 70px;
}

.download-inner {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  padding: 24px;
}

.download-inner h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.app-icon-large {
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(18, 23, 19, 0.16);
  height: 88px;
  width: 88px;
}

.store-badge {
  background: #111111;
  border-radius: 10px;
  color: #ffffff;
  display: grid;
  gap: 0;
  min-width: 170px;
  padding: 10px 16px;
  text-decoration: none;
}

.store-badge span {
  font-size: 11px;
  line-height: 1.1;
}

.store-badge strong {
  font-size: 22px;
  line-height: 1.1;
}

.panel {
  margin: 24px 0 56px;
  padding: 28px;
}

.accordion {
  display: grid;
  gap: 10px;
  margin: 16px 0 30px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

details:hover {
  background: #fbfdf9;
  border-color: #b7c9b8;
}

details[open] {
  background: #f2f8f3;
  border-color: #9fc9ad;
  box-shadow: inset 3px 0 0 var(--brand);
}

summary {
  cursor: pointer;
  display: grid;
  gap: 4px;
  list-style: none;
  padding: 16px 18px;
  position: relative;
}

summary:focus-visible,
.button:focus-visible,
.links a:focus-visible,
.store-badge:focus-visible {
  outline: 3px solid rgba(15, 122, 95, 0.34);
  outline-offset: 3px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--brand-strong);
  content: "+";
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
}

details[open] summary::after {
  content: "-";
}

details[open] summary {
  background: #e8f4eb;
}

summary span {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  padding-right: 28px;
}

summary small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  padding-right: 28px;
}

details p {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin: 0;
  padding: 16px 18px 18px;
}

details[open] p {
  border-top-color: #c9decf;
}

.panel h2 {
  font-size: 22px;
  line-height: 1.2;
  margin: 32px 0 8px;
}

.panel h2:first-child {
  margin-top: 0;
}

p,
li {
  font-size: 16px;
}

ul {
  padding-left: 22px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 40px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-product {
    min-height: auto;
  }

  .hero-inner,
  .pain-section,
  .screenshot-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 570px;
  }

  .phone-front {
    left: 50%;
    right: auto;
    transform: translateX(-18%);
  }

  .phone-back {
    left: 50%;
    right: auto;
    transform: translateX(-92%) rotate(-5deg);
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-copy {
    position: static;
  }

  .download-inner {
    grid-template-columns: auto 1fr;
  }

  .store-badge {
    grid-column: 1 / -1;
    width: max-content;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-product {
    padding-bottom: 42px;
  }

  .hero-product::before {
    border-radius: 20px;
    inset: 8px 8px 34px;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-copy {
    padding: 18px 0 0;
  }

  .lede {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone {
    width: 248px;
  }

  .phone-front {
    left: auto;
    right: 0;
    top: 8px;
    transform: none;
  }

  .phone-back {
    left: 0;
    top: 105px;
    transform: rotate(-4deg);
    width: 218px;
  }

  .app-screen {
    min-height: 450px;
    padding: 18px 13px;
  }

  .phone-back .app-screen {
    min-height: 392px;
  }

  .restaurant-row {
    min-height: 68px;
  }

  .pain-section,
  .screenshot-section {
    padding: 48px 0;
  }

  .feature-band {
    padding: 54px 0;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .mini-screen {
    min-height: 260px;
  }

  .download-inner {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 22px;
  }

  summary {
    padding: 14px 16px;
  }

  summary::after {
    right: 16px;
    top: 16px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
