/* LifeDev homepage.
   World: the Codex joinery system Wynn chose — cool grey ground, graphite text,
   one joinery blue, pale assembly blue for the opening field, 1px rules, square corners.
   Status is carried by fill: live = solid blue, prototype = ink outline, still observing = dashed. */

:root {
  --bg: #f5f6f8;
  --ink: #20252e;
  --soft: #3f4855;
  --muted: #58616f;
  --line: #ced3dc;
  --blue: #244dde;
  --blue-deep: #1738b1;
  --pale: #e3e9f7;
  --pale-edge: #d3ddf2;
  --pale-rule: #c3cfe8;
  --pale-ink: #31466a;
  --pale-muted: #4a5d80;
  --ghost-line: #8b9fc7;
  --surround: #dce3f0;
  --deep: #1a3196;
  --on-deep: #f3f5ff;
  --on-deep-soft: #cdd6f7;
  --on-blue-rule: #9eb4ff;
  --on-blue-soft: #e3e9ff;
  --cell-hairline: #e6ebf6;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: min(1280px, calc(100% - 112px));
  --section: clamp(72px, 9vw, 124px);

  color-scheme: light;
  font-family: 'DM Sans', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: #8d99b3 var(--bg);
  caret-color: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; text-decoration-thickness: 1px; }
img, svg, canvas { display: block; max-width: 100%; }
button { font-size: inherit; font-family: ; color: inherit; cursor: pointer; border-radius: 0; }
em { font-style: normal; }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 30; padding: 14px 20px; background: var(--ink); color: #fff; transform: translateY(calc(-100% - 24px)); }
.skip:focus { transform: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
/* CJK headings break between phrases, never inside one, unless the phrase alone is wider than the line. */
.ph { display: inline-block; max-width: 100%; }

.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s var(--ease-out); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 0 20px;
  border: 1px solid transparent; background: transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--primary:hover .icon { transform: translate(2px, -2px); }
.btn--compact { min-height: 44px; padding: 0 16px; gap: 12px; }
.btn--ghost { justify-content: center; gap: 9px; min-height: 44px; padding: 0 15px; border-color: var(--ghost-line); color: #2e466f; font-size: 14px; font-weight: 500; }
.btn--ghost:hover { background: #d3def5; }
.btn--ghost .icon { width: 18px; height: 18px; }
.btn:disabled { opacity: .55; cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--blue); color: var(--blue); font-size: 15px; font-weight: 600; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Status: filled, outlined, dashed ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; flex-shrink: 0; }
.status--live::before { background: var(--blue); }
.status--proto::before { border: 1.5px solid currentColor; }
.status--open::before { border: 1.5px dashed currentColor; }

/* ---------- Masthead ---------- */
.masthead { background: var(--bg); border-bottom: 1px solid var(--pale-edge); }
.masthead__bar { display: flex; align-items: center; gap: 40px; min-height: 88px; }
.wordmark { display: inline-flex; align-items: center; padding-block: 8px; font-weight: 750; font-size: 31px; line-height: 1; font-family: 'DM Sans', sans-serif; letter-spacing: -.04em; color: var(--ink); }
.wordmark span { font-weight: 450; }
.wordmark__mark { width: 17px; height: 17px; margin-left: 8px; fill: var(--blue); }
.wordmark--small { font-size: 24px; }
.nav { display: flex; gap: 34px; margin-left: auto; font-size: 15px; }
.nav a { padding-block: 12px; }
.nav a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: var(--pale); border-bottom: 1px solid var(--pale-edge); }
.hero__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(32px, 5vw, 72px); align-items: end;
  padding-top: clamp(32px, 4.2vw, 56px);
}
h1 { font-size: clamp(30px, 1.9vw + 24px, 52px); font-weight: 650; line-height: 1.42; letter-spacing: -.035em; text-wrap: balance; }
h1 em { color: var(--blue); }
.hero__intro { font-size: 16px; line-height: 1.95; color: var(--soft); text-wrap: pretty; }

