/* Fonts are served from this site, so visitors' browsers don't contact Google. */
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKjhFyDHi0j0Cc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKthFyDHi0j.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;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/NaP6cYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiMhXSWUJ7iyGKiJPfJ9-Nw9T49FJNOSSAgdw.woff) format('woff');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/NaP6cYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiMhXSWUJ7iyGKiJPfJ9-N-9T49FJNOSSA.woff) format('woff');
  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;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiHn3q0pkZ_S2Q.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiJn3q0pkZ_.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;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHWVyNJtvI.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHWVyNJtvI.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInHWVyNJ.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;
}

/* Exposure Radar website
   One stylesheet for every page. Colors come from the custom properties below,
   which switch for dark mode with prefers-color-scheme. */

:root {
  color-scheme: light dark;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Sampled from the app icon */
  --icon-teal: #0E728E;
  --icon-blue: #1B5077;
  --icon-indigo: #1D1D4C;
  --icon-orange: #FB923C;

  /* Score colors, green to red, as in the app */
  --green: #2EB352;
  --yellow: #F0B400;
  --orange: #F57F00;
  --red: #E0362C;

  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --surface-2: #E9F0F5;
  --ink: #0E1C2C;
  --ink-2: #435568;
  --line: #D3DEE7;
  --track: #E1E9EF;
  --link: #0A657E;
  --link-hover: #074B5E;
  --accent: #A6490A;
  --focus: #C2570C;
  --btn-bg: #0E1C2C;
  --btn-ink: #FFFFFF;
  --btn-bg-hover: #0A657E;
  --tint: #FDF1E7;

  --shadow-sm: 0 1px 2px rgb(14 28 44 / 0.06);
  --shadow: 0 1px 2px rgb(14 28 44 / 0.05), 0 14px 34px -14px rgb(14 28 44 / 0.22);
  --radius: 18px;
  --radius-lg: 28px;
  --measure: 68ch;
  --gutter: clamp(16px, 4.5vw, 40px);
  --maxw: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green: #30D158;
    --yellow: #FFD60A;
    --orange: #FF9F0A;
    --red: #FF453A;

    --bg: #09121E;
    --surface: #0F1B2A;
    --surface-2: #152538;
    --ink: #E6EEF4;
    --ink-2: #A9BACA;
    --line: #22364C;
    --track: #1E3148;
    --link: #6BCBE3;
    --link-hover: #A4E1F0;
    --accent: #FDAE6B;
    --focus: #FB923C;
    --btn-bg: #E6EEF4;
    --btn-ink: #09121E;
    --btn-bg-hover: #A4E1F0;
    --tint: #2A1C12;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.35), 0 14px 34px -14px rgb(0 0 0 / 0.7);
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }

p, ul, ol, dl, figure { margin: 0 0 1rem; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }
sup { line-height: 0; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgb(251 146 60 / 0.35); }

.math, code {
  font-family: var(--font-mono);
  font-size: 0.94em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--ink-2); }
.fine { font-size: 0.93rem; color: var(--ink-2); }

/* Header */

.site-header { padding-block: 16px; }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }

@media (max-width: 480px) {
  .site-nav { width: calc(100% + 20px); margin-inline: -10px; }
  .site-nav a { padding: 6px 10px; font-size: 0.97rem; }
  .nav-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.btn svg { flex: none; }
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }

.btn-secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-secondary:hover { border-color: var(--ink-2); color: var(--ink); }

.btn-light { background: #FFFFFF; color: #10233D; }
.btn-light:hover { background: #FFEEDD; color: #10233D; }

.btn-outline-light { border-color: rgb(255 255 255 / 0.65); color: #FFFFFF; }
.btn-outline-light:hover { border-color: #FFFFFF; background: rgb(255 255 255 / 0.12); color: #FFFFFF; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

/* Home: hero tile, styled after the app icon */

.hero { padding-top: 8px; }

.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
  color: #FFFFFF;
  background:
    radial-gradient(80% 70% at 88% 18%, rgb(255 255 255 / 0.09), transparent 62%),
    linear-gradient(145deg, #0E728E 0%, #186F90 26%, #1B5077 62%, #1D1D4C 100%);
  box-shadow: var(--shadow);
}

/* Radar rings */
.tile::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -320px;
  width: 960px;
  height: 960px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgb(255 255 255 / 0.08) 0 1.5px, transparent 1.5px 56px);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 68%);
  mask-image: radial-gradient(circle, #000 25%, transparent 68%);
  pointer-events: none;
}

.tile :focus-visible { outline-color: #FFFFFF; }
.tile h1 { color: #FFFFFF; }

.hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--icon-orange);
}

.lede {
  max-width: 36rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
}

.hero-note { margin: 0; font-size: 1rem; }

/* Sample "Today" card with score rings */

.today {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 26px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.55);
}

.today-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.today-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; }

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.ring { position: relative; flex: none; }
.ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--track); }
.ring .bar { stroke-linecap: round; }
.ring-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  margin: 0;
  text-align: center;
  line-height: 1.15;
}

