/* Glowomen · glowomen.app */

/* ---------- fonts (self-hosted Latin subsets) ---------- */
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("assets/fonts/playfair-400-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("assets/fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("assets/fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so the font swap does not move the layout. */
@font-face { font-family: "Playfair Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"); size-adjust: 113.5%; ascent-override: 95.4%; descent-override: 22.1%; line-gap-override: 0%; }
@font-face { font-family: "Playfair Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"); size-adjust: 105.2%; ascent-override: 102.9%; descent-override: 23.9%; line-gap-override: 0%; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 95.7%; ascent-override: 111.8%; descent-override: 39.2%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  --ink: #17101a;
  --ink-2: #1e141c;
  --plum: #623d50;
  --plum-deep: #4b2f40;
  --cream: #f6efe6;
  --cream-64: rgba(246, 239, 230, 0.66);
  --gold: #f2d8ae;
  --line: rgba(242, 216, 174, 0.24);
  --line-soft: rgba(246, 239, 230, 0.12);

  --serif: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --sans: "Jost", "Jost Fallback", -apple-system, system-ui, sans-serif;

  --step-h1: clamp(2.75rem, 1.95rem + 4.1vw, 6rem);
  --step-h2: clamp(2rem, 1.45rem + 2.5vw, 3.75rem);
  --step-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);

  --gutter: clamp(16px, 4vw, 40px);
  --pad-l: max(var(--gutter), env(safe-area-inset-left));
  --pad-r: max(var(--gutter), env(safe-area-inset-right));
  --max: 1200px;
  --space: clamp(56px, 2rem + 6.5vw, 136px);
  --radius: 8px;
  --badge-h: 54px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
h2 { font-size: var(--step-h2); line-height: 1.06; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad-l) + var(--pad-r)); margin-inline: auto; padding-left: var(--pad-l); padding-right: var(--pad-r); }
.muted { color: var(--cream-64); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: 0; z-index: 10;
  padding: 10px 16px; background: var(--cream); color: var(--ink); border-radius: 0 0 4px 4px;
  transform: translateY(-110%);
}
.skip:focus { transform: none; }

/* text links: words with a hairline under them */
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link:hover { text-decoration-color: var(--gold); }

.label, .kicker {
  display: flex; align-items: center; gap: 12px;
  font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* App Store badge: Apple's artwork, unmodified; clear space comes from the gaps around it */
.badge { display: inline-block; border-radius: 9px; }
.badge img { height: var(--badge-h); width: calc(var(--badge-h) * 2.9916); }

/* ---------- header ---------- */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font: 500 1.375rem/1 var(--serif); letter-spacing: -0.01em; }
.top .link { font-size: 0.9375rem; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: clamp(8px, 2vw, 40px); padding-bottom: clamp(40px, 6vw, 96px); }
.kicker { margin-bottom: 18px; color: var(--cream-64); }
h1 { font-size: var(--step-h1); line-height: 1.02; letter-spacing: -0.02em; max-width: 12ch; }
.lead { margin-top: 20px; max-width: 34em; font-size: var(--step-lead); color: var(--cream-64); }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.get-note { display: grid; flex: 1 1 150px; min-width: 0; font-size: 0.9375rem; line-height: 1.45; }

.inapp { margin-top: 18px; max-width: 30em; font-size: 0.9375rem; color: var(--cream-64); }
.inapp summary { display: block; padding-block: 10px; cursor: pointer; color: var(--cream); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.inapp p { margin-top: 8px; }
.inapp .link { margin-right: 12px; color: var(--cream); }
.copy-field { width: 100%; margin-top: 8px; padding: 10px 12px; font: inherit; color: var(--cream); background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; }

.hero-media { width: 100%; max-width: 520px; }
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--plum-deep);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  cursor: ew-resize;
}
.ba img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-after img { height: 100%; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px;
  display: flex; align-items: center; justify-content: center;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--cream); opacity: 0.9; }
