/* Manhattan UI specimen. Zero build, no external requests. */

@font-face {
  font-family: "Manhattan UI";
  src: url("fonts/ManhattanUI-VF.woff2?v=409dcb711f") format("woff2-variations"),
       url("fonts/ManhattanUI-VF.woff2?v=409dcb711f") format("woff2"),
       url("fonts/ManhattanUI-VF.ttf?v=409dcb711f") format("truetype");
  font-weight: 100 900;
  font-style: oblique 0deg 12deg;
  font-display: swap;
}

:root {
  /* Tracking (gate round 5): measured for Manhattan UI, -0.022 + 0.0326 * e^(-0.0246 * px) em.
     0 at 16px (its built-in spacing is for text), Suisse's display density by about 48px. */
  --track-24: -0.004em;
  --track-36: -0.009em;
  --track-60: -0.015em;
  --track-96: -0.019em;
  --track-160: -0.021em;
  --bg: #050505;
  --fg: #dedede;
  --g-950: #0b0b0b;
  --g-900: #111;
  --g-850: #181818;
  --g-800: #222;          /* hairlines */
  --g-700: #333;
  --g-600: #4a4a4a;       /* decorative only: hairline guides, separators */
  --g-500: #808080;       /* smallest text, 5.2:1 on bg, 4.8:1 on g-900 */
  --g-400: #8c8c8c;       /* secondary text, 6.1:1 on bg */
  --g-300: #adadad;
  --white: #fff;
  /* light surfaces (the settings example): goal W5, Rams review */
  --l-bg: #f2f2f2;
  --l-card: #fff;
  --l-line: #e6e6e6;
  --l-muted: #6b6b6b;
  --l-control: #d4d4d4;
  --l-ink: #111;

  --sans: "Manhattan UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 120px);
  --max: 100000px;                /* no cap: the page fills the screen */
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-pill: 999px;
  --r-card: 16px;
  /* one content column for the nav, every section and the footer: the page padding, plus whatever
     the viewport has beyond --max, split in two. Hairlines and text start and end on it. */
  --gutter: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(16px, calc(10px + .5vw), 26px);   /* every rem scales with the screen: 16 at 1200, 20 at 1920, 23 at 2560 */
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body { margin: 0; min-height: 100vh; font-feature-settings: "kern" 1; }

h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .875rem; }
sup { font-size: .7em; line-height: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }

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

.nowrap { white-space: nowrap; }

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

.skip {
  position: absolute; left: var(--pad); top: -100px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill);
}
.skip:focus { top: 12px; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; padding: 0 16px;
  border: 1px solid var(--g-700); border-radius: var(--r-pill);
  background: transparent; color: var(--fg);
  font: inherit; font-size: .875rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.pill:hover { border-color: var(--g-400); }
.pill[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill--solid:hover { background: var(--white); border-color: var(--white); }
.pill--lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }

.eyebrow { font-size: .8125rem; color: var(--g-400); letter-spacing: .01em; }
.eyebrow span[aria-hidden] { color: var(--g-600); margin: 0 4px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(5, 5, 5, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav::after, .section::before, .footer::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--g-800);
}
.nav::after { bottom: 0; }
.nav__mark { text-decoration: none; font-size: .9375rem; margin-right: auto; white-space: nowrap; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border-radius: var(--r-pill);
  color: var(--g-400); text-decoration: none; font-size: .875rem;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--fg); }
.nav__links a[aria-current="true"] { background: var(--g-850); }
@media (max-width: 960px) { .nav__links { display: none; } }   /* goal W4: links wrapped at 768 */

/* ---------- layout ---------- */
main { max-width: none; margin: 0; }

.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.section::before { top: 0; }
.section__head {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  max-width: none; margin-bottom: clamp(48px, 7vw, 140px);
}
.section h2 {
  font-size: clamp(2.5rem, 9vw, 14rem); line-height: 1; letter-spacing: var(--track-60); font-weight: 400;
}
.section__lede { font-size: 1.25rem; line-height: 1.5; color: var(--g-300); max-width: 56ch; }
.section__lede code { font-size: .95em; color: var(--fg); }

