/* StockSense website — shared styles for every page under vps/app/site/.
   Plain CSS, no build step. Colours follow the app (indigo #1a237e). */

:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #eef0fb;
  --brand: #1a237e;
  --brand-2: #283593;
  --brand-3: #3949ab;
  --brand-ink: #c5cae9;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-3); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-3); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: 1rem; text-decoration: none; padding: .85em 1.4em; border-radius: 10px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { color: var(--brand); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--brand-3); }
.btn-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { border-color: #fff; }
.btn-sm { padding: .55em 1em; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.wordmark { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.wordmark .w1 { color: #1c266d; }
.wordmark .w2 { color: #189a54; }
.site-footer .wordmark .w1 { color: #fff; }
.site-footer .wordmark .w2 { color: #4ade80; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: -3px; }
.brand-mark { width: 40px; height: 37px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { margin-left: 4px; }
.nav .btn-accent, .nav .btn-accent:hover { color: #fff; }
.nav .btn-ghost:hover { color: var(--brand); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--ink); font: inherit; font-size: .9rem; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; justify-content: center; border-bottom: 1px solid transparent; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #3949ab 0%, transparent 60%), linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--brand-ink); font-size: 1.2rem; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: #e8eaf6; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: 5px 14px; margin-bottom: 22px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: .92rem; color: var(--brand-ink); margin: 0; }
.hero-note strong { color: #fff; }

@media (max-width: 920px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* App mock (illustrative; replaced by real screenshots later) */
.mock { background: #fff; color: var(--text); border-radius: 14px; box-shadow: 0 30px 60px rgba(10, 15, 60, .45); overflow: hidden; font-size: 13px; line-height: 1.4; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.mock-body { padding: 16px; }
.mock-title { font-weight: 800; color: var(--brand); font-size: 14px; margin-bottom: 10px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.chip { border-radius: 10px; padding: 8px 10px; border: 1px solid var(--line); }
.chip b { display: block; font-size: 20px; color: var(--ink); line-height: 1.1; }
.chip small { color: var(--muted); font-size: 11px; }
.chip.red { background: #fef2f2; border-color: #fecaca; } .chip.red b { color: var(--danger); }
.chip.amber { background: #fffbeb; border-color: #fde68a; } .chip.amber b { color: var(--warn); }
.mock table { width: 100%; border-collapse: collapse; }
.mock th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; padding: 6px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mock td { padding: 7px 6px; border-bottom: 1px solid #f1f5f9; white-space: nowrap; }
.mock td.num, .mock th.num { text-align: right; font-variant-numeric: tabular-nums; }
.mock td.name { white-space: normal; color: var(--ink); font-weight: 600; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 100px; padding: 2px 8px; }
.pill.red { background: #fee2e2; color: #b91c1c; }
.pill.amber { background: #fef3c7; color: #92400e; }
.pill.green { background: #dcfce7; color: #166534; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.mock-foot .x { background: var(--accent); color: #fff; font-weight: 700; padding: 5px 10px; border-radius: 7px; }
@media (max-width: 520px) {
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .mock .hide-sm { display: none; }
  .mock td.name { white-space: normal; }
  .mock-foot { flex-wrap: wrap; gap: 8px; }
}

/* Hero screenshot */
.hero-shot { box-shadow: 0 30px 60px rgba(10, 15, 60, .45); border: 0; }
.hero-shot img { width: 100%; height: auto; }
.caps-3 .cap h3 { font-size: 1.05rem; }

/* Problem / pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pain .n { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 12px; }
.pain p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .pains { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-tint); color: var(--brand); font-weight: 800; display: grid; place-items: center; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.feature ul { padding: 0; margin: 0; list-style: none; }
.feature li { position: relative; padding-left: 28px; margin: 10px 0; }
.feature li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231a237e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.shot { aspect-ratio: 16 / 10; border-radius: var(--radius); border: 1px dashed #c5cae9; background: repeating-linear-gradient(135deg, #f5f6fd 0 14px, #eef0fb 14px 28px); display: grid; place-items: center; text-align: center; color: var(--brand-3); font-weight: 600; font-size: .95rem; padding: 20px; }
.shot small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature.flip .feature-text { order: 0; }
}

/* Real screenshot frame */
.screen { margin: 44px 0 16px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.screen img { width: 100%; height: auto; }

/* Small capability grid */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.cap h3 { font-size: 1rem; margin-bottom: .35em; }
.cap p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; } }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.aud { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.aud .tag { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.aud p { color: var(--muted); }
.aud a { margin-top: auto; font-weight: 700; text-decoration: none; }
.aud.featured { border-color: var(--brand-3); box-shadow: var(--shadow); }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* Multi band */
.band { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 100%); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: var(--brand-ink); margin: 0; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; margin-top: 40px; align-items: stretch; }
.plan { border: 2px solid var(--brand); border-radius: 18px; padding: 32px; background: #fff; box-shadow: var(--shadow); }
.plan .trial { display: inline-block; background: #dcfce7; color: #166534; font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; }
.price { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.alt-prices { color: var(--muted); margin: 12px 0 22px; }
.plan ul { padding: 0; margin: 0 0 26px; list-style: none; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid #f1f5f9; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan-side { border-radius: 18px; padding: 32px; background: var(--bg-soft); border: 1px solid var(--line); }
.plan-side h3 { margin-top: 0; }
.plan-side p { color: var(--muted); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.trust-item { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.trust-item h3 { font-size: 1rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.ico { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.ico svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 800px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--brand-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Final CTA */
.final { text-align: center; }
.final .hero-ctas { justify-content: center; }

/* Footer */
.site-footer { background: #0b1033; color: #aab0d6; padding: 56px 0 32px; font-size: .93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .9rem; margin: 0 0 12px; }
.site-footer a { color: #aab0d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── Subpages ─────────────────────────────────────────── */
.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section.tight { padding: 40px 0 72px; }
.narrow { max-width: 820px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--brand); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; }
.toc a:hover { border-color: var(--brand-3); }
.feature h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.feature .screen { margin: 0; }
[id] { scroll-margin-top: 84px; }
.caps-3 { grid-template-columns: repeat(3, 1fr); margin: 8px 0 24px; }
@media (max-width: 860px) { .caps-3 { grid-template-columns: 1fr; } }
.caps-4 { margin: 8px 0 24px; }


/* Pricing page */
.plan-name { font-size: 1.3rem; margin-bottom: 12px; }
.plan-name small { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.plan-alt { border-color: var(--line); box-shadow: none; }
.terms { display: grid; grid-template-columns: 180px 1fr; gap: 14px 28px; margin: 24px 0; }
.terms dt { font-weight: 700; color: var(--ink); }
.terms dd { margin: 0; color: var(--text); }
.note { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .terms { grid-template-columns: 1fr; gap: 4px; } .terms dd { margin-bottom: 14px; } }

/* Multi diagram */
.multi-diagram { display: flex; flex-direction: column; align-items: center; gap: 0; }
.md-shops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.md-shop, .md-core, .md-out { border-radius: 14px; padding: 14px 16px; text-align: center; }
.md-shop { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.md-shop b, .md-core b, .md-out b { display: block; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 480px) { .md-shops { gap: 8px; } .md-shop { padding: 10px 8px; font-size: .9rem; } }
.md-shop small, .md-core small, .md-out small { color: var(--brand-ink); font-size: .82rem; }
.md-arrow { width: 2px; height: 34px; background: rgba(255,255,255,.4); position: relative; }
.md-arrow::after { content: ""; position: absolute; bottom: -2px; left: -5px; border: 6px solid transparent; border-top-color: rgba(255,255,255,.6); border-bottom: 0; }
.md-core { background: #fff; width: 100%; }
.md-core b { color: var(--brand); font-size: 1.15rem; }
.md-core small { color: var(--muted); }
.md-out { background: var(--accent); width: 80%; }
.md-out small { color: #dcfce7; }

/* Access form */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand-3); outline-offset: 1px; border-color: var(--brand-3); }
.form textarea { resize: vertical; font-family: inherit; }
.form .btn { justify-content: center; margin-top: 6px; border: 0; cursor: pointer; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--accent); } .form-msg.err { color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

/* Help card next to the Multi CTA */
.help-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.help-card h3 { margin-top: 0; }
.help-card p { color: var(--muted); }
.help-card .btn { margin: 6px 0 12px; }

/* Guide */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: 92px; display: grid; gap: 4px; font-size: .92rem; }
.doc-toc strong { color: var(--ink); margin-bottom: 6px; }
.doc-toc a { text-decoration: none; color: var(--text); padding: 4px 0; }
.doc-toc a:hover { color: var(--brand); }
.doc-body { max-width: 760px; }
.doc-body h2 { font-size: 1.45rem; margin-top: 2em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body li { margin: 6px 0; }
.doc-body code { background: var(--bg-tint); color: var(--brand); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.callout { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 14px 18px; color: #166534; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; gap: 24px; } .doc-toc { position: static; } }

/* Legal documents (English text, unchanged from the app's legal pages) */
.legal-doc h1 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
.legal-doc .meta { color: var(--muted); margin-bottom: 2rem; }
.legal-doc h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal-doc h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-doc th { color: var(--ink); background: var(--bg-soft); }
.legal-doc li { margin: 6px 0; }
.legal-see { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 640px) { .legal-doc table { display: block; overflow-x: auto; } }

/* News (changelog) */
.langs { font-size: .9rem; color: var(--muted); }
.langs a { text-decoration: none; font-weight: 600; }
.news article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; }
.news time { font-size: .85rem; color: var(--muted); }
.news h2 { font-size: 1.15rem; margin: 4px 0 8px; }
.news p { margin: 0; }
.news .tab { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--brand); background: var(--bg-tint); border-radius: 6px; padding: 3px 10px; }

/* Definitional block (quotable by search engines and AI answers) */
.section.definition { padding: 48px 0 0; }
.definition-quote { margin: 0; padding: 22px 28px; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 14px 14px 0; }
.definition-quote p { margin: 0; font-size: 1.05rem; }
.faq summary h3 { display: inline; font-size: 1.02rem; margin: 0; }
