/* Wordcatch homepage — tokens follow docs/DESIGN.md (Focus Blue + Session Green, Be Vietnam Pro + Open Sans). */
:root {
  --primary: #2563EB;
  --primary-strong: #1D4ED8;
  --secondary: #3B82F6;
  --accent: #059669;
  --accent-bright: #34D399;
  --bg: #F8FAFC;
  --bg-alt: #F1F5FD;
  --fg: #0F172A;
  --muted: #475569;
  --card: #FFFFFF;
  --border: #E4ECFC;
  --destructive: #DC2626;
  --warning: #EA580C;

  --ink: #0B1120;          /* hero / dark sections */
  --ink-2: #111A2E;
  --ink-fg: #F1F5F9;
  --ink-muted: #94A3B8;
  --ink-border: rgba(148, 163, 184, .18);

  --font-head: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #3B82F6;
    --primary-strong: #2563EB;
    --secondary: #60A5FA;
    --accent: #34D399;
    --bg: #0F172A;
    --bg-alt: #111C33;
    --fg: #F1F5F9;
    --muted: #94A3B8;
    --card: #1E293B;
    --border: #334155;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }
kbd {
  font: 600 .8em/1 var(--font-body);
  padding: .3em .5em; border-radius: 6px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 2px 0 var(--border);
  color: var(--fg);
  white-space: nowrap;
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 12px;
  font: 600 15px/1 var(--font-body);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(37, 99, 235, .35); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-light { background: #fff; color: #0F172A; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ico { width: 20px; height: 20px; fill: currentColor; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px;
  background: #fff; color: #0F172A;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  text-align: left;
}
.store-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.store-btn svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store-btn span { display: flex; flex-direction: column; font: 700 17px/1.1 var(--font-head); white-space: nowrap; }
.store-btn small { font: 500 11px/1.2 var(--font-body); opacity: .7; }
.store-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; backdrop-filter: blur(8px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 17, 32, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--ink-border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 19px/1 var(--font-head); }
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { color: rgba(241, 245, 249, .8); font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .06); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--ink-border);
  color: #E2E8F0; font: 600 14px/1 var(--font-body);
  transition: background-color .2s, border-color .2s;
}
.lang-switch:hover { text-decoration: none; background: rgba(255, 255, 255, .06); border-color: rgba(148, 163, 184, .4); }
.lang-switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-inner .lang-switch { margin-left: -8px; }
@media (max-width: 820px) {
  .nav { display: none; }
  .header-inner .lang-switch { margin-left: auto; }
  .header-inner { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(1200px 700px at 70% 40%, #12224a 0%, var(--ink) 60%);
  color: var(--ink-fg);
  padding: 120px 0 96px;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-glow {
  position: absolute; inset: auto 0 -1px; height: 220px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--ink));
}
.hero::before {
  /* Keeps the headline readable over the 3D scene. */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 17, 32, .85) 0%, rgba(11, 17, 32, .55) 38%, transparent 62%);
}
.hero-inner { position: relative; max-width: 1160px; }
.hero-inner > * { max-width: 640px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(100deg, #60A5FA 0%, #34D399 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: #CBD5E1; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ink-muted); font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(52, 211, 153, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.catch-counter {
  margin-top: 36px; font: 600 13px/1 var(--font-body); color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink-border);
  background: rgba(15, 23, 42, .5); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .6s;
}
.catch-counter.is-on { opacity: 1; }
.catch-counter [data-catch-count] { color: var(--accent-bright); font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow-dark { color: #93C5FD; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .3);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 700px) { .scroll-cue { display: none; } }

/* Hero text readable above the 3D scene on small screens */
@media (max-width: 720px) {
  /* Phone: the catcher sits in the band above the headline. */
  .hero { padding: 210px 0 72px; align-items: flex-end; }
  .hero h1 { font-size: 38px; margin: 14px 0 16px; }
  .hero-ctas { margin-top: 26px; }
  .hero::before { background: linear-gradient(to top, rgba(11, 17, 32, .9) 45%, rgba(11, 17, 32, 0) 75%); }
  .scroll-cue { display: none; }
  .hero .store-btn { flex: 1 1 calc(50% - 6px); min-width: 150px; padding: 8px 14px 8px 12px; }
  .store-btn span { font-size: 16px; }
}

/* ---------- Languages strip ---------- */
.langs { background: var(--ink); color: var(--ink-muted); border-top: 1px solid var(--ink-border); }
.langs-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 26px; padding-bottom: 26px; }
.langs p { font-size: 14px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-list li {
  font: 600 15px/1 var(--font-head); color: #E2E8F0;
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--ink-border);
  background: rgba(255, 255, 255, .03);
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--ink-fg); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-top: 14px; text-wrap: balance; letter-spacing: -.02em; }
.section-sub { margin-top: 18px; font-size: 18px; color: var(--muted); }
.section-dark .section-sub { color: var(--ink-muted); }

