/* One Eighty: getoneeighty.com
   Colors follow the app (see the design canvas, "Brand"):
   - Mat blue is the brand. It fills buttons and highlights, always with white text. On black it
     only fills; blue text and icons on black use the lighter Mat (#8494FF).
   - Pink is for earned degrees only: the split wedge, gains, a new best.
   - The camera test and the share video are always black, as in the app. */

@font-face {
  font-family: "Anybody";
  src: url("/fonts/anybody.woff2") format("woff2");
  font-weight: 600 900;
  font-stretch: 50% 150%;
  font-display: swap;
}

:root {
  --ground: #FFFFFF;
  --panel: #F2F2F7;
  --ink: #0A1650;
  --ink2: #545E99;
  --mat: #2238D6;
  --mat-text: #2238D6;
  --earned: #C8246F;
  --track: #DDE0EA;
  --line: rgba(10, 22, 80, 0.14);
  --header-bg: rgba(255, 255, 255, 0.86);

  --display: "Anybody", system-ui, sans-serif;
  --text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --max: 1200px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #000000;
    --panel: #1C1C1E;
    --ink: #F2F4FF;
    --ink2: #C3CBFF;
    --mat-text: #8494FF;
    --earned: #FF78B8;
    --track: #2C2C2E;
    --line: rgba(255, 255, 255, 0.16);
    --header-bg: rgba(0, 0, 0, 0.8);
  }
}

/* Sections that are black in both modes (the camera and the video). */
.dark {
  --ground: #000000;
  --panel: #1C1C1E;
  --ink: #F2F4FF;
  --ink2: #C3CBFF;
  --mat-text: #8494FF;
  --earned: #FF78B8;
  --track: #2C2C2E;
  --line: rgba(255, 255, 255, 0.16);
  background: var(--ground);
  color: var(--ink);
}

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

html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 18px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
p { margin: 0; }
a { color: var(--mat-text); text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; }

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

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

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--mat); color: #fff; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */

.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 0.98; font-variation-settings: "wdth" 112; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; font-variation-settings: "wdth" 116; letter-spacing: -0.01em; }
h3 { font-size: 24px; line-height: 1.1; font-variation-settings: "wdth" 115; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 34em; text-wrap: pretty; }
.muted { color: var(--ink2); }
.nowrap { white-space: nowrap; }

.num {
  font-family: var(--display);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "wdth" var(--w, 100);
  white-space: nowrap;
  line-height: 0.82;
}

/* Buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--mat); color: #FFFFFF;
  font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1;
  font-variation-settings: "wdth" 115;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease;
}
.button:hover { background: #1A2DB8; }
.button:active { transform: scale(0.97); }
.button[hidden] { display: none; }
.button-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button-quiet:hover { background: var(--line); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.text-button {
  border: 0; background: none; padding: 8px 2px; cursor: pointer;
  color: var(--mat-text); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em;
}

/* Header */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header[data-theme="dark"] {
  --header-bg: rgba(0, 0, 0, 0.78); --ink: #F2F4FF; --mat-text: #8494FF; --line: rgba(255, 255, 255, 0.16);
}
.site-header[data-theme="mat"] {
  --header-bg: rgba(34, 56, 214, 0.9); --ink: #FFFFFF; --mat-text: #FFFFFF; --line: rgba(255, 255, 255, 0.22);
}
.site-header[data-theme="mat"] .button { background: #FFFFFF; color: #2238D6; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 34px; height: 14px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1; font-variation-settings: "wdth" 150; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.site-nav a:not(.button) { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
.site-nav a:not(.button):hover { color: var(--mat-text); }
@media (max-width: 760px) {
  .site-nav a:not(.button) { display: none; }
  .wordmark { font-size: 19px; }
}

/* Hero: the split opens as you scroll, and at 180° it becomes the logo. */

.hero { position: relative; height: 240vh; }
.hero-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  padding: calc(var(--header-h) + 2vh) var(--gutter) clamp(20px, 4vh, 48px);
  max-width: calc(1360px + 2 * var(--gutter)); margin: 0 auto;
}
.hero-dial {
  --fs: clamp(80px, min(18vw, 19vh), 240px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0;
}
.js .hero-dial:not(.is-ready) { visibility: hidden; }
.hero-number { font-size: var(--fs); margin: 0 0 calc(var(--fs) * -0.02); color: var(--ink); transition: color 0.25s; }
.hero-number.is-flat { color: var(--earned); }
.hero-number .deg { font-variation-settings: "wdth" 100; }
.dial { width: min(100%, 760px); height: auto; overflow: visible; -webkit-user-select: none; user-select: none; }
.hero-svg { width: min(100%, 760px, calc((100svh - var(--fs) - 400px) * 1.9)); min-width: 240px; }
.dial .d-track { fill: var(--track); }
.dial .d-wedge { fill: var(--earned); }
.dial .d-line { stroke: var(--ink2); stroke-opacity: 0.55; stroke-width: 2; stroke-dasharray: 5 6; fill: none; }
.dial .d-legs { stroke: var(--ink); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.dial .d-ring { fill: var(--ground); }
.dial .d-dot { fill: var(--ink); transition: fill 0.25s; }
.dial.is-flat .d-dot { fill: var(--earned); }
.dial .d-label { fill: var(--ink2); font: 700 13px var(--text); }
.hero-caption { margin-top: clamp(4px, 1.5vh, 16px); min-height: 3.2em; text-align: center; color: var(--ink2); font-size: 16px; line-height: 1.4; }
.hero-caption b { display: block; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 19px; font-variation-settings: "wdth" 120; }

.hero-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; }
.hero-copy p { color: var(--ink2); max-width: 31em; text-wrap: pretty; }
.hero-copy .actions { margin-top: 20px; }
@media (max-width: 860px) {
  .hero-copy { grid-template-columns: 1fr; }
  .hero-copy p { font-size: 16px; }
  .hero-copy .actions { margin-top: 14px; }
  .hero-copy .actions .button { flex: 1; padding: 0 16px; }
}
@media (max-height: 760px) and (max-width: 860px) { .hero-copy p { display: none; } }

/* Sections */

.section { padding: clamp(88px, 12vw, 168px) 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; }

/* Measure: the free camera test. Always black, like the app's camera screen. */

.measure-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.picker { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--panel); }
.picker button {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 700; font-size: 16px; color: var(--ink);
}
.picker button[aria-pressed="true"] { background: var(--mat); color: #FFFFFF; }

/* Idle, guess, result and messages sit in the flow so they can grow; only the live camera view
   takes the camera's own shape. */
.stage {
  --ar: 16 / 9;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid;
  min-height: clamp(460px, 52vw, 640px);
  margin: 0 auto;
  border-radius: clamp(20px, 3vw, 32px);
  background: var(--panel);
  color: var(--ink);
}
.stage[data-state="live"] {
  min-height: 0;
  aspect-ratio: var(--ar);
  width: min(100%, calc(80svh * (var(--ar))));
  background: #000;
}
.stage[data-state="result"] { background: #000; box-shadow: inset 0 0 0 1.5px var(--line); }
.stage video, .stage canvas.overlay {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.stage video { transform: scaleX(-1); opacity: 0.88; }
.stage .layer { position: relative; display: none; }
.stage .layer-live { position: absolute; inset: 0; }
.stage[data-state="idle"] .layer-idle,
.stage[data-state="loading"] .layer-message,
.stage[data-state="error"] .layer-message,
.stage[data-state="live"] .layer-live,
.stage[data-state="guess"] .layer-guess,
.stage[data-state="result"] .layer-result { display: flex; }
.stage[data-state="live"] video, .stage[data-state="live"] canvas.overlay { display: block; }
.stage:not([data-state="live"]) video, .stage:not([data-state="live"]) canvas.overlay { display: none; }

.layer-idle, .layer-guess, .layer-result, .layer-message {
  flex-direction: column; align-items: center; justify-content: center; gap: clamp(12px, 2.4vw, 22px);
  padding: clamp(20px, 4vw, 48px); text-align: center;
}
.stage-dial { width: min(70%, 420px); }
.stage .dial .d-legs { stroke-width: 14; }
.ghost .d-legs, .ghost .d-dot { stroke: var(--ink2); opacity: 0.4; }
.ghost .d-dot { fill: var(--ink2); }
.ghost .d-wedge { display: none; }
.stage-number { font-size: clamp(64px, 12vw, 150px); }
.stage-number.is-empty { color: var(--ink2); opacity: 0.45; }
.stage-label { font-weight: 600; color: var(--ink2); }
.stage-note { font-size: 15px; color: var(--ink2); max-width: 30em; }

.layer-message p { max-width: 28em; }
.loading-bar { width: min(260px, 60%); height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.loading-bar::after {
  content: ""; display: block; width: 40%; height: 100%; border-radius: 3px; background: var(--mat);
  animation: loading 1.1s ease-in-out infinite alternate;
}
@keyframes loading { from { transform: translateX(-10%); } to { transform: translateX(160%); } }
.stage[data-state="error"] .loading-bar { display: none; }
.stage:not([data-state="error"]) .error-actions { display: none; }

.layer-live { flex-direction: column; justify-content: space-between; align-items: stretch; padding: clamp(12px, 2.5vw, 24px); pointer-events: none; }
.layer-live > * { pointer-events: auto; }
.live-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 12px; }
.live-top .chip-best { justify-self: start; }
.live-top .live-number { grid-column: 2; }
.live-top .icon-button { grid-column: 3; justify-self: end; }
.live-number { color: #F2F4FF; font-size: clamp(56px, 13vw, 168px); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.live-number.is-empty { opacity: 0.5; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-weight: 700; font-size: 16px; white-space: nowrap;
}
.chip-best { background: #FF78B8; color: #0A1650; }
.chip-best[hidden] { display: none; }
.icon-button {
  width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(28, 28, 30, 0.72); color: #F2F4FF; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.live-bottom { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.status {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: rgba(28, 28, 30, 0.78); color: #F2F4FF; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-weight: 700; font-size: clamp(15px, 1.6vw, 18px);
}
.status::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #2238D6;
  transform-origin: left; transform: scaleX(var(--hold, 0));
}
.status { z-index: 0; }

.layer-result { gap: clamp(8px, 1.6vw, 16px); }
.result-label { font-weight: 600; color: var(--ink2); }
.result-number { font-size: clamp(72px, 15vw, 200px); color: var(--ink); }
.result-togo { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); font-variation-settings: "wdth" 120; }
.result-togo .gain { color: var(--earned); }
.result .actions { justify-content: center; margin-top: 6px; }
.stage .button-quiet { color: #F2F4FF; box-shadow: inset 0 0 0 2px rgba(242, 244, 255, 0.85); }

.stage .guess-range { width: min(420px, 80%); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--track); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--track); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%;
  background: var(--mat); border: 3px solid #FFFFFF; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--mat); border: 3px solid #FFFFFF; }

.steps {
  list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px);
  counter-reset: step;
}
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: var(--ink2); font-size: 16px; }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mat); color: #FFFFFF; font: 800 17px/1 var(--display);
}
.steps strong { color: var(--ink); display: block; font-weight: 700; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* How it works: the session timer that only counts while you're still. */

.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-text { display: grid; gap: 22px; }
.how-text p { color: var(--ink2); max-width: 32em; text-wrap: pretty; }
.cue { color: var(--ink); font-weight: 600; }

.session { border-radius: 28px; background: var(--panel); padding: clamp(18px, 2.4vw, 28px); }
.session-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 6px 14px; }
.session-head h3 { font-size: 22px; }
.session-head span { color: var(--ink2); font-size: 15px; font-weight: 600; }
.session ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.session li {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  padding: 13px 16px; border-radius: 16px;
}
.session li .name { font-weight: 700; }
.session li .time { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 110; font-variant-numeric: tabular-nums; font-size: 19px; }
.session li .cue-line { grid-column: 1 / -1; color: var(--ink2); font-size: 15px; display: none; }
.session li.is-done { color: var(--ink2); }
.session li.is-done .time::after { content: ""; }
.session li.is-active { background: var(--ground); }
.session li.is-active .cue-line { display: block; }
.session li.is-active::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mat); opacity: 0.12;
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.session li .tag { color: var(--earned); font-size: 14px; font-weight: 700; margin-left: 8px; }
.session-status { display: flex; align-items: center; gap: 10px; padding: 16px 6px 2px; font-weight: 700; min-height: 44px; }
.session-status .light { width: 12px; height: 12px; border-radius: 50%; background: var(--ink2); opacity: 0.5; flex: none; }
.session-status.is-counting .light { background: var(--mat-text); opacity: 1; }

