/* Face Rating Lab studio design system. Read DESIGN.md first.
   Tokens, then the shared components every page uses. The look: soft cool blue-grey studio
   backdrops, real faces, thin teal measurement lines with a white edge, white pill labels with
   a teal outline, a teal name box. White and mist surfaces, one deep-teal band at most.
   No monospace, no grids, no yellow, no navy.
   Legacy token and class names from the first build are kept as aliases at the bottom of :root
   and restyled below, so older page CSS keeps working until each page is updated. */

/* ---------- fonts (self-hosted, SIL OFL: static/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.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: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.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;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/newsreader-latin-400-italic.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: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-400-italic.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;
}

/* ---------- tokens ---------- */
:root {
  /* brand */
  --teal: #00A2AD;          /* brand teal: logo, measurement lines, icons, focus ring */
  --teal-600: #008C96;
  --teal-700: #007A83;      /* teal text and the name box on white (5.1:1) */
  --teal-800: #00636B;
  --teal-900: #08454B;
  --teal-50: #E8F6F7;
  --teal-100: #CFEDEF;
  --mint: #31C6A6;          /* brand mint: logo, range bars, live dots */
  --mint-700: #117A64;      /* mint text on white and on mint-50 (4.8:1) */
  --mint-50: #E7F8F3;

  /* neutrals (cool, from the studio backdrops) */
  --ink: #0E2329;           /* headings, strong text */
  --ink-2: #3D5258;         /* body text */
  --muted: #5A6E75;         /* secondary text (5.4:1 on white) */
  --faint: #8C9DA3;         /* decoration and disabled only, never body text */
  --line: #DCE4E9;          /* hairlines, input borders */
  --line-2: #E8EEF1;        /* inner dividers */
  --line-strong: #C6D3DA;
  --mist: #EEF3F6;          /* alternate section background */
  --mist-2: #F5F8FA;        /* quiet panels */
  --white: #FFFFFF;
  --studio-hi: #E1E9EE;     /* studio backdrop behind face photos */
  --studio: #BACAD4;
  --studio-lo: #9CB0BD;

  /* score labels */
  --ideal-bg: var(--teal-50);  --ideal-fg: var(--teal-700);
  --great-bg: var(--mint-50);  --great-fg: var(--mint-700);
  --good-bg: #EEF2F4;          --good-fg: var(--ink-2);
  --fair-bg: #F3F1EC;          --fair-fg: #6E6350;
  --focus-bg: #FBF1E6;         --focus-fg: #8A5513;
  --danger: #B4372A;           --danger-bg: #FBEDEB;  --danger-line: #EDC2BB;  --danger-ink: #8E2A1F;

  /* gradients */
  --grad-brand: linear-gradient(90deg, var(--mint) 0%, var(--teal) 100%);
  --grad-btn: linear-gradient(180deg, #008C96 0%, #00737D 100%);        /* white text 4.7:1 at the middle */
  --grad-btn-hover: linear-gradient(180deg, #00808A 0%, #006670 100%);
  --grad-hero: radial-gradient(900px 560px at 76% 34%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #EEF3F6 0%, #DEE7EC 100%);
  --grad-studio: radial-gradient(70% 55% at 50% 30%, #EEF3F6 0%, rgba(238, 243, 246, 0) 70%), linear-gradient(180deg, #CCD8E0 0%, #AFC0CC 62%, #9DB0BD 100%);
  --grad-deep: radial-gradient(760px 420px at 88% 0%, rgba(49, 198, 166, .18), rgba(49, 198, 166, 0) 62%), linear-gradient(160deg, #0A5057 0%, #073D43 58%, #05313A 100%);
  --grad-ink: radial-gradient(80% 60% at 50% 25%, rgba(0, 162, 173, .16), rgba(0, 162, 173, 0) 70%), linear-gradient(180deg, #15343C 0%, #0E2329 100%);

  /* type */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --fs-display: clamp(2.6rem, 10.5vw, 4.5rem);   /* hero h1: 42 to 72 px */
  --fs-h1: clamp(2.25rem, 7vw, 3.5rem);          /* page h1: 36 to 56 px */
  --fs-h2: clamp(1.9rem, 4.2vw, 2.75rem);        /* 30 to 44 px */
  --fs-h3: clamp(1.15rem, 1.8vw, 1.3rem);        /* 18 to 21 px */
  --fs-h4: 1.05rem;
  --fs-lead: clamp(1.06rem, 1.5vw, 1.19rem);     /* 17 to 19 px */
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-caption: .78rem;
  --fs-label: .6875rem;                          /* 11 px uppercase labels */

  /* spacing (4 px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --section-y: clamp(56px, 8vw, 96px);
  --section-y-tight: clamp(40px, 5vw, 64px);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;

  /* radii */
  --r-xs: 5px;              /* name box */
  --r-sm: 10px;
  --r-md: 14px;             /* inputs, rows, small tiles */
  --r-lg: 20px;             /* cards */
  --r-xl: 28px;             /* photo cards, hero card, pricing card */
  --r-pill: 999px;

  /* shadows */
  --shadow-xs: 0 1px 2px rgba(14, 35, 41, .05);
  --shadow-soft: 0 1px 2px rgba(14, 35, 41, .04), 0 6px 18px -10px rgba(14, 35, 41, .14);
  --shadow-card: 0 1px 2px rgba(14, 35, 41, .05), 0 10px 30px -12px rgba(14, 35, 41, .16), 0 30px 60px -30px rgba(14, 35, 41, .18);
  --shadow-photo: inset 0 1px 0 rgba(255, 255, 255, .6), 0 30px 60px -28px rgba(14, 35, 41, .45), 0 12px 24px -16px rgba(14, 35, 41, .25);
  --shadow-pill: 0 6px 16px -6px rgba(14, 35, 41, .35);
  --ring: 0 0 0 4px rgba(0, 162, 173, .16);

  /* motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-draw: cubic-bezier(.45, .05, .2, 1);
  --ease-pop: cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 450ms;
  --t-draw: 900ms;

  /* legacy aliases (first build). New code uses the tokens above. */
  --ink-soft: var(--ink-2);
  --paper: var(--mist-2);
  --paper-2: var(--mist);
  --card: #FFFFFF;
  --muted-2: #74878E;
  --yellow: var(--teal-100);
  --yellow-deep: var(--teal);
  --yellow-soft: var(--teal-50);
  --cyan: var(--teal);
  --cyan-deep: var(--teal-700);
  --cyan-soft: var(--teal-50);
  --green: var(--mint);
  --green-soft: var(--mint-50);
  --amber: #D2952B;
  --coral: #C9573F;
  --coral-soft: #FBECE8;
  --f-display: var(--font-sans);
  --f-body: var(--font-sans);
  --f-mono: var(--font-sans);
  --shadow-sm: var(--shadow-soft);
  --shadow-md: var(--shadow-card);
  --shadow-lg: var(--shadow-photo);
  --glow: 0 0 0 3px rgba(0, 162, 173, .18), 0 0 14px rgba(0, 162, 173, .45);
}
@media (min-width: 980px) { :root { --header-h: 72px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font: 400 var(--fs-body)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--teal-100); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(0, 162, 173, .5); outline-offset: 3px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: calc(760px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: var(--section-y-tight); }
.stack > * + * { margin-top: var(--stack, 16px); }
.center { text-align: center; }

/* surfaces: white (default), mist, hero, studio (behind face photos), deep (one band per page at most) */
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }
.bg-mist-2 { background: var(--mist-2); }
.bg-hero { background: var(--grad-hero); }
.bg-studio { background: var(--grad-studio); }
.section-deep, .section-dark, .section-dark.grid-bg { background: var(--grad-deep); color: rgba(255, 255, 255, .86); }
.section-yellow { background: linear-gradient(180deg, var(--teal-50) 0%, #DDF0F1 100%); }
.grid-bg { background-color: var(--mist-2); background-image: none; }
.grid-bg-dark { background: var(--grad-ink); color: #fff; }

/* ---------- type ---------- */
/* Tight tracking on big headings, with a little extra word space so words stay clearly apart (about .21em). */
h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--ink); font-weight: 650; letter-spacing: -.03em; word-spacing: .05em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.04em; word-spacing: .08em; line-height: 1.02; }
.display { font-size: var(--fs-display); font-weight: 600; letter-spacing: -.045em; word-spacing: .08em; line-height: .98; }
h2, .h2 { font-size: var(--fs-h2); letter-spacing: -.035em; word-spacing: .08em; line-height: 1.08; }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.22; }
h4, .h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.tiny { font-size: var(--fs-caption); }
.num, .tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-sans); font-variant-numeric: tabular-nums; }   /* legacy: numbers, never monospace now */
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
.label { font: 750 var(--fs-label)/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hl, .accent { color: var(--teal-700); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4,
.grid-bg-dark h1, .grid-bg-dark h2, .grid-bg-dark h3, .grid-bg-dark h4,
.card-ink h1, .card-ink h2, .card-ink h3, .card-ink h4 { color: #fff; }
.section-dark .lead, .section-dark .muted, .section-deep .lead, .section-deep .muted,
.grid-bg-dark .muted, .card-ink .muted { color: rgba(255, 255, 255, .72); }
.section-dark .hl, .section-deep .hl { color: #7FE0CB; }

/* section header: name box, h2, one short line */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lead { margin-top: 14px; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--grad-btn); --b-fg: #fff; --b-bd: transparent; --b-sh: transparent;
  --b-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 70, 76, .25), 0 12px 26px -12px rgba(0, 122, 131, .7);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd); box-shadow: var(--b-shadow);
  font: 650 1rem/1 var(--font-sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--t-fast) ease, box-shadow var(--t-base) ease, filter var(--t-base) ease, background var(--t-base) ease;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); filter: brightness(.94) saturate(1.05); }
.btn:active { transform: translateY(0); filter: brightness(.9); }
.btn:focus-visible { outline: 3px solid rgba(0, 162, 173, .5); outline-offset: 3px; }
.btn[disabled], .btn.is-loading, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.btn svg, .btn .icon { width: 18px; height: 18px; flex: none; }
.btn-primary { /* same as .btn, for readability */ }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.06rem; }
.btn-sm { min-height: 40px; padding: 0 17px; font-size: .9rem; gap: 8px; }
.btn-dark { --b-bg: var(--ink); --b-fg: #fff; --b-shadow: 0 1px 2px rgba(14, 35, 41, .3), 0 12px 24px -14px rgba(14, 35, 41, .65); }
.btn-white, .btn-secondary { --b-bg: #fff; --b-fg: var(--ink); --b-bd: var(--line); --b-shadow: var(--shadow-xs); }
.btn-white:hover, .btn-secondary:hover { filter: none; --b-bd: var(--line-strong); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); --b-shadow: none; }
.btn-ghost:hover { filter: none; --b-bd: var(--ink); }
.section-dark .btn:not(.btn-ghost):not(.btn-dark), .section-deep .btn:not(.btn-ghost):not(.btn-dark) { --b-bg: #fff; --b-fg: var(--teal-800); --b-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55); }
.section-dark .btn-ghost, .section-deep .btn-ghost { --b-fg: #fff; --b-bd: rgba(255, 255, 255, .35); }
.btn-block { width: 100%; }
.btn .arrow { transition: transform var(--t-fast) ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* text links */
.link { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 162, 173, .4); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--teal-800); text-decoration-color: currentColor; }
.link-quiet { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; }
.link-quiet:hover { color: var(--teal-700); }
.link-quiet svg, .link-quiet .icon { width: 16px; height: 16px; transition: transform var(--t-fast) ease; }
.link-quiet:hover svg { transform: translateX(2px); }

/* guarantee micro-line: under every primary CTA that leads to payment or upload */
.guarantee-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 12px; font-size: .78rem; font-weight: 550; color: var(--muted); }
.guarantee-line span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.guarantee-line svg, .guarantee-line .icon { width: 14px; height: 14px; color: var(--teal); flex: none; }
.guarantee-line.start { justify-content: flex-start; }

/* ---------- icons (static/img/icons/icons.svg sprite) ---------- */
.icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-tile { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.icon-tile svg, .icon-tile .icon { width: 19px; height: 19px; }

/* ---------- labels ---------- */
/* the teal name box: section labels and short photo labels */
.namebox, .eyebrow {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  background: var(--teal-700); color: #fff; border-radius: var(--r-xs); padding: 6px 9px;
  font: 800 var(--fs-label)/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.namebox::before, .eyebrow::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.namebox.no-dot::before, .eyebrow.no-dot::before { display: none; }
.namebox-plain, .eyebrow-plain { background: none; color: var(--teal-700); padding: 0; }
.section-dark .eyebrow, .section-deep .eyebrow, .section-dark .namebox, .section-deep .namebox { background: rgba(255, 255, 255, .12); color: #fff; }
.center > .eyebrow, .center > .namebox, .section-head.center .eyebrow, .section-head.center .namebox { margin-inline: auto; }

/* white pill label with teal outline and dark bold caps (photo overlays, value tags) */
.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; color: var(--ink); border: 1.5px solid var(--teal); border-radius: var(--r-pill);
  padding: 6px 12px; box-shadow: var(--shadow-pill);
  font: 800 .72rem/1.1 var(--font-sans); letter-spacing: .05em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.pill b, .pill .val { color: var(--teal-700); font-weight: 800; letter-spacing: .02em; text-transform: none; }
.pill .pill-sep { width: 1px; height: 12px; background: rgba(14, 35, 41, .18); flex: none; }
.pill .dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(0, 162, 173, .18); }
.pill-ideal { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal); box-shadow: none; }
.pill-dark { background: var(--teal-700); color: #fff; border-color: var(--teal-700); box-shadow: none; }
.pill-dark b { color: #fff; }

/* glass tag for the top corner of a photo card ("FRONT VIEW" with a live dot) */
.glass-tag {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 700 var(--fs-label)/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.live-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: live-dot 2s infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(49, 198, 166, .6); } 70% { box-shadow: 0 0 0 7px rgba(49, 198, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(49, 198, 166, 0); } }

/* trust chip: white pill with a tick badge ("100% money-back guarantee", "No subscription") */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  min-height: 34px; padding: 0 14px 0 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(14, 35, 41, .08);
  font: 600 .84rem/1 var(--font-sans); color: var(--ink);
}
.chip svg, .chip .icon { width: 18px; height: 18px; flex: none; }
@media (max-width: 559px) {
  .chip { min-height: 32px; padding: 0 10px 0 7px; font-size: .75rem; gap: 5px; }
  .chip svg, .chip .icon { width: 15px; height: 15px; }
  .chips { gap: 6px; }
}

/* small neutral badge and its tints */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill);
  font: 650 .78rem/1 var(--font-sans); background: var(--mist); color: var(--ink-2); border: 1px solid var(--line-2);
}
.badge-yellow, .badge-cyan, .badge-teal { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-800); }
.badge-green, .badge-mint { background: var(--mint-50); border-color: #C5EEE3; color: var(--mint-700); }
.badge-dark { background: var(--ink); border-color: var(--ink); color: #fff; }

/* score label chips: Ideal / Great / Good / Fair / Focus area */
.rating {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); white-space: nowrap;
  font: 750 .6875rem/1 var(--font-sans); letter-spacing: .04em; text-transform: uppercase;
  background: var(--good-bg); color: var(--good-fg);
}
.rating-ideal { background: var(--ideal-bg); color: var(--ideal-fg); }
.rating-great { background: var(--great-bg); color: var(--great-fg); }
.rating-good { background: var(--good-bg); color: var(--good-fg); }
.rating-fair { background: var(--fair-bg); color: var(--fair-fg); }
.rating-focus { background: var(--focus-bg); color: var(--focus-fg); }

.tag-est {
  display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: var(--r-pill); vertical-align: 2px;
  font: 700 .6rem/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); background: #fff;
}

/* ---------- stars and social proof ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--teal-700); }
.stars svg { width: 14px; height: 14px; }
.stars-sm svg { width: 12px; height: 12px; }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .8rem; color: var(--muted); }
.proof-stat { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.proof-stat b { color: var(--ink); font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.proof-label { font-size: .6875rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.proof-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); flex: none; }
.proof-row.center { justify-content: center; }
@media (max-width: 399px) { .proof-row .stars { flex-basis: 100%; } .proof-row.center .stars { justify-content: center; } }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid rgba(14, 35, 41, .07); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-soft); }
.card-raised { box-shadow: var(--shadow-card); }
.card-flat { background: var(--mist-2); border-color: var(--line-2); box-shadow: none; }
.card-ink { background: var(--grad-ink); color: #fff; border-color: transparent; }
/* photo card: face photos sit on the studio backdrop, never on flat grey or black */
.photo-card, .studio-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--grad-studio); box-shadow: var(--shadow-photo); }
.photo-card img, .studio-card > img { width: 100%; height: 100%; object-fit: cover; }
.photo-card > .namebox, .studio-card > .namebox { position: absolute; left: 16px; top: 16px; z-index: 3; }
.photo-card > .glass-tag, .studio-card > .glass-tag { position: absolute; right: 16px; top: 16px; z-index: 3; }

/* scan-corner motif: two teal brackets (top-left, bottom-right) like the logo */
.scan-corners { position: relative; }
.scan-corners::before, .scan-corners::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  width: var(--sc-size, 28px); height: var(--sc-size, 28px); background: var(--sc-color, var(--teal));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M2.5 25V8A5.5 5.5 0 018 2.5h17' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M2.5 25V8A5.5 5.5 0 018 2.5h17' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.scan-corners::before { top: var(--sc-inset, 14px); left: var(--sc-inset, 14px); }
.scan-corners::after { bottom: var(--sc-inset, 14px); right: var(--sc-inset, 14px); transform: rotate(180deg); }

/* ---------- data: scores, rows, range bars, readout ---------- */
/* numbers are always the sans with tabular figures, never the serif */
.score-xl { display: flex; align-items: baseline; gap: 6px; }
.score-xl b { font: 700 clamp(2.6rem, 8vw, 3.6rem)/.9 var(--font-sans); color: var(--ink); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.score-xl span { font-size: .875rem; font-weight: 600; color: var(--muted); }
.score-xl .rating { margin-left: 4px; align-self: center; }

.range-bar { position: relative; height: 18px; min-width: 120px; }
.range-track { position: absolute; left: 0; right: 0; top: 6px; height: 6px; border-radius: 6px; background: #E4EBEE; }
.range-ideal { position: absolute; top: 6px; height: 6px; border-radius: 6px; background: var(--grad-brand); }
.range-mark { position: absolute; top: 3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); box-shadow: 0 2px 6px rgba(14, 35, 41, .25); }

.data-rows { display: grid; }
.data-row {
  position: relative; width: 100%; text-align: left; background: transparent; border: 0; border-radius: var(--r-md);
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 12px 10px;
  color: inherit; font: inherit; transition: background var(--t-base) ease;
}
button.data-row, a.data-row { cursor: pointer; text-decoration: none; }
.data-row + .data-row::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: var(--line-2); }
.data-row.is-active::before, .data-row.is-active + .data-row::before, .data-row[aria-pressed="true"]::before, .data-row[aria-pressed="true"] + .data-row::before { display: none; }
button.data-row:hover, a.data-row:hover { background: var(--mist-2); }
.data-row.is-active, .data-row[aria-pressed="true"] { background: var(--teal-50); }
.data-name { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .92rem; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.data-val { flex: none; font: 700 .75rem/1 var(--font-sans); color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-score { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 8px; }
.data-score b { font: 700 1rem/1 var(--font-sans); color: var(--ink); font-variant-numeric: tabular-nums; min-width: 2.2em; text-align: right; }
.data-row .range-bar { grid-column: 1 / -1; grid-row: 2; }
@media (min-width: 980px) {
  .data-rows.wide .data-row { grid-template-columns: 1fr 150px auto; padding: 14px; }
  .data-rows.wide .range-bar { grid-column: 2; grid-row: 1; }
  .data-rows.wide .data-score { grid-column: 3; }
}

/* instrument readout card: one measurement, live */
.readout { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-radius: 18px; padding: 14px 16px; box-shadow: 0 8px 24px -12px rgba(14, 35, 41, .35); }
.readout-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.readout-name { font: 750 var(--fs-label)/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); }
.readout-main { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.readout-val { font: 700 1.75rem/1 var(--font-sans); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.readout-score { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.readout-score b { font-size: 1rem; font-weight: 700; color: var(--ink); }
.readout .range-bar { margin-top: 10px; }
.readout-foot { margin-top: 4px; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* "In plain English" explanation box */
.plain-box { padding: 14px 16px; border-radius: var(--r-md); background: var(--mist-2); border: 1px solid var(--line-2); border-left: 3px solid var(--teal); font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.plain-box > .label:first-child { display: block; margin-bottom: 6px; color: var(--teal-700); }

/* tick list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; font-weight: 550; color: var(--ink); }
.ticks svg, .ticks .icon { flex: none; width: 22px; height: 22px; }

/* trust strip under the hero: icon tile + bold line + quiet line */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line-2); }
.trust-strip ul { list-style: none; margin: 0; padding: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.trust-strip li { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.trust-strip b { display: block; color: var(--ink); font-size: .875rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.trust-strip li span:not(.icon-tile) { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
@media (min-width: 980px) {
  .trust-strip ul { grid-template-columns: repeat(4, 1fr); padding: 26px 0; gap: 24px; }
  .trust-strip li { flex-direction: row; gap: 12px; }
  .trust-strip b { font-size: .94rem; }
  .trust-strip li span:not(.icon-tile) { font-size: .84rem; }
}

/* testimonial (FaceIQ style): stars, serif italic quote, monogram + name. Never a face photo. */
.quote { margin: 0; display: flex; flex-direction: column; }
.quote blockquote { margin: 14px 0 0; font: italic 400 clamp(1.25rem, 2.2vw, 1.45rem)/1.42 var(--font-serif); color: var(--ink); letter-spacing: -.005em; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-who b { display: block; font: 750 .75rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.quote-who small { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.monogram {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font: 700 .8rem/1 var(--font-sans); letter-spacing: .02em; color: var(--teal-800);
  background: linear-gradient(145deg, #DDF3F1, #C7E9EC); box-shadow: inset 0 0 0 1px rgba(0, 122, 131, .15);
}

/* ---------- measurement overlay (SVG over a photo) ----------
   Lines: teal core over a slightly wider white edge. Draw with vector-effect="non-scaling-stroke".
   Set --u on the <svg> to the viewBox units per CSS pixel so halos stay the same size at any scale. */
.m-line { stroke: var(--teal); stroke-width: 2px; stroke-linecap: round; fill: none;
  filter: drop-shadow(0 0 calc(var(--u, 1) * .8px) #fff) drop-shadow(0 0 calc(var(--u, 1) * .8px) rgba(255, 255, 255, .9)); }
.m-line-edge { stroke: #fff; stroke-opacity: .92; stroke-width: 4px; stroke-linecap: round; fill: none; }
.m-line.guide { stroke: #fff; stroke-opacity: .85; stroke-width: 1.2px; stroke-dasharray: none; filter: none; }
.m-line.reference { stroke: #fff; stroke-opacity: .75; stroke-width: 1.2px; stroke-dasharray: 4 5; filter: none; }
.m-dot { fill: var(--teal); stroke: #fff; stroke-width: 1.75px; filter: drop-shadow(0 0 calc(var(--u, 1) * 4px) rgba(0, 162, 173, .9)); }
.m-pulse { fill: none; stroke: var(--teal); stroke-width: 1.25px; transform-box: fill-box; transform-origin: center; animation: m-pulse 2.2s var(--ease-out) infinite; }
.m-head { fill: #fff; filter: drop-shadow(0 0 calc(var(--u, 1) * 5px) rgba(255, 255, 255, .95)); }
.m-arc { stroke: var(--teal); fill: rgba(0, 162, 173, .14); stroke-width: 1.6px; }
.m-arc-edge { stroke: #fff; stroke-opacity: .9; fill: none; stroke-width: 3.6px; }
.m-mesh { fill: rgba(255, 255, 255, .85); }
@keyframes m-pulse { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
@keyframes m-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes m-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* hero accent: teal words with a measurement line underneath (line draws on, end dots pop) */
.m-accent { position: relative; display: inline-block; color: var(--teal-700); }
.m-underline { position: absolute; left: 2px; right: .3em; bottom: -.22em; height: 10px; pointer-events: none; }
.m-underline .ln { position: absolute; left: 4px; right: 4px; top: 4px; height: 2px; border-radius: 2px; background: var(--teal); transform-origin: left center; animation: m-underline .9s .5s var(--ease-draw) both; }
.m-underline .d { position: absolute; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); box-shadow: 0 0 0 3px rgba(0, 162, 173, .15); animation: m-pop .3s both; }
.m-underline .d1 { left: -1px; animation-delay: .45s; }
.m-underline .d2 { right: -1px; animation-delay: 1.35s; }
@keyframes m-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .field-label { font-weight: 650; font-size: .85rem; color: var(--ink); }
.field-hint { font-size: .8rem; color: var(--muted); }
.input, .select {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-md);
  border: 1px solid #CFD9DF; background: #fff; color: var(--ink); font: 500 1rem var(--font-sans);
  outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea.input { padding: 14px 16px; min-height: 120px; line-height: 1.5; }
.input::placeholder { color: #93A3AA; }
.input:hover, .select:hover { border-color: #B7C6CD; }
.input:focus, .select:focus { border-color: var(--teal); box-shadow: var(--ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 55, 42, .12); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 8l4.5 4.5L14.5 8' fill='none' stroke='%235A6E75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .94rem; line-height: 1.45; color: var(--ink-2); }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0;
  border: 1.5px solid #B7C6CD; border-radius: 7px; background: #fff; display: grid; place-content: center; cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.check input::after { content: ""; width: 11px; height: 6px; border: 2.2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity var(--t-fast); }
.check input:hover { border-color: var(--teal); }
.check input:checked { background: var(--teal-700); border-color: var(--teal-700); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 3px solid rgba(0, 162, 173, .45); outline-offset: 2px; }
/* segmented choice (e.g. Male / Female): radios inside labels */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--mist); }
.segmented label { position: relative; display: grid; place-items: center; min-height: 42px; padding: 0 14px; border-radius: var(--r-pill); font: 650 .9rem/1 var(--font-sans); color: var(--ink-2); cursor: pointer; transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked), .segmented label.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 35, 41, .08), 0 4px 10px -4px rgba(14, 35, 41, .18); }
.segmented label:has(input:focus-visible) { outline: 3px solid rgba(0, 162, 173, .45); outline-offset: 1px; }
.form-error { color: var(--danger); font-weight: 600; font-size: .9rem; }

/* ---------- header ---------- */
/* z-index 70: above the phone sticky bars (wizard 45, unlock 60), so the open menu and its backdrop (69) cover them */
.site-header {
  position: sticky; top: 0; z-index: 70; height: var(--header-h);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line-2); transition: box-shadow var(--t-base) ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(14, 35, 41, .35); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 28px; width: auto; }
.brand-mark { width: 30px; height: 30px; flex: none; }    /* legacy: the mark on its own */
.brand-mark img { width: 100%; height: 100%; }
.nav { display: flex; gap: 30px; margin-left: 14px; }
.nav a { position: relative; text-decoration: none; font-weight: 550; font-size: .9rem; color: var(--ink-2); padding: 6px 0; transition: color var(--t-fast); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--teal); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .login { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); padding: 8px 10px; }
.header-actions .login:hover { color: var(--teal-700); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; place-content: center; cursor: pointer; padding: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.8px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }
.menu-btn span::before, .menu-btn span::after { transition: transform var(--t-base) ease, top var(--t-base) ease; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { display: none; }
.nav-backdrop { display: none; }
@media (min-width: 980px) { .brand-logo { height: 32px; } }
@media (max-width: 979px) {
  /* the three-word lockup (aspect 5.68:1) needs the room: 26 px tall is 148 px wide, next to the CTA and menu button */
  .site-header .container { gap: 12px; }
  .brand-logo { height: 26px; }
  .nav, .header-actions .login { display: none; }
  .menu-btn { display: grid; }
  .header-actions { gap: 8px; }
  .header-actions .btn { min-height: 38px; padding: 0 14px; font-size: .84rem; }
  .mobile-nav.is-open {
    display: grid; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-bottom: 1px solid var(--line-2); padding: 6px var(--gutter) 22px; box-shadow: 0 24px 40px -24px rgba(14, 35, 41, .35);
  }
  /* open menu: the page below the header dims (tap it to close, site.js) and stops scrolling; the gutter keeps the width steady */
  .nav-backdrop {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 69;
    background: rgba(14, 35, 41, .46); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
  }
  html.menu-open .nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity var(--t-base) var(--ease-out); }
  html.menu-open { overflow: hidden; scrollbar-gutter: stable; }
  .mobile-nav a:not(.btn) { padding: 14px 2px; text-decoration: none; font-weight: 600; font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--line-2); }
  .mobile-nav a[aria-current="page"] { color: var(--teal-700); }
  .mobile-nav .btn { margin-top: 18px; }
}
@media (max-width: 379px) {
  .site-header .container { gap: 8px; }
  .brand-logo { height: 25px; }
  .header-actions .btn { padding: 0 11px; font-size: .78rem; }
  .menu-btn { width: 38px; height: 38px; }
}
@media (max-width: 359px) { .brand-logo { height: 22px; } }
@media (max-width: 339px) { .header-actions .btn.show-mobile { display: none; } }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line-2); color: var(--ink-2); padding-block: 48px 32px; font-size: .9rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--teal-700); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand-logo { height: 28px; }
.footer-brand p { margin-top: 14px; max-width: 36ch; font-size: .875rem; color: var(--muted); }
.footer-brand .proof-row { margin-top: 16px; }
.footer-brand .proof-row .stars { flex-basis: 100%; }
.footer-grid h4 { margin: 0 0 12px; font: 750 var(--fs-label)/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid li a { display: inline-block; padding: 5px 0; font-size: .9rem; overflow-wrap: anywhere; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-trust span { display: inline-flex; align-items: center; gap: 6px; font: 600 .75rem/1 var(--font-sans); padding: 7px 11px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.footer-trust svg, .footer-trust .icon { width: 14px; height: 14px; color: var(--teal); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.footer-bottom span { text-wrap: pretty; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.7fr repeat(3, 1fr); gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-brand .brand-logo { height: 30px; }
}

/* ---------- misc ---------- */
.dev-ribbon { position: fixed; left: 12px; bottom: 12px; z-index: 90; font: 700 .66rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; background: rgba(14, 35, 41, .88); color: #fff; padding: 7px 10px; border-radius: var(--r-pill); pointer-events: none; }
.sample-flag { display: inline-block; font: 750 .62rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; background: var(--fair-bg); color: var(--fair-fg); border: 1px dashed #CDBF9F; padding: 4px 7px; border-radius: var(--r-pill); }
.flash { padding: 14px 18px; border-radius: var(--r-md); border: 1px solid var(--teal-100); border-left: 3px solid var(--teal); background: var(--teal-50); color: var(--ink); font-weight: 600; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; text-decoration: none; }
.skip-link:focus { left: 8px; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .m-pulse, .live-dot { animation: none !important; }
}
