/*
 * OnlyMenu.io -- one stylesheet, no framework, no build step.
 *
 * Colour tokens are copied from the app's constants/Colors.ts and the spacing
 * scale from constants/Theme.ts, so the site and the product look like the same
 * thing. The app ships no custom fonts (there is no useFonts call anywhere in
 * it), so the site uses the same system stack rather than inventing a typeface
 * the product does not have.
 */

:root {
  /* dark -- used by the hero and the footer, from Colors.dark */
  --d-bg: #080C0A;
  --d-surface: #0E1510;
  --d-border: #1E2E22;
  --d-primary: #00E87A;
  --d-on-primary: #03170C;
  --d-text: #E8F5EC;
  --d-text-2: #9DBCA6;   /* lightened from Colors.dark.textSecondary #6B8F72:
                            that value is 4.0:1 on #080C0A and fails WCAG AA for
                            body copy. In the app it is only used on small
                            secondary labels over surfaces; here it would be
                            paragraph text. */

  /* light -- used by every content section, from Colors.light */
  --l-bg: #F2F7F4;
  --l-surface: #FFFFFF;
  --l-border: #C8DDD0;
  --l-primary: #00A854;   /* graphics only -- 2.9:1 on the page background */
  --l-link: #00803F;      /* link text: 4.5:1 on --l-bg, 5.0:1 on --l-surface */
  --l-on-primary: #FFFFFF;
  --l-text: #0A1A0F;
  --l-text-2: #3D6B4A;

  /* 4pt grid, matching Spacing in constants/Theme.ts */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-2xl: 32px;
  --s-3xl: 48px;
  --s-4xl: 72px;
  --s-5xl: 112px;

  --gutter: 20px;
  --measure: 1120px;
  --radius: 16px;
  --radius-lg: 24px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--l-text);
  background: var(--l-bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--l-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Dark regions: --l-link is only 3.9:1 on #080C0A. The bright brand green
   is ~12:1 there, so every dark band overrides link colour rather than
   inheriting the light-background one. */
/* :not(.store-btn) matters: these selectors outrank .store-btn, so without it
   the download button's ink turns the same green as its own fill. */
.hero a:not(.store-btn),
.cta a:not(.store-btn),
.band-dark a:not(.store-btn),
.page-head a:not(.store-btn),
.site-header a:not(.store-btn),
.site-footer a:not(.store-btn) { color: var(--d-primary); }

:focus-visible {
  outline: 3px solid var(--d-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--d-primary);
  color: var(--d-on-primary);
  padding: var(--s-md) var(--s-lg);
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* ---------- retirement notice ----------
   Temporary. The web app that used to live at this domain was retired on
   2026-08-26 and members were still actively using it, so a bare 404 on a
   bookmarked /signin is not a good enough explanation.

   Static rather than self-expiring on purpose: .htaccess sets
   `default-src 'none'` with no script-src, and weakening a tight CSP so a
   banner can hide itself is a bad trade. It has to be deleted by hand.

   >>> REMOVE THIS BANNER AND ITS MARKUP AFTER 2026-09-25 <<<            */


/* ---------- header ---------- */

.site-header {
  background: var(--d-bg);
  border-bottom: 1px solid var(--d-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  min-height: 68px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: var(--s-md); }
.brand img { height: 30px; width: auto; }
.brand span {
  color: var(--d-text);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: var(--s-xl); flex-wrap: wrap; }
.nav a { color: var(--d-text-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--d-text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--d-primary); }

/* ---------- hero ---------- */

.hero {
  background: var(--d-bg);
  color: var(--d-text);
  padding: var(--s-5xl) 0 var(--s-4xl);
  position: relative;
  overflow: hidden;
}

/* a single soft radial wash so the hero is not a flat rectangle -- cheap,
   no image, and it degrades to nothing if gradients are unsupported */
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0, 232, 122, 0.10) 0%, rgba(0, 232, 122, 0) 62%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4xl);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  background: rgba(0, 232, 122, 0.10);
  border: 1px solid rgba(0, 232, 122, 0.28);
  color: var(--d-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--s-xl);
}

h1 {
  font-size: clamp(38px, 6.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 var(--s-xl);
}
h1 em { font-style: normal; color: var(--d-primary); }

.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--d-text-2);
  margin: 0 0 var(--s-2xl);
  max-width: 46ch;
}

.hero-note {
  margin-top: var(--s-xl);
  font-size: 14px;
  color: var(--d-text-2);
}

/* ---------- store buttons ----------
   Deliberately our own design rather than a redrawn Apple/Google badge. Apple's
   marketing guidelines require their official artwork, and a hand-traced Apple
   logo would be both a poor likeness and a trademark problem. Dropping the
   official SVG in later is a markup swap, not a redesign. */