/* ---------- The sorting wall ---------- */
.wall { margin-top: clamp(28px, 3.4vw, 46px); padding: 20px 0 clamp(28px, 3vw, 40px); border-top: 1px solid var(--pale-rule); }
.wall__title { max-width: 40em; font-size: clamp(16px, .45vw + 13px, 19px); font-weight: 600; line-height: 1.65; text-wrap: balance; }
.wall__board {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, .75fr);
  gap: clamp(20px, 3vw, 44px); align-items: start;
  margin-top: clamp(22px, 2.6vw, 32px);
}
.group { position: relative; }
/* A fitted record casts one soft shadow, like the joinery specimen; nothing casts while the notes are loose. */
.group::after {
  content: ''; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -14px; height: 18px;
  border-radius: 50%; background: rgba(23, 32, 60, .12); filter: blur(10px);
  transition: opacity .6s var(--ease-out);
}
.group.is-target::after, .group--open::after { opacity: 0; }

/* Group headers: filled when the records are in, outlined while they are still the destination. */
.group__head {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 10px 16px 10px 20px;
  outline: 1px solid transparent; outline-offset: -1px;
  /* The waiting edge stays until the fill has wiped across, so nothing in the header floats loose. */
  transition: color .45s var(--ease-out), outline-color 0s .7s;
}
.group__head::before { content: ''; position: absolute; inset: 0; z-index: -1; transform-origin: left center; transition: transform .7s var(--ease-out), background-color .2s; }
.group h3 { font-weight: 650; font-size: 20px; line-height: 1.25; font-family: 'DM Sans', 'Noto Sans TC', sans-serif; letter-spacing: -.02em; }
.group h3 a { display: inline-flex; align-items: center; gap: 10px; }
.group h3 a::after { content: ''; position: absolute; inset: 0; }
.group h3 .icon { width: 18px; height: 18px; }
.group h3 a:hover .icon { transform: translate(2px, -2px); }
.group--proto h3 a:hover .icon { transform: translateY(2px); }
.group--live .group__head { color: #fff; background-color: var(--blue); transition: color .45s var(--ease-out), outline-color 0s .7s, background-color 0s .7s; }
.group--live.is-target .group__head,
.wall-armed .wall .group--live .group__head { background-color: transparent; transition: color .45s var(--ease-out), outline-color 0s, background-color 0s; }
.group--live .group__head::before { background: var(--blue); }
.group--live .group__head:hover::before { background: var(--blue-deep); }
.group--live .group__head .status--live::before { background: currentColor; }
.group--live .group__head :focus-visible { outline-color: var(--ink); outline-offset: 6px; }
.group--proto .group__head::before { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.group--proto .group__head:hover::before { background: #f1f4fb; }
.group--open .group__head { outline: 1.5px dashed var(--ghost-line); outline-offset: -1.5px; color: var(--pale-ink); }
.group--open .group__head { flex-wrap: wrap; row-gap: 4px; }
.group--open h3 { white-space: nowrap; }
.group--open .blank { display: inline-block; min-width: 1.8em; color: var(--pale-muted); }
.wall-armed .wall .group__head,
.group.is-target .group__head { outline-color: var(--ghost-line); transition: color .45s var(--ease-out), outline-color 0s; }
.wall-armed .wall .group__head::before,
.group.is-target .group__head::before { transform: scaleX(0); }
.wall-armed .wall .group--live .group__head,
.group--live.is-target .group__head { color: var(--blue); }

/* The joined record: what used to be three (or four) separate entries, read as one. */
.record { position: relative; margin-top: 1px; background: #fff; box-shadow: 0 0 0 1px var(--pale-edge); transition: background-color .3s var(--ease-out); }
.record__title { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px 20px; border-bottom: 1px solid var(--pale-edge); font-size: 17px; font-weight: 650; line-height: 1.4; }
.record__mark { width: 14px; height: 14px; flex-shrink: 0; fill: var(--blue); }
.record__val { margin-left: auto; font-weight: 650; font-size: 18px; line-height: 1; font-family: 'DM Sans', sans-serif; color: var(--blue); font-variant-numeric: tabular-nums; }
.record__date { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--pale-muted); }
.record__facets { list-style: none; }
.facet { display: grid; align-items: baseline; }
.facet__what { line-height: 1.5; }
.facet__val { font-weight: 650; font-size: 18px; line-height: 1.4; font-family: 'DM Sans', 'Noto Sans TC', sans-serif; color: var(--blue); font-variant-numeric: tabular-nums; }
.facet__from { margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--pale-muted); }
.record__facets { display: grid; }
.record--money .record__facets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.record--day .record__facets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Facets are cells of one record, not rows of a list: joined by hairlines on a shared ground. */
.facet { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 13px 18px; }
.facet + .facet { border-top: 0; }
.record--money .facet + .facet,
.record--day .facet:nth-child(even) { border-left: 1px solid var(--cell-hairline); }
.record--day .facet:nth-child(n + 3) { border-top: 1px solid var(--cell-hairline); }
.facet__what { font-size: 13px; font-weight: 500; color: var(--pale-muted); }
.facet__val { margin-top: 1px; font-size: 18px; text-align: left; white-space: normal; }

/* The open slot is an invitation, labelled as one. */
.ask { display: block; margin-top: 1px; padding: 18px 20px 20px; border: 1.5px dashed var(--ghost-line); background: rgba(255, 255, 255, .5); color: var(--blue); transition: background-color .2s; }
.ask:hover { background: #fff; }
.ask__slot { display: inline-block; padding-bottom: 2px; border-bottom: 1.5px dashed var(--blue); font-size: 13px; font-weight: 600; color: var(--pale-ink); }
.ask__q { display: block; margin-top: 12px; font-size: 16px; font-weight: 600; line-height: 1.65; color: var(--ink); text-wrap: pretty; }
.ask__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; text-decoration: underline; }
.ask .icon { width: 17px; height: 17px; }
.ask:hover .icon { transform: translateX(3px); }

/* Loose notes: the same records before they were put together. Script positions them; they never ship visible.
   They read app first, then the value on the same line height and left edge as the record cell it becomes,
   so the hand-over from note to cell keeps the number in place. */
.wall__loose { list-style: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.loose {
  position: absolute; left: 0; top: 0; width: 200px; padding: 10px 14px 10px 18px;
  background: #fff; box-shadow: 0 0 0 1px var(--pale-edge), 0 16px 28px -12px rgba(16, 24, 40, .3);
}
.loose--money { width: 184px; }
.loose__app { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 650; line-height: 1.5; }
.loose__tally { font-size: 12px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.loose__val { display: inline-block; margin-top: 1px; margin-right: 8px; font-weight: 650; font-size: 18px; line-height: 1.4; font-family: 'DM Sans', 'Noto Sans TC', sans-serif; color: var(--blue); font-variant-numeric: tabular-nums; }
.loose__what { display: inline-block; font-size: 12px; line-height: 1.5; color: var(--pale-muted); }

.wall.is-instant *, .wall.is-instant *::before { transition: none !important; }

/* While its notes are still loose, a record is a waiting slot: a pale hairline frame with its name and empty cells.
   The total stays hidden until the record is put together; the notes land into these cells and the slot turns solid. */
:is(.wall-armed .wall, .group.is-target) .record { background: rgba(255, 255, 255, .35); box-shadow: 0 0 0 1px var(--pale-rule); transition: none; }
:is(.wall-armed .wall, .group.is-target) .record__title { color: var(--pale-ink); border-bottom-color: var(--pale-rule); }
:is(.wall-armed .wall, .group.is-target) .record__mark { fill: var(--ghost-line); }
:is(.wall-armed .wall, .group.is-target) .record__val { visibility: hidden; }
:is(.wall-armed .wall, .group.is-target) .record__date { color: var(--pale-muted); }
:is(.wall-armed .wall, .group.is-target) .facet > * { visibility: hidden; }
:is(.wall-armed .wall, .group.is-target) .record--money .facet + .facet,
:is(.wall-armed .wall, .group.is-target) .record--day .facet:nth-child(even) { border-left-color: var(--pale-rule); }
:is(.wall-armed .wall, .group.is-target) .record--day .facet:nth-child(n + 3) { border-top-color: var(--pale-rule); }

/* Until main.js takes over, a wall that is about to play shows only its outlined destinations. */
.wall-armed .wall .ask { opacity: 0; }

.wall__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(30px, 3.2vw, 42px); }
.wall__caption { flex: 1; max-width: 56em; font-size: 15px; line-height: 1.85; color: var(--pale-ink); text-wrap: pretty; }
.wall__controls { display: flex; flex-shrink: 0; gap: 10px; }
.wall__controls .icon--join,
.wall__controls [aria-pressed="true"] .icon--apart { display: none; }
.wall__controls [aria-pressed="true"] .icon--join { display: block; }
.wall__note { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--pale-muted); }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head h2 { font-size: clamp(27px, 1.1vw + 18px, 36px); font-weight: 600; line-height: 1.5; letter-spacing: -.03em; text-wrap: balance; }
.section-head p { max-width: 25em; padding-bottom: 6px; font-size: 16px; line-height: 1.9; color: var(--muted); text-wrap: pretty; }

/* ---------- Products ---------- */
.products { padding-top: var(--section); }
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 84px);
  padding-block: clamp(34px, 4.2vw, 54px) clamp(60px, 6.4vw, 88px);
  border-top: 1px solid var(--ink);
}
.product--lt { border-top-color: var(--line); }
.product__name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.product__name h3 { font-weight: 600; font-size: clamp(26px, .9vw + 18px, 31px); line-height: 1.2; font-family: 'DM Sans', sans-serif; letter-spacing: -.025em; }
.product__name .status { color: var(--muted); }
.product__question { margin-top: clamp(22px, 2.6vw, 34px); font-size: clamp(23px, .9vw + 16px, 30px); font-weight: 600; line-height: 1.6; letter-spacing: -.02em; }
.product__text { max-width: 32em; margin-top: 18px; font-size: 17px; line-height: 2; color: var(--soft); text-wrap: pretty; }
.product__name + .product__text { margin-top: clamp(20px, 2.4vw, 30px); }
.features { margin-top: 28px; border-top: 1px solid var(--line); }
.features div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.features dt { font-weight: 600; }
.features dd { color: var(--muted); }
.product__data { max-width: 34em; margin-top: 22px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.product__data strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.product__actions { margin-top: 30px; }
.hint { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.hint a { color: var(--blue); text-decoration: underline; }
.product__sub { margin-top: 30px; font-size: 16px; font-weight: 600; }
.dashes { list-style: none; margin-top: 12px; }
.dashes li { position: relative; padding: 9px 0 9px 30px; font-size: 16px; line-height: 1.85; }
.dashes li::before { content: ''; position: absolute; left: 0; top: 1.3em; width: 16px; height: 2px; background: var(--blue); }
.product--lt .hint { margin-top: 22px; max-width: 34em; }

.shots { align-self: start; padding: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 32px) 20px; background: var(--surround); }
.shots__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); align-items: start; }
.shots img { width: 100%; height: auto; border-radius: 13px; background: #fff; box-shadow: 0 12px 24px rgba(32, 32, 32, .14); }
.shots figcaption { margin-top: 18px; font-size: 12px; line-height: 1.75; color: var(--pale-muted); text-align: center; }

/* LifeTime week grid */
.weeks { align-self: start; padding: clamp(20px, 2.4vw, 32px); background: #fff; border: 1px solid var(--pale-edge); }
.weeks__control { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; margin-bottom: 20px; }
.weeks__control label { font-size: 16px; font-weight: 600; white-space: nowrap; }
.weeks__control output { display: inline-block; min-width: 1.5em; margin-inline: 4px; font-weight: 650; font-size: 30px; line-height: 1; font-family: 'DM Sans', sans-serif; color: var(--blue); text-align: center; font-variant-numeric: tabular-nums; }
.weeks input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; }
.weeks input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
.weeks input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 0; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--blue); }
.weeks input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
.weeks input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 0; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--blue); }
.weeks input[type="range"]:focus-visible { outline: none; }
.weeks input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--blue); outline-offset: 3px; }
.weeks input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--blue); outline-offset: 3px; }
.weeks__example { margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.weeks__static, .weeks__grid { width: 100%; height: auto; }
.weeks__readout { margin-top: 18px; font-size: 15px; line-height: 1.85; font-variant-numeric: tabular-nums; }
.weeks figcaption { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* The next product: one compact row */
.next {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center;
  gap: 12px clamp(24px, 3vw, 44px);
  padding-block: clamp(28px, 3.4vw, 40px) var(--section);
  border-top: 1px solid var(--line);
}
.next h3 { font-size: clamp(22px, .5vw + 18px, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.next__domain { font-weight: 600; font-size: clamp(22px, .6vw + 17px, 27px); line-height: 1.3; font-family: 'DM Sans', 'Noto Sans TC', sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.next__blank { display: inline-block; margin-right: .06em; padding: 0 .18em; border-bottom: 2px dashed var(--blue); color: var(--muted); font-weight: 500; }
.next__text { max-width: 36em; font-size: 15px; line-height: 1.85; color: var(--soft); }

/* ---------- 我在意的幾件事 ---------- */
.notes { padding-block: var(--section); background: var(--deep); color: var(--on-deep); }
.notes ::selection { color: var(--deep); background: #fff; }
.notes :focus-visible { outline-color: #fff; }
.notes__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.notes__head h2 { font-size: clamp(26px, .9vw + 19px, 34px); font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.notes__head p { max-width: 26em; font-size: 16px; line-height: 1.95; color: var(--on-deep-soft); }
.notes__list { list-style: none; margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid rgba(255, 255, 255, .3); }
.notes__row { display: grid; grid-template-columns: minmax(0, 1fr) 200px 120px; align-items: center; gap: 24px; padding-block: clamp(16px, 1.6vw, 22px); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.notes__text { font-size: clamp(16px, .25vw + 14px, 18px); font-weight: 500; line-height: 1.75; text-wrap: pretty; }
.notes__answer { font-size: 16px; }
.notes__answer a { color: #fff; text-decoration: underline; }
.notes__answer a:hover { text-decoration-thickness: 2px; }
.notes__answer span { color: var(--on-deep-soft); }
.notes__state { justify-self: end; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .6); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.notes__state--live { background: #fff; border-color: #fff; color: var(--deep); font-weight: 600; }

/* ---------- About ---------- */
.about { padding-block: var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 84px); }
.about__head h2 { font-size: clamp(34px, 1.4vw + 26px, 48px); font-weight: 600; line-height: 1.35; letter-spacing: -.03em; }
.about__sub { margin-top: 12px; font-size: 19px; line-height: 1.8; color: var(--muted); }
.about__copy { max-width: 34em; font-size: 17px; line-height: 2; color: var(--soft); }
.about__lede { font-size: clamp(19px, .45vw + 15px, 22px); font-weight: 600; line-height: 1.8; color: var(--ink); text-wrap: balance; }
.about__copy > p + p { margin-top: 18px; }
.about__copy a { color: var(--blue); text-decoration: underline; }
.facts { max-width: 34em; margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); overflow-wrap: anywhere; }
.facts__pending { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(56px, 6vw, 84px); }
.contact__panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: end;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 3.6vw, 48px);
  background: var(--blue); color: #fff;
}
.contact ::selection { color: var(--blue); background: #fff; }
.contact :focus-visible { outline-color: #fff; }
.contact h2 { font-size: clamp(24px, 1vw + 16px, 32px); font-weight: 600; line-height: 1.55; letter-spacing: -.02em; text-wrap: balance; }
.contact__text p { max-width: 30em; margin-top: 16px; font-size: 15px; line-height: 1.9; color: var(--on-blue-soft); }
.contact__address { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--on-blue-rule); font-weight: 500; font-size: clamp(21px, 1vw + 14px, 28px); line-height: 1.3; font-family: 'DM Sans', sans-serif; overflow-wrap: anywhere; }
.contact__address .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.contact__address:hover .icon { transform: translate(3px, -3px); }
.btn--on-blue { min-height: 44px; margin-top: 18px; padding: 0 16px; gap: 10px; border-color: rgba(255, 255, 255, .65); color: #fff; font-size: 14px; font-weight: 500; }
.btn--on-blue:hover { background: rgba(255, 255, 255, .12); }
.btn--on-blue .icon { width: 18px; height: 18px; }
.contact__status { min-height: 1.7em; margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--on-blue-soft); }

/* ---------- Footer ---------- */
.footer { padding-block: 34px 40px; border-top: 1px solid var(--line); }
.footer__bar { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--muted); }
.footer__bar p:first-of-type { margin-right: auto; }
.footer__source { margin-top: 12px; font-size: 12px; line-height: 1.8; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --wrap: calc(100% - 72px); }
  .next { display: block; }
  .next__domain { margin-top: 10px; }
  .next__text { margin-top: 6px; }
  .next .text-link { margin-top: 14px; }
  .hero__head { grid-template-columns: minmax(0, 1fr) 280px; }
  .notes__row { grid-template-columns: minmax(0, 1fr) 170px 110px; }
}

@media (max-width: 900px) {
  .product, .next, .about__grid, .contact__panel { grid-template-columns: minmax(0, 1fr); }
  .section-head, .notes__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .shots { padding-inline: clamp(16px, 6vw, 48px); }
  .weeks { max-width: 640px; }
  .wall__board { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wall__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 800px) {
  :root { --wrap: calc(100% - 48px); }
  .masthead__bar { min-height: 76px; gap: 24px; }
  .nav { gap: 22px; }
  .hero__head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero__intro { max-width: 36em; }
}

@media (max-width: 760px) {
  .group__head { min-height: 50px; padding: 8px 12px 8px 14px; }
  .group h3 { font-size: 18px; }
  .record__title { padding-left: 14px; padding-right: 14px; }
  .facet { padding: 10px 10px 11px 12px; }
  .facet__val { font-size: 16px; }
  .loose { width: 160px; padding: 8px 10px 8px 12px; }
  .loose--money { width: 140px; }
  .loose__app { font-size: 13px; line-height: 1.4; }
  .loose__val { font-size: 16px; line-height: 1.3; }
  .loose__val { display: block; margin-right: 0; }
  .loose__what { display: block; margin-top: 1px; line-height: 1.4; }
  .notes__row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
  .notes__text { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --wrap: calc(100% - 32px); }
  .masthead__bar { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-block: 12px 2px; }
  .wordmark { font-size: 27px; }
  .wordmark__mark { width: 15px; height: 15px; margin-left: 7px; }
  .masthead__cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 26px; font-size: 14px; }
  .hero__head { padding-top: 26px; }
  h1 { font-size: 28px; line-height: 1.5; letter-spacing: -.03em; }
  .hero__intro { font-size: 15px; line-height: 1.9; }
  .wall { padding-top: 16px; }
  .features div, .facts div { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; font-size: 14px; }
  .product__text, .about__copy { font-size: 16px; line-height: 1.95; }
  .weeks__control { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .shots__row { gap: 10px; }
  .footer__bar { flex-wrap: wrap; gap: 6px 16px; }
  .footer__bar p:first-of-type { order: 3; width: 100%; }
  .footer__made { margin-left: auto; }
}

@media (max-width: 380px) {
  .wordmark { font-size: 24px; }
  .masthead__cta { min-height: 40px; padding: 0 12px; gap: 8px; font-size: 14px; }
  .masthead__cta .icon { width: 16px; height: 16px; }
  .nav { gap: 22px; }
  h1 { font-size: 23px; }
}

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