/* ---------- hero / tester ---------- */
.hero { padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(80px, 10vw, 140px); }

.tester__stage {
  border-top: 1px solid var(--g-800);
  border-bottom: 1px solid var(--g-800);
  padding: clamp(16px, 3vw, 40px) 0;
}
.tester__text {
  display: block; width: 100%;
  min-height: 1.2em;
  padding: 0; border: 0; resize: none; overflow: hidden;
  field-sizing: content;   /* the box follows its text, with or without the script */
  background: transparent; color: var(--fg);
  font-family: var(--sans);
  font-size: 160px; line-height: 1.02; letter-spacing: var(--track-160);
  font-variation-settings: "wght" 400, "slnt" 0;
  caret-color: var(--fg);
}
.tester__text:focus-visible { outline: none; }
.tester__stage:focus-within { border-bottom-color: var(--fg); }

.controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
  padding: 28px 0 0;
}
.controls__actions {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.css-out { color: var(--g-400); font-size: .8125rem; overflow-wrap: anywhere; }
@media (max-width: 900px) { .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .controls { grid-template-columns: 1fr; } }

.control__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px; font-size: .875rem;
}
.control__head label { color: var(--g-300); }
.control__head output { font-variant-numeric: tabular-nums; color: var(--fg); }

/* range: hairline track, solid thumb */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--g-700); }
input[type="range"]::-moz-range-track { height: 1px; background: var(--g-700); }
input[type="range"]::-moz-range-progress { height: 1px; background: var(--fg); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; margin-top: -7.5px; border-radius: 50%;
  background: var(--fg); border: 0;
  transition: transform .15s var(--ease);
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--fg); border: 0; }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }

.hero__intro {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px;
  margin-top: clamp(64px, 9vw, 120px);
}
.lede { font-size: clamp(1.25rem, 2.6vw, 3.25rem); line-height: 1.35; letter-spacing: var(--track-24); max-width: 30ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; align-content: start; }
.facts div { border-top: 1px solid var(--g-800); padding-top: 12px; }
.facts dt { font-size: .8125rem; color: var(--g-500); margin-bottom: 4px; }
.facts dd { font-size: .9375rem; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .hero__intro { grid-template-columns: 1fr; } }

/* ---------- details ---------- */
.idea {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--g-800);
}
.idea:last-child { border-bottom: 1px solid var(--g-800); }
.idea h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 400; letter-spacing: var(--track-24); margin-bottom: 12px; }
.idea__text > p { color: var(--g-300); max-width: 46ch; }
.idea__controls {
  display: grid; grid-template-columns: auto 1fr 3ch auto; align-items: center; gap: 12px 16px;
  margin-top: 28px; font-size: .875rem; color: var(--g-300); max-width: 460px;
}
.idea__controls output { font-variant-numeric: tabular-nums; color: var(--fg); text-align: right; }
.idea__demo { min-width: 0; }
@media (max-width: 900px) { .idea { grid-template-columns: 1fr; gap: 32px; } }

.guides { position: relative; padding: 24px 0; }
.guides__text {
  position: relative;
  font-size: clamp(56px, 13vw, 420px); line-height: 1; letter-spacing: var(--track-96);
  font-variation-settings: "wght" 600;
}
/* Guide positions come from the font's metrics, set by app.js as --cap/--xh (em). */
.guides__line {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--g-700);
  font-size: clamp(56px, 13vw, 420px);
}
.guides { --asc: .95; --desc: .25; --cap: .7; --xh: .52; }
.guides__line--base { top: calc(24px + (1 + var(--asc) - var(--desc)) / 2 * 1em - 0em); }
.guides__line--xh   { top: calc(24px + ((1 + var(--asc) - var(--desc)) / 2 - var(--xh)) * 1em); background: var(--g-600); }
.guides__line--cap  { top: calc(24px + ((1 + var(--asc) - var(--desc)) / 2 - var(--cap)) * 1em); }

