/*
 * LawLab's website (LANDING_SITES_PLAN §4d, version B "Rabat"). Robe black by night, ice by day (the app's
 * RabatPalette); coral only for "next" or "now", once a screen; settled, due and refused for states only. Sofia Sans
 * Condensed for dates, figures and titles; Figtree for reading. Panels raised on the robe, no paper, no scales.
 */
:root {
  --robe: #f4f7fa;
  --raise: #ffffff;
  --raise-2: #e8edf2;
  --line: #d3d9e1;
  --line-2: #e3e8ee;
  --rabat: #101216;
  --on-rabat: #f3f4f6;
  --mute: #58606d;
  --mute-2: #7a8390;
  --coral: #ff8a65;
  --coral-ink: #c2451f;
  --on-coral: #101216;
  --ok: #128a56;
  --warn: #9a6200;
  --bad: #cc3550;
  --r: 14px;
  --r-s: 8px;
  --display: 'Sofia Sans Condensed', 'Arial Narrow', sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', 'Noto Sans', 'Noto Sans Arabic', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --quick: cubic-bezier(.2, .8, .2, 1);
}
html.night {
  --robe: #101216;
  --raise: #191c22;
  --raise-2: #22262e;
  --line: #2e333c;
  --line-2: #252930;
  --rabat: #f3f4f6;
  --on-rabat: #101216;
  --mute: #a9b0bc;
  --mute-2: #8c94a1;
  --coral-ink: #ff8a65;
  --ok: #6fd3a3;
  --warn: #f2c25b;
  --bad: #ff7088;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--robe); color: var(--rabat); font: 400 1.04rem/1.6 var(--body); }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--rabat); color: var(--on-rabat); padding: 10px 14px; z-index: 99; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.night .only-day, html:not(.night) .only-night { display: none; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.lead { font-size: 1.18rem; color: var(--mute); max-width: 58ch; }
.fig { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }

.title { font: 800 clamp(2.6rem, 6vw, 5rem)/.98 var(--display); letter-spacing: -.005em; }
.title--xl { font-size: clamp(3rem, 7.4vw, 6.2rem); }
.h2 { font: 800 clamp(2rem, 4vw, 3.2rem)/1 var(--display); }
.h3 { font: 700 1.5rem/1.1 var(--display); }
html[lang=ar] .title, html[lang=ar] .h2, html[lang=zh] .title, html[lang=zh] .h2 { line-height: 1.25; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s var(--quick), background .15s; }
.btn:active { transform: translateY(1px); }
.btn--rabat { background: var(--rabat); color: var(--on-rabat); }
.btn--coral { background: var(--coral); color: var(--on-coral); }
.btn--line { background: transparent; color: var(--rabat); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--rabat); }
.pill { height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--raise-2); color: var(--rabat); font: 700 .92rem var(--body); cursor: pointer; }
.tool { height: 40px; min-width: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 0; background: var(--raise-2); color: var(--rabat); cursor: pointer; }
.tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
html:not(.night) .tool__moon, html.night .tool__sun { display: none; }
.tool--lang select { appearance: none; background: none; border: 0; color: inherit; font: 700 .88rem var(--body); padding: 0 14px; height: 36px; cursor: pointer; }
.tool--lang select option { color: #101216; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--robe) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__row { height: 70px; display: flex; align-items: center; gap: 20px; }
.top__brand { background: none; border: 0; padding: 6px; margin-inline-start: -6px; color: inherit; cursor: pointer; border-radius: var(--r-s); }
.top__nav { display: flex; gap: 4px; flex: 1; }
.top__nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--mute); }
.top__nav a:hover, .top__nav a[aria-current] { color: var(--rabat); background: var(--raise-2); }
.top__tools { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .top__nav, .tool--lang { display: none; } .top__row { gap: 10px; } .top__tools { margin-inline-start: auto; } }
@media (max-width: 440px) { .top__get { display: none; } }

