/* ===========================================================
   Bradlex SEO — Design System
   Apple-inspired minimalism: white / grey / black + blue & teal accents
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Neutrals (Apple-like) */
  --black: #1D1D1F;          /* Apple near-black text */
  --ink: #1D1D1F;
  --ink-2: #6E6E73;          /* secondary text */
  --ink-3: #86868B;          /* tertiary / captions */
  --bg: #FFFFFF;             /* page background */
  --bg-grey: #F5F5F7;        /* Apple signature grey sections */
  --surface: #FFFFFF;        /* cards */
  --surface-grey: #FAFAFC;
  --border: #D2D2D7;         /* Apple hairline */
  --border-soft: #E8E8ED;

  /* Accents */
  --accent: #0071E3;         /* Apple blue */
  --accent-press: #0077ED;
  --accent-ink: #06C;        /* link blue text */
  --teal: #00A0A0;           /* secondary accent */
  --emerald: #11B886;        /* success / results */

  /* Effects (subtle, Apple-like) */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.05);
  --shadow-card: 0 6px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.10);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-btn: 980px;       /* pill */
  --maxw: 1080px;            /* Apple uses a tighter measure */
  --maxw-wide: 1200px;
  --pad: clamp(1.25rem, 4vw, 2rem);

  --font-head: 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  --font-body: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.28, .11, .32, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 600; line-height: 1.06; letter-spacing: -.022em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; letter-spacing: -.028em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 600; letter-spacing: -.018em; }
p { color: var(--ink-2); }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--ink-2); line-height: 1.4; font-weight: 400; letter-spacing: -.01em; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .01em; color: var(--accent);
  display: inline-flex; align-items: center; gap: .5rem;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.container.wide { max-width: var(--maxw-wide); }
.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section.grey { background: var(--bg-grey); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 500; font-size: 1.0125rem; letter-spacing: -.01em;
  padding: .8rem 1.4rem; border-radius: var(--radius-btn); border: 1px solid transparent;
  min-height: 46px; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-press); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f1f3; }
.btn--lg { font-size: 1.1rem; padding: .95rem 1.75rem; min-height: 52px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Apple-style text link with chevron */
.link { display: inline-flex; align-items: center; gap: .2rem; color: var(--accent-ink); font-weight: 500; letter-spacing: -.01em; }
.link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover { text-decoration: underline; }
.link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.scrolled { border-color: var(--border-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem; }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a { font-family: var(--font-head); font-weight: 400; font-size: .88rem; color: var(--ink); opacity: .85; padding: .5rem .6rem; border-radius: 8px; white-space: nowrap; transition: opacity .15s, background .15s; }
.nav-links a:hover { opacity: 1; background: rgba(0,0,0,.04); }
.nav-cta { display: flex; align-items: center; gap: .65rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .9rem; }
.nav-phone svg { width: 15px; height: 15px; color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }

@media (max-width: 940px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: grid; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: .15rem;
    position: absolute; inset: 56px var(--pad) auto; background: rgba(255,255,255,.98);
    border: 1px solid var(--border-soft); border-radius: 18px; padding: .6rem; box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: .85rem 1rem; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7rem); text-align: left; }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2.2rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.5rem; padding-top: 1.9rem; border-top: 1px solid var(--border-soft); }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 400; color: var(--ink-2); }
