/* Static pages around the app (landing, questions, signs). Same palette as the app, system fonts for speed. */
:root {
  --bg: #eef0ee; --paper: #fff; --ink: #1d2125; --mute: #6b7178; --line: #d7dbd8;
  --blue: #1f5fae; --on-blue: #fff; --yellow: #f7c600; --red: #d3212d; --green: #1e8a4c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15181b; --paper: #1e2226; --ink: #e8ebe9; --mute: #8c939a; --line: #2d3338; --blue: #3478d1; --red: #f0525c; --green: #3dbe74; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--blue); }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 8px 0 14px; letter-spacing: -.01em; }
h2 { font-size: 22px; line-height: 1.25; margin: 32px 0 10px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-bottom: 48px; min-height: 60vh; }
.mute, .meta, .crumbs { color: var(--mute); }
.lead { font-size: 19px; color: var(--mute); max-width: 680px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; }
.logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 700; box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 3.5px rgb(255 255 255 / .9); }
.top nav { display: flex; gap: 16px; flex: 1; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--blue); }
.right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--mute); }
@media (max-width: 640px) {
  .top .wrap { gap: 6px 14px; padding-top: 8px; padding-bottom: 8px; }
  .top nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 14px; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--blue); color: var(--on-blue); font: 600 16px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn:disabled { opacity: .5; }

.hero { padding: 40px 0 8px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.features { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.features li, .plan, .cta, .question { background: var(--paper); border-radius: 12px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.features b { display: block; font-size: 18px; margin-bottom: 4px; }
.features p { margin: 0; color: var(--mute); font-size: 16px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan.best { box-shadow: inset 0 0 0 2px var(--blue); }
.price { font-size: 40px; font-weight: 700; margin: 6px 0 0; }
.price small { font-size: 16px; font-weight: 500; color: var(--mute); }
.plan ul { padding-left: 20px; margin: 12px 0 18px; }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--mute); }

.crumbs { font-size: 14px; margin: 18px 0 6px; }
.crumbs a { color: var(--mute); }
.question { margin-top: 10px; }
.question h1 { font-size: clamp(22px, 4vw, 30px); }
.meta { font-size: 14px; margin: 0; }
.media-note { padding: 10px 14px; border-radius: 8px; background: var(--bg); font-size: 15px; }
.signs { display: flex; gap: 10px; flex-wrap: wrap; }
.answers { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.answers li { padding: 12px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); }
.answers li.ok { box-shadow: inset 0 0 0 2px var(--green); }
.answers li span { color: var(--green); font-weight: 700; }
.verdict { font-size: 18px; }
.question h2 { font-size: 18px; margin: 22px 0 6px; }
.refs { padding-left: 20px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0; box-shadow: inset 0 0 0 2px var(--blue); }
.cta p { margin: 4px 0 0; color: var(--mute); font-size: 15px; }
.pager { display: flex; justify-content: space-between; gap: 12px; }
.qlist { padding-left: 22px; }
.qlist li { margin: 6px 0; }
.topics, .cats { list-style: none; padding: 0; }
.topics li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.topics span { color: var(--mute); font-variant-numeric: tabular-nums; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats li { padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.cats span { margin-left: 6px; color: var(--mute); }
.sign { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-top: 10px; }
.sign img { background: #fff; border-radius: 12px; padding: 8px; }
.sign > div { flex: 1; min-width: 260px; }
.signgrid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.signgrid a { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%; padding: 10px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.3; }
.signgrid img { background: #fff; border-radius: 6px; }
.signgrid span { color: var(--mute); }
.support { display: grid; gap: 14px; max-width: 520px; }
.support label { display: grid; gap: 6px; font-size: 14px; color: var(--mute); }
.support input, .support textarea { padding: 12px 14px; border: 0; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 17px/1.4 inherit; font-family: inherit; }
.support .btn { justify-self: start; }
.legal p { max-width: 720px; }
footer { border-top: 1px solid var(--line); padding: 18px 0 32px; font-size: 14px; }
footer a { color: var(--ink); }
