/* Landing page styles for homemedkit.app (index.html). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

:root {
  --ground: #f4f0ea;
  --surface: #fffdfa;
  --surface-2: #f8f4ee;
  --line: #e4dcd2;
  --ink: #1c1827;
  --muted: #5f586f;
  --accent: #6439d1;
  --accent-ink: #ffffff;
  --accent-soft: #e9e2fb;
  --accent-text: #5530b8;
  --ok-bg: #dcf1d3;
  --ok-ink: #2b6424;
  --warn-bg: #fbe6c8;
  --warn-ink: #7a4a0c;
  --bad-bg: #fbdde0;
  --bad-ink: #8b2330;
  --shadow: 0 1px 2px rgba(40, 24, 80, .06), 0 12px 32px -12px rgba(60, 36, 120, .18);
  --display: "Unbounded", "Onest", "Segoe UI", Arial, sans-serif;
  --body: "Onest", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #15121c;
    --surface: #1f1a2a;
    --surface-2: #262035;
    --line: #342c45;
    --ink: #f2eef8;
    --muted: #aba3bd;
    --accent: #8f6cff;
    --accent-ink: #120d1d;
    --accent-soft: #2c2342;
    --accent-text: #b8a2ff;
    --ok-bg: #1f3a1d;
    --ok-ink: #a6dd98;
    --warn-bg: #3d2d12;
    --warn-ink: #f0c47f;
    --bad-bg: #421d24;
    --bad-ink: #f3a3ae;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #15121c;
  --surface: #1f1a2a;
  --surface-2: #262035;
  --line: #342c45;
  --ink: #f2eef8;
  --muted: #aba3bd;
  --accent: #8f6cff;
  --accent-ink: #120d1d;
  --accent-soft: #2c2342;
  --accent-text: #b8a2ff;
  --ok-bg: #1f3a1d;
  --ok-ink: #a6dd98;
  --warn-bg: #3d2d12;
  --warn-ink: #f0c47f;
  --bad-bg: #421d24;
  --bad-ink: #f3a3ae;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .6);
}

body {
  background: var(--ground);
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  padding-inline: 20px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin-inline: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }


/* Nav */
.nav { display: flex; align-items: center; gap: 24px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.15; }
.brand small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.brand-icon { width: 40px; height: 40px; flex: none; display: block; }
.med-icon i {
  width: 26px; height: 12px; border-radius: 6px; transform: rotate(-40deg);
  background: linear-gradient(90deg, #ffffff 0 50%, var(--accent) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(60, 36, 120, .15);
}
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; background: var(--surface); border-radius: 999px; padding: 3px; box-shadow: var(--shadow); }
.lang a { color: var(--muted); font: 600 13px var(--body); padding: 6px 11px; border-radius: 999px; text-decoration: none; }
.lang a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }

/* Shared */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: block; line-height: 0; border-radius: 10px; }
.stores img { height: 52px; width: auto; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.chip.current { background: var(--accent); color: var(--accent-ink); }
.chip.stock, .chip.ok { background: var(--ok-bg); color: var(--ok-ink); }
.chip.done { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.chip.expired, .chip.bad { background: var(--bad-bg); color: var(--bad-ink); }
.chip.soon { background: var(--warn-bg); color: var(--warn-ink); }
.btn { border: 0; cursor: pointer; font: 600 15px var(--body); padding: 12px 20px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); text-decoration: none; display: inline-block; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--muted); padding-inline: 10px; }
section { padding-block: 80px; }
.sec-head { display: grid; gap: 12px; max-width: 42em; margin-bottom: 36px; }
.sec-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-block: 40px 64px; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin-top: 14px; text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--accent); }
.lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 32em; }
.hero .stores { margin-top: 32px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 15px; }
.hero-links a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }

/* Package demo */
.demo { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 16px; }
.med-head { display: flex; gap: 14px; align-items: center; }
.med-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.med-name { font-weight: 700; font-size: 18px; line-height: 1.25; }
.med-sub { font-size: 13px; color: var(--muted); }
.med-total { margin-left: auto; text-align: right; }
.med-total strong { display: block; font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.med-total span { font-size: 12px; color: var(--muted); }
.packs { display: grid; gap: 10px; }
.pack { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); transition: opacity .35s ease, border-color .35s ease; }
.pack.is-current { border-color: var(--accent); background: var(--accent-soft); }
.pack.is-done { opacity: .55; }
.pack-title { font-weight: 600; font-size: 15px; }
.pack-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .35s ease; }
.pack.is-expired .bar i { background: var(--bad-ink); }
.pack.is-stock .bar i { background: var(--ok-ink); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.demo-log { font-size: 13px; color: var(--muted); min-height: 1.6em; }
.demo-log.flash { color: var(--accent-text); font-weight: 600; }
.demo-caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* Expiry checker */
.checkup { background: var(--surface); border-radius: 32px; box-shadow: var(--shadow); padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.checkup h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin-top: 10px; }
.checkup-intro { color: var(--muted); margin-top: 12px; }
.add-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; margin-top: 26px; align-items: end; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select { font: 500 16px var(--body); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; min-width: 0; width: 100%; }
.field input::placeholder { color: var(--muted); opacity: .8; }
.add-form .btn { grid-column: 1 / -1; justify-self: start; }
.form-error { font-size: 14px; color: var(--bad-ink); min-height: 1.4em; margin-top: 8px; }
.pack-art { margin-top: 18px; display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.pack-art .exp-sample { font: 600 13px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--ink); background: var(--surface-2); border: 1px dashed var(--line); padding: 8px 10px; border-radius: 8px; letter-spacing: .04em; white-space: nowrap; }
.verdict { background: var(--surface-2); border-radius: 24px; padding: 24px; display: grid; gap: 16px; align-content: start; }
.summary { display: flex; flex-wrap: wrap; gap: 8px; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.results li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; background: var(--surface); border-radius: 14px; padding: 12px 12px 12px 16px; border-left: 4px solid var(--ok-ink); }
.results li.bad { border-left-color: var(--bad-ink); }
.results li.soon { border-left-color: var(--warn-ink); }
.results li.empty { display: block; background: none; border: 0; padding: 0; font-size: 15px; color: var(--muted); }
.results .r-name { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.results .r-when { grid-column: 1; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.results .r-state { grid-column: 1; font-size: 14px; font-weight: 600; }
.results li.bad .r-state { color: var(--bad-ink); }
.results li.soon .r-state { color: var(--warn-ink); }
.results li.ok .r-state { color: var(--ok-ink); }
.results .r-del { grid-column: 2; grid-row: 1 / span 3; border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.results .r-del:hover { color: var(--ink); background: var(--surface-2); }
.empty { font-size: 15px; color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); }
.example-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* Story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.story-phone { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 32px); align-self: start; display: grid; justify-items: center; }
.story-stage { position: relative; width: min(100%, 340px); aspect-ratio: 1284 / 2778; max-height: calc(100vh - 64px); }
.story-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 28px; opacity: 0; transition: opacity .45s ease, transform .45s ease; transform: scale(.97); }
.story-stage img.is-active { opacity: 1; transform: none; }
.story-steps { display: grid; }
.story-step { min-height: 72vh; display: grid; align-content: center; gap: 12px; padding-block: 24px; opacity: .45; transition: opacity .35s ease; }
.story-step.is-active { opacity: 1; }
.story-step .n { font-size: 13px; font-weight: 600; color: var(--accent-text); }
.story-step h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.story-step p { color: var(--muted); max-width: 30em; }
.story-step ul { margin: 4px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.story-step .inline-shot { display: none; }

/* Feature rows (voice, symptoms) */
.frows { display: grid; gap: 28px; }
.frow { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; background: var(--surface); border-radius: 32px; box-shadow: var(--shadow); padding: 36px; }
.frow.flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.frow.flip .frow-shot { order: -1; }
.frow h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin-top: 10px; }
.frow-text > p { color: var(--muted); margin-top: 12px; max-width: 34em; }
.frow-shot { justify-self: center; width: min(100%, 300px); }
.frow-shot img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); display: block; }
.frow-shot figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.play { margin-top: 24px; background: var(--surface-2); border-radius: 22px; padding: 18px; display: grid; gap: 14px; }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.voice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 14px; padding: 12px 14px; font: 500 15px var(--body); cursor: pointer; text-align: left; }
.voice::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); flex: none; }
.voice[aria-checked="true"] { border-color: var(--accent); }
.voice[aria-checked="true"]::before { border-color: var(--accent); background: radial-gradient(var(--accent) 0 45%, transparent 50%); }
.rem-list { display: flex; flex-wrap: wrap; gap: 8px; }
.rem { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px var(--body); padding: 8px 12px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.rem::before { content: "▶"; font-size: 10px; color: var(--accent); }
.bubble { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; background: var(--surface); border-radius: 16px; padding: 14px 16px; min-height: 64px; }
.wave { display: flex; gap: 3px; align-items: center; height: 28px; }
.wave i { width: 4px; height: 6px; border-radius: 2px; background: var(--accent); }
.bubble.is-playing .wave i { animation: wave .9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; }
.wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 26px; } }
.bubble-text { font-weight: 600; font-size: 16px; }
.bubble-text small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }

.sym-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.sym-pick { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px var(--body); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.sym-pick[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sym-card { background: var(--surface); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; }
.sym-name { font-weight: 700; font-size: 17px; }
.sym-area { font-size: 13px; color: var(--muted); }
.sym-status { font-size: 13px; font-weight: 600; color: var(--ok-ink); }
.gauge { grid-column: 2; grid-row: 1 / span 3; width: 96px; text-align: center; }
.gauge svg { display: block; width: 96px; height: 56px; }
.gauge-num { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1; margin-top: -26px; font-variant-numeric: tabular-nums; }
.gauge-num small { font-size: 13px; color: var(--muted); }
.gauge-label { font-size: 11px; color: var(--muted); margin-top: 4px; }
.sym-slider { display: grid; gap: 6px; }
.sym-slider label { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; }
.sym-slider input { width: 100%; accent-color: var(--accent); }
.sym-history { grid-column: 1 / -1; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.sym-history-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.spark { display: block; width: 100%; height: auto; max-height: 64px; }
.pro-note { font-size: 13px; color: var(--muted); }
.pro-note b { font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: var(--ink); color: var(--ground); margin-right: 6px; }

.frow-shot.pair { width: min(100%, 380px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.frow-shot.pair img:last-of-type { margin-top: 40px; }
.frow-shot.pair figcaption { grid-column: 1 / -1; }
.kit-tools { display: grid; gap: 10px; }
.kit-search { font: 500 15px var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; }
.kit-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.kit-tab { border: 0; background: var(--surface); color: var(--muted); font: 600 13px var(--body); padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.kit-tab[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.cat-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.cat { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 13px var(--body); padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.cat i, .med-cats i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.cat[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.med-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 120px; align-content: start; }
.med-list li { background: var(--surface); border-radius: 14px; padding: 11px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; }
.med-list .m-name { font-weight: 600; font-size: 15px; }
.med-list .m-kit { font-size: 12px; color: var(--muted); white-space: nowrap; }
.med-cats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.med-cats span { display: inline-flex; align-items: center; gap: 5px; }
.kit-result { font-size: 14px; color: var(--muted); }
.kit-result b { color: var(--ink); }

/* Compare */
.table-scroll { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
th, td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
thead th { font-size: 14px; font-weight: 600; color: var(--muted); }
thead th.us { color: var(--accent-text); }
td.us, th.us { background: var(--accent-soft); }
tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok-ink); font-weight: 700; }
.no { color: var(--muted); }
.part { color: var(--warn-ink); font-size: 13px; }

/* Note + CTA + footer */
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; background: var(--warn-bg); color: var(--warn-ink); border-radius: 18px; padding: 18px 20px; font-size: 15px; }
.note b { font-size: 20px; line-height: 1.2; }
.cta { background: var(--accent); color: var(--accent-ink); border-radius: 32px; padding: 48px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; }
.cta p { margin-top: 10px; opacity: .85; }
footer { padding-block: 40px 56px; display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 72px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .email { margin-left: auto; }

@media (max-width: 900px) {
  .hero, .checkup { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding-top: 16px; }
  .checkup { padding: 24px; gap: 28px; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-phone { display: none; }
  .frow, .frow.flip { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .frow.flip .frow-shot { order: 0; }
  .frow-shot { width: min(100%, 260px); }
  .story-step { min-height: 0; opacity: 1; padding-block: 28px; }
  .story-step .inline-shot { display: block; width: min(100%, 280px); aspect-ratio: 1284 / 2778; object-fit: contain; margin-top: 12px; border-radius: 22px; }
  .cta { grid-template-columns: 1fr; padding: 32px 24px; }
  .nav-links { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 640px) {
  body { padding-inline: 16px; font-size: 16px; }
  section { padding-block: 56px; }
  .stores img { height: 46px; }
  .demo { padding: 16px; }
  .checkup { padding: 18px; border-radius: 24px; }
  .add-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .add-form .field-name { grid-column: 1 / -1; }
  .verdict { padding: 18px; }
  .frow, .frow.flip { padding: 18px; border-radius: 24px; }
  .voices { grid-template-columns: 1fr; }
  footer .email { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pack, .bar i, .story-stage img, .story-step { transition: none; }
  .bubble.is-playing .wave i { animation: none; height: 16px; }
}

section[id] { scroll-margin-top: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 46em; }
.faq a, .article a { color: var(--accent-text); text-underline-offset: 3px; }

/* Guide articles (poradnyk/*.html) */
.article { max-width: 46em; padding-block: 24px 0; font-size: 17px; line-height: 1.65; }
.article .crumbs { font-size: 14px; color: var(--muted); }
.article .crumbs a { color: var(--muted); }
.article h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.02em; margin-top: 18px; }
.article .lead { max-width: none; font-size: 19px; }
.article .meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.article h2 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; margin-top: 48px; scroll-margin-top: 16px; }
.article h3 { font-size: 20px; margin-top: 32px; }
.article p, .article ul, .article .table-scroll { margin-top: 14px; }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 6px; }
.article code { font: 600 15px ui-monospace, "SFMono-Regular", Menlo, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.article table { min-width: 0; font-size: 15px; line-height: 1.45; }
.article td, .article th { text-align: left; vertical-align: top; }
.article .toc { margin-top: 28px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 18px 22px; }
.article .toc p { margin: 0; font-weight: 600; }
.article .toc ol { margin: 8px 0 0; }
.article .cta { margin-top: 56px; }
.article .cta h2 { margin-top: 0; font-weight: 700; }
.article .cta p { margin-top: 10px; }
.article .note { margin-top: 28px; }
