/* One typeface, two weights. Ink, paper, and one colour kept for what is overdue. */

:root {
  --bg: #f9f8f5;
  --paper: #ffffff;
  --ink: #181715;
  --mute: #76716a;
  --line: #e2ded7;
  --soft: #efece6;
  --signal: #b03a1d;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --paper: #1a1918;
    --ink: #ebe9e4;
    --mute: #979188;
    --line: #2d2b28;
    --soft: #1f1e1c;
    --signal: #e8704f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
strong { font-weight: 500; }
code { font: inherit; color: var(--ink); overflow-wrap: anywhere; }
.hide { position: absolute; left: -9999px; }

/* ---- frame ---- */

.top, main { max-width: 900px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; }
/* The mark is drawn, not typed. Its e is a clock (see mark.py). */
.mark { display: inline-flex; align-self: center; color: var(--ink); line-height: 0; }
.mark-svg { display: block; height: 30px; width: auto; overflow: visible; }

nav { display: flex; gap: 24px; }
nav a { color: var(--mute); }
nav a:hover, nav a[aria-current] { color: var(--ink); }
main { padding-top: 72px; padding-bottom: 120px; }

/* ---- the opening lines ---- */

.lede h1, .lede > p { font-size: 32px; line-height: 1.22; letter-spacing: -0.022em; font-weight: 400; max-width: 20em; }
.lede > p { color: var(--mute); }
.lede.small h1 { font-size: 26px; }
.lede.small > p { font-size: 15px; letter-spacing: 0; line-height: 1.5; margin-top: 10px; max-width: 34em; }
.lede .crumb { margin: 0 0 14px; }
.lede .crumb a { border-bottom: 1px solid var(--line); }
.lede .error { color: var(--signal); }

/* ---- lists ---- */

.group { margin-top: 64px; }
.group > header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 13px; }
.group h2 { font-size: 13px; font-weight: 500; }
.group > header span { color: var(--mute); }
.group.list { margin-top: 0; border-top: 1px solid var(--ink); }

.row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 132px 84px; column-gap: 22px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:hover .title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.thumb { display: block; width: 48px; height: 60px; background: var(--soft); overflow: hidden; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.title, .sub, .flag { display: block; }
.sub, .flag { color: var(--mute); font-size: 13px; }
.what .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag.hot, .hot, .row.lapsed .when > span:not(.sub) { color: var(--signal); }
.fee { text-align: right; }
.more { margin-top: 28px; display: block; color: var(--mute); font-size: 13px; }
.more a:hover { color: var(--ink); }
.empty-note { padding: 28px 0; color: var(--mute); }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 44px 0 14px; }
.tabs { display: flex; gap: 22px; font-size: 13px; }
.tabs a { color: var(--mute); }
.tabs a[aria-current] { color: var(--ink); }
.tabs span { color: var(--mute); }
#filter { width: 240px; }

/* ---- buttons ---- */

.btn, .quick button {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 14px; line-height: 1.2; color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: 2px;
  padding: 10px 15px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.btn:hover, .quick button:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.primary:hover { opacity: 0.86; }
.btn.quiet { border-color: transparent; color: var(--mute); padding-left: 0; padding-right: 0; }
.btn.quiet:hover { color: var(--ink); border-color: transparent; }
.textbtn { font: inherit; font-size: 13px; color: var(--mute); background: none; border: 0; padding: 0; cursor: pointer; }
.textbtn:hover { color: var(--signal); }
.inline { display: inline-flex; margin: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 28px; }
.actions.tight { margin-top: 0; }
.saved { color: var(--mute); font-size: 13px; margin-left: 6px; }
.link { border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.link:hover { border-color: var(--ink); }

/* ---- one license ---- */

.detail { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 56px; align-items: start; }
.detail.plain { grid-template-columns: minmax(0, 640px); }
.pic img { display: block; width: 100%; height: auto; background: var(--soft); }
.facts h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.022em; font-weight: 400; }
.status { font-size: 32px; line-height: 1.22; letter-spacing: -0.022em; color: var(--mute); }
dl { margin-top: 36px; border-top: 1px solid var(--ink); }
dl > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--mute); font-size: 13px; padding-top: 2px; }
dd { overflow-wrap: anywhere; }