/* The share video. Always black. */

.video-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }
.phone {
  justify-self: center; width: min(100% - 20px, 380px);
  aspect-ratio: 450 / 800; border-radius: 36px; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 10px #1C1C1E;
  margin: 10px;
}
.share-video { position: absolute; left: 0; top: 0; width: 450px; height: 800px; transform-origin: 0 0; background: #000; overflow: hidden; color: #F2F4FF; font-family: var(--display); }
.video-copy { display: grid; gap: 22px; }
.video-copy p { color: var(--ink2); max-width: 32em; text-wrap: pretty; }
.tuner { border: 0; margin: 8px 0 0; padding: 22px 24px 14px; border-radius: 24px; background: var(--panel); display: grid; gap: 4px; }
.tuner legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-family: var(--display); font-weight: 800; font-size: 20px; font-variation-settings: "wdth" 115; }
.tuner label { display: grid; grid-template-columns: 74px 1fr 56px; align-items: center; gap: 14px; font-weight: 600; color: var(--ink2); }
.tuner output { font-family: var(--display); font-weight: 800; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .tuner { padding: 18px 16px 10px; }
  .tuner label { grid-template-columns: 56px 1fr 44px; gap: 10px; }
}
.video-controls { display: flex; gap: 10px; flex-wrap: wrap; }

