/* KeepNav theme for Wairex CMS, from the keepnav site mockup. "Night instrument": the navy of the logo, its orange road, the status colours of the app. */

:root {
  --ink: #0a1220;
  --navy: #101c30;
  --navy-2: #16253d;
  --navy-3: #1f3150;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --muted: #9aa8bd;
  --dim: #6d7c93;
  --orange: #e8650f;
  --orange-2: #ff8a3d;
  --blue: #2457c5;
  --blue-2: #6d9bff;
  --ok: #1b9e4b;
  --warn: #d97706;
  --bad: #c0262d;
  --unk: #5b7fa8;
  --paper: #f4f1ea;
  --paper-ink: #1a2333;
  --radius: 18px;
  --radius-s: 10px;
  --wrap: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
  --f-display: "Unbounded", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

/* ---- layout ---- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) { .grid { gap: 24px; } }

/* ---- type ---- */
h1, h2, h3, .display { overflow-wrap: break-word; hyphens: auto; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 720px; }
.lead p:last-child { margin: 0; }
.eyebrow {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-2);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.accent { color: var(--orange); }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 21px/1 var(--f-display); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--orange); font-weight: 700; }
.brand span { display: inline-block; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--navy-2); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px;
  font: 600 12px/1 var(--f-mono);
}
.lang-switch a, .lang-switch span {
  padding: 7px 10px; border-radius: 999px; color: var(--muted); letter-spacing: 0.06em; text-decoration: none;
}
.lang-switch a:hover { color: var(--text); text-decoration: none; }
.lang-switch [aria-current] { background: var(--orange); color: #fff; }
.menu-toggle { all: unset; display: none; cursor: pointer; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 12px 16px 20px;
    background: var(--ink); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 12px; font-size: 17px; }
  .header-actions .btn--small { display: none; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; border: 1px solid transparent;
  font: 600 16px/1 var(--f-body); cursor: pointer; color: #fff; text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); box-shadow: 0 10px 30px -10px rgba(232, 101, 15, .7); }
.btn--primary:hover { background: #f2731d; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--small { padding: 10px 14px; font-size: 14px; border-radius: 12px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px;
  background: #000; border: 1px solid var(--line-2); color: #fff; min-width: 190px; text-decoration: none !important;
  position: relative;
}
.store:hover { border-color: var(--text); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.store strong { display: block; font: 600 17px/1.15 var(--f-body); }
div.store { cursor: default; }
div.store:hover { border-color: var(--line-2); }
.store .soon {
  position: absolute; top: -9px; right: 10px; font: 600 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  background: var(--navy-3); color: var(--orange-2); padding: 4px 7px; border-radius: 999px; border: 1px solid var(--line-2);
}

/* ---- status chips (as in the app) ---- */
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--navy-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500;
}
.chip i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--f-mono); color: #fff; font-style: normal; }
.chip--ok i { background: var(--ok); }
.chip--warn i { background: var(--warn); }
.chip--bad i { background: var(--bad); }
.chip--unk i { background: var(--unk); }
.chip--est i { background: #d18a00; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(232, 101, 15, .18), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(36, 87, 197, .22), transparent 60%),
    var(--ink);
}
.hero .contours { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.hero h1 .road { color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 .road::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .09em;
  background: repeating-linear-gradient(90deg, var(--orange) 0 18px, transparent 18px 30px);
  border-radius: 4px; opacity: .8;
}
.hero .lead { margin: 22px 0 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--muted); font: 500 13px/1.3 var(--f-mono); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(27, 158, 75, .18); }

/* phone mock-up */
.phone {
  width: min(360px, 86vw); margin-inline: auto; aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a3a57, #0d1626 60%); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08);
  position: relative;
}
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; position: relative; background: #0e1828; }
.phone-screen svg { width: 100%; height: 100%; }
.phone .chip { position: absolute; top: 46px; left: 16px; right: 16px; font-size: 12.5px; line-height: 1.25; padding-right: 10px; }
.phone .chip i { width: 24px; height: 24px; flex: none; }
.phone .nav-card {
  position: absolute; left: 14px; right: 14px; bottom: 16px; background: rgba(16, 28, 48, .94); border: 1px solid var(--line);
  border-radius: 20px; padding: 14px 16px; display: flex; gap: 12px; align-items: center;
}
.nav-card .turn { width: 42px; height: 42px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; flex: none; }
.nav-card b { font: 600 20px/1 var(--f-display); display: block; }
.nav-card small { color: var(--muted); font-size: 12px; }
.float-tag {
  position: absolute; font: 600 12px/1.2 var(--f-mono); padding: 8px 10px; border-radius: 10px; background: var(--navy-2);
  border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7);
}
.float-tag em { color: var(--orange-2); font-style: normal; }
.hero-visual { position: relative; }
.hero-visual .t1 { top: 18%; left: -2%; }
.hero-visual .t2 { top: 56%; right: -2%; }
@media (max-width: 520px) { .float-tag { display: none; } }

