@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/art/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  --ink: #131516;
  --paper: #f8f8ff;
  --accent: #ef5d60;
  --accent-soft: #f89496;
  --text: #bcbec5;
  --dim: #999da6;
  --surface: #1c1e20;
  --gutter: clamp(24px, 5vw, 80px);
  --section-gap: clamp(72px, 8vw, 120px);
  --measure: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--ink); scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--paper); font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden], .hp { display: none !important; }
::selection { color: var(--ink); background: var(--accent-soft); }
:where(a, button, input, [tabindex]):focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 5px; }
/* Programmatic focus targets (skip link, header links, confirmation) need no ring. */
[tabindex="-1"]:focus { outline: none; }
.accent { color: var(--accent); }
.wrap { width: min(var(--measure), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-gap); }
.title { font-size: clamp(1.9rem, 3.3vw, 2.75rem); line-height: 1.22; letter-spacing: -.065em; text-wrap: balance; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; font-size: 1.1rem; font-weight: 700; letter-spacing: -.055em; }
.brand img { flex: 0 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; border-radius: 6px; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* One decorative layer; no blur, blend modes or moving content. */
.backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 75%, transparent); }
.backdrop__art { position: absolute; top: -80px; right: 0; width: min(70vw, 1100px); height: calc(100% + 160px); max-width: none; object-fit: cover; opacity: .085; mask-image: linear-gradient(to right, transparent, #000 85%); }
main, .footer { position: relative; z-index: 1; }

/* Keep the element mounted so its exit is as considered as its entrance. */
.header { position: fixed; inset: 0 0 auto; z-index: 5; background: #191b1d; box-shadow: 0 8px 32px #0003; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity 240ms ease, transform 380ms var(--ease), visibility 0s linear 380ms; }
.header.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; padding-block: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; padding: 16px 24px; border: 0; border-radius: 7px; background: var(--accent); color: var(--ink); font-size: .875rem; font-weight: 700; line-height: 1.5; text-align: center; transition: background-color 220ms ease, transform 220ms var(--ease); }
.button:disabled { opacity: .7; cursor: wait; }
.button--full { width: 100%; }
.button > span { min-width: 0; overflow-wrap: anywhere; }
.header__nav { display: flex; gap: 8px; margin-left: auto; }
.header__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; color: var(--text); font-size: .8125rem; transition: color 220ms ease; }
.header__cta { min-height: 44px; padding: 12px 16px; font-size: .75rem; }

/* Content is readable on the first paint, without reveal scripts. */
.hero { padding-block: 42px 100px; }
.hero__brand { margin-left: -7px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 4vw, 60px); align-items: center; padding-top: 65px; }
h1 { max-width: 16ch; font-size: clamp(2.6rem, 4.6vw, 4.1rem); font-weight: 700; line-height: 1.11; letter-spacing: -.072em; text-wrap: balance; }
h1 .accent, .nobr { display: inline-block; max-width: 100%; }
h1, h2, h3 { overflow-wrap: anywhere; }
.hero__intro { margin-top: 30px; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.65; letter-spacing: -.025em; }
.hero__text { margin-top: 16px; color: var(--text); font-size: .875rem; line-height: 1.85; }
.hero__claim { margin-top: 28px; font-size: .9375rem; font-weight: 500; line-height: 1.7; letter-spacing: -.025em; }
.hero__cta { margin-top: 30px; }
.findings > h2 { margin: 0 0 20px; color: var(--text); font-size: .8125rem; font-weight: 400; letter-spacing: -.025em; }
.findings__list { display: grid; grid-auto-rows: 1fr; gap: 12px; }
.finding { display: flex; flex-direction: column; justify-content: center; padding: 22px 26px; border-radius: 9px; background: linear-gradient(115deg, #ef5d6009, transparent 60%), #1c1e20f2; transition: transform 280ms var(--ease); }
.finding, .card { position: relative; }
.finding::after, .card::after { content: ''; position: absolute; inset: 0; pointer-events: none; border: 1px solid #f8949659; border-radius: inherit; opacity: 0; transition: opacity 280ms ease; }
.finding h3 { font-size: .875rem; line-height: 1.6; font-weight: 500; letter-spacing: -.025em; }
.finding__detail { color: var(--accent-soft); }
.finding p { margin-top: 8px; color: var(--text); font-size: .8125rem; line-height: 1.75; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.card { display: flex; flex-direction: column; align-items: start; padding: 30px; border-radius: 9px; background: #202224; }
.card h3 { font-size: 1rem; font-weight: 500; letter-spacing: -.045em; line-height: 1.5; }
.card p { margin-top: 14px; color: var(--text); font-size: .875rem; line-height: 1.9; }
.request { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 4vw, 60px); align-items: center; }
.request .title { max-width: 18ch; }
.request__text { margin-top: 26px; color: var(--text); font-size: .9375rem; line-height: 1.85; }
.request__note { margin-top: 28px; color: var(--dim); font-size: .8125rem; line-height: 1.85; }
.panel { padding: clamp(24px, 3vw, 40px); border-radius: 12px; background: var(--surface); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field > label { font-size: .8125rem; }
.field > input { width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px; border: 2px solid transparent; border-radius: 6px; background: #2b2e31; color: var(--paper); font-size: 1rem; line-height: 1.5; }
.field > input::placeholder { color: #a3a6ad; opacity: 1; }
.field > input:focus { background: #303337; }
.field > input[aria-invalid="true"] { border-color: var(--accent-soft); }
input:-webkit-autofill { -webkit-text-fill-color: var(--paper); -webkit-box-shadow: inset 0 0 0 100px #2b2e31; caret-color: var(--paper); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; padding-block: 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check span { color: var(--text); font-size: .8125rem; line-height: 1.7; }
.check input[aria-invalid="true"] { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.field__error, .form__error { color: var(--accent-soft); font-size: .8125rem; line-height: 1.65; }
.field__error:empty, .form__status:empty { display: none; }
.form__status { color: var(--text); font-size: .8125rem; }
.done { padding-block: 42px; }
.done__mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 1.5rem; }
.done h3 { font-size: 1.2rem; }
.done p { margin-top: 14px; color: var(--text); font-size: .875rem; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; padding-bottom: 36px; color: var(--dim); font-size: .75rem; }
.footer .brand { color: var(--paper); font-size: .875rem; gap: 6px; }

@media (hover: hover) {
  .button:not(:disabled):hover { background: var(--accent-soft); transform: translateY(-1px); }
  .brand:hover, .header__nav a:hover { color: var(--accent-soft); }
  .finding:hover::after, .card:hover::after { opacity: 1; }
  .finding:hover { transform: translateY(-2px); }
}
.button:not(:disabled):active { transform: translateY(0); }
@media (min-width: 1600px) {
  .hero { padding-bottom: 120px; }
  .hero__inner { padding-top: 88px; }
}
@media (max-width: 1100px) {
  .hero__inner { gap: 40px; }
  .finding { padding: 20px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request { gap: 44px; }
}
@media (max-width: 800px) {
  .hero { padding-top: 28px; padding-bottom: 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 52px; padding-top: 42px; }
  h1 { max-width: 17ch; font-size: clamp(2.5rem, 7.5vw, 3.9rem); }
  .findings__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finding { padding: 22px; }
  .request { grid-template-columns: 1fr; gap: 36px; }
  .request .title { max-width: 23ch; }
  .panel { width: 100%; }
  .header__inner { gap: 16px; min-height: 68px; padding-block: 10px; }
  .header__nav { display: none; }
  .header .brand { font-size: .9rem; gap: 4px; }
  .header .brand img { width: 32px; height: 32px; }
  .header__cta { margin-left: auto; font-size: .75rem; }
  .footer > span:nth-child(2) { order: 1; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .hero__inner { padding-top: 36px; gap: 48px; }
  h1 { font-size: clamp(2rem, 8.8vw, 3rem); }
  .hero__intro { margin-top: 26px; }
  .hero__claim { font-size: .875rem; }
  .hero__cta { width: 100%; padding-inline: 14px; font-size: .8125rem; }
  .findings__list, .cards { grid-template-columns: 1fr; }
  .finding { padding: 20px; }
  .findings > h2 { margin-bottom: 16px; }
  .cards { gap: 12px; margin-top: 30px; }
  .card { padding: 26px; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: .8125rem; }
  .header__cta-tail { display: none; }
  .panel { padding: 24px; }
  .request__text { font-size: .875rem; }
  .footer { padding-bottom: 28px; }
}
@media (max-width: 380px) {
  .header .brand span { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__lede { animation: settle-in 650ms var(--ease) backwards; }
  .findings { animation: settle-in 750ms var(--ease) backwards; }
  .motion-enter { animation: settle-in 650ms var(--ease) both; }
  .motion-enter:nth-child(2), .motion-enter:nth-child(5) { animation-duration: 750ms; }
  .motion-enter:nth-child(3), .motion-enter:nth-child(6) { animation-duration: 850ms; }
}
@keyframes settle-in {
  from { opacity: .65; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .backdrop__art { transform: none !important; }
  .button:not(:disabled):hover, .finding:hover { transform: none; }
}
@media (max-width: 800px), (pointer: coarse) {
  .backdrop__art { width: 100%; opacity: .065; }
}
@media (forced-colors: active) {
  .button, .finding, .card, .panel { border: 1px solid CanvasText; }
  .field > input { border-color: CanvasText; }
}
