/* The search pages (generated by scripts/build-seo.mjs). Same palette as the app: the tokens below are copied from src/styles.css, not new colours. */
:root {
  --yellow: #ffc800; --yellow-hover: #f2bd00; --yellow-ink: #17140a;
  --bg: #f8f7f4; --surface: #ffffff; --surface-2: #f3f2ee; --border: #e6e4de;
  --text: #16150f; --text-2: #3f3d36; --muted: #6c6a61; --focus: #2563eb;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0b0a; --surface: #141412; --surface-2: #1d1d1a; --border: #2a2a26; --text: #f2f1ec; --text-2: #cfcdc4; --muted: #a09e94; --focus: #6aa0ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.top { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; font-size: 18px; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 4px 16px; flex-wrap: wrap; flex: 1; }
.top nav a { text-decoration: none; color: var(--text-2); font-size: 14px; padding: 6px 2px; }
.top nav a:hover { color: var(--text); text-decoration: underline; }
.btn { display: inline-block; background: var(--yellow); color: var(--yellow-ink); font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 10px; border: 0; }
.btn:hover { background: var(--yellow-hover); }
.btn.big { padding: 13px 22px; font-size: 17px; }
.link { margin-left: 14px; font-weight: 600; }

.hero { padding: 56px 0 28px; }
.crumb { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.crumb a { text-decoration: none; }
h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; max-width: 22ch; }
.lead { font-size: 19px; color: var(--text-2); max-width: 60ch; margin: 0 0 24px; }
.block { padding: 36px 0; }
.block h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 20px; letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); font-weight: 800; margin-bottom: 8px; }
.steps h3 { font-size: 17px; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15px; }
.narrow { max-width: 760px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 16px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
details p { margin: 0 0 14px; color: var(--text-2); }
.more { display: grid; gap: 8px; }
.more a { color: var(--text-2); }
.cta { background: var(--surface-2); border-top: 1px solid var(--border); padding: 48px 0; text-align: center; margin-top: 24px; }
.cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.cta p { color: var(--text-2); margin: 0 0 18px; }
.foot { border-top: 1px solid var(--border); padding: 36px 0 24px; background: var(--surface); }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.foot h2 { font-size: 14px; margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.foot a { display: block; text-decoration: none; color: var(--text-2); font-size: 15px; padding: 3px 0; }
.foot a:hover { text-decoration: underline; }
.foot p { color: var(--text-2); margin: 6px 0 0; font-size: 15px; }
.foot .base { color: var(--muted); margin-top: 24px; font-size: 14px; }
@media (max-width: 720px) { .foot .cols { grid-template-columns: 1fr 1fr; } .top nav { order: 3; flex-basis: 100%; } .hero { padding-top: 32px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