/* ---------- the hero: a matter ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__copy .lead { margin: 22px 0 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__note { margin-top: 18px; font-size: .9rem; color: var(--mute); }
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.matter { background: var(--raise); border-radius: 22px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; box-shadow: 0 0 0 1px var(--line); }
.matter__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.matter__title { font: 800 1.5rem/1.1 var(--display); }
.matter__ref { font: 700 .86rem var(--body); color: var(--mute); unicode-bidi: plaintext; }
.counsel { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--raise-2); }
.counsel__mark { width: 44px; height: 44px; border-radius: 12px; background: var(--rabat); display: grid; place-items: center; flex: none; }
.counsel__mark img { width: 26px; height: 26px; }
.counsel b { display: block; font-weight: 700; }
.counsel span { font-size: .9rem; color: var(--mute); }
.date { display: grid; gap: 4px; }
.date__label { font: 700 .9rem var(--body); color: var(--mute); }
.date__big { font: 800 clamp(4.4rem, 11vw, 6.5rem)/.9 var(--display); color: var(--coral-ink); letter-spacing: -.01em; unicode-bidi: plaintext; }
.date__what { font-weight: 600; }
.date__count { display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; font-size: .95rem; color: var(--mute); }
.date__count b { font: 800 1.35rem var(--display); color: var(--rabat); font-variant-numeric: tabular-nums; }
.date__cal { justify-self: start; margin-top: 6px; }
.rail { display: grid; gap: 8px; }
.rail svg { width: 100%; height: auto; display: block; overflow: visible; }
html[dir=rtl] .rail svg { transform: scaleX(-1); }
html[dir=rtl] .rail svg text { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }
.rail .done { stroke: var(--rabat); stroke-width: 4; fill: none; stroke-linecap: round; }
.rail .ahead { stroke: var(--mute-2); stroke-width: 3; fill: none; stroke-dasharray: 2 8; stroke-linecap: round; }
.rail .stage { fill: var(--raise); stroke: var(--rabat); stroke-width: 3; }
.rail .stage.is-ahead { stroke: var(--mute-2); }
.rail .stage.is-now { fill: var(--rabat); }
.rail .today { stroke: var(--coral); stroke-width: 3; }
.rail text { font: 700 13px var(--body); fill: var(--mute); }
.rail .today-word { fill: var(--coral-ink); font-weight: 800; }
.rail.is-drawing .done { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.4s var(--quick) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.move { border-radius: var(--r); background: var(--raise-2); padding: 16px; display: grid; gap: 10px; box-shadow: 0 10px 30px -18px rgba(16, 18, 22, .5); }
.move__label { font: 700 .86rem var(--body); color: var(--mute); }
.move b { font: 700 1.1rem var(--body); }
.move__done { color: var(--ok); font-weight: 700; }

/* ---------- bands ---------- */
.band { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.band__head { max-width: 760px; margin-bottom: 32px; }
.band__head .lead { margin-top: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.points li { position: relative; padding-inline-start: 22px; }
.points li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--rabat); }

/* "Say what happened": the catalogue's situations, plainly, with their real prices. */
.situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.situation { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--raise); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .15s; }
.situation:hover { box-shadow: 0 0 0 1.5px var(--rabat); }
.situation b { font: 700 1.08rem/1.3 var(--body); }
.situation small { grid-column: 1; color: var(--mute); font-size: .9rem; }
.situation .fig { grid-row: 1 / span 2; grid-column: 2; font-size: 1.3rem; white-space: nowrap; }
.situation .fig small { display: block; font: 600 .78rem var(--body); color: var(--mute); text-align: end; }
.situations__empty { padding: 20px; border-radius: var(--r); background: var(--raise); color: var(--mute); }
@media (max-width: 760px) { .situations { grid-template-columns: minmax(0, 1fr); } }

