/* ===========================================================================
   Asset Trainer — Support site
   Aesthetic: editorial "ledger". Warm paper light theme, deep-ink dark theme.
   Fraunces (display) · Hanken Grotesk (body) · IBM Plex Mono (figures).
   =========================================================================== */

:root {
  /* light theme — clean app-like surface, deep-navy ink, vivid-blue accent
     drawn straight from the app icon */
  --paper:        #f3f6fc;
  --paper-2:      #e7edf8;
  --card:         #ffffff;
  --ink:          #0b1a30;
  --ink-soft:     #46566e;
  --ink-faint:    #8593a8;
  --line:         #d9e1ef;
  --line-soft:    #e9eef8;
  --accent:       #2563eb;
  --accent-bright:#3b82f7;
  --accent-tint:  #e7eeff;

  /* icon background navy (top-left light → bottom-right deep) */
  --navy-top:     #1a4f96;
  --navy-bottom:  #091428;

  /* the icon's allocation-donut palette — used as signature accents */
  --c-blue:   #3b82f7;
  --c-green:  #34c759;
  --c-orange: #ff9f0a;
  --c-purple: #bf5af2;
  --c-red:    #ff453a;
  --c-cyan:   #32ade6;

  --warn:         #ff9f0a;
  --danger:       #ff453a;

  --shadow-sm: 0 1px 2px rgba(9, 20, 40, .06), 0 2px 8px rgba(9, 20, 40, .05);
  --shadow-md: 0 14px 38px -12px rgba(9, 20, 40, .26), 0 2px 8px rgba(9, 20, 40, .06);
  --shadow-lg: 0 44px 84px -28px rgba(9, 20, 40, .42);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;

  --maxw: 1140px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

html[data-theme="dark"] {
  /* dark theme — the deep navy of the icon background */
  --paper:        #0a1526;
  --paper-2:      #0e1c32;
  --card:         #122138;
  --ink:          #eaf1fb;
  --ink-soft:     #aabace;
  --ink-faint:    #6f819b;
  --line:         #213354;
  --line-soft:    #16263f;
  --accent:       #5b9cff;
  --accent-bright:#7fb4ff;
  --accent-tint:  #15243c;

  --navy-top:     #173f78;
  --navy-bottom:  #060f1d;

  --warn:         #ffb340;
  --danger:       #ff6b5e;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.45);
  --shadow-md: 0 16px 40px -16px rgba(0,0,0,.62);
  --shadow-lg: 0 44px 92px -30px rgba(0,0,0,.72);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* soft blue wash top-right + a faint data grid */
  background-image:
    radial-gradient(120% 90% at 92% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    linear-gradient(color-mix(in srgb, var(--line) 38%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 38%, transparent) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ---------- Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand .brand-mark { width: 34px; height: 34px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.brand .name { font-family: var(--font-display); font-size: 1.18rem; letter-spacing: -.01em; color: var(--ink); }
.brand .name b { font-weight: 600; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a.navlink {
  color: var(--ink-soft); font-weight: 500; font-size: .96rem;
  position: relative; padding: 4px 0;
}
.nav a.navlink::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .28s ease;
}
.nav a.navlink:hover { color: var(--ink); }
.nav a.navlink:hover::after { right: 0; }

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer; transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.theme-toggle:hover { transform: rotate(-18deg); border-color: var(--accent); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }

/* language switcher */
.lang {
  position: relative; display: inline-flex; align-items: center;
}
.lang-select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--font-body); font-weight: 500; font-size: .9rem;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 32px 8px 34px; cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.lang-select:hover { border-color: var(--accent); color: var(--accent); }
.lang::before {
  content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; pointer-events: none; opacity: .7;
  background: currentColor;
  -webkit-mask: var(--globe) center/contain no-repeat; mask: var(--globe) center/contain no-repeat;
}
.lang::after {
  content: ""; position: absolute; right: 13px; top: 50%;
  width: 7px; height: 7px; border-right: 1.6px solid var(--ink-faint); border-bottom: 1.6px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
:root { --globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E"); }

@media (max-width: 720px) {
  .nav .navlink { display: none; }
  .nav { gap: 12px; }
  .lang-select { font-size: .82rem; padding: 7px 28px 7px 30px; }
}

/* ---------- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
html[data-theme="dark"] .btn-primary { color: #07120c; }
.btn-primary:hover { background: var(--accent-bright); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
html[data-theme="dark"] .btn-primary:hover { color: #07120c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Hero ------------------------------------------------------------ */
.hero { position: relative; padding: 76px 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 620px; height: 620px; right: -160px; top: -180px;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%);
  filter: blur(8px); pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-tint);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  padding: 6px 13px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

.hero h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 480;
  font-size: clamp(2.6rem, 5.6vw, 4.1rem);
  line-height: 1.02; letter-spacing: -.02em;
  margin: 22px 0 0; color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 460; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 30em; margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: .9rem; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Hero device mock ------------------------------------------------ */
.device {
  position: relative; justify-self: center;
  width: 300px; padding: 18px; border-radius: 42px;
  background: linear-gradient(160deg, var(--card), var(--paper-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: rotate(2.2deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: rotate(2.2deg) translateY(0); } 50% { transform: rotate(2.2deg) translateY(-12px); } }
.device::after { content:""; position:absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 86px; height: 6px; border-radius: 99px; background: var(--line); }
.screen { background: var(--paper); border-radius: 30px; padding: 40px 20px 22px; border: 1px solid var(--line-soft); }
.screen .label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.screen .net { font-family: var(--font-mono); font-size: 2.1rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin: 2px 0 3px; }
.screen .chg { font-family: var(--font-mono); font-size: .82rem; color: var(--c-green); }
.alloc { margin-top: 22px; display: grid; gap: 11px; }
.alloc .row { display: grid; grid-template-columns: 58px 1fr 42px; align-items: center; gap: 10px; font-size: .72rem; }
.alloc .row .nm { color: var(--ink-soft); }
.alloc .row .pct { font-family: var(--font-mono); text-align: right; color: var(--ink-faint); }
.bar { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transform-origin: left; animation: grow 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.screen .obs {
  margin-top: 22px; font-size: .72rem; color: var(--ink-soft);
  border-left: 2px solid var(--warn); padding: 6px 0 6px 10px; background: color-mix(in srgb, var(--warn) 12%, transparent);
  border-radius: 0 6px 6px 0;
}

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .device { display: none; }
}

/* ---------- Disclaimer ticker ----------------------------------------------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); overflow: hidden; padding: 13px 0;
}
.ticker-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 40px; }
.ticker span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding --------------------------------------------- */
section { padding: 84px 0; }
.section-head { max-width: 38em; margin-bottom: 48px; }
.kicker { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 460; letter-spacing: -.02em;
  font-size: clamp(2rem, 4vw, 2.85rem); line-height: 1.07; margin: 12px 0 0; color: var(--ink);
}
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin: 16px 0 0; }

/* ---------- Features grid --------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.feature .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent); margin-bottom: 18px;
}
.feature .ic svg { width: 23px; height: 23px; }
/* each card takes one hue from the icon's allocation donut */
.feature:nth-child(1) .ic { color: var(--c-blue);   background: color-mix(in srgb, var(--c-blue) 14%, transparent); }
.feature:nth-child(2) .ic { color: var(--c-green);  background: color-mix(in srgb, var(--c-green) 15%, transparent); }
.feature:nth-child(3) .ic { color: var(--c-orange); background: color-mix(in srgb, var(--c-orange) 16%, transparent); }
.feature:nth-child(4) .ic { color: var(--c-purple); background: color-mix(in srgb, var(--c-purple) 15%, transparent); }
.feature:nth-child(5) .ic { color: var(--c-red);    background: color-mix(in srgb, var(--c-red) 14%, transparent); }
.feature:nth-child(6) .ic { color: var(--c-cyan);   background: color-mix(in srgb, var(--c-cyan) 16%, transparent); }
.feature:nth-child(1):hover { border-color: color-mix(in srgb, var(--c-blue) 45%, var(--line)); }
.feature:nth-child(2):hover { border-color: color-mix(in srgb, var(--c-green) 45%, var(--line)); }
.feature:nth-child(3):hover { border-color: color-mix(in srgb, var(--c-orange) 45%, var(--line)); }
.feature:nth-child(4):hover { border-color: color-mix(in srgb, var(--c-purple) 45%, var(--line)); }
.feature:nth-child(5):hover { border-color: color-mix(in srgb, var(--c-red) 45%, var(--line)); }
.feature:nth-child(6):hover { border-color: color-mix(in srgb, var(--c-cyan) 45%, var(--line)); }
.feature h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.28rem; margin: 0 0 8px; color: var(--ink); letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Privacy band ---------------------------------------------------- */
.privacy { position: relative; color: #eaf1fb; border-radius: 0; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-top), var(--navy-bottom) 78%); }
.privacy::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(58% 90% at 86% 10%, color-mix(in srgb, var(--c-blue) 50%, transparent), transparent 60%),
    radial-gradient(40% 70% at 6% 110%, color-mix(in srgb, var(--c-purple) 26%, transparent), transparent 60%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  pointer-events: none;
}
.privacy .wrap { position: relative; z-index: 1; }
.privacy .kicker { color: #9ec5ff; }
.privacy h2 { color: #fff; }
.privacy .section-head p { color: rgba(234,241,251,.78); }
.priv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.priv-card {
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); padding: 24px 22px;
  background: rgba(255,255,255,.05); backdrop-filter: blur(4px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.priv-card:hover { transform: translateY(-4px); border-color: rgba(158,197,255,.55); background: rgba(255,255,255,.08); }
.priv-card .big { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; color: #7fb4ff; line-height: 1; letter-spacing: -.02em; }
.priv-card h4 { margin: 12px 0 6px; font-size: 1.02rem; color: #fff; }
.priv-card p { margin: 0; font-size: .9rem; color: rgba(234,241,251,.72); }
@media (max-width: 900px) { .priv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .priv-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ------------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--ink);
}
.faq-q .plus { position: relative; flex: 0 0 22px; width: 22px; height: 22px; transition: transform .3s ease; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .plus::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq-q .plus::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: transform .3s ease; }
.faq-item[open] .faq-q .plus::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 4px 26px; color: var(--ink-soft); font-size: 1.02rem; }
.faq-item[open] .faq-q { color: var(--accent); }

/* ---------- Contact --------------------------------------------------------- */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 50px 46px; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
}
.contact-card h2 { font-family: var(--font-display); font-weight: 470; font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin: 10px 0 14px; letter-spacing: -.02em; color: var(--ink); }
.contact-card p { color: var(--ink-soft); margin: 0 0 14px; }
.mailbox {
  border: 1px dashed var(--line); border-radius: var(--r-md); padding: 22px 24px; background: var(--paper);
}
.mailbox .label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.mailbox .email { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 6px 0 18px; word-break: break-all; }
.mailbox .btn { width: 100%; justify-content: center; }
.tips { list-style: none; margin: 14px 0 0; padding: 0; }
.tips li { position: relative; padding-left: 26px; margin: 9px 0; color: var(--ink-soft); font-size: .96rem; }
.tips li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--font-mono); }
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 30px; } }

/* ---------- Footer ---------------------------------------------------------- */
.site-footer { background: linear-gradient(150deg, var(--navy-top), var(--navy-bottom) 80%); color: rgba(234,241,251,.72); padding: 60px 0 40px; }
html[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 26em; }
.footer-brand .brand .name { color: #fff; }
.footer-brand p { font-size: .92rem; margin: 16px 0 0; color: color-mix(in srgb, #fff 58%, transparent); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, #fff 50%, transparent); margin: 0 0 16px; }
.footer-col a { display: block; color: color-mix(in srgb, #fff 78%, transparent); margin: 9px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: color-mix(in srgb, #fff 48%, transparent);
}
.footer-langs { font-family: var(--font-mono); letter-spacing: .03em; }

/* ---------- Legal pages ----------------------------------------------------- */
.legal { padding: 64px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal-back { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); margin-bottom: 30px; }
.legal-back:hover { color: var(--accent); }
.legal h1 { font-family: var(--font-display); font-weight: 470; font-size: clamp(2.1rem, 4.5vw, 3rem); letter-spacing: -.02em; color: var(--ink); margin: 0; }
.legal .updated { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-faint); margin-top: 10px; }
.legal .doc { margin-top: 40px; }
.legal .doc h2 { font-family: var(--font-display); font-weight: 520; font-size: 1.4rem; color: var(--ink); margin: 40px 0 4px; letter-spacing: -.01em; }
.legal .doc h2 .num { color: var(--accent); font-family: var(--font-mono); font-size: .95rem; margin-right: 10px; }
.legal .doc p { color: var(--ink-soft); margin: 12px 0; }
.legal .doc .caps { font-size: .92rem; letter-spacing: .01em; }
.legal-note {
  margin: 0 0 36px; padding: 18px 22px; border-radius: var(--r-md);
  background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  font-size: .95rem; color: var(--ink-soft);
}
.legal-langs { margin-top: 18px; font-size: .9rem; color: var(--ink-faint); }

/* ---------- Reveal animation ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* focus visibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
