/* Sticky bar, wide hero and alternating bands; colors are the app's own amber. */
:root {
  --bg: oklch(0.985 0.004 70);
  --surface: oklch(0.955 0.008 70);
  --content: oklch(0.22 0.01 70);
  --content-muted: oklch(0.45 0.012 70);
  --border: oklch(0.88 0.01 70);
  --heading-accent: var(--content);
  --accent: oklch(0.78 0.15 70);
  --accent-hover: oklch(0.72 0.15 70);
  --accent-fg: oklch(0.2 0.03 70);
  --accent-text: oklch(0.5 0.13 55);
  --link: oklch(0.48 0.13 55);
  --ring: oklch(0.55 0.15 55);
  --bar: var(--bg);
  --bar-fg: var(--content);
  --bar-muted: var(--content-muted);
  --radius: 8px;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.17 0.006 70);
    --surface: oklch(0.21 0.008 70);
    --content: oklch(0.93 0.006 70);
    --content-muted: oklch(0.72 0.01 70);
    --border: oklch(0.32 0.01 70);
    --accent: oklch(0.8 0.13 70);
    --accent-hover: oklch(0.85 0.12 70);
    --accent-text: oklch(0.82 0.11 70);
    --link: oklch(0.82 0.11 70);
    --ring: oklch(0.82 0.11 70);
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--content);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 76rem; margin: 0 auto; padding-inline: 24px; }
.prose { max-width: 68ch; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }

/* Full-bleed background for a .wrap element: paints past the centered column. */
.nav, footer, main > section:nth-of-type(odd) { box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); background: var(--band); }

/* Sticky product bar */
.nav {
  --band: var(--bar);
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  min-height: 64px; padding-top: 10px; padding-bottom: 10px;
  font-size: 14px; color: var(--bar-fg);
  box-shadow: 0 0 0 100vmax var(--band), 0 1px 0 100vmax var(--border); clip-path: inset(0 -100vmax -1px);
}
.nav a { color: var(--bar-muted); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--bar-fg); }
.nav a[aria-current] { color: var(--bar-fg); font-weight: 600; border-bottom-color: var(--accent-text); }
.nav .brand {
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  color: var(--bar-fg); margin-right: auto; border: 0;
}
.nav .brand[aria-current] { border: 0; }
.nav .btn-primary { color: var(--accent-fg); padding: 10px 22px; border: 0; }

/* Hero */
header { padding-block: 88px 96px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 16px;
}
h1 {
  font-family: var(--display); font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em;
  font-weight: 800; margin: 0 0 24px; max-width: 16ch;
}
.lead { font-size: 19px; color: var(--content-muted); margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 30px;
  border-radius: var(--radius); font-weight: 600; font-size: 16px;
  text-decoration: none; transition: background-color .15s ease-out, color .15s ease-out;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--content); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface); }
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.note { font-size: 14px; color: var(--content-muted); margin: 20px 0 0; }
.shot { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px -20px oklch(0.2 0.03 70 / .35); }
.phone { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; border: 1px solid var(--border); border-radius: 28px; }
.brands { font-size: 15px; color: var(--content-muted); margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.brands strong { color: var(--content); font-weight: 600; }

/* Sections: alternating full-width bands, mono uppercase titles */
main > section { --band: var(--surface); padding-block: 96px; }
h2 {
  font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.02em;
  font-weight: 700; color: var(--heading-accent); margin: 0 0 40px;
}
h3 { font-family: var(--display); font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: .01em; margin: 0 0 6px; }
.features { list-style: none; padding: 0; }
.features li { padding-top: 20px; border-top: 1px solid var(--border); }
.features li + li { margin-top: 24px; }
.features p { margin: 0; color: var(--content-muted); }
.grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  header .grid { grid-template-columns: 5fr 6fr; align-items: center; }
}
ol, ul { padding-left: 1.25em; margin: 0; }
li + li { margin-top: 8px; }
li::marker { color: var(--accent-text); font-weight: 600; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; }
thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--content-muted); }

/* Accordions with a +/− marker */
details { border-bottom: 1px solid var(--border); padding: 20px 0; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 28px; line-height: 1; color: var(--content-muted); }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; color: var(--content-muted); }

footer { --band: var(--surface); padding-block: 48px 64px; font-size: 14px; color: var(--bar-muted); }
footer a { color: var(--link); }
code { font-family: var(--mono); font-size: .86em; background: var(--surface); padding: 1px 5px; border-radius: 4px; }
main > section:nth-of-type(odd) code { background: var(--bg); }
article { padding-bottom: 64px; }
article h2 { margin-top: 64px; font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
article p, article ol, article ul { margin-bottom: 16px; }
pre { background: var(--surface); padding: 14px 18px; overflow-x: auto; font-size: 14px; border-radius: var(--radius); }
pre code { background: none; padding: 0; }
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }
@media (max-width: 640px) {
  .nav { position: static; gap: 4px 16px; }
  .nav .brand { order: -2; font-size: 16px; }
  .nav .btn-primary { order: -1; min-height: 40px; padding: 8px 14px; font-size: 14px; }
  header { padding-block: 48px 64px; }
  main > section { padding-block: 64px; }
}