.aperture__big { font-size: clamp(64px, 14vw, 440px); line-height: 1; letter-spacing: var(--track-96); margin-bottom: 32px; }
.aperture__small { color: var(--g-300); padding: 10px 0; border-top: 1px solid var(--g-800); }

.signatures {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--g-800); border: 1px solid var(--g-800); border-radius: var(--r-card); overflow: hidden;
}
.signatures li {
  position: relative; background: var(--bg);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  transition: background-color .2s var(--ease);
}
.signatures__g { font-size: clamp(56px, 9vw, 260px); line-height: 1; transition: font-variation-settings .3s var(--ease); }
.signatures small {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  font-size: .75rem; line-height: 1.3; color: var(--g-400);
  transition: color .2s var(--ease);
}
.signatures li:hover { background: var(--g-900); }
.signatures li:hover small { color: var(--g-300); }
.signatures li:hover .signatures__g { font-variation-settings: "wght" 700; }
@media (max-width: 520px) { .signatures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.demo-trap {
  font-size: clamp(52px, 9vw, 300px); line-height: 1; letter-spacing: var(--track-96);
  font-variation-settings: "wght" 900;
  overflow-wrap: anywhere;
}
.figs { font-variant-numeric: tabular-nums; color: var(--g-300); }
.figs p { padding: 10px 0; border-top: 1px solid var(--g-800); text-align: right; }
.figs p:first-child { border-top: 0; }

/* ---------- glyphs ---------- */
.glyphs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.glyphs__detail {
  position: sticky; top: calc(var(--nav-h) + 24px);
  border: 1px solid var(--g-800); border-radius: var(--r-card);
  padding: 24px;
}
.glyphs__big {
  height: clamp(220px, 32vw, 800px);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(160px, 26vw, 640px); line-height: 1;
  border-bottom: 1px solid var(--g-800); margin: -24px -24px 20px; padding: 24px;
  background:
    linear-gradient(var(--g-850), var(--g-850)) 0 62% / 100% 1px no-repeat;
}
.glyphs__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.glyphs__info dt { font-size: .75rem; color: var(--g-500); margin-bottom: 4px; }
.glyphs__info dd { font-size: .9375rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.glyphs__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 1px;
  background: var(--g-800); border: 1px solid var(--g-800); border-radius: var(--r-card); overflow: hidden;
}
/* app.js sizes this to the empty end of the last row, so it reads black, not as a gray block. */
.glyphs__grid .glyphs__fill { background: var(--bg); }
.glyphs__grid button {
  all: unset; box-sizing: border-box;
  aspect-ratio: 1; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); font-family: var(--sans); font-size: 1.75rem; line-height: 1; color: var(--fg);
  cursor: default;
  transition: background-color .12s var(--ease);
}
.glyphs__grid button:hover, .glyphs__grid button[aria-pressed="true"] { background: var(--g-900); }
.glyphs__grid button:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
.glyphs__progress { margin-top: 24px; font-size: .875rem; color: var(--g-400); }
.glyphs__pending { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; font-family: system-ui, sans-serif; color: var(--g-400); font-size: .875rem; }
@media (max-width: 900px) {
  .glyphs { grid-template-columns: 1fr; gap: 24px; }
  /* Stays pinned while the grid scrolls under it, so a tap shows its glyph. */
  .glyphs__detail { z-index: 2; background: var(--bg); padding: 16px; top: calc(var(--nav-h) + 8px); }
  .glyphs__big { height: 120px; font-size: 96px; margin: -16px -16px 12px; padding: 12px; }
  .glyphs__grid { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
  .glyphs__grid button { font-size: 24px; }
}

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--g-800); border: 1px solid var(--g-800); border-radius: var(--r-card); overflow: hidden; }
.feature { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.feature__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.feature__title { font-size: 1.0625rem; }
.feature__desc { font-size: .875rem; color: var(--g-400); margin-top: 4px; max-width: 40ch; }
.feature__tag { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .75rem; color: var(--g-400); }
.feature__pending { font-size: .75rem; color: var(--g-500); }
.feature__sample { display: grid; gap: 4px; }
.feature__line {
  font-size: clamp(28px, 3.6vw, 96px); line-height: 1.2; letter-spacing: var(--track-36);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .2s var(--ease);
}
.feature__line--before { color: var(--g-500); }
.feature__line--after { color: var(--fg); }
.feature:not(.is-on) .feature__line--after { color: var(--g-500); }
.feature:not(.is-on) .feature__line--before { color: var(--fg); }
.feature__labels { display: flex; gap: 16px; font-size: .75rem; color: var(--g-500); }
.feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
/* Narrow screens: wrap samples so the glyphs a feature changes are never cut off. */
@media (max-width: 520px) {
  .feature { padding: 20px; }
  .feature__line { font-size: 24px; white-space: normal; overflow: visible; }
}

/* switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .875rem; color: var(--g-300); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative; flex: none; width: 40px; height: 24px; border-radius: var(--r-pill);
  border: 1px solid var(--g-500); transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--g-400); transition: transform .2s var(--ease), background-color .15s var(--ease);
}
.switch input:checked + .switch__track { background: var(--fg); border-color: var(--fg); }
.switch input:checked + .switch__track::after { transform: translateX(16px); background: var(--bg); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--fg); outline-offset: 3px; }

/* ---------- waterfall ---------- */
.waterfall__controls { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.waterfall__input {
  flex: 1 1 280px; min-height: 40px; padding: 0 18px;
  background: transparent; color: var(--fg); font: inherit; font-size: .9375rem;
  border: 1px solid var(--g-500); border-radius: var(--r-pill);
}
.waterfall__input:focus-visible { outline: none; border-color: var(--fg); }
.waterfall li {
  display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: baseline; gap: 24px;
  padding: 18px 0; border-top: 1px solid var(--g-800);
}
.waterfall li:last-child { border-bottom: 1px solid var(--g-800); }
.waterfall__label { font-size: .8125rem; color: var(--g-400); font-variant-numeric: tabular-nums; }
.waterfall__sample {
  font-size: clamp(26px, 7vw, 200px); line-height: 1.05; letter-spacing: var(--track-60);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 640px) { .waterfall li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- download ---------- */
.download__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.download__files { margin-top: 28px; }
.download__files li { border-top: 1px solid var(--g-800); }
.download__files li:last-child { border-bottom: 1px solid var(--g-800); }
.download__files a { display: flex; min-height: 48px; align-items: center; text-decoration: none; color: var(--g-300); }
.download__files a:hover { color: var(--fg); }
.download__files a::after { content: "↓"; margin-left: auto; color: var(--g-500); }
.download__files .is-placeholder { display: flex; min-height: 48px; align-items: center; color: var(--g-400); }
.download__code pre {
  margin: 12px 0 0; padding: 24px; overflow-x: auto;
  border: 1px solid var(--g-800); border-radius: var(--r-card); color: var(--g-300); line-height: 1.6;
}
@media (max-width: 900px) { .download__grid { grid-template-columns: minmax(0, 1fr); } }

.footer {
  position: relative; margin: 0; padding: 40px var(--gutter) 64px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: .8125rem; color: var(--g-500);
}

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

/* ---------- goal W2: hero actions, In use, Reading ---------- */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.download__label { font-size: .8125rem; font-weight: 400; color: var(--g-400); margin-bottom: 12px; }

.use { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.use__card { border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); }
.use__settings { grid-column: span 7; }
.use__phone { grid-column: span 5; }
.use__dash { grid-column: span 12; }
@media (max-width: 900px) { .use__settings, .use__phone { grid-column: span 12; } }

/* settings: a light panel */
.use__card--light { background: var(--l-bg); color: var(--l-ink); }
.ui-title { font-size: 1.375rem; font-weight: 600; letter-spacing: var(--track-24); margin-bottom: 20px; }
.ui-group { background: var(--l-card); border-radius: 12px; margin-bottom: 16px; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 13px 16px; font-size: .875rem; border-top: 1px solid var(--l-line); }
.ui-row:first-child { border-top: 0; }
.ui-val { color: var(--l-muted); font-variant-numeric: tabular-nums; text-align: right; }
.ui-toggle { width: 36px; height: 22px; border-radius: 11px; background: var(--l-control); position: relative; flex: none; }
.ui-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--l-card); }
.ui-toggle.is-on { background: var(--l-ink); }
.ui-toggle.is-on::after { left: 16px; }
.ui-actions { display: flex; justify-content: flex-end; gap: 8px; }
.ui-btn { font-size: .875rem; font-weight: 500; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--l-control); background: var(--l-card); }
.ui-btn--solid { background: var(--l-ink); color: var(--l-card); border-color: var(--l-ink); }