.trust-item svg { width: 19px; height: 19px; color: var(--emerald); flex: none; }
.stars { color: #F5A623; letter-spacing: 1px; }

/* Hero visual card */
.hero-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 22px; padding: 1.4rem; box-shadow: var(--shadow-lg); }
.hero-card .rank-row { display: flex; align-items: center; justify-content: space-between; padding: .8rem .95rem; border-radius: 14px; background: var(--bg-grey); margin-bottom: .55rem; }
.hero-card .rank-row.top { background: rgba(0,113,227,.08); border: 1px solid rgba(0,113,227,.25); }
.hero-card .rank-pos { font-family: var(--font-head); font-weight: 600; font-size: 1rem; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.hero-card .rank-row.top .rank-pos { background: var(--accent); color: #fff; }
.hero-card .rank-name { font-weight: 600; color: var(--ink); font-size: .98rem; }
.hero-card .rank-meta { font-size: .8rem; color: var(--ink-3); }
.hero-card .badge-up { display: inline-flex; align-items: center; gap: .25rem; color: var(--emerald); font-weight: 600; font-size: .82rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.1rem); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.section.grey .card { border-color: transparent; box-shadow: var(--shadow-xs); }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.15rem; background: var(--bg-grey); color: var(--accent); }
.section.grey .card .icon { background: rgba(0,113,227,.08); }
.card .icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: 1rem; line-height: 1.5; }
.card .arrow { display: inline-flex; align-items: center; gap: .25rem; margin-top: 1.15rem; font-family: var(--font-head); font-weight: 500; color: var(--accent-ink); font-size: .96rem; }
.card .arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .arrow svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 1.5rem; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5.5vw, 3.8rem); color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.stat .label { margin-top: .55rem; color: var(--ink-2); font-weight: 400; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step .n { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; display: grid; place-items: center; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.step p { font-size: .98rem; line-height: 1.5; }

/* ---------- Dark section (Apple black) ---------- */
.dark { background: #000; color: #fff; position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark p, .dark .lead { color: #A1A1A6; }
.dark .eyebrow { color: #2997FF; }
.dark .stat .num { color: #fff; }
.dark .container { position: relative; }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.1rem); height: 100%; }
.section.grey .quote { border-color: transparent; box-shadow: var(--shadow-xs); }
.quote .stars { font-size: 1rem; margin-bottom: 1rem; }
.quote blockquote { font-size: 1.1rem; color: var(--ink); line-height: 1.45; font-weight: 500; letter-spacing: -.015em; }
.quote .who { margin-top: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.quote .who b { display: block; color: var(--ink); font-weight: 600; font-size: .94rem; }
.quote .who span { font-size: .84rem; color: var(--ink-3); }

/* ---------- Local / service area ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.area-list li { background: #fff; border: 1px solid var(--border); border-radius: 980px; padding: .45rem 1rem; font-size: .88rem; font-weight: 400; color: var(--ink-2); }
.section.grey .area-list li { border-color: var(--border-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -.015em; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; color: var(--accent); flex: none; transition: transform .25s var(--ease); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { padding-bottom: 1.4rem; font-size: 1.05rem; line-height: 1.55; max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { background: #000; border-radius: var(--radius-lg); padding: clamp(3rem, 7vw, 5rem); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 1.1rem; }
.cta-band p { color: #A1A1A6; max-width: 54ch; margin: 0 auto 2.2rem; font-size: 1.15rem; }
.cta-band .reassure { margin-top: 1.2rem; font-size: .9rem; color: #86868B; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: .45rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-grey);
  border: 1px solid transparent; border-radius: 12px; padding: .85rem 1rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.15); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-3); display: flex; align-items: center; gap: .4rem; margin-top: .9rem; }
.form-note svg { width: 15px; height: 15px; color: var(--emerald); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* service checkbox group */
.field .opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .25rem; }
@media (max-width: 520px) { .field .opts { grid-template-columns: 1fr; } }
.opt { display: flex; align-items: center; gap: .55rem; border: 1.5px solid var(--border); border-radius: 10px; padding: .65rem .8rem; cursor: pointer; font-size: .95rem; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--accent); background: rgba(0,113,227,.04); }
.opt:has(input:checked) { border-color: var(--accent); background: rgba(0,113,227,.08); }
.opt input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-grey); color: var(--ink-2); padding-block: clamp(3rem, 6vw, 4rem) 2rem; border-top: 1px solid var(--border-soft); }
.footer h4 { color: var(--ink); font-size: .82rem; font-weight: 600; margin-bottom: 1rem; }
.footer a { color: var(--ink-2); font-size: .88rem; line-height: 2; transition: color .15s; }
.footer a:hover { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { color: var(--ink); margin-bottom: 1rem; }
.footer .nap { font-size: .88rem; line-height: 1.9; color: var(--ink-2); }
.footer .nap a { color: var(--ink); font-weight: 500; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .8rem; color: var(--ink-3); }

/* ---------- Long-form content (prose) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.prose h3 { font-size: 1.25rem; margin-top: 1.9rem; }
.prose p { font-size: 1.05rem; color: var(--ink-2); line-height: 1.65; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: .55rem; }
.prose ul li { list-style: disc; color: var(--ink-2); line-height: 1.55; }
.prose ol li { list-style: decimal; color: var(--ink-2); line-height: 1.55; }
.prose a { color: var(--accent-ink); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose .tbl { overflow-x: auto; margin-top: .5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--border); }
.prose th { font-weight: 600; color: var(--ink); background: var(--bg-grey); }
.prose td { color: var(--ink-2); }
.prose .lead { color: var(--ink-2); }
.content-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border-soft); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }

/* ---------- WhatsApp button ---------- */
.wa-btn { display: inline-flex; align-items: center; gap: .6rem; background: #25D366; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1; padding: .9rem 1.6rem; border-radius: 12px; min-height: 52px; box-shadow: 0 6px 18px rgba(37,211,102,.30); transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.wa-btn:hover { background: #20bd5a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.40); }
.wa-btn svg { width: 24px; height: 24px; fill: #fff; flex: none; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.5rem; height: 100%; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.post-card .cat { align-self: flex-start; font-size: .72rem; font-weight: 600; color: var(--accent); background: rgba(0,113,227,.08); padding: .25rem .65rem; border-radius: 980px; margin-bottom: .9rem; }
.post-card h3 { font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: .5rem; color: var(--ink); }
.post-card p { font-size: .95rem; color: var(--ink-2); line-height: 1.5; flex: 1; }
.post-card .meta { margin-top: 1.1rem; font-size: .82rem; color: var(--ink-3); }
/* Blog index as a spaced list with thin light-grey dividers */
.post-list { max-width: 780px; margin: 0 auto; }
.post-row { display: block; padding: 2rem 0; border-top: 1px solid var(--border); }
.post-row:first-child { border-top: none; padding-top: .5rem; }
.post-row .cat { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--accent); background: rgba(0,113,227,.08); padding: .25rem .65rem; border-radius: 980px; margin-bottom: .85rem; }
.post-row-title { font-size: 1.4rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: .5rem; transition: color .15s var(--ease); }
.post-row:hover .post-row-title { color: var(--accent); }
.post-row p { font-size: 1.02rem; color: var(--ink-2); line-height: 1.55; margin-bottom: .65rem; max-width: 65ch; }
.post-row-meta { font-size: .85rem; color: var(--ink-3); }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--ink-3); font-size: .92rem; align-items: center; }
.post-meta .dot { color: var(--border); }
.crumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 1rem; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--accent); }
/* Blog post featured image — preserves original aspect ratio */
.post-img { margin: 1.75rem 0; }
.post-img img { width: 100%; height: auto; display: block; border-radius: var(--radius); max-width: 100%; }
.author-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-grey); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.5rem; margin-top: 2.5rem; }
.author-box .av { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; flex: none; }
.author-box h4 { font-size: 1rem; margin-bottom: .25rem; color: var(--ink); }
.author-box p { font-size: .92rem; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* CSS safety net: if JS fails to reveal an element, force-show it after 2.5s
   so content can never stay blank (defense against a broken main.js). */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); animation: revealSafety .1s linear 2.5s forwards; }
html.js .reveal.in { opacity: 1; transform: none; animation: none; }
@keyframes revealSafety { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: .75rem 1rem; border-radius: 8px; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
.badge-soft { display: inline-flex; align-items: center; gap: .4rem; background: rgba(0,0,0,.05); color: var(--ink-2); font-weight: 500; font-size: .8rem; padding: .35rem .8rem; border-radius: 980px; }