/* Layout: editorial newsroom — cool paper, ink type, one cobalt "editor's pen" accent.
   Wide serif headlines on a 12-col grid, hairline rules between sections, one dark crisis band. */
:root {
  --paper: #EEF0EC;
  --paper-2: #E4E7E2;
  --ink: #0F1218;
  --ink-2: #4B515B;
  --rule: #CDD1CA;
  --cobalt: #2238D6;
  --cobalt-soft: #D8DEF8;
  --alert: #D93A2B;

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--cobalt); color: var(--paper); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 20px;
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: #AEB4C2; }

.h2 {
  margin: 0;
  font: 500 clamp(2.4rem, 5.2vw, 4.4rem)/1 var(--f-display);
  letter-spacing: -.02em;
  text-wrap: balance;
  max-width: 18ch;
}
.h2 em, .hero__title em, .contact__title em { font-style: italic; color: var(--cobalt); }
.h2--light { color: var(--paper); }
.h2--light em { color: #9FB0FF; }

/* ---------- progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 60;
  background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* mark: three lines of text, the middle one is the thesis */
.logo__mark { width: 22px; display: grid; gap: 4px; }
.logo__mark i { display: block; height: 2px; background: var(--ink); transition: width .5s var(--ease-out), background .3s; }
.logo__mark i:nth-child(1) { width: 100%; }
.logo__mark i:nth-child(2) { width: 70%; height: 4px; background: var(--cobalt); }
.logo__mark i:nth-child(3) { width: 45%; }
.logo:hover .logo__mark i:nth-child(2) { width: 100%; }
.logo:hover .logo__mark i:nth-child(3) { width: 80%; }
.logo__word { font: 600 22px/1 var(--f-display); letter-spacing: .18em; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  position: relative; text-decoration: none; font-size: 15px; color: var(--ink-2);
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 16px; }

.lang { display: flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; position: relative; }
.lang__btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-2);
  padding: 7px 10px; border-radius: 999px; transition: background .25s, color .25s;
}
.lang__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --fill: var(--cobalt);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 16px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--bg);
  transition: color .35s, border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
  will-change: transform;
}
/* fill that blooms from the pointer */
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--x, 50%); top: var(--y, 50%);
  width: 0; height: 0; border-radius: 50%;
  background: var(--fill);
  transform: translate(-50%, -50%);
  transition: width .6s var(--ease-out), height .6s var(--ease-out);
}
.btn:hover::before { width: 260%; height: 600%; }
.btn:active { transform: scale(.97); }
/* text roll: the label slides up out of its window and back in from below */
.btn__clip { display: inline-block; overflow: hidden; line-height: 1.25; }
.btn__text { display: inline-block; }
.btn:hover .btn__text { animation: roll .6s var(--ease-out); }
@keyframes roll {
  0% { transform: translateY(0); }
  45% { transform: translateY(-115%); }
  46% { transform: translateY(115%); }
  100% { transform: translateY(0); }
}
.btn__arrow { display: inline-block; transition: transform .45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px) rotate(-45deg); }

.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 20px 32px; font-size: 17px; }
.btn--ink:hover { box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--cobalt) 70%, transparent); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); --fill: var(--cobalt); }
.btn--paper:hover { color: var(--paper); border-color: var(--cobalt); }

.pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--alert); flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--alert);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 110px) clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title {
  margin: 0 0 28px;
  font: 500 clamp(3rem, 7.4vw, 6.6rem)/.95 var(--f-display);
  letter-spacing: -.025em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); animation: rise 1.1s var(--ease-out) forwards; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }
.hero__lead { margin: 0 0 36px; max-width: 52ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin: 0; padding-top: 24px; border-top: 1px solid var(--rule);
}
.hero__facts dt { font: 600 28px/1 var(--f-display); margin-bottom: 8px; }
.hero__facts dt small { font: 500 13px var(--f-mono); color: var(--ink-2); letter-spacing: .06em; }
.hero__facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* the clipping: a news item being re-edited */
.clip {
  position: relative; margin: 0;
  background: #FBFBF8;
  border: 1px solid var(--rule);
  padding: 28px 28px 24px;
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -30px rgba(15, 18, 24, .28);
  transform: rotate(1.2deg);
  transition: transform .8s var(--ease-out);
}
.clip:hover { transform: rotate(0deg) translateY(-4px); }
.clip::before {
  content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1;
  border: 1px solid var(--rule); background: var(--paper-2);
}
.clip__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.clip__src { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.clip__tag { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.clip__headline {
  margin: 22px 0 26px; min-height: 4.3em;
  font: 600 clamp(1.5rem, 2.3vw, 2rem)/1.12 var(--f-display);
  letter-spacing: -.01em;
}
#clipText {
  background-image: linear-gradient(var(--alert), var(--alert));
  background-repeat: no-repeat; background-position: 0 58%; background-size: 0% 2px;
  transition: background-size .8s var(--ease-out), color .4s, opacity .4s;
}
#clipText.is-struck { background-size: 100% 2px; color: var(--ink-2); }
#clipText.is-out { opacity: 0; }
#clipText.is-good { background: linear-gradient(transparent 62%, var(--cobalt-soft) 62%); }
.caret { display: inline-block; width: 2px; height: .9em; margin-left: 2px; background: var(--cobalt); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.clip__meter-row { display: flex; justify-content: space-between; gap: 12px; font: 400 12px/1.3 var(--f-mono); color: var(--ink-2); margin-bottom: 10px; }
.clip__tone { color: var(--alert); font-weight: 500; transition: color .4s; }
.clip__tone.is-good { color: var(--cobalt); }
.clip__bar { height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.clip__bar span { display: block; height: 100%; width: 22%; background: var(--alert); border-radius: 3px; transition: width 1.2s var(--ease-out), background .6s; }
.clip__bar span.is-good { width: 78%; background: var(--cobalt); }
.clip__note { margin-top: 20px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.clip__dots { display: flex; gap: 6px; margin-top: 16px; }
.clip__dots i { width: 18px; height: 2px; background: var(--rule); transition: background .3s, width .3s; }
.clip__dots i.on { background: var(--ink); width: 32px; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--ink); overflow: hidden; padding-block: 18px; background: var(--paper); }
.marquee__track {
  display: flex; width: max-content; animation: marquee 40s linear infinite;
  will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font: 500 italic clamp(1.4rem, 2.4vw, 2rem)/1 var(--f-display); white-space: nowrap;
}
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .55em; color: var(--cobalt); }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section--tint { background: var(--paper-2); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); }

/* services */
.svc { border-top: 1px solid var(--ink); }
.svc__row {
  position: relative;
  display: grid; grid-template-columns: 140px minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px;
  padding-block: 44px; border-bottom: 1px solid var(--rule);
}
.svc__row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--cobalt);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.svc__row:hover::before { transform: scaleX(1); }
.svc__tag { margin: 6px 0 0; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.svc__title {
  margin: 0 0 14px; font: 500 clamp(1.9rem, 3.2vw, 2.7rem)/1.02 var(--f-display); letter-spacing: -.015em;
  transition: transform .5s var(--ease-out);
}
.svc__row:hover .svc__title { transform: translateX(8px); }
.svc__main p { margin: 0; max-width: 46ch; color: var(--ink-2); }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.svc__list li { padding: 11px 0; border-bottom: 1px dashed var(--rule); font-size: 15px; display: flex; gap: 12px; }
.svc__list li::before { content: "—"; color: var(--cobalt); }
.svc__list li:last-child { border-bottom: 0; }

/* tabs */
.tabs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tabs__list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.tabs__tab {
  appearance: none; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink-2);
  padding: 18px 0; border-bottom: 1px solid var(--rule);
  font: 500 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--f-display); letter-spacing: -.015em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .3s, padding .5s var(--ease-out);
}
.tabs__tab::after { content: "→"; font: 400 20px var(--f-body); opacity: 0; transform: translateX(-12px); transition: .4s var(--ease-out); }
.tabs__tab:hover { color: var(--ink); padding-left: 10px; }
.tabs__tab[aria-selected="true"] { color: var(--ink); font-style: italic; padding-left: 10px; }
.tabs__tab[aria-selected="true"]::after { opacity: 1; transform: none; color: var(--cobalt); }
.tabs__panel { padding-top: 8px; }
.tabs__panel:not([hidden]) { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.tabs__lead { margin: 0 0 32px; font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--f-display); max-width: 28ch; }
.tasks { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tasks li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--rule); font-size: 17px;
}
.tasks li::before { content: "✓"; color: var(--cobalt); font-weight: 600; }

/* steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--ink);
}
.steps li { padding: 28px 24px 8px 0; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps__n { display: block; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--cobalt); margin-bottom: 40px; }
.steps h3 { margin: 0 0 10px; font: 600 1.6rem/1.05 var(--f-display); }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* crisis band */
.crisis {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(80px, 10vw, 140px);
  position: relative; overflow: hidden;
}
.crisis::before {
  content: "24"; position: absolute; right: -2vw; bottom: -12vw; pointer-events: none;
  font: 600 italic 46vw/1 var(--f-display); color: transparent;
  -webkit-text-stroke: 1px rgba(238, 240, 236, .09);
}
.crisis__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; position: relative; }
.crisis__text { margin: 28px 0 40px; max-width: 52ch; color: #B9BEC9; font-size: 18px; }
.clock { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(238, 240, 236, .25); }
.clock li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(238, 240, 236, .14); }
.clock__t { font: 500 13px/1.6 var(--f-mono); color: #9FB0FF; letter-spacing: .04em; }
.clock__d { font-size: 16px; }

/* rules */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.rules__item { padding: 36px 40px 36px 0; border-bottom: 1px solid var(--rule); }
.rules__item:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--rule); }
.rules__item h3 { margin: 0 0 10px; font: 600 1.75rem/1.1 var(--f-display); }
.rules__item p { margin: 0; color: var(--ink-2); max-width: 44ch; }

/* faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font: 500 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--f-display);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cobalt); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq__a { padding: 0 48px 28px 0; color: var(--ink-2); max-width: 62ch; }
.faq details[open] .faq__a { animation: panelIn .5s var(--ease-out); }

/* contact */
.contact__head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 72px); }
.contact__title {
  margin: 0 0 24px;
  font: 500 clamp(2.8rem, 6.6vw, 5.8rem)/.98 var(--f-display); letter-spacing: -.025em; text-wrap: balance;
}
.contact__lead { margin: 0; max-width: 54ch; color: var(--ink-2); font-size: 18px; }
.msgr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }.msgr__card { position: relative; }
.msgr__link {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 6px; padding: 28px 28px 30px; min-height: 250px; align-content: start;
  border: 1px solid var(--ink); border-radius: 4px; text-decoration: none;
  background: var(--paper);
  transition: color .45s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s;
}
.msgr__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.msgr__link:hover { color: var(--paper); transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(15, 18, 24, .5); }
.msgr__link:hover::before { transform: translateY(0); }
.msgr__icon {
  width: 34px; height: 34px; margin-bottom: 36px;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease-out), stroke .3s;
}
.msgr__link:hover .msgr__icon { transform: rotate(-12deg) scale(1.1); stroke: #9FB0FF; }
.msgr__name { font: 600 2rem/1 var(--f-display); }
.msgr__handle { font: 400 14px/1.4 var(--f-mono); opacity: .75; overflow-wrap: anywhere; }
.msgr__go { margin-top: 24px; font-size: 15px; font-weight: 500; }
.msgr__copy {
  position: absolute; top: 22px; right: 22px;
  appearance: none; cursor: pointer; border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2);
  font: 500 11px/1 var(--f-mono); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s;
}
.msgr__copy:hover { background: var(--cobalt); color: var(--paper); border-color: var(--cobalt); }