/* The fee, plainly. */
.fee { background: var(--raise); border-radius: 20px; padding: 22px; display: grid; gap: 16px; box-shadow: 0 0 0 1px var(--line); }
.fee__in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fee__in label { font-weight: 700; }
.fee__in input { width: 170px; height: 52px; padding: 0 14px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--robe); color: var(--rabat); font: 800 1.5rem var(--display); }
.fee__lines { display: grid; }
.fee__lines div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.fee__lines b { font: 800 1.35rem var(--display); white-space: nowrap; unicode-bidi: plaintext; }
.fee__lines .is-whole b { color: var(--ok); }
.fee__lines .is-total b { font-size: 1.8rem; }
.fee__note { font-size: .9rem; color: var(--mute); }

/* Stages explained along the rail. */
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.stages > div { padding: 18px 16px; background: var(--raise); border-inline-end: 1px solid var(--line); }
.stages > div:last-child { border-inline-end: 0; }
.stages b { display: block; font: 800 1.25rem var(--display); margin-bottom: 6px; }
.stages span { color: var(--mute); font-size: .92rem; }
@media (max-width: 900px) { .stages { grid-template-columns: minmax(0, 1fr); } .stages > div { border-inline-end: 0; border-bottom: 1px solid var(--line); } }

/* ---------- phones ---------- */
.phone-wrap { display: grid; justify-items: center; gap: 12px; }
.phone { position: relative; width: min(290px, 72vw); aspect-ratio: 411 / 891; border-radius: 38px; background: #0a0b0e; padding: 9px; box-shadow: 0 30px 60px -30px rgba(16, 18, 22, .6), 0 0 0 1px var(--line); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--raise); }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s; }
.phone__screen img.is-on { opacity: 1; }
.phone__island { position: absolute; top: 15px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 14px; background: #0a0b0e; z-index: 2; }
.phone__cap { font-size: .9rem; color: var(--mute); text-align: center; max-width: 30ch; }

/* ---------- lists ---------- */
.ledger { display: grid; gap: 10px; }
.ledger > div { display: grid; grid-template-columns: minmax(160px, .45fr) minmax(0, 1fr); gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--raise); box-shadow: 0 0 0 1px var(--line); }
.ledger b { font-weight: 700; }
.ledger span { color: var(--mute); }
@media (max-width: 640px) { .ledger > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
details.q { border-radius: var(--r); background: var(--raise); box-shadow: 0 0 0 1px var(--line); margin-bottom: 10px; }
details.q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 700; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: '+'; font: 800 1.4rem/1 var(--display); color: var(--mute); }
details.q[open] summary::after { content: '−'; }
details.q p { padding: 0 18px 18px; color: var(--mute); max-width: 70ch; }

/* ---------- questions on the pages people land on (LANDING_SITES_PLAN §9) ----------
   A computer reads two columns of them; a tablet or a phone, one. */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; align-items: start; }
