/* order11.com — one stylesheet for every page.
 *
 * The palette is src/theme.ts, transcribed. Same two jobs it has in the app:
 * navy is identity and structure, orange is action and nothing else. If a
 * shade is wanted here that is not in the app, it belongs in theme.ts first.
 *
 * `color-scheme: light` is deliberate. A brand built on navy-on-white does not
 * survive a browser's automatic dark inversion, and the site is four pages of
 * text — there is nothing here worth the risk of a half-inverted logo.
 */
:root {
  color-scheme: light;

  --navy: #0b2a66;
  --navy-tint: #e8eef9;
  --orange: #ff6a00;
  --orange-dim: #e85d00;
  --orange-tint: #fff1e6;

  --bg: #ffffff;
  --surface: #f8fafc;
  --border: #e5e7eb;
  --text: #1f2937;
  --muted: #4b5563;
  --faint: #6b7280;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ── header ─────────────────────────────────────────────────────────────── */
header.site {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
header.site .wrap-wide,
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
header.site img { height: 42px; width: auto; display: block; }
nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 22px;
}
nav.site a:hover { color: var(--navy); text-decoration: underline; }

/* ── type ───────────────────────────────────────────────────────────────── */
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: 40px; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 24px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 26px 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--navy); }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 14px; }
.lede { font-size: 20px; color: var(--muted); margin-bottom: 28px; }

ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 8px; }

/* ── beta notice ────────────────────────────────────────────────────────── */
/* The app is not on any store yet and the pilot is one town. Saying so on the
 * front page costs nothing and stops the rest of the site reading as a claim
 * about a service you can use today. */
.beta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-tint);
  border: 1px solid #ffd9bd;
  border-radius: 999px;
  padding: 6px 16px 6px 10px;
  font-size: 14px;
  color: #9a3412;
  margin-bottom: 22px;
}
.beta b {
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 48px; text-align: center; }
.hero .lede { max-width: 620px; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 14px;
  border: none;
}
.btn:hover { background: var(--orange-dim); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); }
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── cards ──────────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  /* 200px, not 240: the page is a single 760px column throughout — every
   * section starting at the same left edge — and three cards have to fit
   * inside it before the grid drops one to the next row. */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0 8px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 16px 0;
}

.section { padding: 44px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-alt .card { background: var(--bg); }

/* ── tables (data-safety style lists) ───────────────────────────────────── */
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 20px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--navy); font-size: 14px; }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 30px 0 48px;
  font-size: 15px;
  color: var(--faint);
}
footer.site a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { text-decoration: underline; }
footer.site .row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ── legal pages ────────────────────────────────────────────────────────── */
.legal { padding: 40px 0 0; }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 21px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  .hero { padding: 44px 0 32px; }
  .lede { font-size: 18px; }
  nav.site a { margin-left: 0; margin-right: 18px; }
  nav.site { width: 100%; }
}