/* phone: a lock screen */
.use__phone { background: linear-gradient(180deg, #1c1c1c, #0b0b0b); border: 1px solid var(--g-800);
  display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone__date { font-size: 1rem; font-weight: 500; color: var(--g-300); margin-top: 8px; }
.phone__time { font-size: clamp(64px, 9vw, 200px); font-weight: 200; line-height: 1; letter-spacing: var(--track-96);
  font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.phone__note { width: 100%; background: rgba(255,255,255,.08); border-radius: 16px; padding: 12px 14px; }
.phone__note p:first-child { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; margin-bottom: 2px; }
.phone__note p:first-child span:last-child { font-weight: 400; color: var(--g-400); }
.phone__body { font-size: .875rem; color: var(--g-300); }

/* dashboard: figures and a table */
.use__dash { background: var(--g-900); border: 1px solid var(--g-800); }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash__label { font-size: .875rem; color: var(--g-400); margin-bottom: 4px; }
.dash__big { font-size: clamp(36px, 6vw, 140px); font-weight: 500; line-height: 1; letter-spacing: var(--track-60); font-variant-numeric: tabular-nums; }
.dash__delta { font-size: .875rem; color: var(--g-300); font-variant-numeric: tabular-nums; }
.dash__table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.dash__table th { text-align: left; font-weight: 400; color: var(--g-400); padding: 0 12px 10px 0; border-bottom: 1px solid var(--g-800); }
.dash__table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--g-850); }
.dash__table .num { text-align: right; padding-right: 0; }
@media (max-width: 520px) { .dash__table th:nth-child(3), .dash__table td:nth-child(3) { display: none; } }

/* reading */
.reading { max-width: 72ch; display: grid; gap: 20px; }
.reading p { font-size: 1rem; line-height: 1.6; color: var(--g-300); }
.reading .reading__lg { font-size: 1.125rem; line-height: 1.55; color: var(--fg); }

/* ---------- goal W3: Use it, FAQ ---------- */
.usage { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .usage { grid-template-columns: 1fr; } }
.usage__code { margin: 0; background: var(--g-900); border: 1px solid var(--g-800); border-radius: var(--r-card);
  padding: 24px; overflow-x: auto; color: var(--g-300); line-height: 1.6; }
.usage__table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.usage__table th { text-align: left; font-weight: 400; color: var(--g-400); padding: 0 0 10px; border-bottom: 1px solid var(--g-800); }
.usage__table td { padding: 11px 0; border-bottom: 1px solid var(--g-850); }
.usage__table td:last-child, .usage__table th:last-child { text-align: right; }
.faq { max-width: 90ch; border-top: 1px solid var(--g-800); }
.faq details { border-bottom: 1px solid var(--g-800); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-size: 1.125rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; color: var(--g-400); font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 4px; }
.faq details p { color: var(--g-300); padding: 0 0 20px; max-width: 64ch; }
figure { margin: 0; }

.footer::before { top: 0; }
.footer a { color: inherit; }