/* Privacy */

.privacy-band .statement { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 68px); line-height: 1.02; font-variation-settings: "wdth" 120; letter-spacing: -0.01em; max-width: 15em; text-wrap: balance; }
.privacy-band .wrap { display: grid; gap: 28px; }
.privacy-band p:not(.statement) { color: var(--ink2); max-width: 36em; }

/* Questions */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 2px; font-weight: 700; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--mat-text); border-bottom: 3px solid var(--mat-text);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { padding: 0 2px 24px; color: var(--ink2); max-width: 36em; }

/* Finale: a line opens into a Mat screen with the logo, like the end of the share video. */

.finale { position: relative; height: 170vh; }
.finale-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.finale-mat {
  position: absolute; inset: 0; background: var(--mat);
  clip-path: inset(var(--inset-y, calc(50% - 9px)) var(--inset-x, 0px) round var(--r, 9px));
}
.finale-content {
  position: relative; z-index: 1; color: #FFFFFF; text-align: center;
  display: grid; justify-items: center; gap: clamp(14px, 2.4vh, 24px); padding: var(--header-h) var(--gutter) 24px;
  opacity: var(--content, 1);
}
.finale-mark { width: clamp(180px, 26vw, 300px); height: auto; }
.finale-mark .line { transform-box: fill-box; transform-origin: center; transform: scaleX(var(--mark, 1)); }
.finale-mark .dot { transform-box: fill-box; transform-origin: center; transform: scale(var(--dot, 1)); }
.finale-word { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 9vw, 92px); line-height: 1; font-variation-settings: "wdth" var(--ww, 150); white-space: nowrap; }
.finale h2 { font-size: clamp(22px, 2.6vw, 32px); font-variation-settings: "wdth" 115; color: #C3CBFF; font-weight: 800; }
.finale .actions { justify-content: center; margin-top: 8px; }
.button-white { background: #FFFFFF; color: #2238D6; }
.button-white:hover { background: #E7EAFF; }
.button-outline-white { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 2px #FFFFFF; }
.button-outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.finale :focus-visible { outline-color: #FFFFFF; }
.finale-note { color: #C3CBFF; font-size: 15px; }

/* Footer */

.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.site-footer nav a:hover { color: var(--mat-text); }
.site-footer small { color: var(--ink2); font-size: 14px; flex-basis: 100%; }

/* Privacy and support pages */

.doc { padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 120px); }
.doc .wrap { max-width: calc(720px + 2 * var(--gutter)); }
.doc h1 { font-size: clamp(40px, 6vw, 72px); font-variation-settings: "wdth" 125; margin-bottom: 14px; }
.doc h2 { font-size: 26px; font-variation-settings: "wdth" 115; margin: 44px 0 10px; }
.doc p { margin: 0 0 14px; }
.doc .muted { margin-bottom: 28px; }
.doc .panel { background: var(--panel); border-radius: 24px; padding: 20px 24px; margin: 18px 0; }
.doc .panel p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; min-height: 100svh; }
  .finale { height: auto; }
  .finale-stage { position: relative; height: auto; min-height: 100svh; }
  .loading-bar::after { animation: none; width: 100%; opacity: 0.5; }
  .button { transition: none; }
}