.badges { display: flex; flex-wrap: wrap; gap: var(--s-md); align-items: stretch; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-md);
  background: var(--d-primary);
  color: var(--d-on-primary);
  border-radius: 14px;
  padding: 11px var(--s-xl);
  min-height: 58px;
  border: 1px solid transparent;
}
.store-btn:hover { text-decoration: none; opacity: 0.92; }
.store-btn svg { width: 26px; height: 26px; flex: 0 0 auto; }
.store-btn .st { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn .st small { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.72; }
.store-btn .st strong { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }

/* secondary / not-yet-available */
.store-btn.ghost {
  background: transparent;
  color: var(--d-text);
  border-color: var(--d-border);
}
.store-btn.soon {
  background: transparent;
  color: var(--d-text-2);
  border-color: var(--d-border);
  cursor: default;
}
.store-btn.soon:hover { opacity: 1; }

/* ---------- phone frame ---------- */

.phones { display: flex; justify-content: center; gap: var(--s-xl); flex-wrap: wrap; }

.phone {
  width: 260px;
  flex: 0 0 auto;
  border-radius: 42px;
  border: 2px solid var(--d-border);
  background: var(--d-surface);
  padding: 10px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 32px; width: 100%; display: block; }

.shot { margin: 0; }
.phone-caption {
  text-align: center;
  font-size: 14px;
  color: var(--l-text-2);
  margin-top: var(--s-lg);
}

/* the gallery sits on the light background, so its frames need a light-mode
   border rather than the hero's near-black one */
.shot .phone {
  border-color: var(--l-border);
  background: var(--l-surface);
  box-shadow: 0 18px 44px rgba(10, 26, 15, 0.10);
}

/* ---------- generic sections ---------- */

section { padding: var(--s-4xl) 0; }
section.tight { padding: var(--s-3xl) 0; }

.section-head { max-width: 640px; margin-bottom: var(--s-3xl); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 var(--s-lg);
}

h3 { font-size: 20px; line-height: 1.3; font-weight: 650; margin: 0 0 var(--s-sm); letter-spacing: -0.01em; }

.section-head p { font-size: 18px; color: var(--l-text-2); margin: 0; }

/* ---------- feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xl);
}

.card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--radius-lg);
  padding: var(--s-2xl);
}
.card p { color: var(--l-text-2); margin: 0; font-size: 16px; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 168, 84, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-lg);
  color: var(--l-primary);
}
.card-icon svg { width: 22px; height: 22px; }

/* ---------- dark band (security) ---------- */

.band-dark {
  background: var(--d-bg);
  color: var(--d-text);
}
.band-dark h2 { color: var(--d-text); }
.band-dark .section-head p { color: var(--d-text-2); }
.band-dark .card {
  background: var(--d-surface);
  border-color: var(--d-border);
}
.band-dark .card h3 { color: var(--d-text); }
.band-dark .card p { color: var(--d-text-2); }
.band-dark .card-icon { background: rgba(0, 232, 122, 0.12); color: var(--d-primary); }
.band-dark a { color: var(--d-primary); }

.spec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--d-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--s-2xl);
}
.spec div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-lg);
  padding: var(--s-lg) var(--s-xl);
  border-bottom: 1px solid var(--d-border);
  font-size: 15px;
  flex-wrap: wrap;
}
.spec div:last-child { border-bottom: 0; }
.spec dt, .spec .k { color: var(--d-text-2); margin: 0; }
.spec dd, .spec .v { color: var(--d-text); margin: 0; font-weight: 600; text-align: right; }

/* ---------- honest-limits callout ---------- */

.note {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-left: 4px solid var(--l-primary);
  border-radius: var(--radius);
  padding: var(--s-xl) var(--s-2xl);
  margin: var(--s-2xl) 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--l-text); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--l-border);
  padding: var(--s-lg) 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--l-link);
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p {
  color: var(--l-text-2);
  margin: var(--s-md) 0 0;
  font-size: 16px;
  max-width: 68ch;
}

/* ---------- CTA ---------- */

.cta {
  background: var(--d-bg);
  color: var(--d-text);
  text-align: center;
  padding: var(--s-4xl) 0;
}
.cta h2 { color: var(--d-text); }
.cta p { color: var(--d-text-2); font-size: 18px; max-width: 52ch; margin: 0 auto var(--s-2xl); }
.cta .badges { justify-content: center; }

/* ---------- legal + prose pages ---------- */

.page-head {
  background: var(--d-bg);
  color: var(--d-text);
  padding: var(--s-4xl) 0 var(--s-3xl);
}
.page-head h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: var(--s-md); }
.page-head p { color: var(--d-text-2); margin: 0; font-size: 16px; }

.prose { padding: var(--s-3xl) 0 var(--s-4xl); }
.prose h2 {
  font-size: 22px;
  margin: var(--s-2xl) 0 var(--s-md);
  letter-spacing: -0.01em;
  scroll-margin-top: var(--s-xl);
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--l-text-2); margin: 0 0 var(--s-lg); max-width: 72ch; }
.prose ul { color: var(--l-text-2); padding-left: 1.2em; max-width: 72ch; }
.prose li { margin-bottom: var(--s-sm); }

.toc {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--radius);
  padding: var(--s-xl) var(--s-2xl);
  margin-bottom: var(--s-3xl);
}
.toc h2 {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--l-text-2);
  margin: 0 0 var(--s-md) !important;
}
.toc ol {
  margin: 0;
  padding-left: 1.3em;
  font-size: 15px;
}
.toc li { margin-bottom: var(--s-xs); break-inside: avoid; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--d-bg);
  color: var(--d-text-2);
  border-top: 1px solid var(--d-border);
  padding: var(--s-3xl) 0 var(--s-2xl);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2xl);
  margin-bottom: var(--s-2xl);
}
.footer-grid h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--d-text);
  margin: 0 0 var(--s-md);
  font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--s-sm); }
.footer-grid a { color: var(--d-text-2); }
.footer-grid a:hover { color: var(--d-text); text-decoration: none; }

.footer-base {
  border-top: 1px solid var(--d-border);
  padding-top: var(--s-xl);
  display: flex;
  justify-content: space-between;
  gap: var(--s-lg);
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-base p { margin: 0; }

/* ---------- responsive ---------- */

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  /* Two columns only once there is room for them -- at 375px a 21-entry list in
     two columns wraps almost every title onto three lines. */
  .toc ol { columns: 2; column-gap: var(--s-2xl); }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