.faq details.q { margin: 0; }
.faq__more { margin-top: 26px; }
@media (max-width: 1000px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact (LANDING_SITES_PLAN §9): the message on a raised panel, the publisher beside it ----------
   A computer: the form (7) and the publisher's card (5) side by side, the card staying in view. A tablet (≤ 1000 px):
   the form across the width, the card under it with its lines in two columns. A phone (≤ 600 px): one column, the
   two ways of answering share the width, the coral send fills it. */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__title { margin-bottom: 22px; }
.contact__publisher { position: sticky; top: 96px; display: grid; gap: 14px; padding: clamp(20px, 2.6vw, 28px); background: var(--raise); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.contact__publisher-title { font: 800 1.6rem/1.05 var(--display); }
.contact__by, .contact__note { color: var(--mute); }
.publisher { display: grid; gap: 10px; margin: 0; padding: 14px 0; list-style: none; border-block: 1px solid var(--line); }
.publisher li { display: grid; grid-template-columns: minmax(96px, max-content) 1fr; gap: 12px; }
.publisher span { color: var(--mute); font-weight: 600; }
.publisher a, .publisher__links a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.publisher__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form { display: grid; gap: 22px; padding: clamp(20px, 3vw, 32px); background: var(--raise); border-radius: 22px; box-shadow: 0 0 0 1px var(--line); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.form__check { display: grid; gap: 8px; min-width: 0; }
.form__check:not(:has(.form-group, .cf-turnstile)) { display: none; }
.form__alert { margin: 0; padding: 14px 16px; border-radius: var(--r-s); box-shadow: inset 4px 0 0 var(--bad), 0 0 0 1px var(--line); font-weight: 700; color: var(--bad); }
[dir='rtl'] .form__alert { box-shadow: inset -4px 0 0 var(--bad), 0 0 0 1px var(--line); }
.field, .form .form-group { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend, .form .form-label { padding: 0; font: 700 .95rem/1.3 var(--body); }
.field input:not([type='radio']), .field select, .field textarea, .form .form-control {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 500 1.02rem/1.4 var(--body); color: var(--rabat);
  background: var(--robe); border: 1.5px solid var(--mute-2); border-radius: var(--r-s);
  transition: border-color .15s, background .15s;
}
.field textarea { min-height: 172px; resize: vertical; }
.field select {
  appearance: none; cursor: pointer; padding-inline-end: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
[dir='rtl'] .field select { background-position: 16px 52%, 22px 52%; }
.field input:not([type='radio']):hover, .field select:hover, .field textarea:hover { border-color: var(--rabat); }
.field input:not([type='radio']):focus-visible, .field select:focus-visible, .field textarea:focus-visible, .form .form-control:focus-visible { border-color: var(--rabat); background: var(--raise); }
.field :is(input, select, textarea)[aria-invalid='true'], .form .form-control.is-invalid { border-color: var(--bad); }
.field__hint { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .88rem; color: var(--mute); }
.field__count { font: 700 1rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.field__error, .form .invalid-feedback { margin: 0; font: 700 .9rem/1.35 var(--body); color: var(--bad); }
.choice__options { display: flex; gap: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--mute-2); font: 700 .98rem var(--body); }
.choice input:checked + span { background: var(--rabat); color: var(--on-rabat); box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
/* The address the reader chose to be answered at, and only that one. */
.form:has(input[name='reply_by'][value='email']:checked) .field--phone,
.form:has(input[name='reply_by'][value='phone']:checked) .field--email { display: none; }
.form .form-group .form-control { max-width: 240px; }
.form .cf-turnstile { margin: 0; min-height: 65px; }
.btn[disabled] { opacity: .72; cursor: progress; }
.sent { margin-bottom: 18px; padding: 18px 20px; background: var(--raise); border-radius: var(--r); box-shadow: inset 6px 0 0 var(--ok), 0 0 0 1px var(--line); }
[dir='rtl'] .sent { box-shadow: inset -6px 0 0 var(--ok), 0 0 0 1px var(--line); }
.sent__title { font: 800 1.5rem/1.1 var(--display); margin-bottom: 6px; }
.sent p:last-child { color: var(--mute); }
.band[id] { scroll-margin-top: 84px; }
@media (max-width: 1000px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__publisher { position: static; }
  .contact__publisher .publisher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__publisher .publisher li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .choice__options { display: grid; grid-template-columns: 1fr 1fr; }
  .choice span { width: 100%; padding: 0 10px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .contact__publisher .publisher { grid-template-columns: minmax(0, 1fr); }
}
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 6px 18px; border-radius: var(--r); background: var(--rabat); color: var(--on-rabat); text-decoration: none; }
.store small { font-size: .76rem; opacity: .8; }
.store b { font: 800 1.15rem var(--display); }
.store--soon { background: var(--raise-2); color: var(--mute); }

/* ---------- the end ---------- */
.cta { margin: clamp(48px, 7vw, 96px) auto; background: var(--raise); border-radius: 26px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; box-shadow: 0 0 0 1px var(--line); }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr); } }
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot__grid h2 { font: 700 .92rem var(--body); color: var(--mute); margin-bottom: 12px; }
.foot__grid a { display: block; padding: 4px 0; text-decoration: none; font-weight: 600; }
.foot__grid a:hover { text-decoration: underline; }
.foot__brand p { margin-top: 12px; color: var(--mute); }
.foot__end { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--mute); }
.foot__langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot__langs a { color: var(--mute); text-decoration: none; }
.foot__langs a:hover, .foot__langs a[aria-current] { color: var(--rabat); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- the Index ---------- */
.index { width: min(520px, calc(100% - 24px)); max-height: 84vh; padding: 0; border: 0; border-radius: 22px; background: var(--raise); color: var(--rabat); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px var(--line); }
.index::backdrop { background: rgba(10, 11, 14, .55); }
.index__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 8px 20px; }
.index__title { font: 800 1.6rem var(--display); }
.index input { width: calc(100% - 32px); margin: 0 16px 8px; height: 48px; padding: 0 14px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--robe); color: inherit; font: 600 1rem var(--body); }
.index ul { list-style: none; margin: 0; padding: 8px; max-height: calc(84vh - 140px); overflow: auto; }
.index a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); text-decoration: none; }
.index a b { font-weight: 700; }
.index a span { color: var(--mute); font-size: .9rem; }
.index a:hover, .index a:focus, .index a[aria-current] { background: var(--raise-2); outline: none; }
.index__none { padding: 8px 24px 20px; color: var(--mute); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rail.is-drawing .done { stroke-dashoffset: 0 !important; }
}