.ba-knob {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(23, 16, 26, 0.72); color: var(--cream);
  border: 1px solid rgba(246, 239, 230, 0.7);
  transition: transform 0.2s var(--ease);
}
.ba.is-dragging .ba-knob { transform: scale(1.08); }
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .ba-knob { outline: 2px solid var(--gold); outline-offset: 3px; }
.ba-cap {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px;
  color: var(--gold);
  border-top: 1px solid var(--line);
  font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.ba-note { display: block; margin-top: 6px; font-size: 0.8125rem; line-height: 1.5; }

/* ---------- examples ---------- */
.ex {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
  padding-block: var(--space);
  grid-template-areas: "copy" "tabs" "media";
}
/* hairlines that stop at the text column, not at the screen edge */
.ex, .close, .foot { position: relative; }
.ex::before, .close::before, .foot::before {
  content: ""; position: absolute; top: 0; left: var(--pad-l); right: var(--pad-r); height: 1px; background: var(--line);
}
.ex .ex-copy { grid-area: copy; max-width: 32em; }
.ex-copy h2 { margin-top: 18px; }
.ex-copy p:not(.label) { margin-top: 18px; color: var(--cream); }
.ex-copy p.muted { margin-top: 10px; color: var(--cream-64); }
.ex-media { grid-area: media; width: 100%; max-width: 520px; }
.tabs { grid-area: tabs; }

.stage { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--plum-deep); }
.stage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stage picture { position: relative; z-index: 0; display: block; transition: opacity 0.25s var(--ease); }
.stage picture:not(:first-child) { position: absolute; inset: 0; }
.stage picture:not(:first-child) img { height: 100%; }
.stage picture:not(.is-on) { opacity: 0; }
.stage picture.is-top { z-index: 1; }

/* magazine tabs: words; the chosen one brighter with a short gold line */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-block: -8px; }
.tabs button {
  position: relative; min-height: 44px; min-width: 44px; padding: 8px 0 12px;
  font-size: 1rem; letter-spacing: 0.01em; color: var(--cream-64);
  transition: color 0.2s var(--ease);
}
.tabs button::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 22px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.tabs button:hover { color: var(--cream); }
.tabs button[aria-pressed="true"] { color: var(--cream); }
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }

/* color chips drawn as a lock of hair: the shade with its own light and shadow */
.ex-cut .tabs { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 28px; }
.ex-cut .tabs button { text-align: left; justify-self: start; }
.swatches { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, max-content); gap: 0 18px; }
.swatches button { display: grid; justify-items: start; align-content: start; gap: 8px; padding-top: 4px; font-size: 0.875rem; line-height: 1.3; text-align: left; text-wrap: balance; }
.swatches i {
  width: 22px; height: 34px; border-radius: 11px 11px 9px 9px;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.28), transparent 38%, rgba(255, 255, 255, 0.16) 52%, transparent 66%, rgba(0, 0, 0, 0.3)), var(--c, #3b2417);
  box-shadow: inset 0 0 0 1px rgba(246, 239, 230, 0.14);
}
.sw-natural-black { --c: #1c1c1c; }
.sw-medium-brown { --c: #6a4e42; }
.sw-burgundy { --c: #722f37; }
.swatches button[aria-pressed="true"] i { box-shadow: inset 0 0 0 1px rgba(246, 239, 230, 0.14), 0 0 0 2px var(--ink), 0 0 0 3px var(--gold); }

/* face shape result: a portrait and a result set in the page's own type */
.result { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.result-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: #796e6b; }
.result dl { border-top: 1px solid var(--line); }
.result dl > div { padding-block: 12px; border-bottom: 1px solid var(--line); }
.result dt { font: 500 0.6875rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.result dd { margin: 4px 0 0; font: 400 clamp(1.125rem, 1rem + 0.6vw, 1.5rem)/1.25 var(--serif); }
.result-label { margin-bottom: 10px; font: 500 0.6875rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-64); }
.result-note { margin-top: 12px; font-size: 0.8125rem; line-height: 1.45; }

/* ---------- guide (the one light section) ---------- */
.guide {
  --line: rgba(98, 61, 80, 0.22);
  background: var(--cream); color: var(--ink);
  padding-block: var(--space);
}
.guide .label { color: var(--plum); }
.guide :focus-visible { outline-color: var(--plum); }
.guide-head { max-width: 40em; }
.guide-head h2 { margin-top: 18px; }
.guide-head p:not(.label) { margin-top: 18px; color: #4d4249; }

.guide-cta { margin-top: 28px; }
.guide .link { color: var(--ink); font-weight: 500; text-decoration-color: var(--plum); }
.tones-head p { margin-top: 6px; font-size: 0.9375rem; color: #4d4249; }
.shapes { counter-reset: shape; display: grid; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); }
.shapes li {
  counter-increment: shape;
  display: grid; grid-template-columns: 44px 1fr; align-content: start; column-gap: 12px; row-gap: 4px;
  padding-block: 14px; border-bottom: 1px solid var(--line);
  font-size: 0.9375rem; line-height: 1.5; color: #4d4249;
}
.shapes li::before {
  content: counter(shape, decimal-leading-zero);
  grid-row: span 3; font: italic 400 1.75rem/1 var(--serif); color: var(--plum);
}
.shapes h3 { font-size: 1.375rem; line-height: 1.2; color: var(--ink); }
.shapes p:last-child, .tones dd span { text-wrap: pretty; overflow-wrap: break-word; }
.shapes b { font-weight: 500; color: var(--plum); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; margin-right: 6px; }

.tones { margin-top: clamp(40px, 6vw, 72px); }
.tones h3 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.tones dl { display: grid; gap: 0; margin-top: 16px; border-top: 1px solid var(--line); }
.tones dl > div { display: grid; gap: 4px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.tones dt { font: italic 400 1.25rem/1.3 var(--serif); color: var(--plum); }
.tones dd { font-size: 0.9375rem; line-height: 1.5; color: #4d4249; }
.tones dd span { display: block; margin-top: 4px; color: var(--ink); }
.tones b { font-weight: 500; color: var(--plum); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; margin-right: 6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: var(--space); }
.faq-head h2 { margin-top: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: block; position: relative; padding: 16px 40px 16px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.3; font-weight: 400; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--gold), var(--gold)) center / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40em; padding-bottom: 22px; color: var(--cream-64); }
.faq details a { color: var(--cream); text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- closing + footer ---------- */
.close { padding-block: var(--space) calc(var(--space) * 0.75); text-align: center; }
.close h2 { max-width: 13ch; margin-inline: auto; font-size: clamp(2.5rem, 1.6rem + 4vw, 5.25rem); line-height: 1.02; letter-spacing: -0.02em; }
.close .badge { margin-top: 36px; }
.close p { margin-top: 18px; font-size: 0.9375rem; }

.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
  font-size: 0.875rem; color: var(--cream-64);
}
.foot .brand { color: var(--cream); }
.foot .brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot .brand span { font-size: 1.125rem; }
.foot-links { display: flex; gap: 24px; }
.foot-links .link { color: var(--cream); }
.fine { flex-basis: 100%; font-size: 0.8125rem; }

/* ---------- phone bar (after the hero, before the closing) ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--pad-r) calc(10px + env(safe-area-inset-bottom)) var(--pad-l);
  background: var(--ink-2); border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.bar.is-shown { transform: none; visibility: visible; transition: transform 0.3s var(--ease); }
.bar img { width: 36px; height: 36px; border-radius: 9px; }
.bar p { display: grid; flex: 1; min-width: 0; overflow-wrap: break-word; line-height: 1.3; font-size: 0.8125rem; color: var(--cream-64); }
.bar b { font-weight: 500; font-size: 0.9375rem; color: var(--cream); }
.bar .link { padding-inline: 12px; margin-right: -12px; font-weight: 500; color: var(--gold); text-decoration-color: var(--gold); }

/* ---------- one soft reveal per section (added by app.js only) ---------- */
.is-revealing [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.is-revealing [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- larger screens ---------- */
@media (min-width: 600px) {
  .hero-media, .ex-media { margin-inline: auto; }
  .shapes { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .tones dl { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
}

@media (min-width: 760px) {
  .bar { display: none; }
  .ex {
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px;
    grid-template-areas: none; align-items: center;
  }
  .ex-media { grid-column: 1 / 7; grid-row: 1 / 3; max-width: none; margin: 0; }
  .ex .ex-copy { grid-column: 8 / 13; grid-row: 1; align-self: end; }
  .tabs { grid-column: 8 / 13; grid-row: 2; align-self: start; margin-top: 0; }
  .ex-color .ex-media, .ex-match .ex-media { grid-column: 7 / 13; }
  .ex-color .ex-copy, .ex-color .tabs, .ex-match .ex-copy { grid-column: 1 / 6; }
  .ex-match .ex-copy { grid-row: 1 / 3; align-self: center; }
  .result { gap: 24px; }
  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .faq-head { grid-column: 1 / 5; }
  .faq-list { grid-column: 5 / 13; }
  .foot { padding-bottom: 28px; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding-top: clamp(24px, 4vw, 56px); }
  .hero-copy { grid-column: 1 / 8; }
  .hero-media { grid-column: 8 / 13; max-width: none; margin: 0; }
  .shapes { grid-template-columns: repeat(3, 1fr); }
  .guide .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .guide-head { grid-column: 1 / 9; }
  .shapes, .tones, .guide-cta { grid-column: 1 / 13; }
  .tones { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .tones-head { grid-column: 1 / 4; padding-top: 14px; }
  .tones dl { grid-column: 4 / 13; margin-top: 0; }
}

@media (max-width: 759px) {
  .ex { gap: 20px; }
  .swatches { grid-auto-columns: minmax(0, 1fr); gap: 0 10px; }
  .ex-cut .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

@media (max-width: 599px) {
  :root { --badge-h: 48px; --space: 36px; }
  .lead { margin-top: 14px; }
  .get { margin-top: 20px; }
  .hero { gap: 20px; padding-bottom: 32px; }
  .kicker { margin-bottom: 12px; }
  .foot { padding-top: 22px; }
  .close { padding-bottom: 28px; }
  .ex-copy h2, .guide-head h2, .faq-head h2 { margin-top: 12px; }
  .ex-copy p:not(.label) { margin-top: 12px; }
  .swatches button { font-size: 0.8125rem; }
  .stage img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
  .ex-copy p:not(.label) { font-size: 1rem; line-height: 1.55; }
  .ba-cap { margin-top: 10px; padding-top: 8px; }
  .ba-note { margin-top: 4px; font-size: 0.75rem; }

  .guide-head p:not(.label) { margin-top: 12px; font-size: 0.9375rem; line-height: 1.55; }
  .shapes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); column-gap: 16px; margin-top: 24px; }
  .shapes li { display: block; padding-block: 12px; font-size: 0.8125rem; line-height: 1.45; }
  .shapes li::before { display: block; margin-bottom: 4px; font-size: 1.125rem; }
  .shapes h3 { margin-bottom: 4px; font-size: 1.0625rem; }
  .shapes p + p { margin-top: 6px; }
  .shapes b, .tones b { margin-right: 4px; font-size: 0.6875rem; }
  .tones { margin-top: 28px; }
  .tones h3 { font-size: 1.25rem; }
  .tones-head p { font-size: 0.875rem; }
  .tones dl { margin-top: 12px; }
  .tones dl > div { grid-template-columns: 76px minmax(0, 1fr); column-gap: 8px; padding-block: 10px; }
  .tones dt { font-size: 1.0625rem; }
  .tones dd { font-size: 0.8125rem; line-height: 1.45; }
  .tones dd span { margin-top: 6px; }
  .guide-cta { margin-top: 12px; }

  .faq { gap: 20px; }
  .faq summary { padding-block: 12px; }
  .faq summary h3 { font-size: 1.0625rem; }
  .close .badge { margin-top: 24px; }
  .close h2 { font-size: 2.375rem; }
  .fine { font-size: 0.75rem; }
  .result { gap: 16px; }
  .result dd { font-size: 1.0625rem; }
  .result dl > div { padding-block: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
