/* BoloEnglish website — single stylesheet. No build step. */

:root {
  --violet: #6C4BF4;
  --violet-600: #5A38E6;
  --pink: #E94BA8;
  --coral: #FF6B57;
  --sun: #FFC93C;
  --ink: #1B1530;

  --bg: #FBFAFF;
  --bg-alt: #F3F0FF;
  --surface: #FFFFFF;
  --surface-2: #F7F5FF;
  --text: #1B1530;
  --text-muted: #574F6E;
  --border: #E6E1F7;
  --link: #5A38E6;
  --accent-text: #C2402F; /* coral, darkened for AA contrast on white */
  --focus: #6C4BF4;
  --shadow-sm: 0 1px 2px rgba(27, 21, 48, .06), 0 2px 8px rgba(27, 21, 48, .05);
  --shadow: 0 6px 24px rgba(27, 21, 48, .08), 0 2px 6px rgba(27, 21, 48, .05);
  --shadow-lg: 0 20px 50px rgba(108, 75, 244, .18), 0 6px 16px rgba(27, 21, 48, .08);
  --grad: linear-gradient(135deg, #6C4BF4 0%, #A24DE8 55%, #E94BA8 100%);
  --grad-soft: linear-gradient(135deg, rgba(108, 75, 244, .10), rgba(233, 75, 168, .10));

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1140px;
  --gutter: 16px;
  --header-h: 68px;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110D1F;
    --bg-alt: #171229;
    --surface: #1C1631;
    --surface-2: #231C3D;
    --text: #F2EFFC;
    --text-muted: #B8B0D3;
    --border: #2F2750;
    --link: #B3A2FF;
    --accent-text: #FF8C7C;
    --focus: #B3A2FF;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 6px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
    --grad-soft: linear-gradient(135deg, rgba(108, 75, 244, .22), rgba(233, 75, 168, .16));
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 650; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 20px rgba(108, 75, 244, .32); }
.btn-primary:hover { background: var(--violet-600); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--violet); }
.btn-dark { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-dark { background: #fff; color: var(--ink); } }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .95rem; }
.btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; transform: none; }
.btn small { display: block; font-size: .72rem; font-weight: 600; opacity: .85; }
.btn .btn-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand .logo { width: 36px; height: 36px; flex-shrink: 0; }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.w-bolo { color: var(--text); }
.w-english { color: var(--coral); }

.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  font: 600 .95rem var(--font-body); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px;
}
.site-nav a:not(.btn):hover { background: var(--bg-alt); }
.site-nav .btn { margin-left: 8px; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: var(--bg);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none;
  }
  .js .site-nav.open { display: flex; }
  .js .site-nav a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
  .js .site-nav .btn { margin: 8px 0 0; }
  /* No-JS fallback: let the nav wrap below the logo */
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px;
  background: var(--grad-soft); color: var(--link);
  font: 700 .8rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 100px); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; z-index: -1; pointer-events: none;
}
.hero::before { width: 420px; height: 420px; background: #B9A8FF; top: -120px; right: -80px; }
.hero::after { width: 320px; height: 320px; background: #FFC1B8; bottom: -80px; left: -100px; }
@media (prefers-color-scheme: dark) { .hero::before { background: #4B32B8; } .hero::after { background: #7A2E4F; } }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 0; list-style: none; color: var(--text-muted); font-size: .95rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; }

/* Phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(320px, 100%); aspect-ratio: 9 / 18.5;
  background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  height: 100%; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #F5F2FF 0%, #FFFFFF 60%);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) { .phone { background: #000; } .phone-screen { background: linear-gradient(180deg, #221A40 0%, #161127 60%); color: #F2EFFC; } }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 22px 16px 12px; }
.phone-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-size: 1.2rem; }
.phone-top strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.phone-top span { font-size: .75rem; opacity: .7; }
.chat { flex: 1; padding: 8px 14px; display: flex; flex-direction: column; gap: 10px; font-size: .82rem; line-height: 1.45; }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 16px; }
.bubble.ai { background: #EDE8FF; border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: var(--violet); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble.tip { background: #FFF4D6; border: 1px dashed #E5A800; align-self: stretch; max-width: 100%; color: #4A3A00; }
@media (prefers-color-scheme: dark) { .bubble.ai { background: #2E2556; } .bubble.tip { background: #3A3016; color: #FFE7A3; border-color: #8A6B00; } }
.phone-mic { display: flex; justify-content: center; padding: 14px 0 20px; }
.mic-btn { width: 62px; height: 62px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 107, 87, .5); animation: pulse 2.4s infinite; }
.mic-btn svg { width: 28px; height: 28px; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  padding: 8px 12px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 650; font-size: .85rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip.c1 { top: 12%; left: 0; }
.float-chip.c2 { bottom: 16%; right: 0; animation-delay: -2.5s; }
@media (max-width: 420px) { .float-chip { display: none; } }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 87, .5); } 70% { box-shadow: 0 0 0 18px rgba(255, 107, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 87, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--text-muted); margin: 0; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 16px; background: var(--grad-soft);
}
.icon-badge.coral { background: rgba(255, 107, 87, .14); }
.icon-badge.sun { background: rgba(255, 201, 60, .22); }

/* What it does */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 800; font-size: .8rem;
}
.mode-cards { display: grid; gap: 16px; }
.mode-card { display: flex; gap: 16px; align-items: flex-start; }
.mode-card .emoji { font-size: 2rem; line-height: 1; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 24px; left: 26px; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; background: var(--grad); color: #fff;
  font: 800 1.2rem var(--font-head);
}
.step.card { padding-top: 88px; }

/* Safety */
.safety-band { background: var(--ink); color: #F2EFFC; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { .safety-band { background: #0B0817; border: 1px solid var(--border); } }
.safety-band h2, .safety-band h3 { color: #fff; }
.safety-band p, .safety-band li { color: #D5CEEE; }
.safety-band a { color: #CBBEFF; }
.safety-band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(108, 75, 244, .55), transparent 70%); pointer-events: none; }
.safety-grid { display: grid; gap: 16px; margin-top: 28px; position: relative; z-index: 1; }
@media (min-width: 720px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .safety-grid { grid-template-columns: repeat(3, 1fr); } }
.safety-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm); padding: 20px; }
.safety-item h3 { font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.safety-item p { margin: 0; font-size: .95rem; }

/* Pricing */
.pricing { display: grid; gap: 20px; max-width: 820px; margin: 0 auto; }
@media (min-width: 720px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
.price-card { position: relative; text-align: left; padding: 30px; }
.price-card.featured { border: 2px solid var(--violet); box-shadow: var(--shadow-lg); }
.price-tag { font: 800 2.6rem/1 var(--font-head); margin: 10px 0 4px; color: var(--text); }
.price-tag span { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.ribbon { position: absolute; top: -13px; right: 20px; background: var(--sun); color: var(--ink); font: 800 .78rem var(--font-head); padding: 6px 12px; border-radius: 999px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.price-card li::before { content: "★ "; color: var(--coral); }
.price-card li { color: var(--text-muted); }
.fine-print { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: 22px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative;
  font: 700 1.05rem/1.4 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-muted); padding-bottom: 6px; }

/* Download */
.download { text-align: center; background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 48px); box-shadow: var(--shadow-lg); }
.download h2 { color: #fff; }
.download p { color: rgba(255, 255, 255, .9); max-width: 560px; margin-left: auto; margin-right: auto; }
.store-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.store-btn { background: #fff; color: var(--ink); min-width: 210px; border-radius: 16px; }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn.outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.store-btn.muted { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 0; background: var(--bg); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.footer-about p { color: var(--text-muted); max-width: 360px; margin-top: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(20px, 3vw, 32px); background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.legal-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.legal-hero .meta { color: var(--text-muted); font-size: .95rem; margin: 0; }
.legal-hero .lead { font-size: 1.1rem; color: var(--text-muted); max-width: 720px; margin-top: 12px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 72px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 48px; } }
.toc { font-size: .93rem; }
.toc-inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 18px 14px; }
@media (min-width: 1000px) { .toc-inner { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; } }
.toc-title { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.toc a { color: var(--text-muted); text-decoration: none; display: block; padding: 3px 0; }
.toc a:hover, .toc a.active { color: var(--link); }
.toc a.active { font-weight: 650; }
@media (max-width: 999px) {
  .toc details > summary { cursor: pointer; font: 700 .95rem var(--font-head); }
}

.prose { max-width: 760px; font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin-top: 2.2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--violet); }
.callout { border-radius: var(--radius-sm); padding: 18px 20px; margin: 1.4em 0; background: var(--grad-soft); border: 1px solid var(--border); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.warn { background: rgba(255, 107, 87, .10); border-color: rgba(255, 107, 87, .35); }
.callout.sun { background: rgba(255, 201, 60, .16); border-color: rgba(229, 168, 0, .35); }
.callout-title { font: 700 1rem var(--font-head); margin-bottom: 6px; display: block; }
.placeholder { background: var(--sun); color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface-2); font-family: var(--font-head); }
.prose tr:last-child td { border-bottom: 0; }
.steps-inline { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-inline li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps-inline li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 10px; background: var(--violet); color: #fff; display: grid; place-items: center; font: 800 .9rem var(--font-head); }
.path { font-family: var(--font-head); font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.two-col { display: grid; gap: 16px; margin: 1.2em 0; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col .card:hover { transform: none; }
.two-col .card ul { margin-bottom: 0; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .big { font: 800 clamp(5rem, 18vw, 9rem)/1 var(--font-head); }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- Reveal animation (enabled by JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .toc, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-layout { display: block; }
}