.ring-lg { width: 184px; height: 184px; margin: 6px auto 16px; }
.ring-lg .num { font-family: var(--font-display); font-size: 3.3rem; font-weight: 800; line-height: 1; }
.ring-lg .sub { margin-top: 4px; color: var(--ink-2); font-size: 0.9rem; font-weight: 700; }
.ring-lg .band { font-size: 1rem; font-weight: 700; }

.ring-sm { width: 50px; height: 50px; }
.ring-sm circle { stroke-width: 12; }
.ring-sm .num { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; }

.today-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 400px) { .today-rows { grid-template-columns: 1fr; } }

.mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface-2);
}
.mini p { margin: 0; color: var(--ink-2); font-size: 0.88rem; line-height: 1.3; }
.mini strong { display: block; color: var(--ink); font-size: 0.92rem; }

.today figcaption { margin-top: 14px; color: var(--ink-2); font-size: 0.86rem; }

.s-green { stroke: var(--green); }
.s-yellow { stroke: var(--yellow); }
.s-orange { stroke: var(--orange); }
.s-red { stroke: var(--red); }

.bg-green { background: var(--green); }
.bg-yellow { background: var(--yellow); }
.bg-orange { background: var(--orange); }
.bg-red { background: var(--red); }
.bg-orange-red { background: linear-gradient(90deg, var(--orange) 50%, var(--red) 50%); }

/* Home: sections */

.section { margin-top: clamp(72px, 10vw, 128px); }

.section-head { max-width: 46rem; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head > p:last-child { color: var(--ink-2); font-size: 1.12rem; }

.kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grid-3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 4px; font-size: 1.45rem; }
.card .what { margin-bottom: 12px; color: var(--accent); font-weight: 700; }
.card-link { margin-top: auto; font-weight: 700; }

.scale { display: flex; gap: 3px; height: 12px; margin: 8px 0 6px; }
.scale span { border-radius: 3px; }
.scale span:first-child { border-radius: 6px 3px 3px 6px; }
.scale span:last-child { border-radius: 3px 6px 6px 3px; }

