/* LocalOrder marketing site */
:root {
  --brand: #0D7368;
  --brand-dark: #09534B;
  --cream: #FAF5EC;
  --cream-2: #F3EBE0;
  --paper: #fffdf9;
  --ink: #1f1a17;
  --muted: #5a524c;
  --line: #e7ddd0;
  --green: #2E6F40;
  --shadow: 0 18px 50px rgba(31, 26, 23, 0.12);
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 1.0625rem;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 600;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 0 1 auto;
}
.brand:hover { color: inherit; }
.mark { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 1px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.brand-tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}
.nav {
  display: none;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--brand); }
.header-inner > .btn { margin-left: auto; flex: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 2px solid var(--brand);
  box-shadow: 0 8px 20px rgba(13, 115, 104, 0.22);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.btn-sm { padding: 9px 16px; font-size: 0.9rem; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-block { width: 100%; box-shadow: none; }
.btn-on-dark {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
  box-shadow: none;
}
.btn-on-dark:hover {
  background: var(--cream);
  color: var(--brand-dark);
  border-color: var(--cream);
}
.btn-ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  box-shadow: none;
}
.btn-ghost-on-dark:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Hero */
.hero {
  padding: 36px 0 20px;
}
.hero-inner {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 6.4vw, 3.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 14ch;
}
.lede {
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--ink);
  max-width: 38rem;
}
.lede-sub {
  margin-top: 12px;
  color: var(--muted);
  max-width: 36rem;
}
.hero .cta-row { margin-top: 26px; }

.hero-card { justify-self: stretch; }
.device {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
  max-width: 380px;
  margin-inline: auto;
}
.device-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.device-bar span {
  width: 48px;
  height: 5px;
  border-radius: 99px;
  background: var(--line);
}
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #E8F5F3;
  border: 1px solid #C5E2DD;
  border-radius: 14px;
  padding: 12px 14px;
}
.alert-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 5px;
  flex: none;
  box-shadow: 0 0 0 6px rgba(13, 115, 104, 0.16);
}
.alert strong { display: block; font-size: 1rem; }
.alert span { display: block; color: var(--muted); font-size: 0.88rem; }
.ticket {
  list-style: none;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.ticket li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.ticket li:first-child { border-top: 0; }
.ticket li span:first-child { color: var(--muted); }
.ticket .total {
  font-weight: 700;
  background: var(--cream);
}
.ticket .total span { color: var(--ink); }
.device-note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Points */
.points { padding: 28px 0 10px; }
.point-grid {
  list-style: none;
  display: grid;
  gap: 14px;
}
.point-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
}
.point-grid h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.point-grid p { color: var(--muted); }

/* Pricing */
.pricing { padding: 56px 0 24px; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.pricing h2, .how h2, .faq h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.section-lede {
  margin-top: 10px;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.1rem;
}
.price-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(31, 26, 23, 0.05);
}
.price-card h3 {
  font-size: 1.15rem;
  font-family: var(--font);
  letter-spacing: 0;
  font-weight: 700;
}
.price {
  margin: 10px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.amount {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.per { color: var(--muted); font-weight: 600; }
.price-card ul {
  list-style: none;
  margin-bottom: 22px;
  display: grid;
  gap: 9px;
  flex: 1;
}
.price-card li {
  padding-left: 1.5rem;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--green);
}

/* How */
.how { padding: 56px 0; }
.steps {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 28px;
  counter-reset: none;
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* FAQ */
.faq {
  padding: 20px 0 64px;
}
.faq-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 32px 16px 0;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { color: var(--brand); }
.faq-list details p {
  color: var(--muted);
  padding: 0 0 18px;
  max-width: 42rem;
}

/* Close */
.close {
  background: var(--brand);
  color: #fff;
  padding: 64px 0;
}
.close-inner { text-align: center; }
.close h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  max-width: 16ch;
  margin-inline: auto;
}
.close p {
  margin: 12px auto 26px;
  max-width: 32rem;
  color: rgba(255,255,255,0.92);
}
.close .cta-row { justify-content: center; }

/* Footer */
.site-footer {
  background: #1f1a17;
  color: #d8d0c8;
  padding: 28px 0;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: #f3ebe0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }

@media (min-width: 700px) {
  .nav { display: flex; }
  .header-inner > .btn { margin-left: 0; }
  .point-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .hero { padding: 56px 0 36px; }
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
  .hero h1 { max-width: none; }
  .point-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .faq-inner {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 48px;
    align-items: start;
  }
  .faq-list { margin-top: 0; }
  .device { margin-inline: 0 0; margin-left: auto; }
}

@media (max-width: 399px) {
  .wrap { width: calc(100% - 32px); }
  .mark { width: 36px; height: 36px; }
  .wordmark { font-size: 1.08rem; }
  .brand-tagline { font-size: 0.64rem; letter-spacing: 0.045em; }
  .btn-sm { padding: 8px 13px; }
  .hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