/* ---------- a finger's size (the founder's "responsive and device-optimized", 2026-11-15) ----------
   On a touch screen every control a finger meets is at least 44 × 44 px (Apple's and Google's minimum), the footer's
   links included; tools/site/devices.mjs measures it. */
@media (pointer: coarse), (max-width: 600px) {
  .tool { height: 44px; min-width: 44px; }
  .top__brand { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__grid a { padding: 11px 0; }
  .foot__langs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-inline: 6px; }
  .pill { height: 44px; }
  .top__brand { padding-block: 0; }
}

/* The cookie notice: a raised card in the reading side's lower corner, on the robe's own hairline; on a phone it takes
   the width less the gutters. */
.cookies { position: fixed; z-index: 45; inset-inline-start: 16px; inset-block-end: 16px; width: min(380px, calc(100vw - 32px));
  display: grid; gap: 8px; padding: 18px 20px; background: var(--raise); color: var(--rabat);
  border: 1px solid var(--line); border-radius: var(--r); }
.cookies[hidden] { display: none; }
.cookies__title { margin: 0; font: 700 1.05rem/1.25 var(--display); }
.cookies__body { margin: 0; font: 400 .92rem/1.5 var(--body); color: var(--mute); }
.cookies__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 6px; }
.cookies__actions a { display: inline-flex; align-items: center; min-height: 44px; font: 600 .92rem/1.4 var(--body); color: var(--rabat); text-underline-offset: 3px; }
@media (max-width: 560px) { .cookies { inset-inline: 12px; inset-block-end: 12px; width: auto; } }
@media print { .cookies { display: none; } }

/* The page for an unknown address (site.pages.lost): the number in the condensed face, a short coral rule. */
.lost { min-height: 52vh; display: flex; align-items: center; }
.lost__code { margin: 0; font: 800 clamp(4.4rem, 15vw, 10rem)/.85 var(--display); color: var(--rabat); letter-spacing: -.01em; }
.lost__rule { display: block; width: 72px; height: 4px; margin: 16px 0 26px; border-radius: 2px; background: var(--coral); }
.lost .lead { margin: 18px 0 28px; }
