/* Support and privacy pages, in the landing page's style: dark, Geist, one
   violet, the edge light and the faint grain (src/landing/landing.css). */
/* Geist and Geist Mono (SIL OFL), self-hosted from public/fonts/: Latin and
   Latin Extended (Slovenian č, š, ž), variable 400–700. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-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; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-mono-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; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0814;
  --card: #141022;
  --ink: #f5f2fb;
  --muted: #a7a0ba;
  --soft: #7a7290;
  --line: #ffffff17;
  --nav-ink: #d9d3e6;
  --strong: #fff;
  --underline: #ffffff59;
  --card-shadow: none;
  --grain-opacity: .035;
  --violet: #7f4fd1;
  --violet-hover: #6c3dbd;
  --accent: #b58cff;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --speckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
  font-family: 'Geist', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light theme: follows the system unless a theme was picked on the main
   site (data-theme on <html>, set before first paint). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f7f6fb;
    --card: #ffffff;
    --ink: #1a1625;
    --muted: #5f5873;
    --soft: #8b84a0;
    --line: #1a16251a;
    --violet: #7346c9;
    --violet-hover: #5f35b0;
    --accent: #6a3fc0;
    --nav-ink: #3d3650;
    --strong: #1a1625;
    --underline: #1a162559;
    --card-shadow: 0 1px 2px #1a16250a, 0 10px 30px -14px #1a162524;
    --grain-opacity: .02;
    color-scheme: light;
  }
  :root:not([data-theme='dark']) body::after { filter: invert(1); }
  :root:not([data-theme='dark']) .wm-on-dark { display: none; }
  :root:not([data-theme='dark']) .wm-on-light { display: block; }
}
:root[data-theme='light'] {
  --bg: #f7f6fb;
  --card: #ffffff;
  --ink: #1a1625;
  --muted: #5f5873;
  --soft: #8b84a0;
  --line: #1a16251a;
  --violet: #7346c9;
  --violet-hover: #5f35b0;
  --accent: #6a3fc0;
  --nav-ink: #3d3650;
  --strong: #1a1625;
  --underline: #1a162559;
  --card-shadow: 0 1px 2px #1a16250a, 0 10px 30px -14px #1a162524;
  --grain-opacity: .02;
  color-scheme: light;
}
:root[data-theme='light'] body::after { filter: invert(1); }
:root[data-theme='light'] .wm-on-dark { display: none; }
:root[data-theme='light'] .wm-on-light { display: block; }
.brand img.wm-on-light { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; overflow-x: clip; }
body { margin: 0; min-width: 320px; font-size: 17px; line-height: 1.6; overflow-x: clip; position: relative; }
/* The grain covers the page, not the screen: Safari 26 on iPhone colours its
   status and bottom bar strips from a fixed element touching them, and a fixed
   full-screen grain is that element, so the page showed through above the nav. */
body::after { content: ''; position: absolute; inset: 0; z-index: 100; pointer-events: none; background: var(--grain); opacity: var(--grain-opacity); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
code { font-family: 'Geist Mono', ui-monospace, monospace; font-size: .92em; }

.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--card); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Violet light from beyond the right edge, as on the landing page. */
.page-top { position: relative; isolation: isolate; }
.page-top::before { content: ''; position: absolute; z-index: -1; right: 0; top: 160px; width: min(1000px, 110vw); aspect-ratio: 1.2; translate: 56% -50%; pointer-events: none;
  background: radial-gradient(closest-side, #7f4fd17a 0%, #7f4fd152 20%, #7f4fd129 42%, #7f4fd10f 66%, transparent 100%);
  -webkit-mask-image: var(--speckle), radial-gradient(closest-side, #000 40%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: var(--speckle), radial-gradient(closest-side, #000 40%, transparent 100%); mask-composite: intersect;
  -webkit-mask-size: 120px, 100% 100%; mask-size: 120px, 100% 100%; }

/* Header and footer match the landing page's. */
.site-header { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 22px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; }
.site-header nav a { color: var(--nav-ink); transition: color .2s; }
.site-header nav a[aria-current='page'] { color: var(--strong); }
.nav-cta { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--violet); color: #fff !important; font-size: 14.5px; font-weight: 600; transition: background-color .2s, transform .15s var(--ease); }
.nav-cta:active { transform: scale(.97); }

.intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; padding: 96px 0 72px; }
.eyebrow { display: none; }
.intro h1 { font-size: clamp(44px, 5.6vw, 76px); font-weight: 650; line-height: 1; letter-spacing: -.05em; }
.intro h1 em { font-style: normal; color: var(--accent); }
.intro-copy { max-width: 30em; color: var(--muted); font-size: 17px; }

.legal { padding-bottom: 56px; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 56px; }
.topics > div { padding: 28px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.topics h2, .block h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.topics dl { margin: 20px 0 0; }
.topics dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.topics dt { font-size: 15px; font-weight: 600; }
.topics dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.block { padding: 48px 0; border-top: 1px solid var(--line); }
.block > * { max-width: 760px; }
.block p, .block li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.block p + p, .block p + ul, .block ul + p { margin-top: 14px; }
.block h2 + p, .block h2 + ul { margin-top: 18px; }
.block h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.block ul { padding-left: 20px; }
.block li + li { margin-top: 8px; }
.block strong { color: var(--ink); font-weight: 600; }
.block p a, .block li a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 3px; }
.mail { display: inline-flex; align-items: center; height: 48px; margin-top: 24px; padding: 0 22px; border-radius: 12px; background: var(--violet); color: #fff; font-size: 15.5px; font-weight: 600; transition: background-color .2s, transform .15s var(--ease); }
.mail:active { transform: scale(.97); }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 56px 0 48px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.site-footer .brand img { height: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-left: auto; }
.site-footer small { font-size: 13.5px; color: var(--soft); }

@media (hover: hover) {
  .site-header nav a:hover, .site-footer nav a:hover { color: var(--strong); }
  .nav-cta:hover, .mail:hover { background: var(--violet-hover); }
}
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 20px; padding: 64px 0 48px; }
  .topics { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .site-header nav a:not(.nav-cta) { display: none; }
  .topics > div { padding: 24px; }
  .block { padding: 36px 0; }
  .site-footer nav { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