/* lead form */
.lead {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink);
}
.lead__title { margin: 0 0 16px; font: 500 clamp(1.9rem, 3vw, 2.6rem)/1.05 var(--f-display); letter-spacing: -.015em; }
.lead__intro p { margin: 0 0 14px; color: var(--ink-2); max-width: 36ch; }
.lead__nda { font: 400 12px/1.5 var(--f-mono); letter-spacing: .02em; }
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { padding: 0; font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field__input {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 18px/1.4 var(--f-body);
  transition: border-color .3s, box-shadow .3s;
}
.field__input::placeholder { color: color-mix(in srgb, var(--ink-2) 65%, transparent); }
.field__input:focus { outline: none; border-bottom-color: var(--cobalt); box-shadow: 0 1px 0 var(--cobalt); }
.field__input--area { resize: vertical; min-height: 110px; }
.field.is-invalid .field__input { border-bottom-color: var(--alert); box-shadow: 0 1px 0 var(--alert); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 999px;
  font-size: 15px; background: transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: none; width: 20px; height: 20px; border: 1px solid var(--ink); border-radius: 3px; position: relative;
  transition: background .2s, border-color .2s;
}
.check__box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease-out);
}
.check input:checked + .check__box { background: var(--alert); border-color: var(--alert); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form__status { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 44ch; }
.form__status.is-ok { color: var(--cobalt); }
.form__status.is-err { color: var(--alert); }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form__legal { margin: -8px 0 0; font-size: 13px; color: var(--ink-2); }
.form__legal a { color: var(--ink); }
.foot__links { display: flex; flex-wrap: wrap; gap: 24px; }
.form.is-sent .btn__arrow { transform: none; }

/* footer */
.foot { padding-block: 40px 32px; border-top: 1px solid var(--ink); overflow: hidden; }
.foot__word {
  margin: 0 0 24px; text-align: center; line-height: .8;
  font: 600 clamp(5rem, 24vw, 22rem)/.8 var(--f-display); letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 0% 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.6s var(--ease-out);
}
.foot__word.is-in { background-size: 100% 100%; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.foot__top { text-decoration: none; }
.foot__top:hover { color: var(--cobalt); }

/* floating action (mobile) */
.fab {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 500; font-size: 15px;
  box-shadow: 0 16px 30px -12px rgba(15, 18, 24, .55);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.fab.is-on { transform: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  transform: translate(-50%, 200%); padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 500 13px/1 var(--f-mono);
  transition: transform .45s var(--ease-out); pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .rules .reveal:nth-child(2), .msgr .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3), .rules .reveal:nth-child(3), .msgr .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4), .rules .reveal:nth-child(4) { transition-delay: .24s; }
.steps .reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li, .steps li + li { padding: 28px 24px 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .steps li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .steps__n { margin-bottom: 20px; }
  .svc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc__tag { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__grid, .tabs, .crisis__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .clip { transform: rotate(0); max-width: 560px; }
  .msgr { grid-template-columns: minmax(0, 1fr); }
  .lead { grid-template-columns: minmax(0, 1fr); }
  .msgr__link { min-height: 0; }
  .msgr__icon { margin-bottom: 20px; }
  .fab { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .nav .btn--sm { display: none; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero__facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 12px; }
  .hero__facts dt { margin: 0; font-size: 24px; }
  .hero__actions .btn, .form__foot .btn { width: 100%; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .svc__row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li:nth-child(even) { padding-left: 0; border-left: 0; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .rules__item, .rules__item:nth-child(even) { padding: 28px 0; border-left: 0; }
  .clock li { grid-template-columns: 84px minmax(0, 1fr); }
  .clip { padding: 22px 20px 20px; }
  .clip::before { inset: 8px -6px -8px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; }
}
