/* Kindly Introduced: shared styles for / and /privacy/.
   Self-hosted Inter (OFL), so no request leaves the site. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Light only, on purpose: a white page reads as more trustworthy for this audience. */
  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #26364d;
  --muted: #536175;
  --faint: #8592a3;
  --line: #e6eaf0;
  --line-strong: #d4dae3;
  --accent: #173b63;
  --accent-hover: #102d4d;
  --accent-ink: #ffffff;
  --accent-soft: #eef3f9;
  --accent-2: #3d6b99;
  --dark: #0f1f35;
  --dark-ink: #f2f5f9;
  --dark-muted: #a9b6c7;
  --dark-accent: #a9c6e8;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05);
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 10px 28px -14px rgba(15, 27, 45, .16);
  --radius: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--accent-soft); color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 650; letter-spacing: -.025em; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 860px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 16.5px; letter-spacing: -.015em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.logo {
  flex: none; display: inline-block;
  font-family: var(--emoji); font-size: 27px; line-height: 1;
}
.nav { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 10px;
  font: 600 15px/1 var(--font); letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--accent-ink); background: var(--accent); }
.nav .btn-primary:hover { background: var(--accent-hover); }

/* ---------- Type helpers ---------- */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent);
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }

/* ---------- Hero backdrop (shared) ---------- */
.hero-bg { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg::before {
  content: ""; position: absolute; inset: -1px 0 auto 0; height: 100%; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -460px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 7%, transparent), transparent);
}
.hero-bg > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .brand { font-size: 15px; margin-bottom: 12px; }
.site-footer .brand .logo { font-size: 22px; }
.site-footer p { margin: 0 0 4px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .links a { color: var(--ink-2); font-weight: 500; }
.site-footer .fine { color: var(--faint); font-size: 13px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 60px; }
  .brand { font-size: 15.5px; gap: 9px; }
  .logo { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
@media print {
  .site-header { position: static; }
  .hero-bg::before, .hero-bg::after { display: none; }
}
