:root {
  color-scheme: light dark;
  --bg: #f7f4ed;
  --surface: #fffdf8;
  --text: #243238;
  --muted: #5e6b6f;
  --accent: #286c73;
  --accent-strong: #194f55;
  --border: #d7d8d1;
  --focus: #a84f19;
  --max-width: 56.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--accent-strong); overflow-wrap: anywhere; text-decoration-thickness: .09em; text-underline-offset: .16em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: .2rem solid var(--focus); outline-offset: .2rem; border-radius: .15rem; }
.skip-link { position: absolute; left: .75rem; top: -5rem; z-index: 100; background: var(--surface); padding: .65rem 1rem; }
.skip-link:focus { top: .75rem; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--border); background: var(--bg); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(.5rem); }
.nav { width: min(100% - 2rem, var(--max-width)); margin: auto; min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .55rem; color: var(--text); font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 2rem; height: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem .9rem; margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.nav-links a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--text); text-decoration: none; padding: .35rem .25rem; }
.nav-links a:hover { color: var(--accent); text-decoration: underline; }
main, .site-footer > div { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
main { padding-block: 3rem 4rem; }
.hero { padding-block: 2rem 4rem; }
.eyebrow { color: var(--accent-strong); font-size: .84rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.025em; }
h1 { max-width: 18ch; margin: .3rem 0 1rem; font-size: clamp(2.25rem, 8vw, 4.6rem); }
h2 { margin-top: 2.8rem; font-size: clamp(1.55rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
.lead { max-width: 42rem; color: var(--muted); font-size: clamp(1.08rem, 2.5vw, 1.28rem); }
.tagline { max-width: 42rem; color: var(--accent-strong); font-size: 1.08rem; font-weight: 700; }
.section-heading h2 { margin-top: .3rem; }
#apps, .app-card { scroll-margin-top: 5rem; }
.button { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; margin-top: .55rem; padding: .65rem 1rem; border-radius: .42rem; background: var(--accent-strong); color: #fff; font-weight: 700; text-align: center; text-decoration: none; }
.button:hover { background: var(--accent); text-decoration: none; }
.app-card { position: relative; overflow: hidden; margin-top: 1.25rem; padding: clamp(1.4rem, 5vw, 2.4rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.app-card::before { position: absolute; inset: 0 auto 0 0; width: .35rem; background: var(--app-accent, var(--accent)); content: ""; }
.app-card-content { max-width: 43rem; }
.app-card h3 { margin: .2rem 0 .65rem; font-size: clamp(1.65rem, 4vw, 2.15rem); }
.app-status { margin: 0; color: var(--accent-strong); font-size: .85rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.app-summary { font-size: 1.08rem; }
.app-highlights { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; padding-left: 1.2rem; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: .8rem; }
.card-actions .button { margin-top: 0; }
.availability { color: var(--muted); font-weight: 650; }
.store-status { display: flex; width: fit-content; max-width: 100%; flex-direction: column; gap: .1rem; margin-top: 1.5rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: .55rem; background: var(--surface); }
.store-status strong { color: var(--accent-strong); }
.store-status span { color: var(--muted); font-size: .92rem; }
.future-note { max-width: 42rem; padding-block: 3.5rem 1rem; }
.future-note h2 { margin-bottom: .5rem; font-size: clamp(1.35rem, 3.5vw, 1.7rem); }
.future-note p { margin-top: 0; color: var(--muted); }
.feature-list { display: grid; grid-template-columns: 1fr; gap: .5rem 2rem; padding-left: 1.25rem; }
.note { margin-block: 2rem; padding: 1.1rem 1.25rem; border-left: .3rem solid var(--accent); background: var(--surface); }
.meta { margin: -.35rem 0 2rem; color: var(--muted); }
.legal { max-width: 47rem; }
.legal h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
.legal h2 { scroll-margin-top: 5rem; padding-top: .4rem; border-top: 1px solid var(--border); }
.toc { margin-block: 2rem 3rem; padding: 1.2rem 1.4rem; border: 1px solid var(--border); border-radius: .55rem; background: var(--surface); }
.toc h2 { margin: 0 0 .6rem; padding: 0; border: 0; font-size: 1.15rem; }
.toc ol { columns: 2; padding-left: 1.3rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th, .data-table td { padding: .65rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { background: var(--surface); }
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: .15rem; }
.site-footer { border-top: 1px solid var(--border); }
.site-footer > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.footer-links a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.site-footer p { margin: 0; color: var(--muted); }

@media (min-width: 38rem) { .feature-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 35rem) {
  .nav { align-items: flex-start; flex-direction: column; padding-block: .7rem; }
  .nav-links { justify-content: flex-start; }
  .toc ol { columns: 1; }
  main { padding-top: 2rem; }
  .hero { padding-block: 1rem 3.25rem; }
  .legal h2 { scroll-margin-top: 8rem; }
  #apps, .app-card { scroll-margin-top: 8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (prefers-color-scheme: dark) {
  :root { --bg: #172126; --surface: #202d33; --text: #f1eee6; --muted: #bdc6c5; --accent: #80b9ba; --accent-strong: #9acacc; --border: #3c4a4f; --focus: #f0ae73; }
  .button { color: #102126; background: var(--accent-strong); }
}
@media print {
  :root { --bg: #fff; --surface: #fff; --text: #111; --muted: #333; --accent: #174f55; --accent-strong: #174f55; --border: #bbb; }
  .site-header, .site-footer, .skip-link { display: none; }
  body { font-size: 11pt; }
  main, .legal { width: 100%; max-width: none; padding: 0; }
  .toc { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  a { color: inherit; }
}