/* ---- cards ---- */
.card {
  background: linear-gradient(180deg, var(--navy) 0%, #0d182a 100%); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(232, 101, 15, .12); color: var(--orange-2); border: 1px solid rgba(232, 101, 15, .25);
}
.card .ico svg { width: 24px; height: 24px; }
.card--feature:hover { border-color: var(--line-2); }
.card .tag { position: absolute; top: 18px; right: 18px; font: 600 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* layered "how it works" */
.layers { counter-reset: layer; display: grid; gap: 14px; }
.layer {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(16, 28, 48, .6);
}
.layer::before {
  counter-increment: layer; content: "0" counter(layer); font: 600 26px/1 var(--f-display); color: var(--orange);
  border-right: 1px solid var(--line); height: 100%; padding-top: 4px;
}
.layer h3 { margin-bottom: 6px; }
.layer p { color: var(--muted); margin: 0; }

/* status legend */
.legend { display: grid; gap: 14px; }
.legend-row { display: grid; gap: 8px 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16, 28, 48, .5); }
@media (min-width: 760px) { .legend-row { grid-template-columns: minmax(260px, auto) 1fr; align-items: center; } }
.legend-row p { margin: 0; color: var(--muted); }

/* modes strip */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.mode { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--navy); }
.mode .emoji { font-size: 28px; }
.mode b { display: block; font: 600 16px/1.3 var(--f-display); margin: 10px 0 6px; }
.mode span { color: var(--muted); font-size: 14px; }
.mode .beta { font: 600 10px/1 var(--f-mono); color: var(--orange-2); letter-spacing: .1em; text-transform: uppercase; }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--navy); padding: 26px; }
.stat b { font: 600 clamp(30px, 4vw, 42px)/1 var(--f-display); color: var(--text); display: block; margin-bottom: 10px; }
.stat b em { color: var(--orange); font-style: normal; }
.stat span { color: var(--muted); font-size: 15px; }

/* quote / band */
.band {
  border-radius: 28px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--orange) 0%, #c24d05 100%); color: #fff;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .88); }
.band .btn--ghost { border-color: rgba(255, 255, 255, .5); }
.band .btn--white { background: #fff; color: var(--orange); }
.band::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .09);
}

