/* ============================================================
   Всеукраїнська асоціація вейпінгу — vav.org.ua
   Дизайн-токени: синій / жовтий / сірий (з логотипу)
   ============================================================ */
:root {
  --navy: #0B2A5B;
  --navy-deep: #071D40;
  --navy-soft: #E3E9F4;
  --yellow: #F5C400;
  --yellow-deep: #C99E00;
  --grey: #5E6672;
  --grey-light: #9AA3AF;
  --line: #D6DCE5;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --surface-2: #EDF1F6;
  --text: #14213D;
  --text-muted: #5E6672;
  --accent: var(--navy);
  --ok: #1B7F4C;
  --err: #B4232C;

  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;

  --radius: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --shadow: 0 12px 30px rgba(11, 42, 91, .10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #A9C2EA; --navy-deep: #0B2A5B; --navy-soft: #16264A;
    --yellow: #F5C400; --yellow-deep: #FFD64D;
    --grey: #A7B0BD; --grey-light: #6F7987; --line: #26344F;
    --bg: #0C1424; --surface: #121D33; --surface-2: #182640;
    --text: #E9EEF7; --text-muted: #A7B0BD; --accent: #A9C2EA;
    --shadow: 0 12px 30px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --navy: #A9C2EA; --navy-deep: #0B2A5B; --navy-soft: #16264A;
  --yellow: #F5C400; --yellow-deep: #FFD64D;
  --grey: #A7B0BD; --grey-light: #6F7987; --line: #26344F;
  --bg: #0C1424; --surface: #121D33; --surface-2: #182640;
  --text: #E9EEF7; --text-muted: #A7B0BD; --accent: #A9C2EA;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], [id="forms"] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--accent); }
img, svg { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 780px; }
.eyebrow { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow-deep); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.lead { font-size: 1.1rem; color: var(--text-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: #14213D; border-color: var(--yellow); }
.btn--primary:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }
.btn--navy { background: #0B2A5B; color: #fff; border-color: #0B2A5B; }
.btn--navy:hover { background: #071D40; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--on-dark:hover { border-color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .85rem; }

/* ---------------- Header ---------------- */
.topbar { background: #0B2A5B; color: #C9D6EC; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a[href^="tel"] { font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; max-width: 1360px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: 0 0 auto; }
.brand img, .brand svg { width: 46px; height: 46px; flex: none; display: block; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: .9rem; line-height: 1.15; width: 190px; }
.brand__name small { display: block; font-weight: 600; font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--text); text-decoration: none; padding: 8px 9px; border-radius: var(--radius); white-space: nowrap; }
.nav a:hover { background: var(--surface-2); color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang button { background: transparent; border: 0; padding: 6px 10px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--text-muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #0B2A5B; color: #fff; }
.burger { display: none; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); width: 42px; height: 42px; cursor: pointer; color: var(--text); }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; }

@media (max-width: 1500px) { .header__actions .btn--outline { display: none; } .brand__name small { display: none; } .brand__name { width: 160px; } }

@media (max-width: 1280px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 16px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { white-space: normal; padding: 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav__cta { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 14px; }
  .burger { display: inline-block; }
  .header__actions .btn { display: none; }
}
@media (min-width: 1281px) { .nav__cta, .nav__contact { display: none; } }
@media (max-width: 1280px) {
  .topbar { display: none; }
  .nav__contact { display: grid; gap: 4px; padding: 18px 12px 6px; font-size: .95rem; }
  .nav__contact b { font-family: var(--font-display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
  .nav .nav__contact a { padding: 2px 0; border: 0; font-weight: 600; }
}

/* ---------------- Hero ---------------- */
.hero { background: #0B2A5B; color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 55%; aspect-ratio: 1; background: radial-gradient(circle at 40% 40%, rgba(245,196,0,.16), transparent 60%); pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .eyebrow { color: var(--yellow); }
.hero p.lead { color: #C9D6EC; font-size: 1.15rem; max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { display: grid; gap: 14px; }
.fact { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-left: 4px solid var(--yellow); padding: 16px 18px; border-radius: var(--radius); }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--yellow); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.fact span { font-size: .92rem; color: #DCE5F5; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } }

/* ---------------- Audience strip ---------------- */
.audience { background: var(--surface); border-bottom: 1px solid var(--line); }
.audience .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.audience__item { padding: 22px 18px; border-right: 1px solid var(--line); font-size: .92rem; }
.audience__item:last-child { border-right: 0; }
.audience__item b { display: block; font-family: var(--font-display); font-weight: 700; margin-bottom: 4px; }
.audience__item span { color: var(--text-muted); }
@media (max-width: 860px) { .audience .container { grid-template-columns: repeat(2, 1fr); } .audience__item:nth-child(2n) { border-right: 0; } .audience__item { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .audience .container { grid-template-columns: 1fr; } .audience__item { border-right: 0; padding: 16px 0; } }

/* ---------------- About / legal form ---------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.about-grid ul { padding-left: 20px; }
.about-grid li { margin-bottom: 8px; }
.callout { background: var(--navy-soft); border-left: 4px solid var(--yellow); padding: 20px 22px; border-radius: var(--radius); }
.callout h4 { margin-bottom: 8px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------------- Organogram (pyramid) ---------------- */
.org { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.org__pyramid { display: grid; gap: 10px; justify-items: center; }
.org__tier { --w: 100%; width: var(--w); display: grid; gap: 10px; }
.org__tier--split { grid-template-columns: 1fr 1fr; }
.org__node { width: 100%; border: 2px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 14px 16px; text-align: left; cursor: pointer; font: inherit; color: var(--text); display: grid; gap: 4px; transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.org__node small { color: var(--text-muted); font-size: .82rem; }
.org__node b { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.org__node:hover { border-color: var(--accent); }
.org__node[aria-selected="true"] { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(245,196,0,.25); }
.org__node--lvl1 { background: #0B2A5B; color: #fff; border-color: #0B2A5B; }
.org__node--lvl1 small { color: #C9D6EC; }
.org__node--lvl1 b { color: #fff; }
.org__node--aux { border-style: dashed; }
.org__arrow { color: var(--grey-light); line-height: 1; font-size: 20px; }
.org__tier:nth-child(1) { --w: 62%; }
.org__tier:nth-child(3) { --w: 76%; }
.org__tier:nth-child(5) { --w: 90%; }
.org__tier:nth-child(7) { --w: 100%; }
.org__panel { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 26px 28px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.org__panel h3 { margin-bottom: 4px; }
.org__panel .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow-deep); margin-bottom: 12px; font-family: var(--font-display); }
.org__panel ul { padding-left: 20px; margin: 0 0 12px; }
.org__panel li { margin-bottom: 6px; }
.org__panel .hint { font-size: .85rem; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) {
  .org { grid-template-columns: 1fr; }
  .org__panel { position: static; }
  .org__tier { --w: 100% !important; }
  .org__tier--split { grid-template-columns: 1fr; }
}

/* Voting mechanism */
.vote { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.vote__item { background: var(--surface-2); padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.vote__item b { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.vote__item p { font-size: .92rem; color: var(--text-muted); margin: 0; }
@media (max-width: 760px) { .vote { grid-template-columns: 1fr; } }

/* ---------------- Directions ---------------- */
.dirs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dir { background: var(--surface); padding: 28px 24px 30px; display: grid; gap: 12px; align-content: start; }
.dir__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy-soft); border-radius: var(--radius); color: var(--navy); }
.dir__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dir h3 { margin: 4px 0 0; }
.dir p { margin: 0; font-size: .95rem; color: var(--text-muted); }
.dir__chain { display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; font-family: var(--font-display); font-weight: 700; color: var(--text); margin-top: 4px; }
.dir__chain span { background: var(--surface-2); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
@media (max-width: 1000px) { .dirs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dirs { grid-template-columns: 1fr; } }

/* ---------------- Committees ---------------- */
.committees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.committee { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.committee__head { background: #0B2A5B; color: #fff; padding: 22px 26px; display: grid; gap: 4px; }
.committee__head .num { font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.committee__head h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.committee__body { padding: 8px 26px 22px; }
.module { border-bottom: 1px solid var(--line); padding: 16px 0; }
.module:last-child { border-bottom: 0; }
.module h4 { margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.module h4::before { content: ""; width: 8px; height: 8px; background: var(--yellow); flex: none; transform: translateY(-2px); }
.module p, .module li { font-size: .95rem; color: var(--text-muted); }
.module p { margin: 0; }
.module ul { margin: 6px 0 0; padding-left: 20px; }
.committee__foot { margin-top: auto; padding: 16px 26px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.committee__foot .mail { font-size: .85rem; color: var(--text-muted); }
.myth { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--navy-soft); border-radius: var(--radius); padding: 14px 16px; margin-top: 10px; }
.myth strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.myth span { font-size: .9rem; }
@media (max-width: 860px) { .committees { grid-template-columns: 1fr; } .myth { grid-template-columns: 1fr; gap: 6px; } .myth strong { font-size: 1.1rem; } .committee__foot { flex-direction: column; align-items: stretch; } .committee__foot .btn { width: 100%; } }

/* ---------------- Partnership ---------------- */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.partner__card { background: #0B2A5B; color: #fff; border-radius: var(--radius); padding: 32px; display: grid; gap: 10px; }
.partner__card .eyebrow { color: var(--yellow); }
.partner__card h3 { color: #fff; font-size: 1.6rem; }
.partner__card p { color: #C9D6EC; margin: 0; }
.partner__list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.partner__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.partner__list li::before { content: "→"; color: var(--yellow-deep); font-weight: 800; font-family: var(--font-display); }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } }

/* ---------------- News / knowledge base ---------------- */
.news-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; cursor: pointer; color: var(--text-muted); }
.chip[aria-pressed="true"] { background: #0B2A5B; color: #fff; border-color: #0B2A5B; }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.news-card__meta { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.news-card__meta .type { color: var(--yellow-deep); }
.news-card h3 { font-size: 1.1rem; margin: 0; }
.news-card p { font-size: .93rem; color: var(--text-muted); margin: 0; }
.news-card a { font-family: var(--font-display); font-weight: 700; font-size: .9rem; text-decoration: none; }
.news-card--empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); }
@media (max-width: 960px) { .news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news { grid-template-columns: 1fr; } }

/* ---------------- Forms ---------------- */
.forms-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.form-tabs { display: grid; gap: 6px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.form-tab { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; font: inherit; color: var(--text); display: grid; gap: 2px; }
.form-tab b { font-family: var(--font-display); font-weight: 700; }
.form-tab small { color: var(--text-muted); font-size: .82rem; }
.form-tab[aria-selected="true"] { border-color: #0B2A5B; border-left-width: 4px; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.form-panel[hidden] { display: none; }
.form-panel h3 { margin-bottom: 4px; }
.form-panel .route { font-size: .85rem; color: var(--text-muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: .88rem; }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,196,0,.35); }
.field textarea { min-height: 120px; resize: vertical; }
.field .help { font-size: .8rem; color: var(--text-muted); }
.radio-row { display: flex; gap: 10px 24px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; gap: 10px; align-items: flex-start; font-weight: 500; font-family: var(--font-body); font-size: .95rem; line-height: 1.4; }
.radio-row input { flex: none; margin: 3px 0 0; width: 18px; height: 18px; }
.consent input { flex: none; margin: 4px 0 0; width: 18px; height: 18px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--text-muted); font-weight: 400 !important; font-family: var(--font-body); }
.consent input { margin-top: 4px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-status { font-size: .92rem; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .forms-layout { grid-template-columns: 1fr; } .form-tabs { position: static; grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .radio-row { flex-direction: column; } .form-foot { flex-direction: column; align-items: stretch; } .form-foot .btn { width: 100%; } }

/* ---------------- Contacts ---------------- */
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact b { display: block; font-family: var(--font-display); margin-bottom: 6px; }
.contact a { font-weight: 600; text-decoration: none; }
.contact p { margin: 0; font-size: .92rem; color: var(--text-muted); }
@media (max-width: 800px) { .contacts { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
.footer { background: #071D40; color: #C9D6EC; padding-block: 48px 28px; font-size: .9rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: #fff; font-family: var(--font-display); font-weight: 800; }
.footer__brand img, .footer__brand svg { width: 40px; height: 40px; flex: none; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: #8FA3C4; line-height: 1.7; }
.footer__legal + .footer__bottom { border-top: 0; margin-top: 10px; padding-top: 0; }
.legal-note { margin: 14px 0 0; font-size: .85rem; color: var(--text-muted); border-top: 1px solid var(--line); padding-top: 12px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #8FA3C4; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Age / info notice */
.notice { background: var(--surface-2); border-top: 1px solid var(--line); font-size: .82rem; color: var(--text-muted); padding-block: 10px; }
.notice p { margin: 0; max-width: none; }