.block { margin-top: 72px; }
.block.first { margin-top: 44px; }
.block > h2, .blockhead h2 { font-size: 13px; font-weight: 500; }
.block > h2, .blockhead { padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.blockhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.how { margin-top: 18px; color: var(--mute); max-width: 40em; }
.how + .actions { margin-top: 16px; }

.finding { display: grid; grid-template-columns: 150px minmax(0, 1fr) 160px; gap: 14px; align-items: end; margin-top: 28px; }
.finding .wide { grid-column: 1 / 3; }

.log { margin-top: 28px; border-top: 1px solid var(--line); }
.log li { display: grid; grid-template-columns: 116px 84px minmax(0, 1fr) auto; column-gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.log .date { color: var(--mute); font-size: 13px; }
.log .sub { margin-top: 2px; }
.block > h2 + .log { margin-top: 0; border-top: 0; }

/* ---- forms ---- */

label { display: block; font-size: 13px; color: var(--mute); }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
  padding: 10px 12px; -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
input[type="file"] { padding: 8px 10px; font-size: 13px; color: var(--mute); }
input:not([type="file"]), select { height: 44px; }
.finding .btn { height: 44px; }
textarea { resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: none; border-color: var(--ink); }
::placeholder { color: var(--mute); opacity: 0.7; }

.sheet { margin-top: 44px; max-width: 640px; }
.sheet.flat { margin-top: 24px; }
fieldset { border: 0; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.sheet.flat fieldset { margin-bottom: 0; }
legend { grid-column: 1 / -1; width: 100%; padding: 0 0 10px; margin-bottom: 18px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 500; color: var(--ink); }
.wide { grid-column: 1 / -1; }
.quick { font-size: 13px; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quick button { font-size: 13px; padding: 6px 10px; }
.current { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--mute); }
.error { color: var(--signal); margin-top: 14px; }

/* ---- the renewal ---- */

.subject { margin-top: 22px; color: var(--mute); }
.subject span { color: var(--ink); }
.note { margin: 14px 0 0; font: inherit; white-space: pre-wrap; max-width: 36em; line-height: 1.55; }

.paper { margin-top: 24px; background: #fff; color: #181715; border: 1px solid var(--line); padding: 48px 52px 40px; max-width: 680px; font-size: 14px; }
.paper strong { display: block; font-weight: 400; font-size: 15px; }
.paperhead { display: flex; justify-content: space-between; gap: 24px; }
.paperhead span { display: block; color: #76716a; font-size: 12px; }
.paperhead .right { text-align: right; }
.paper h3 { font-size: 32px; font-weight: 400; letter-spacing: -0.022em; margin-top: 64px; padding-bottom: 14px; border-bottom: 1px solid #d9d5ce; }
.paperbody { display: grid; grid-template-columns: minmax(0, 1fr) 120px; column-gap: 28px; align-items: start; margin-top: 18px; }
.paperbody img { display: block; width: 100%; height: auto; margin-top: 6px; }
.paper dl { margin: 0; border: 0; }
.paper dl > div { border: 0; padding: 4px 0; grid-template-columns: 104px minmax(0, 1fr); }
.paper dt { color: #76716a; font-size: 12px; }
.lines { margin-top: 26px; border-top: 1px solid #d9d5ce; }
.line { display: flex; justify-content: space-between; padding: 12px 0 0; }
.line.total { margin-top: 12px; padding: 18px 0 0; border-top: 1px solid #d9d5ce; font-size: 18px; letter-spacing: -0.01em; }
.paper .pay { margin-top: 40px; }
.foot { margin-top: 56px; color: #76716a; font-size: 12px; }

/* ---- import ---- */

.scroll { overflow-x: auto; margin-top: 18px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 9px 16px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 400; color: var(--mute); }
.num { text-align: right; padding-right: 0; }
.problems { margin-top: 16px; color: var(--signal); font-size: 13px; }

/* ---- the public site ---- */

.code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--mute); }

/* The mark, and the ring that shows how much of a term is left. */
.ring { display: inline-block; flex: none; transform: rotate(-90deg); }
.ring { width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; color: var(--ink); }
.ring circle { fill: none; stroke-width: 2.6; }
.ring .t, .face .t { stroke: var(--line); }
.ring .a { stroke: currentColor; transition: stroke-dashoffset 0.5s var(--ease); }
.row.lapsed .ring { color: var(--signal); }

.term { margin-top: 22px; }
.term svg { display: block; width: 100%; height: 3px; }
.term .t { fill: var(--line); }
.term .a { fill: var(--ink); }
.term.over .a { fill: var(--signal); }
.term .ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--mute); }

.banner { max-width: 900px; margin: 22px auto 0; padding: 12px 28px; color: var(--mute); font-size: 13px; }
.banner a, footer.foot a:hover { color: var(--ink); }
.banner a { border-bottom: 1px solid var(--line); }
footer.foot { max-width: 900px; margin: 0 auto; padding: 0 28px 56px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--mute); font-size: 13px; }
footer.foot span { margin-right: auto; color: var(--ink); }
footer.foot span a { border-bottom: 1px solid var(--line); }
body:has(.splash) main, body:has(.splash) footer.foot { max-width: 1120px; }

@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/InstrumentSerif-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("/static/fonts/InstrumentSerif-400-italic.woff2") format("woff2"); }

/* The way in: full screen and dark. Photographs seen through an aperture that closes as a minute runs out. */
.splash { --hot: #ff6b47; --left: 1; --cx: 50%; --cy: 44%; --r: 30vh; position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #0b0b0a; color: #f4f2ee; }
.splash::after { content: ""; position: absolute; inset: 0; background: #0b0b0a; pointer-events: none; animation: lift 2.2s var(--ease) 0.1s both; }
.plates { position: absolute; top: -4%; left: -4%; width: 108%; height: 108%; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2.6s var(--ease); }
.plate.on { opacity: 1; animation: drift 22s linear both; }
.plate.p0 { object-position: 62% 50%; }
.plate.p1 { object-position: 50% 50%; }
.plate.p2 { object-position: 65% 45%; }
.plate.p3 { object-position: 55% 50%; }
/* Everything outside the aperture is held back in the dark. */
.shade { position: absolute; inset: 0; background: rgba(7, 7, 6, 0.8); -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent calc(var(--r) - 0.6px), #000 calc(var(--r) + 0.6px)); mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent calc(var(--r) - 0.6px), #000 calc(var(--r) + 0.6px)); }
.veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 7, 0.78) 0%, rgba(8, 8, 7, 0) 40%, rgba(8, 8, 7, 0.3) 100%); }
.iris { position: absolute; left: calc(var(--cx) - var(--r)); top: calc(var(--cy) - var(--r)); width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); pointer-events: none; transition: box-shadow 0.8s, opacity 0.6s; }
.splash.soon .iris { box-shadow: inset 0 0 0 1px var(--hot); }
.splash.lapsed .iris { opacity: 0; }
.splash.lapsed .plate { opacity: 0; transition-duration: 1.2s; }
.splashtop, .clockface, .splashfoot { position: relative; z-index: 1; }
.splashtop { display: flex; justify-content: space-between; align-items: center; padding: 26px 40px 0; }
.splash .mark { color: #f4f2ee; }
.splash .mark-svg { height: 36px; }
.splash nav a { color: rgba(244, 242, 238, 0.68); }
.splash nav a:hover { color: #fff; }

/* The space the circle starts from. It holds the lapsed message; the circle itself is .iris. */
.clockface { position: relative; place-self: center; width: min(58vh, 74vw); aspect-ratio: 1; }
.gone { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.9s var(--ease) 0.5s; }
.gone .sub { color: rgba(244, 242, 238, 0.66); margin-top: 10px; }
.gone .btn { margin-top: 22px; }
.splash.lapsed .gone { opacity: 1; pointer-events: auto; }

.splashfoot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding: 0 40px 40px; }
.pitch { animation: rise 1.4s var(--ease) 0.9s both; }
.pitch h1 { font-weight: 300; font-size: clamp(30px, 4.3vw, 58px); line-height: 1.03; letter-spacing: -0.035em; }
.pitch p { max-width: 31em; margin-top: 16px; font-size: 17px; line-height: 1.45; color: rgba(244, 242, 238, 0.74); }
.pitch .actions { margin-top: 24px; }
.splash .btn { color: #f4f2ee; border-color: rgba(255, 255, 255, 0.36); }
.splash .btn:hover { border-color: #fff; }
.splash .btn.primary { background: #f4f2ee; border-color: #f4f2ee; color: #0b0b0a; }
.count { display: grid; justify-items: end; gap: 10px; text-align: right; animation: rise 1.4s var(--ease) 1.1s both; }
.splash .code { color: rgba(244, 242, 238, 0.62); }
.digits { display: block; line-height: 0.86; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.5s; }
.splash.soon .digits, .splash.lapsed .digits, .splash.soon #leftlabel, .splash.lapsed #leftlabel { color: var(--hot); }

/* The splash is set in Instrument Serif. */
.word { font: italic 400 clamp(64px, 10.5vw, 156px)/0.9 "Instrument Serif", Georgia, serif; letter-spacing: -0.02em; }
.digits { font: 400 clamp(72px, 12vw, 190px)/0.8 "Instrument Serif", Georgia, serif; letter-spacing: -0.02em; }
.pitch h1 { font: 400 clamp(38px, 5.4vw, 76px)/0.98 "Instrument Serif", Georgia, serif; letter-spacing: -0.015em; }
.gone .sub { font: italic 400 22px/1.2 "Instrument Serif", Georgia, serif; }

@keyframes lift { to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }

.huge { font-size: clamp(44px, 7.6vw, 96px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 200; }

.band { margin-top: 150px; }
.band.first { margin-top: 24px; }
.band > h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase; color: var(--mute); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.big { font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; }
.big.wide { font-size: clamp(26px, 3.4vw, 38px); font-weight: 300; line-height: 1.16; letter-spacing: -0.03em; max-width: 24em; margin-top: 36px; }
.big span { color: var(--mute); }
.lede.small > p.big { font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; color: var(--mute); max-width: 24em; margin-top: 6px; }

/* Move time. */
.live { font-size: clamp(26px, 3.8vw, 42px); font-weight: 300; line-height: 1.14; letter-spacing: -0.032em; max-width: 21em; min-height: 3.5em; margin-top: 36px; }
.live span { color: var(--mute); }
.scrub { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(150px, auto); gap: 18px; align-items: center; margin-top: 20px; padding: 14px 0; background: var(--bg); }
.scrub output { text-align: right; color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; padding: 0; border: 0; background: transparent; cursor: grab; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: var(--line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--ink); border: 0; }
input[type="range"]::-moz-range-track { height: 3px; background: var(--line); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 0; }
input[type="range"]:active { cursor: grabbing; }
.book { margin-top: 8px; border-top: 1px solid var(--ink); }
.trow .thumb img { transition: opacity 0.6s var(--ease), filter 0.6s var(--ease); }
.trow.lapsed .thumb img { opacity: 0.3; filter: grayscale(1); }
.trow.lapsed .title { color: var(--mute); }
.credit { padding-top: 16px; color: var(--mute); font-size: 13px; }

/* The life of a license. */
.lifegrid { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 96px; align-items: start; margin-top: 56px; }
.dial { position: sticky; top: 96px; }
.face { position: relative; aspect-ratio: 1; }
.face svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.face circle { fill: none; stroke-width: 1.4; }
.face .a { stroke: var(--ink); transition: stroke-dashoffset 1.3s var(--ease), stroke 0.5s; }
.face img { position: absolute; inset: 7%; width: 86%; height: 86%; border-radius: 50%; object-fit: cover; opacity: calc(0.1 + 0.9 * var(--left, 1)); filter: saturate(calc(0.1 + 0.9 * var(--left, 1))); transition: opacity 1.3s var(--ease), filter 1.3s var(--ease); }
.dial .code { margin-top: 18px; text-align: center; color: var(--ink); }
.dial.low .a { stroke: var(--signal); }
.dial.low .code { color: var(--signal); }
.phases { margin: 0; padding: 0; list-style: none; }
.phases li { padding: 64px 0; border-top: 1px solid var(--line); transition: opacity 0.6s var(--ease); }
.phases li:first-child { padding-top: 8px; border-top: 0; }
.js .phases li { opacity: 0.3; }
.js .phases li.on { opacity: 1; }
.phases h3 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; margin-top: 12px; }
.phases p { font-size: 17px; color: var(--mute); max-width: 29em; margin-top: 12px; }

/* What the client sees. */
.clientgrid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; column-gap: 80px; align-items: start; margin-top: 40px; }
.clientgrid .how { margin-top: 16px; }
.card { padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.cardhead { display: flex; align-items: center; gap: 14px; }
.cardhead img { width: 60px; height: 60px; object-fit: cover; }
.cardhead strong { display: block; margin-top: 3px; }
.card dl { margin-top: 18px; border-top: 1px solid var(--line); }
.card dl > div { grid-template-columns: 64px minmax(0, 1fr); padding: 9px 0; }
.sign { display: grid; gap: 12px; margin-top: 18px; }
.sign[hidden] { display: none; }
.agreed { margin-top: 18px; font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }

/* Who it is for. */
.lanes { margin-top: 40px; border-top: 1px solid var(--line); }
.lanes li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(26px, 3.6vw, 42px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.1; transition: padding-left 0.5s var(--ease); }
.lanes li:hover { padding-left: 16px; }
.lanes .code { letter-spacing: 0.03em; }

/* The front page speaks in one display face. */
.huge, .live, .band .big, .phases h3, .lanes li > span:first-child { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.012em; }
.huge { font-size: clamp(54px, 9.4vw, 128px); line-height: 0.92; }
.live { font-size: clamp(31px, 4.5vw, 54px); line-height: 1.05; }
.band .big { font-size: 34px; line-height: 1.08; }
.band .big.wide { font-size: clamp(31px, 4.1vw, 48px); line-height: 1.08; }
.phases h3 { font-size: clamp(31px, 3.9vw, 46px); line-height: 1.04; }
.lanes li { font-size: clamp(31px, 4.3vw, 52px); }

.closing { margin-top: 170px; }
.closing .actions { margin-top: 44px; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.narrow { max-width: 420px; }
fieldset.one { grid-template-columns: 1fr; }
.notice { margin-top: 14px; color: var(--ink); max-width: 34em; }
.how.small { font-size: 13px; margin-top: 22px; }
.subject span { overflow-wrap: anywhere; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 15px; line-height: 1.4; }
input[type="checkbox"] { display: inline-block; width: 18px; height: 18px; flex: none; margin: 1px 0 0; padding: 0; -webkit-appearance: auto; appearance: auto; accent-color: var(--ink); }

.prose { margin-top: 48px; max-width: 36em; }
.prose h2 { font-size: 13px; font-weight: 500; margin-top: 32px; }
.prose p { margin-top: 6px; color: var(--mute); }

.offer { margin-top: 44px; }
.offer dl { margin-top: 0; }
.offer .sum dd { font-size: 20px; letter-spacing: -0.01em; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- phone ---- */

@media (max-width: 680px) {
  .top, main { padding-left: 20px; padding-right: 20px; }
  .top { padding-top: 22px; }
  nav { gap: 16px; }
  main { padding-top: 44px; padding-bottom: 88px; }
  input, select, textarea { font-size: 16px; }

  .lede h1, .lede > p, .facts h1, .status { font-size: 24px; }
  .lede.small h1 { font-size: 22px; }
  .lede.small > p { font-size: 15px; }
  .group { margin-top: 48px; }

  .row { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "thumb what fee" "thumb when when"; column-gap: 14px; row-gap: 2px; align-items: start; }
  .row .thumb { grid-area: thumb; }
  .row .what { grid-area: what; }
  .row .fee { grid-area: fee; }
  .row .when { grid-area: when; font-size: 13px; }
  .row .when span { display: inline; }
  .row .when .sub::before { content: " · "; }
  .what .sub { white-space: normal; }

  .bar { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 32px; }
  #filter { width: 100%; }

  .detail { grid-template-columns: 1fr; row-gap: 28px; }
  .pic { max-width: 240px; }
  dl > div { grid-template-columns: 96px minmax(0, 1fr); }
  .block { margin-top: 56px; }
  .finding { grid-template-columns: 1fr 1fr; }
  .finding label:nth-of-type(1) { order: 1; }
  .finding label:nth-of-type(3) { order: 2; }
  .finding label:nth-of-type(2) { order: 3; grid-column: 1 / -1; }
  .finding .wide { order: 4; grid-column: 1 / -1; }
  .finding .btn { order: 5; grid-column: 1 / -1; }
  .log li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .log .grow { grid-column: 1 / -1; }
  .log li > form { grid-row: 1; grid-column: 2; }
  .log li > span:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }

  fieldset { grid-template-columns: 1fr; }
  .actions .btn { flex: 0 1 auto; }
  .paper { padding: 28px 22px; }
  .paper h3 { font-size: 24px; margin-top: 40px; }
  .paperbody { grid-template-columns: minmax(0, 1fr) 72px; column-gap: 16px; }
  .paper dl > div { grid-template-columns: 78px minmax(0, 1fr); }

  nav .roomy { display: none; }
  .banner, footer.foot { padding-left: 20px; padding-right: 20px; }
  .big, .lede.small > p.big { font-size: 22px; }
  .band .big { font-size: 28px; }

  .splashtop { padding: 18px 20px 0; }
  .mark-svg { height: 25px; }
  .splash .mark-svg { height: 29px; }
  .clockface { width: min(42vh, 78vw); }
  .splashfoot { grid-template-columns: 1fr; gap: 22px; padding: 0 20px 26px; }
  .count { order: -1; justify-items: start; text-align: left; gap: 4px; }
  .count .code:last-child { display: none; }
  .pitch p { font-size: 16px; margin-top: 12px; }
  .pitch .actions { margin-top: 18px; }
  .band { margin-top: 96px; }
  .live { min-height: 5.4em; margin-top: 28px; }
  .scrub { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .scrub output { grid-column: 1 / -1; text-align: left; margin-top: -6px; }
  .lifegrid { grid-template-columns: 1fr; margin-top: 20px; }
  .dial { top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 12px 0; background: var(--bg); }
  .face { width: 76px; flex: none; }
  .dial .code { margin: 0; text-align: left; }
  .phases li { padding: 36px 0; }
  .phases li:first-child { padding-top: 20px; }
  .clientgrid { grid-template-columns: 1fr; row-gap: 28px; }
  .lanes li { flex-direction: column; gap: 4px; padding: 12px 0; }
  .lanes li:hover { padding-left: 0; }
  .closing { margin-top: 110px; }
}
