/* זמן סיוט · base: reset, type, layout primitives, shared UI */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
  background: var(--ink);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* printed-paper grain over the black. A real element (the build adds <div class="grain"> to every page), faint and click-through,
   and it starts under the header: iOS Safari 26 colours the strip behind the status bar from the pinned element it finds at the top edge,
   and a full-screen pseudo-element with a texture there made it give up and show the page instead. */
.grain {
  position: fixed;
  inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0;
  z-index: 90;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--blood); color: #fff; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
html:not(.js) .js-only { display: none !important; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200;
  padding: 12px 18px; background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-right)) max(var(--gutter), env(safe-area-inset-left)); }
.sec { position: relative; padding-block: var(--sec-y); }

/* ---------- headings ---------- */
.h2 { font: 700 var(--t-h2)/1 var(--f-display); letter-spacing: -.005em; text-wrap: balance; }
.h2--bar {
  display: inline; color: var(--ink); background: var(--paper);
  padding: .1em .22em 0; line-height: 1.12;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sec-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-sub { margin-top: 20px; max-width: var(--measure); color: var(--mute); font-size: var(--t-lead); line-height: 1.6; }
.sec-mark { width: 44px; height: 44px; margin-bottom: 18px; overflow: visible; }
.sec-mark--all { width: 96px; height: 32px; }
.meta { font: 500 var(--t-meta)/1.5 var(--f-body); color: var(--mute-2); }
.prose p + p { margin-top: 1em; }
.prose { max-width: var(--measure); }

/* ---------- buttons: a rubber-stamp press ---------- */
.btn {
  --bg: var(--blood); --fg: #fff; --bd: var(--blood); --sh: var(--blood-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 24px;
  font: 700 1.0625rem/1.25 var(--f-body); color: var(--fg); text-align: center; text-decoration: none;
  background: var(--bg); border: 2px solid var(--bd); border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--sh);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sh); }