.scale-ends {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.legend {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.legend li { display: flex; align-items: center; gap: 10px; }
.legend .range {
  flex: none;
  width: 4.1rem;
  color: var(--ink-2);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.swatch { flex: none; width: 12px; height: 12px; border-radius: 50%; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Small gauge-style bullets, echoing the icon's arc */
.ticks { display: grid; gap: 10px; margin: 0 0 1rem; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.32em;
  width: 16px;
  height: 16px;
  border: 3.5px solid var(--link);
  border-right-color: var(--icon-orange);
  border-radius: 50%;
  transform: rotate(-45deg);
}

/* Low-exposure window chart */

.chart {
  margin: 0;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.chart-title { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.chart-sub { margin: 2px 0 30px; color: var(--ink-2); font-size: 0.95rem; }

.bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 100%;
  gap: 10px;
  align-items: end;
  height: 180px;
  border-bottom: 2px solid var(--line);
}
.bar {
  position: relative;
  height: calc(var(--v) * 2%);
  min-height: 6px;
  border-radius: 8px 8px 3px 3px;
}
.bar b {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -4px);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}
.target {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60%;
  border-top: 2px dashed var(--ink-2);
}
.target span {
  position: absolute;
  left: 0;
  bottom: 4px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
}
.event {
  align-self: stretch;
  position: relative;
  border-left: 2px dashed var(--icon-orange);
  margin-left: 50%;
}
.event span {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--icon-orange);
  color: #1D1D4C;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.days {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.82rem;
  text-align: center;
}
.chart figcaption { margin-top: 14px; color: var(--ink-2); font-size: 0.9rem; }

/* Family & Friends */

.compare { display: grid; gap: 16px; }
@media (min-width: 680px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare h3 { font-size: 1.15rem; }
.compare ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.compare li { display: flex; gap: 10px; align-items: flex-start; }
.compare li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.compare .yes li::before {
  background: var(--green);
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.compare .no li::before {
  background: var(--red);
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.lock-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.lock-note svg { flex: none; margin-top: 2px; color: var(--link); }
.lock-note p { margin: 0; }

/* Your data */

.facts { display: grid; gap: 16px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.fact h3 { margin-bottom: 6px; font-size: 1.15rem; }
.fact p { margin: 0; color: var(--ink-2); }

.policy-links { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 800px) { .policy-links { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

.policy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.policy-link:hover { border-color: var(--link); color: var(--ink); }
.policy-link strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}
.policy-link .desc { display: block; color: var(--ink-2); font-size: 0.97rem; }
.policy-link svg { flex: none; color: var(--link); }
.policy-link.primary { border-color: var(--accent); background: var(--tint); }
.policy-link.primary:hover { border-color: var(--ink); }

/* Pricing */

.price-card {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .price-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
}
.price {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price small { font-size: 0.34em; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.price-sub { font-size: 1.15rem; font-weight: 700; }

/* Callouts */

.note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(20px, 3.5vw, 32px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--icon-orange);
  border-radius: var(--radius);
  background: var(--surface);
}
.note svg { flex: none; margin-top: 4px; color: var(--accent); }
.note h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); }
.note p:last-child { margin-bottom: 0; }

.callout {
  margin: 0 0 1.25rem;
  padding: 16px 18px;
  border-left: 4px solid var(--icon-orange);
  border-radius: 12px;
  background: var(--surface-2);
}
.callout > :last-child { margin-bottom: 0; }
.callout.example { border-left-color: var(--link); }

/* Footer */

.site-footer {
  margin-top: clamp(72px, 10vw, 128px);
  padding-block: 40px 48px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.97rem;
}
.footer-grid { display: grid; gap: 24px 48px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.site-footer .brand { margin-bottom: 10px; font-size: 1.1rem; }
.site-footer .brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-footer p { margin-bottom: 6px; }
.footer-links {
  display: grid;
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 520px) { .footer-links { grid-template-columns: repeat(2, max-content); } }
.footer-links a { color: var(--ink); font-weight: 700; }
.footer-links a[aria-current="page"] { text-decoration-thickness: 3px; text-decoration-color: var(--icon-orange); }
.legal-line {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

/* Policy, support and methodology pages */

.doc-hero { padding-top: clamp(20px, 4vw, 44px); }
.doc-hero h1 { margin-bottom: 10px; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); }
.doc-hero .meta { margin-bottom: 14px; color: var(--ink-2); font-weight: 700; }
.doc-hero .summary { max-width: 48rem; color: var(--ink-2); font-size: 1.15rem; }

.doc { display: grid; gap: 28px; padding-top: 12px; }
@media (min-width: 1000px) {
  .doc { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
  .toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
}

.toc {
  padding: 16px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.96rem;
}
.toc-title {
  margin: 0 0 6px 8px;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.toc a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--ink);
  line-height: 1.35;
  text-decoration: none;
}
.toc a:hover { background: var(--surface-2); text-decoration: underline; }
@media (min-width: 600px) and (max-width: 999px) {
  .toc ol { grid-template-columns: 1fr 1fr; column-gap: 12px; }
}

.prose { min-width: 0; max-width: var(--measure); }
.prose [id] { scroll-margin-top: 16px; }
.prose > h2 {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.85rem);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.4rem; font-size: 1.18rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--ink-2); }

.formula {
  margin: 0 0 1.1rem;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--link);
  border-radius: 10px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.98rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .formula { padding: 10px 12px; font-size: 0.9rem; }
}

.table-wrap {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
thead th { background: var(--surface-2); font-size: 0.9rem; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
th .fine, td .fine { display: block; margin-top: 2px; font-size: 0.86rem; font-weight: 400; }
@media (max-width: 480px) {
  table { font-size: 0.93rem; }
  th, td { padding: 8px 10px; }
}

.ledger { display: grid; gap: 12px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.prose .ledger { padding-left: 0; }
.ledger > li {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.ledger h3 { margin: 0 0 8px; font-size: 1.1rem; }
.ledger dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.ledger dt { color: var(--ink-2); font-size: 0.95rem; font-weight: 700; }
.ledger dd { margin: 0; }
@media (max-width: 520px) {
  .ledger dl { grid-template-columns: 1fr; gap: 0; }
  .ledger dd { margin-bottom: 8px; }
  .ledger dd:last-child { margin-bottom: 0; }
}

.cards-2 { display: grid; gap: 12px; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.cards-2 > div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.cards-2 h3 { margin: 0 0 4px; font-size: 1.1rem; }
.cards-2 p { margin: 0; }

.refs { padding-left: 1.4rem; }
.refs li { margin-bottom: 0.9rem; }

.contact-card {
  margin-bottom: 1rem;
  padding: clamp(20px, 3.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.5rem; }
.email-address {
  display: inline-block;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 0.75rem + 1.3vw, 1.3rem);
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}

/* 404 */

.notfound { padding-block: clamp(40px, 10vw, 120px) 0; text-align: center; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 22px; box-shadow: var(--shadow); }
.notfound .actions { justify-content: center; }

/* Windows high contrast and other forced-color modes */

@media (forced-colors: active) {
  .ring .bar, .ring .track { stroke: CanvasText; }
  .swatch, .scale span, .bar { forced-color-adjust: none; }
  .tile { border: 2px solid CanvasText; }
}

/* Print: keep the words, drop the chrome */

@media print {
  .skip-link, .site-nav, .toc, .actions, .footer-links { display: none !important; }
  body { background: #FFFFFF; color: #000000; font-size: 11pt; }
  .doc { display: block; }
  .prose { max-width: none; }
  a { color: #000000; }
  .tile { background: none; color: #000000; box-shadow: none; }
  .tile h1 { color: #000000; }
  .site-footer { background: none; }
}
