:root {
  color-scheme: light;
  --page: #fbfdfc;
  --paper: #fff;
  --soft: #eef5f2;
  --ink: #172923;
  --muted: #41564d;
  --faint: #50645c;
  --line: #dce9e2;
  --quiet-line: #b6cec3;
  --quiet-hover: #e7f2ed;
  --brand: #066453;
  --primary: #06735d;
  --primary-hover: #055a49;
  --on-primary: #fff;
  --focus: #076e5e;
  --header: #fbfdfcf2;
  --glow: #c9ebde;
  --glow-faint: #ebf7f1;
  --chip-green: #e2f3ed;
  --icon-green: #066653;
  --chip-blue: #e6eff8;
  --icon-blue: #315f93;
  --chip-amber: #faf0df;
  --icon-amber: #865820;
  --card-shadow: 0 2px 4px #152f2210, 0 12px 30px #163b2609;
  --shot-shadow: 0 22px 65px #0b372830, 0 4px 12px #163b2614;
  --width: 73rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 1rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121d1a;
  --paper: #192722;
  --soft: #16241f;
  --ink: #edf6f1;
  --muted: #bbd1c6;
  --faint: #aec1b8;
  --line: #32493f;
  --quiet-line: #426356;
  --quiet-hover: #213a31;
  --brand: #83dec4;
  --primary: #6ad5b7;
  --primary-hover: #89e5cc;
  --on-primary: #102a20;
  --focus: #9af2d5;
  --header: #121d1af2;
  --glow: #24463a;
  --glow-faint: #1b2e27;
  --chip-green: #1e4539;
  --icon-green: #9af1d3;
  --chip-blue: #263d51;
  --icon-blue: #b6d8fd;
  --chip-amber: #4a3a25;
  --icon-amber: #ffdba9;
  --card-shadow: none;
  --shot-shadow: 0 22px 65px #0006, 0 4px 12px #0004;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --page: #121d1a;
    --paper: #192722;
    --soft: #16241f;
    --ink: #edf6f1;
    --muted: #bbd1c6;
    --faint: #aec1b8;
    --line: #32493f;
    --quiet-line: #426356;
    --quiet-hover: #213a31;
    --brand: #83dec4;
    --primary: #6ad5b7;
    --primary-hover: #89e5cc;
    --on-primary: #102a20;
    --focus: #9af2d5;
    --header: #121d1af2;
    --glow: #24463a;
    --glow-faint: #1b2e27;
    --chip-green: #1e4539;
    --icon-green: #9af1d3;
    --chip-blue: #263d51;
    --icon-blue: #b6d8fd;
    --chip-amber: #4a3a25;
    --icon-amber: #ffdba9;
    --card-shadow: none;
    --shot-shadow: 0 22px 65px #0006, 0 4px 12px #0004;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-size: clamp(2.5rem, 1.9rem + 3.3vw, 4.45rem);
  line-height: 1;
  letter-spacing: -.064em;
  font-weight: 780;
}
h2 {
  font-size: clamp(1.85rem, 1.45rem + 1.9vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.052em;
  font-weight: 750;
}
h3 {
  font-size: clamp(1.125rem, 1rem + .42vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -.024em;
  font-weight: 720;
}
p { color: var(--muted); }
a { color: var(--brand); text-underline-offset: .17em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
code {
  border: 1px solid var(--line);
  border-radius: .3em;
  padding: .04em .28em;
  background: var(--soft);
  font-size: .9em;
  overflow-wrap: anywhere;
}
.container {
  width: min(var(--width), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 30;
  top: .6rem;
  left: .6rem;
  transform: translateY(-180%);
  padding: .5rem 1rem;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: .55rem;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.5rem);
  min-height: 4.35rem;
  padding-block: .55rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  color: var(--ink);
  min-height: 2.75rem;
  font-size: 1.14rem;
  font-weight: 760;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand img { flex: none; }
.site-nav, .footer-inner nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem clamp(.45rem, 1.5vw, 1.2rem);
}
.site-nav a, .footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  border-radius: .5rem;
  padding: .2rem .35rem;
  font-size: .91rem;
  font-weight: 590;
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"], .footer-inner nav a:hover {
  color: var(--brand);
  background: var(--quiet-hover);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: 0 .55rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--quiet-line);
  border-radius: .65rem;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.theme-toggle:hover { background: var(--quiet-hover); }
.theme-sun, .theme-toggle[aria-pressed="true"] .theme-moon { display: none; }
.theme-toggle[aria-pressed="true"] .theme-sun { display: inline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .66rem 1rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  font-size: .96rem;
  font-weight: 690;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
}
.button-small { min-height: 2.65rem; padding: .55rem .82rem; font-size: .88rem; }
.button-primary {
  color: var(--on-primary);
  border-color: var(--primary);
  background: var(--primary);
}
.button-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.button-secondary {
  color: var(--ink);
  border-color: var(--quiet-line);
  background: var(--paper);
}
.button-secondary:hover { background: var(--quiet-hover); }

.hero {
  padding-block: clamp(2.35rem, 5.4vw, 4.5rem) clamp(2.35rem, 5.4vw, 4.6rem);
  background:
    radial-gradient(ellipse at 75% 35%, var(--glow), transparent 63%),
    radial-gradient(ellipse at 12% 1%, var(--glow-faint), transparent 48%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.13fr);
  gap: clamp(1.6rem, 4vw, 3.25rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-icon { margin-bottom: 1.1rem; }
.lead {
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(1.075rem, .95rem + .42vw, 1.26rem);
  line-height: 1.55;
}
.hero-copy .lead { margin-block: 1.16rem 1.4rem; }
.requirements { margin-top: .85rem; color: var(--faint); font-size: .86rem; }
.hero-figure { min-width: 0; }
.app-shot {
  display: block;
  background: var(--paper);
  border: 1px solid var(--quiet-line);
  border-radius: 1rem;
  box-shadow: var(--shot-shadow);
}
.app-shot img { border-radius: inherit; width: 100%; }
figcaption { margin-top: .85rem; color: var(--faint); font-size: .85rem; text-align: center; }

.section { padding-block: clamp(3.3rem, 7vw, 5.5rem); }
.section-compact { padding-block: clamp(1.6rem, 4.6vw, 3.7rem); }
.section-soft { background: var(--soft); }
.section-heading { max-width: 42rem; margin-bottom: 1.5rem; }
.section-heading .lead { margin-top: .65rem; }
.section-note { margin-top: 1.1rem; color: var(--faint); }
.eyebrow {
  margin-bottom: .45rem;
  color: var(--brand);
  font-weight: 720;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.grid { display: grid; gap: clamp(.75rem, 2vw, 1.15rem); }
.feature-grid, .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  min-width: 0;
  padding: clamp(1.05rem, 2.4vw, 1.75rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.card p { margin-top: .55rem; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: .72rem;
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1;
}
.icon-compare { background: var(--chip-green); color: var(--icon-green); }
.icon-schedule { background: var(--chip-blue); color: var(--icon-blue); }
.icon-recover { background: var(--chip-amber); color: var(--icon-amber); }
.mode-card { display: flex; flex-direction: column; align-items: flex-start; }
.mode-card .mode-note {
  align-self: stretch;
  margin-top: auto;
  padding-top: 1rem;
  font-size: .92rem;
  color: var(--brand);
  font-weight: 640;
}
.recovery-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.35rem, 4vw, 3.2rem);
  border-top: 1px solid var(--line);
  margin-top: clamp(1.9rem, 5.5vw, 3.8rem);
  padding-top: clamp(1.9rem, 5.5vw, 3.8rem);
}
.recovery-copy h3 { font-size: clamp(1.6rem, 1.23rem + 1.45vw, 2.5rem); }
.recovery-copy p { margin-top: .7rem; max-width: 45ch; }
.recovery-grid figure { max-width: 34rem; }
.steps-grid { margin: 0; padding: 0; list-style: none; }
.steps-grid li { box-shadow: none; }
.steps-grid h3 span { color: var(--brand); }
.setup-actions { margin-top: 1.4rem; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 2rem; }
.faq { display: grid; align-content: start; gap: .55rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .72rem;
}
.faq summary {
  padding: .85rem 1.05rem;
  min-height: 2.75rem;
  border-radius: .72rem;
  color: var(--ink);
  font-weight: 690;
  cursor: pointer;
}
.faq summary::marker { color: var(--brand); }
.faq details p { padding: 0 1.05rem 1.05rem; }

.closing-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
  padding: clamp(1.25rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(120deg, var(--glow-faint), var(--soft));
}
.closing h2 { font-size: clamp(1.55rem, 1.2rem + 1.65vw, 2.75rem); }
.closing p { margin-top: .4rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--soft); }
.footer-inner {
  padding-block: 1.35rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem 1.5rem;
  flex-wrap: wrap;
}
.footer-inner p { color: var(--faint); font-size: .86rem; }
.prose { max-width: 69ch; }
.prose > * + * { margin-top: .85rem; }
.prose ul, .prose ol { padding-inline-start: 1.5em; }
.prose li + li { margin-top: .35em; }

@media (max-width: 58rem) {
  html { scroll-padding-top: 8rem; }
  .header-inner { flex-wrap: wrap; gap: .15rem .6rem; }
  .site-nav { flex: 1 0 100%; order: 3; justify-content: flex-start; padding-block: .05rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 17ch; }
  .hero-figure { width: min(100%, 43rem); }
}

@media (max-width: 45rem) {
  .feature-grid, .steps-grid, .mode-grid, .recovery-grid, .faq-layout { grid-template-columns: 1fr; }
  .faq-layout { gap: 0; }
  .feature-icon { margin-bottom: .8rem; }
  .footer-inner nav { justify-content: flex-start; }
}

@media (max-width: 25rem) {
  .site-nav { justify-content: space-between; column-gap: .03rem; }
  .site-nav a { padding-inline: .2rem; font-size: .82rem; }
  .hero-copy .actions > *, .closing .actions > * { flex: 1 1 100%; }
  .brand { gap: .35rem; font-size: 1.025rem; }
  .brand img { width: 2.05rem; }
  .header-actions { gap: .4rem; }
}