.btn--primary:hover { --bg: var(--blood-deep); --bd: var(--blood-deep); --sh: #6E0C12; }
.btn--ghost { --bg: transparent; --bd: rgb(255 255 255 / .9); --sh: transparent; }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--ink { --bg: var(--ink); --bd: var(--ink); --sh: #000; }
.btn--ink:hover { --bg: #2A2B2F; --bd: #2A2B2F; }
.btn--outline-ink { --bg: transparent; --fg: var(--ink); --bd: var(--ink); --sh: transparent; }
.btn--outline-ink:hover { --bg: var(--ink); --fg: #fff; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; box-shadow: 0 3px 0 var(--sh); }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 1.125rem; }
.btn--block { display: flex; width: 100%; }
.btn--wrap { white-space: normal; line-height: 1.35; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"]::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-inline-end-color: transparent;
  animation: spin .8s linear infinite;
}
.btn[aria-busy="true"] .i { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 2px;
  background: none; border: 0; color: var(--mute); font-size: .9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: .2em;
}
.btn-text:hover { color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: transparent; color: #fff; border: 2px solid rgb(255 255 255 / .25); border-radius: var(--radius);
}
.icon-btn .i { width: 26px; height: 26px; }
.icon-btn:hover { border-color: #fff; }

.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 800; color: #fff; text-decoration: none; border-bottom: 2px solid var(--blood);
}
.more .i { transition: transform .2s var(--ease-out); }
.more:hover .i { transform: translateX(-4px); }
.more--ink { color: var(--ink); }

/* ---------- source chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px;
  font: 600 .9375rem/1.2 var(--f-body); color: #fff; text-decoration: none;
  background: var(--ink-3); border: 1px solid transparent; border-radius: 2px;
}
.chip .i { width: 14px; height: 14px; opacity: .8; }
.chip:hover { border-color: var(--blood-hi); color: var(--blood-hi); }

/* ---------- rubber stamp ---------- */
.stamp {
  display: inline-block; position: relative;
  padding: .1em .4em .02em;
  font: 700 clamp(2.4rem, 1.7rem + 2.6vw, 3.75rem)/1 var(--f-display);
  color: var(--blood); border: .07em solid currentColor; outline: 2px solid currentColor; outline-offset: 4px; border-radius: 8px;
  transform: rotate(-6deg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 0 0 0 3.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -4 0 0 0 3.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 260px 120px; mask-size: 260px 120px;
}

/* brush helpers: text always sits on the solid core of the stroke */
.brush-word { position: relative; z-index: 0; display: inline-block; padding: .1em .3em 0; color: #fff; }
.brush-word::before {
  content: ""; position: absolute; z-index: -1; inset: -.04em -.3em -.1em -.55em;
  background: url(../assets/brush-2.svg) center / 100% 100% no-repeat;
}
.ul-brush { position: relative; display: inline-block; z-index: 0; }
.ul-brush::after {
  content: ""; position: absolute; z-index: -1; inset-inline: -.1em -.15em; bottom: -.08em; height: .26em;
  background: url(../assets/underline.svg) center / 100% 100% no-repeat;
}

/* ---------- cards ---------- */
.paper-card { background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); border-radius: 2px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
.paper-card a:not(.btn):not(.sbtn) { color: #A3141C; }
.dark-card { position: relative; background: var(--ink-2); padding: clamp(24px, 3vw, 36px); border-radius: 2px; border-top: 3px solid var(--ink-3); }
.dark-card__icon { width: 30px; height: 30px; margin-bottom: 14px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dark-card__title { font: 900 var(--t-h3)/1.2 var(--f-body); margin-bottom: 10px; }
.dark-card > p { color: var(--mute); }
.micro { margin-top: 16px; font-size: .9375rem; color: var(--mute-2); line-height: 1.5; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 1rem; }
.opt { font-weight: 400; color: #5A5C62; }
.form--dark .opt { color: var(--mute-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font-size: 1.0625rem; line-height: 1.4;
  color: var(--ink); background-color: #fff; border: 2px solid #8A8C92; border-radius: var(--radius);
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 20px; background-position: left 14px center; padding-inline-end: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--blood); box-shadow: inset 0 0 0 1px var(--blood); }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea { color: #fff; background-color: var(--ink); border-color: #6B6E75; }
.form--dark .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.form--dark .field input:focus, .form--dark .field select:focus, .form--dark .field textarea:focus { border-color: #fff; }
.form--dark .field input[aria-invalid="true"], .form--dark .field select[aria-invalid="true"], .form--dark .field textarea[aria-invalid="true"] { border-color: var(--blood-hi); box-shadow: inset 0 0 0 1px var(--blood-hi); }
.field__hint { font-size: .9375rem; color: #4A4C52; line-height: 1.5; }
.form--dark .field__hint { color: var(--mute); }
.field__count { font-size: .875rem; color: #4A4C52; text-align: end; font-variant-numeric: tabular-nums; }
.form--dark .field__count { color: var(--mute-2); }
.field__count.is-over { color: var(--blood); font-weight: 700; }
.form--dark .field__count.is-over { color: var(--blood-hi); }
.field__error { display: flex; gap: 6px; font-size: .9375rem; font-weight: 700; color: #A3141C; line-height: 1.45; }
.form--dark .field__error { color: var(--blood-hi); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: currentColor; color: #fff; font-size: .8rem; font-weight: 900; }
.form--dark .field__error::before { color: var(--ink); background: var(--blood-hi); }

.check { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; align-items: start; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; width: 28px; height: 28px; cursor: pointer;
  border: 2px solid #5A5C62; border-radius: 3px; background: #fff; display: grid; place-items: center;
}
.check input::after { content: ""; width: 14px; height: 8px; border: 3px solid #fff; border-top: 0; border-inline-end: 0; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .12s var(--ease-out); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--blood); box-shadow: 0 0 0 1px var(--blood); }
.check label { padding-top: 2px; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.check .field__error { grid-column: 2; }
.form--dark .check input { background: var(--ink); border-color: #8A8C92; }
.form--dark .check input:checked { background: var(--yellow); border-color: var(--yellow); }
.form--dark .check input:checked::after { border-color: var(--ink); }
.form--dark .check input[aria-invalid="true"] { border-color: var(--blood-hi); box-shadow: 0 0 0 1px var(--blood-hi); }
.form--dark a { color: var(--blood-hi); }

.form__summary { padding: 14px 16px; border-inline-start: 5px solid var(--blood); background: #fff; color: #A3141C; font-weight: 800; }
.form--dark .form__summary { background: var(--ink); color: var(--blood-hi); border-color: var(--blood-hi); }
.form__micro { font-size: .9375rem; color: #4A4C52; text-align: center; margin-top: -4px; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; background: #fff; border-inline-start: 5px solid var(--blood); color: #A3141C; font-weight: 700; }
.form--dark .form__status { background: var(--ink); color: var(--blood-hi); border-color: var(--blood-hi); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.turnstile:empty { display: none; }

/* ---------- share buttons ---------- */
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.sbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 52px; padding: 8px 8px;
  font: 700 .9375rem/1.2 var(--f-body); white-space: nowrap; color: #fff; text-decoration: none;
  background: var(--ink-3); border: 2px solid var(--ink-3); border-radius: var(--radius);
  transition: background-color .2s, border-color .2s;
}
.sbtn:hover { border-color: #fff; }
.sbtn--wa { background: var(--wa); border-color: var(--wa); grid-column: 1 / -1; font-size: 1.1875rem; }
.share-btns > :nth-child(4) { grid-column: 1 / -1; }
.sbtn--wa:hover { background: #17824A; border-color: #17824A; }
.share-btns--light .sbtn:not(.sbtn--wa) { background: #fff; color: var(--ink); border-color: var(--ink); }
.share-btns--light .sbtn:not(.sbtn--wa):hover { background: var(--ink); color: #fff; }
.follow { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--mute); }
.follow a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; font-weight: 700; }

/* ---------- success states ---------- */
.done { margin-top: 24px; }
.done__title { font: 700 clamp(2.25rem, 1.7rem + 2vw, 3rem)/1.05 var(--f-display); margin-bottom: 12px; }
.done__title:focus { outline: none; }
.done__shapes { width: 108px; height: 36px; margin-bottom: 18px; overflow: visible; }
.done__shapes use { transform-box: fill-box; transform-origin: 50% 100%; }

/* ---------- header ---------- */
.site-header {
  /* sticks to the very top; on phones where the page runs under the status bar, the header grows by that much, so nothing shows above it */
  position: sticky; top: 0; z-index: 60; box-sizing: border-box; height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  background: var(--ink);   /* one solid colour, no blur: Safari extends it behind the status bar (it won't for a blurred or see-through bar) */
  border-bottom: 2px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--blood); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: none; margin-inline: auto; gap: 2px; }
.nav a { padding: 10px 12px; font-size: 1rem; font-weight: 500; color: var(--mute); text-decoration: none; border-radius: 2px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="true"] { color: #fff; }
.nav a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--blood); }
.site-header__cta { display: none; white-space: nowrap; }
.menu-btn { margin-inline-start: 0; }
.social { display: flex; gap: 6px; margin-inline-start: auto; }
.sicon {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 10px;
  color: #fff; font-weight: 700; font-size: .9375rem; text-decoration: none;
  border: 2px solid rgb(255 255 255 / .28); border-radius: var(--radius); transition: border-color .2s, background-color .2s;
}
.sicon .i { width: 22px; height: 22px; }
.sicon:hover { border-color: #fff; background: rgb(255 255 255 / .06); }
.sicon__label { display: none; }
@media (min-width: 1360px) { .sicon__label { display: inline; } .sicon { padding: 0 12px; } }
@media (min-width: 640px) {
  .site-header__cta { display: inline-flex; }
}
@media (min-width: 900px) { .brand img { height: 50px; } }
@media (min-width: 1140px) and (max-width: 1279px) { .nav a { padding-inline: 9px; } }   /* seven links, the logo and the buttons fit from 1140px */
@media (min-width: 1140px) {
  .nav { display: flex; margin-inline-end: 8px; }
  .social { margin-inline-start: 0; }
  .menu-btn { display: none; }
}
.progress { position: absolute; inset-inline: 0; bottom: -2px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--blood); transform-origin: right; transform: scaleX(0); }

/* ---------- mobile menu ---------- */
.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 0 max(24px, env(safe-area-inset-bottom));
  border: 0; background: var(--ink-2); color: #fff; overflow-y: auto;
}
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: rgb(0 0 0 / .6); }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 60px; padding-inline: var(--gutter); border-bottom: 1px solid var(--ink-3); }
.menu__top img { height: 42px; width: auto; }
.menu__list { padding: 20px var(--gutter); }
.menu__list a { display: flex; align-items: center; gap: 16px; min-height: 64px; font: 700 2.5rem/1 var(--f-display); text-decoration: none; }
.menu__list svg { width: 28px; height: 28px; flex: none; overflow: visible; }
.menu__ctas { display: grid; gap: 12px; margin-top: auto; padding: 16px var(--gutter) 0; }
.menu__social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: menu-in .28s var(--ease-out); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }

/* ---------- floating action dock (mobile) ---------- */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
  background: var(--ink);   /* solid, for the same reason as the header: Safari extends it under its bottom bar */
  border-top: 2px solid var(--blood);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s var(--ease-out), visibility 0s .3s;
}
.dock .btn { min-height: 48px; padding: 8px 12px; box-shadow: none; }
.dock.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease-out), visibility 0s; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom));
  translate: -50% 0; max-width: calc(100% - 32px);
  padding: 12px 18px; background: var(--yellow); color: var(--ink); font-weight: 800; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(0 0 0 / .4);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: none; }
.toast:empty { display: none; }

/* ---------- footer ---------- */
.footer { padding-block: 56px calc(40px + 72px); background: #0B0C0E; border-top: 1px solid var(--ink-3); color: var(--mute); font-size: 1rem; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }
.footer__grid { display: grid; gap: 28px; }
.footer__follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 28px; border-bottom: 1px solid var(--ink-3); }
.footer__follow-title { font: 700 clamp(2rem, 1.6rem + 1.4vw, 2.75rem)/1 var(--f-display); color: #fff; }
.footer__follow-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .footer__follow-btns { width: 100%; } .footer__follow-btns .btn { flex: 1 1 0; } }
.footer__brand { display: flex; gap: 18px; align-items: center; }
.footer__brand img { width: 152px; height: auto; flex: none; }
.footer__brand p { color: #fff; font-weight: 500; max-width: 34ch; }
.footer__nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer__nav a { display: inline-flex; min-height: 44px; align-items: center; color: #fff; }
.footer__legal { padding: 18px 20px; border: 1px solid var(--ink-3); border-inline-start: 4px solid var(--yellow); color: #E4E5E8; font-size: .9375rem; line-height: 1.65; max-width: 80ch; }
.footer__meta, .footer__copy { font-size: .9375rem; color: var(--mute); }
.footer__meta a { color: #fff; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; align-items: start; column-gap: 64px; }
  .footer__legal, .footer__follow { grid-column: 1 / -1; }
}

/* ---------- inner pages ---------- */
.page { padding-block: clamp(48px, 8vw, 112px); }
.page h1 { font: 700 var(--t-h2)/1 var(--f-display); margin-bottom: 28px; }
.page .prose { font-size: 1.0625rem; }
.page .prose h2 { font: 900 1.375rem/1.3 var(--f-body); margin: 2em 0 .5em; }
.page .prose ul { padding-inline-start: 1.2em; }
.page .prose li + li { margin-top: .4em; }
.note-draft { margin-bottom: 28px; padding: 14px 16px; border-inline-start: 4px solid var(--yellow); background: var(--ink-2); color: var(--mute); font-size: .9375rem; }

/* ---------- reveal on scroll (JS only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
