/* The marketing site. Tokens match the web app (public/app/app.css): pine ink on cool paper, one amber accent. System fonts only; no inline
   styles (the CSP forbids them). Light and dark follow the system. Logical properties keep right-to-left languages working. */
:root {
  --bg: #eff2ee; --surface: #fbfcfa; --surface-2: #e4e9e3; --border: #c9d2c9; --text: #17211c; --muted: #4f5c54;
  --accent: #17604e; --accent-strong: #104a3b; --accent-ink: #fff; --accent-soft: rgba(23, 96, 78, 0.1); --waypoint: #c98a2b;
  --focus: #0b5fd1; --shadow: 0 1px 2px rgba(23, 33, 28, 0.06), 0 8px 28px rgba(23, 33, 28, 0.08);
  --font: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px; --max: 1080px;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1512; --surface: #161d19; --surface-2: #1f2824; --border: #2d3a34; --text: #e6ede8; --muted: #a3b0a8; --accent: #6fd3b5; --accent-strong: #94e4cb; --accent-ink: #06201a; --accent-soft: rgba(111, 211, 181, 0.14); --waypoint: #e3a64a; --focus: #7db4ff; --shadow: none; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.3em; }
li { margin: 0.3em 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 8px; z-index: 10; border: 1px solid var(--border); }
.skip:focus { top: 8px; }

/* header */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; margin-inline-end: auto; }
.logo:hover { color: var(--text); }
.mark { width: 28px; height: 28px; }
.mark .m1 { fill: var(--accent); } .mark .m2 { fill: var(--accent); opacity: 0.55; } .mark .m3 { fill: var(--accent); opacity: 0.28; } .mark .m4 { fill: var(--waypoint); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; order: 3; width: 100%; }
.nav a { color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; font-size: 0.97rem; }
.nav a:hover { border-bottom-color: var(--border); color: var(--text); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }
.tools { display: flex; align-items: center; gap: 12px; }
@media (min-width: 900px) { .nav { order: 0; width: auto; } .logo { margin-inline-end: 12px; } .bar { flex-wrap: nowrap; } .nav { margin-inline-end: auto; } }
.lang { position: relative; }
.lang summary { cursor: pointer; list-style: none; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.93rem; background: var(--surface); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; z-index: 5; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); min-width: 12rem; }
.lang li { margin: 0; }
.lang a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--text); text-decoration: none; }
.lang a:hover, .lang a[aria-current] { background: var(--accent-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid var(--accent); font-size: 1rem; line-height: 1.2; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent-strong); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 0.93rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0.8em; }

/* sections */
section { padding-block: 56px; }
.band { background: var(--surface); border-block: 1px solid var(--border); }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.7em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.note { color: var(--muted); font-size: 0.95rem; }
.hero { padding-block: 44px 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } .hero { padding-block: 72px; } }
.shot { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.steps { list-style: none; padding: 0; display: grid; gap: 28px; counter-reset: step; margin-top: 32px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps > li { counter-increment: step; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.steps h3::before, .steps .h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; margin-inline-end: 0.6em; border-radius: 50%; border: 2px solid var(--waypoint); color: var(--text); font-size: 0.9em; }
.steps p { margin: 0; color: var(--muted); }
.steps .shot { margin-top: auto; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 0; }
.chips a { display: inline-block; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; }
.band .chips a { background: var(--bg); }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.checks { list-style: none; padding: 0; }
.checks li { padding-inline-start: 1.7em; position: relative; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0.15em; top: 0.55em; width: 0.7em; height: 0.7em; border-radius: 3px; background: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.band .card { background: var(--bg); box-shadow: none; }
.card h3 { margin-bottom: 0.4em; }
.limits { width: 100%; border-collapse: collapse; margin: 0.6em 0 1em; }
.limits th, .limits td { text-align: start; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.limits th { font-weight: 600; width: 40%; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; }
.cols { display: grid; gap: 22px; }
@media (min-width: 720px) { .cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cols.three { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { max-width: 46rem; margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 12px; font-size: 1.5rem; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding-block: 40px; font-size: 0.95rem; }
.foot { display: grid; gap: 28px; }
@media (min-width: 720px) { .foot { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--text); }
.legal-line { color: var(--muted); margin: 0.4em 0 0; }
.h3 { font-size: 1.15rem; }
.center .cta-row { justify-content: center; }
.center { padding-inline: var(--gutter); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