/* Core loop */
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.loop-step {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.loop-num { position: absolute; top: 24px; right: 26px; font: 700 14px/1 var(--font-head); color: var(--muted); opacity: .6; }
.loop-icon, .feat-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(37, 99, 235, .1); color: var(--primary); margin-bottom: 22px;
}
.loop-step:nth-child(3) .loop-icon { background: rgba(5, 150, 105, .12); color: var(--accent); }
.loop-icon svg, .feat-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loop-step h3 { font-size: 24px; margin-bottom: 10px; }
.loop-step p, .card-feature p { color: var(--muted); }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; } }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 28px;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-feature h3 { font-size: 20px; margin-bottom: 8px; }
.card-flash {
  grid-column: span 2; grid-row: span 2;
  display: grid; grid-template-rows: auto 1fr; gap: 24px;
  background:
    radial-gradient(600px 300px at 80% 100%, rgba(37, 99, 235, .12), transparent 70%),
    var(--card);
}
.card-copy { max-width: 480px; }
.card-flash h3 { font-size: 26px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-flash { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card-flash { grid-column: auto; }
}

/* Flashcard demo (CSS 3D flip) */
.flash-stage { display: grid; place-items: center; perspective: 1200px; min-height: 300px; padding: 8px 0; }
.flashcard {
  position: relative; width: min(100%, 380px); aspect-ratio: 5 / 3.4;
  border: 0; padding: 0; background: none; cursor: pointer; color: inherit; font: inherit;
  transform-style: preserve-3d; transition: transform .8s var(--ease-out);
  border-radius: 22px;
}
.flashcard[aria-pressed="true"] { transform: rotateY(180deg); }
.flash-face {
  position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(37, 99, 235, .18), 0 2px 6px rgba(15, 23, 42, .06);
}
.flash-back { transform: rotateY(180deg); }
.pos { font: 600 12px/1 var(--font-body); color: var(--secondary); background: rgba(59, 130, 246, .12); padding: 6px 10px; border-radius: 999px; }
.word { font: 700 clamp(30px, 4vw, 38px)/1.1 var(--font-head); }
.ipa { color: var(--muted); }
.hint { position: absolute; bottom: 16px; font-size: 12px; color: var(--muted); opacity: .8; }
.meaning { font: 600 22px/1.3 var(--font-head); text-align: center; }
.example { font-style: italic; color: var(--muted); font-size: 14px; text-align: center; max-width: 300px; }
.example b { color: var(--fg); font-weight: 600; }
.ratings { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.r, .tag { font: 600 12px/1 var(--font-body); padding: 8px 10px; border-radius: 8px; color: #fff; }
.tag { padding: 4px 8px; font-size: 12px; display: inline-block; }
.r-again, .tag-again { background: var(--destructive); }
.r-hard, .tag-hard { background: var(--warning); }
.r-good, .tag-good { background: #059669; }
.r-easy, .tag-easy { background: #2563EB; }

/* ---------- Split (Chrome) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-copy h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; letter-spacing: -.02em; }
.checks { margin: 28px 0 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); }
.checks li strong { color: var(--fg); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(5, 150, 105, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.fineprint { margin-top: 16px; font-size: 13px; color: var(--muted); }
.split-media {
  margin: 0; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  transform: perspective(1400px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg));
  transition: transform .6s var(--ease-out);
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media { transform: none; }
}

/* ---------- Download ---------- */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: 32px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--ink-border);
}
.dl-card h3 { font-size: 20px; }
.qr, .dl-chrome-art {
  width: 196px; height: 196px; border-radius: 18px; background: #fff; padding: 14px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .04), 0 20px 40px rgba(0, 0, 0, .35);
}
.qr svg { width: 100%; height: 100%; display: block; }
.qr-fallback { font-size: 13px; color: #475569; }
.dl-chrome-art { background: linear-gradient(160deg, #1E293B, #0F172A); gap: 14px; align-content: center; }
.dl-chrome-art img { border-radius: 18px; }
.kbd-row { display: flex; gap: 6px; }
.kbd-row kbd { background: #1E293B; color: #E2E8F0; border-color: #334155; box-shadow: 0 2px 0 #334155; }
@media (max-width: 900px) { .download-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
/* On phones a QR you cannot scan with the same phone is noise: keep the buttons, shrink the art. */
@media (max-width: 640px) { .qr { display: none; } .dl-chrome-art { display: none; } .dl-card { padding: 24px; } }

/* ---------- How-to tabs ---------- */
.tab-list {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--border); margin-bottom: 36px;
}
.tab-list button {
  min-height: 44px; padding: 0 20px; border-radius: 10px; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); font: 600 15px/1 var(--font-body);
  transition: background-color .2s, color .2s;
}
.tab-list button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: var(--shadow); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 28px 24px 26px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px;
  border-radius: 10px; background: var(--primary); color: #fff; font: 700 16px/1 var(--font-head);
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.tab-panel { animation: fade .45s var(--ease-out); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 22px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 600 17px/1.4 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(52, 211, 153, .35), transparent 60%),
    linear-gradient(135deg, #1D4ED8, #2563EB 50%, #0E7490);
  color: #fff; text-align: center;
}
.final-inner h2 { font-size: clamp(28px, 4.2vw, 48px); max-width: 820px; margin: 0 auto; text-wrap: balance; letter-spacing: -.02em; }
.final-inner .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ink-muted); padding: 64px 0 28px; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand p { margin-top: 14px; line-height: 1.7; }
.footer-brand a:not(.brand), .footer-links a { color: #CBD5E1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-links h2 { font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links ul { display: grid; gap: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-border); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-bottom p { order: 1; }
.footer-langs { order: 2 !important; font-size: 13px; }
.footer-langs a { color: #CBD5E1; }
.footer-langs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-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; }
  .split-media { transform: none; }
}