/* ---- page head ---- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 360px at 90% 0%, rgba(232, 101, 15, .14), transparent 60%), var(--ink);
}
.page-head h1 { font-size: clamp(34px, 5vw, 58px); }
.crumbs { font: 500 12px/1 var(--f-mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* ---- prose (docs, legal, blog) ---- */
.doc { display: grid; gap: 40px; padding: 48px 0 96px; }
.doc > *, .grid > *, .hero-grid > *, .contact-grid > * { min-width: 0; }
@media (min-width: 980px) { .doc { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc b { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 12px; }
.toc a { display: block; color: var(--muted); padding: 7px 0 7px 14px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--text); border-color: var(--orange); text-decoration: none; }
@media (max-width: 979px) { .toc { position: static; } }
.prose { max-width: 860px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 56px 0 16px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; font-size: 19px; }
.prose p, .prose li { color: #d3dbe7; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--orange); }
.prose strong { color: var(--text); }
.prose kbd { font: 500 .88em var(--f-mono); background: var(--navy-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; color: var(--text); }
/* in the texts <code> marks a phrase to say or type: "kharkiv sumska 10" */
.prose code { font-family: var(--f-mono); font-size: .92em; color: var(--orange-2); }
.prose blockquote {
  border: 1px solid rgba(232, 101, 15, .35); background: rgba(232, 101, 15, .08); border-radius: 14px; padding: 16px 18px; margin: 20px 0;
}
.prose blockquote p:last-child { margin: 0; }

.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; }
.prose table p { margin: 0; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 12px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.updated { font: 500 13px/1 var(--f-mono); color: var(--dim); }

/* legal pages: a lighter sheet for long reading */
.sheet { overflow: clip; background: var(--paper); color: var(--paper-ink); border-radius: 24px; padding: clamp(24px, 5vw, 56px); }
.sheet .prose p, .sheet .prose li, .sheet .prose td { color: #2b3547; }
.sheet .prose strong, .sheet .prose h2, .sheet .prose h3 { color: var(--paper-ink); }
.sheet .prose th { color: #5b6577; }
.sheet .prose th, .sheet .prose td { border-color: rgba(0, 0, 0, .1); }
.sheet .prose a { color: #c1520a; }
.sheet .prose code { color: #c1520a; }
.sheet .prose blockquote { background: #ece6da; border-color: rgba(0, 0, 0, .08); }
.sheet .toc a { color: #5b6577; border-color: rgba(0, 0, 0, .12); }
.sheet .toc b { color: #8a93a3; }
.sheet .updated { color: #6d7586; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; max-width: 1040px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--navy); overflow: hidden; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 17px/1.35 var(--f-body); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-2); color: var(--orange-2); font: 500 20px/1 var(--f-mono);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 22px; margin-bottom: 16px; }

/* ---- blog ---- */
.posts { display: grid; gap: 20px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--text); }
.post-card:hover { border-color: var(--line-2); text-decoration: none; transform: translateY(-2px); }
.post-card { transition: transform .15s ease, border-color .15s ease; }
.post-card .art { aspect-ratio: 16 / 9; background: var(--navy-2); position: relative; overflow: hidden; }
.post-card .art svg { width: 100%; height: 100%; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { font: 500 12px/1 var(--f-mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.post-card h3 { margin: 0; font-size: 20px; }
.post-card p { color: var(--muted); margin: 0; font-size: 15px; }
.post-card .more { margin-top: auto; color: var(--orange-2); font-weight: 600; font-size: 15px; }
.article-head .meta { font: 500 13px/1 var(--f-mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.article { padding: 48px 0 96px; }
.article .prose { margin-inline: auto; font-size: 18px; }

/* ---- contact ---- */
.contact-grid { display: grid; gap: 20px; padding: 48px 0 96px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.form { display: grid; gap: 14px; }
.form label { font: 600 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: grid; gap: 8px; }
.form input, .form select, .form textarea {
  font: 400 16px/1.5 var(--f-body); color: var(--text); background: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
  text-transform: none; letter-spacing: 0;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form .form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font: 400 14px/1.45 var(--f-body); text-transform: none; letter-spacing: 0; }
.form .consent input { margin-top: 3px; }
.form-error { color: #ff8a80; margin: 0; }
.form-thanks { padding: 8px 0; }
.form-thanks p { color: var(--text); font-size: 18px; margin: 0; }
.contact-list { display: grid; gap: 14px; }
.contact-list .card { scroll-margin-top: 90px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ico { margin: 0; flex: none; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: #070d18; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); font-size: 15px; }
.site-footer a:hover { color: var(--text); }
.footer-note { color: var(--dim); font-size: 14px; max-width: 360px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pulse { animation: none !important; }
}
.pulse { animation: pulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.dash-move { stroke-dasharray: 10 12; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -44; } }

/* anchors under the sticky header */
section[id], .card[id] { scroll-margin-top: 80px; }
