/* ============================================================
   DoseTrace — dosetrace.io
   Design system: "Clinical Light" + "Deep Focus" dark mode
   Headings: Plus Jakarta Sans · Body: Inter · Accent: #185FA5
   ============================================================ */

/* ---------- Tokens: light (default) ---------- */
:root {
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --surface-2: #EDF2F9;
  --ink: #0E1116;
  --ink-soft: #2A313B;
  --muted: #5B6673;
  --line: #E4EBF3;
  --accent: #1E77C4;
  --accent-2: #29ABE2;
  --accent-deep: #12385F;
  --accent-ink: #12385F;
  --accent-soft: #E4F1FB;
  --mint: #1BB5C0;
  --amber: #C9922E;
  --danger: #C7443B;

  --shadow-sm: 0 1px 2px rgba(16,32,54,.06), 0 1px 3px rgba(16,32,54,.05);
  --shadow-card: 0 10px 30px -12px rgba(16,40,74,.18), 0 2px 8px rgba(16,40,74,.06);
  --shadow-lg: 0 40px 80px -30px rgba(13,59,110,.35), 0 12px 30px -12px rgba(13,59,110,.20);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 56px);

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

  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}

/* ---------- Tokens: dark ("Deep Focus") ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1B2E;
    --surface: #12263C;
    --surface-2: #17324D;
    --ink: #EAF2FB;
    --ink-soft: #C6D6E8;
    --muted: #93A6BC;
    --line: rgba(255,255,255,.10);
    --accent: #4FA3E8;
    --accent-2: #46C6EE;
    --accent-deep: #A9CCF4;
    --accent-ink: #CFE2F8;
    --accent-soft: rgba(79,163,232,.16);
    --mint: #2CD3D9;
    --amber: #E3B45C;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-card: 0 14px 40px -18px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.4);
    --shadow-lg: 0 50px 90px -30px rgba(0,0,0,.8), 0 12px 30px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1B2E;
  --surface: #12263C;
  --surface-2: #17324D;
  --ink: #EAF2FB;
  --ink-soft: #C6D6E8;
  --muted: #93A6BC;
  --line: rgba(255,255,255,.10);
  --accent: #4FA3E8;
  --accent-2: #46C6EE;
  --accent-deep: #A9CCF4;
  --accent-ink: #CFE2F8;
  --accent-soft: rgba(79,163,232,.16);
  --mint: #2CD3D9;
  --amber: #E3B45C;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-card: 0 14px 40px -18px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.4);
  --shadow-lg: 0 50px 90px -30px rgba(0,0,0,.8), 0 12px 30px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Offset in-page anchor targets so the sticky nav (68px) doesn't cover them */
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.section { padding: clamp(64px, 9vw, 132px) 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); margin-top: 16px; }
.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 65%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--surface); box-shadow: var(--shadow-sm); }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--surface);
  padding: 11px 20px 11px 18px; border-radius: 14px; min-width: 190px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), opacity .18s;
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .store-badge, .store-badge { }
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .sb-small { font-size: 10.5px; letter-spacing: .04em; opacity: .8; text-transform: uppercase; }
.store-badge .sb-big { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
/* invert badge text color to always contrast the ink chip */
.store-badge { color: #fff; }
:root:not([data-theme="light"]) .store-badge { background: var(--ink); color: var(--bg); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .store-badge{ background:#EAF0F7; color:#0B0F14; } }
:root[data-theme="dark"] .store-badge { background:#EAF0F7; color:#0B0F14; }
:root[data-theme="light"] .store-badge { background:#0E1116; color:#fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16,40,74,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .mark { height: 30px; width: auto; flex: none; }
.brand .wm-dose { color: var(--ink); }
.brand .wm-trace { color: var(--accent-2); }
:root[data-theme="dark"] .brand img.mark { filter: drop-shadow(0 0 9px rgba(70,198,238,.5)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img.mark { filter: drop-shadow(0 0 9px rgba(70,198,238,.5)); } }
.brand-tagline { font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.navlink { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .18s; }
.nav-links a.navlink:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: transform .18s var(--ease), background .18s;
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
}
/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 13px; transition: transform .18s var(--ease), background .18s; }
.lang-btn:hover { transform: translateY(-2px); }
.lang-btn > svg:first-child { width: 17px; height: 17px; color: var(--muted); }
.lang-btn .caret { width: 13px; height: 13px; color: var(--muted); }
.lang-code { letter-spacing: .03em; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 172px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 6px; margin: 0; list-style: none; z-index: 60; }
.lang-menu li { list-style: none; }
.lang-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 10px; font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: background .14s, color .14s; }
.lang-menu button:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu button[aria-current="true"] { color: var(--accent); font-weight: 700; background: var(--accent-soft); }
@media (max-width: 560px) { .lang-btn .caret { display: none; } .lang-btn { padding: 0 10px; } }

@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 60% at 78% 12%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(50% 50% at 12% 0%, color-mix(in srgb, var(--mint) 14%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -.03em; }
.hero h1 .grad { background: linear-gradient(118deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; max-width: 540px; }
.hero-cta { margin-top: 32px; }
.hero-cta .stores { margin-bottom: 14px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.hero-note svg { width: 15px; height: 15px; color: var(--mint); flex: none; }

/* ---------- Phone mockup ---------- */
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 320 / 660;
  background: var(--surface); border-radius: 46px; padding: 11px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease);
}
.phone::after { /* notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: var(--ink); border-radius: 999px; opacity: .92; z-index: 3;
}
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0b0f14; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .ring {
  position: absolute; right: -26px; top: 88px; width: 96px; height: 96px; z-index: 4;
  background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-card);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.phone .ring svg { width: 76px; height: 76px; transform: rotate(-90deg); }
.phone .ring .ring-label { position: absolute; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--accent); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta .stores, .hero-note { justify-content: center; }
  /* Headline + explanation come first; the app mockup follows it */
  .phone-wrap { margin-top: 26px; }
  .phone .ring { right: -20px; }
}

/* Compact header + hero for phones */
@media (max-width: 600px) {
  .nav-inner { height: 60px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .mark { height: 26px; }
  .nav-actions { gap: 8px; }
  .lang-btn { height: 38px; padding: 0 10px; }
  .theme-toggle { width: 38px; height: 38px; }
  /* The download CTA is served by the hero store badges right below */
  .nav-actions .btn-primary { display: none; }

  .hero { padding-top: 30px; }
  .phone-wrap { margin-top: 20px; }
  /* Narrow the phone a touch so the badge can hang off the top-right side */
  .phone { width: min(248px, 66vw); }
  .phone .ring { right: -42px; top: 112px; width: 76px; height: 76px; }
  .phone .ring svg { width: 58px; height: 58px; }
  .phone .ring .ring-label { font-size: 13px; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding: 22px 0; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-soft); font-weight: 600; font-size: 14.5px; }
.trust-item svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.trust-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
@media (max-width: 640px){ .trust-sep{ display:none; } }

/* ---------- Feature grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .features-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .features-grid{ grid-template-columns: 1fr; } }
.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.fcard .ficon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.fcard .ficon svg { width: 24px; height: 24px; }
.fcard h3 { font-size: 19px; letter-spacing: -.01em; }
.fcard p { color: var(--muted); font-size: 15px; margin-top: 9px; }
.fcard .tag { display:inline-block; margin-top:14px; font-family:var(--font-head); font-weight:700; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); background:var(--accent-soft); padding:4px 10px; border-radius:var(--r-pill); }

/* ---------- Screenshot gallery ---------- */
.gallery { background: var(--surface); border-block: 1px solid var(--line); }
.shots {
  display: flex; gap: 26px; overflow-x: auto; padding: 8px 4px 26px; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; flex: none; width: min(258px, 66vw); }
.shot .frame {
  border-radius: 34px; padding: 9px; background: var(--bg); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); transition: transform .3s var(--ease);
}
.shot:hover .frame { transform: translateY(-6px); }
.shot .frame img { border-radius: 26px; width: 100%; aspect-ratio: 640/1391; object-fit: cover; }
.shot .cap { text-align: center; margin-top: 16px; font-weight: 600; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Split / privacy ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(26px, 3.4vw, 40px); }
.split .lead { margin-top: 18px; }
.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { width: 22px; height: 22px; color: var(--mint); flex: none; margin-top: 1px; }
.checklist b { color: var(--ink); font-weight: 700; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-card);
}
.panel .big-stat { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 6vw, 64px); color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.panel .big-stat span { font-size: .4em; color: var(--muted); }
.panel-row { display: flex; gap: 18px; margin-top: 22px; }
.panel-row .cell { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.panel-row .cell .k { font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.panel-row .cell .l { color: var(--muted); font-size: 13px; margin-top: 3px; }

/* ---------- Honest / disclaimer band ---------- */
.honest { text-align:center; }
.honest .badge-line { display:inline-flex; align-items:center; gap:10px; background:var(--accent-soft); color:var(--accent); font-family:var(--font-head); font-weight:700; padding:8px 16px; border-radius:var(--r-pill); font-size:13.5px; }
.honest h2 { font-size: clamp(26px,3.6vw,42px); max-width: 760px; margin: 22px auto 0; }
.honest p { color: var(--muted); max-width: 640px; margin: 18px auto 0; font-size: 17px; }
.sources { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:28px; }
.source-chip { font-size:13px; color:var(--muted); border:1px solid var(--line); background:var(--surface); padding:7px 14px; border-radius:var(--r-pill); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin-inline: auto; }
@media (max-width: 720px){ .pricing-grid{ grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-card); position: relative; }
.plan .plan-name { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.plan .plan-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan .plan-pill { position:absolute; top:22px; right:22px; font-family:var(--font-head); font-weight:700; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:#fff; background:var(--accent); padding:5px 12px; border-radius:var(--r-pill); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.plan li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--accent); }
.plan .note { margin-top: 22px; color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; list-style: none; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev { width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .25s var(--ease); }
.qa[open] summary .chev { transform: rotate(45deg); color: var(--accent); }
.qa .qa-body { padding: 0 4px 24px; color: var(--muted); font-size: 15.5px; max-width: 660px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-card {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px) var(--gutter); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-card::after { content:""; position:absolute; inset:auto -10% -60% -10%; height:340px; background:radial-gradient(50% 70% at 50% 0, rgba(255,255,255,.18), transparent 70%); }
.cta-card h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); position: relative; }
.cta-card p { color: rgba(255,255,255,.82); margin: 16px auto 0; max-width: 520px; position: relative; }
.cta-card .stores { justify-content: center; margin-top: 30px; position: relative; }
.cta-card .store-badge { background: #fff; color: #0B0F14; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer .brand { margin-bottom: 14px; }
.footer .f-blurb { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer .f-col h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.footer .f-col a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; transition: color .18s; }
.footer .f-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay:.32s; } .reveal.d5{ transition-delay:.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float { animation: none !important; }
}

/* ---------- Article (privacy) ---------- */
.article { max-width: 780px; margin: 0 auto; padding: clamp(40px,7vw,96px) var(--gutter); }
.article h1 { font-size: clamp(30px,4vw,44px); }
.article .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.article h2 { font-size: 21px; margin-top: 40px; color: var(--ink); }
.article p { color: var(--ink-soft); margin-top: 12px; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article .back { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-weight:600; font-size:14px; margin-bottom:30px; }
.article .back:hover { color: var(--accent); }
