/* The portal's two static pages, /privacy/ and /support/ (App Store package, part 14): plain HTML with
   this one stylesheet, outside the app's bundle, so the first download doesn't change. The site's CSP
   allows styles and fonts from the portal's own address only (public/_headers), hence no inline
   style. The tokens are src/styles/tokens.css's, the display face refresh.css's (Bricolage Grotesque,
   latin, weights 500 to 800; a copy here, as the app's own has a hashed name). The theme follows the
   device, or the choice made in the portal's Settings (/theme.js sets data-theme). */

@font-face {
  font-family: "Bricolage Grotesque Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 500 800;
  src: url("/privacy/bricolage.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  --bg: #F3F2F7;
  --surface: #FFFFFF;
  --surface-2: #EEEDF3;
  --hair: rgba(23,20,43,0.08);
  --label: #17142B;
  --label-2: #6B6780;
  --accent: #5B45E8;
  --accent-text: #5B45E8;
  --accent-tint: rgba(91,69,232,0.09);
  --green-text: #1F7A36;
  --green-tint: rgba(52,199,89,0.14);
  --ink: #17142B;
  --on-ink: #FFFFFF;
  --on-ink-2: #B9B3D6;
  --ink-accent: #CFC8FF;
  --shadow: 0 1px 2px rgba(23,20,43,0.04), 0 8px 24px rgba(23,20,43,0.06);
  --font-display: "Bricolage Grotesque Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter Variable", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0D0C14;
    --surface: #17151F;
    --surface-2: #211E2C;
    --hair: rgba(255,255,255,0.08);
    --label: #F1EFF8;
    --label-2: #A6A2BA;
    --accent: #6A55F2;
    --accent-text: #8A7CF8;
    --accent-tint: rgba(138,124,248,0.16);
    --green-text: #30D158;
    --green-tint: rgba(48,209,88,0.16);
    --ink: #221F31;
    --shadow: 0 0 0 1px rgba(255,255,255,0.05);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D0C14;
  --surface: #17151F;
  --surface-2: #211E2C;
  --hair: rgba(255,255,255,0.08);
  --label: #F1EFF8;
  --label-2: #A6A2BA;
  --accent: #6A55F2;
  --accent-text: #8A7CF8;
  --accent-tint: rgba(138,124,248,0.16);
  --green-text: #30D158;
  --green-tint: rgba(48,209,88,0.16);
  --ink: #221F31;
  --shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* The bar: the FW mark, Portal, and the other page. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--label); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand b { font: 800 20px/1 var(--font-display); letter-spacing: -0.01em; }
.brand span { color: var(--label-2); font-size: 14px; }
.top nav { display: flex; gap: 6px; }
.top nav a { padding: 7px 14px; border-radius: 999px; color: var(--label); background: var(--surface); box-shadow: var(--shadow); font-size: 15px; font-weight: 600; text-decoration: none; }
.top nav a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-text); box-shadow: none; }

/* The title. */
.hero { padding: 40px 0 28px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-text); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 0; font: 800 clamp(36px, 8vw, 56px)/1.04 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.lead { margin: 18px 0 0; color: var(--label-2); font-size: 19px; line-height: 1.55; max-width: 600px; text-wrap: pretty; }
.date { display: inline-block; margin-top: 20px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--label-2); font-size: 14px; font-weight: 600; }

/* The dark card for what matters most ("Needs you" in the app). */
.ink { margin: 8px 0 12px; padding: 26px 24px; border-radius: 24px; background: var(--ink); color: var(--on-ink); }
.ink h2 { margin: 0 0 6px; color: var(--on-ink); font-size: 22px; }
.ink p { margin: 0; color: var(--on-ink-2); }
.ink a { color: var(--ink-accent); }
.points { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-ink); font-weight: 600; }
.points svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--ink-accent); }
.button { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-weight: 700; text-decoration: none; }
.ink .button { color: #FFFFFF; }
.ink .ink-note { margin-top: 16px; font-size: 15px; }

/* The sections. */
section { padding: 26px 0 6px; }
h2 { margin: 0 0 10px; font: 700 26px/1.2 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
p { margin: 0 0 14px; text-wrap: pretty; }
.muted { color: var(--label-2); }

/* An inset group of rows, as the app's lists. */
.group { margin: 14px 0 16px; padding: 0; list-style: none; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.group li { padding: 16px 20px; }
.group li + li { border-top: 1px solid var(--hair); }
.group p { margin: 0; color: var(--label-2); font-size: 16px; line-height: 1.5; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tag { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-text); font-size: 13px; font-weight: 700; }
.tag.eu { background: var(--green-tint); color: var(--green-text); }

.steps { margin: 14px 0 16px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 14px 44px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-text); font: 700 15px/30px var(--font-text); text-align: center; }

.foot { margin-top: 36px; padding: 26px 0 48px; border-top: 1px solid var(--hair); color: var(--label-2); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 26px 0 22px; }
  .lead { font-size: 17px; }
  .brand span { display: none; }
  .ink { padding: 22px 20px; border-radius: 22px; }
  h2 { font-size: 23px; }
  .group li { padding: 14px 16px; }
}
