/* Andrej Ambróz – premium studio site. Ink ground, cool white paper bands, one signal-red accent. */

/* Self-hosted: no request to Google, so no visitor data leaves the site (GDPR). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0b0b0c;
  --text: #f2f3f5;
  --muted: #9a9ca3;
  --line: rgba(242, 243, 245, 0.14);
  --paper: #f3f4f6;
  --paper-text: #0d0e11;
  --paper-muted: #545964;
  --paper-line: rgba(13, 14, 17, 0.14);
  --accent: #ff3b2f;
  --accent-hover: #ff5a4f;
  --accent-text: #ff5a4f; /* accent for small text on ink, 6:1 */
  --accent-on-paper: #d61f16; /* red that keeps 4.5:1 on the paper band */
  --accent-ink: #0b0b0c;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(96px, 14vw, 200px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display: clamp(3rem, 8.4vw, 6rem);
  --h2: clamp(2.1rem, 4.6vw, 3.75rem);
  --h3: clamp(1.15rem, 1.6vw, 1.35rem);
  --lede: clamp(1.1rem, 1.5vw, 1.3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--accent-ink); }
html { scrollbar-color: #3a3a3d var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a3a3d; border-radius: 10px; border: 2px solid var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-stretch: 112%; font-weight: 640; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
ol, ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }
.lede { font-size: var(--lede); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons. Hover: a fill rises from the bottom, the label rolls up (app.js wraps it in .roll),
   and on a mouse the button leans toward the pointer. */
.btn, .btn-rect {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font: 600 1rem/1 var(--f); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), transform 0.4s var(--ease-out);
}
.btn::before, .btn-rect::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before, .btn-rect:hover::before, .btn-rect:focus-visible::before { transform: translateY(0); }
.btn .ico, .btn-rect .ico { transition: transform 0.5s var(--ease-out); }
.btn:hover .ico, .btn-rect:hover .ico { transform: translateX(5px); }
.btn:active, .btn-rect:active { transform: scale(0.97); }

.btn { padding: 0.95em 1.5em; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.btn::before { background: var(--text); }
.btn-small { padding: 0.75em 1.2em; font-size: 0.9375rem; }
.btn-ink { background: var(--ink); color: var(--text); }
.btn-ink:hover, .btn-ink:focus-visible { color: var(--ink); background: var(--text); } /* flips at once: ink-on-ink must never show mid-transition */

/* Rectangular outline button: fills with the accent on hover */
.btn-rect { padding: 1.05em 1.6em; border: 1px solid currentColor; border-radius: 2px; background: none; color: var(--text); }
.btn-rect::before { background: var(--accent); }
.btn-rect:hover, .btn-rect:focus-visible { color: var(--accent-ink); border-color: var(--accent); }
.paper .btn-rect { color: var(--paper-text); }

.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll > span { display: inline-block; transition: transform 0.55s var(--ease-out); }
.roll::after {
  content: attr(data-t); position: absolute; left: 0; top: 0; white-space: nowrap;
  transform: translateY(110%); transition: transform 0.55s var(--ease-out);
}
:is(.btn, .btn-rect):is(:hover, :focus-visible) .roll > span { transform: translateY(-110%); }
:is(.btn, .btn-rect):is(:hover, :focus-visible) .roll::after { transform: translateY(0); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-width: 48px; min-height: 48px; padding: 0 1em; border-radius: 999px;
  border: 1px solid currentColor; background: none; color: inherit; font: 500 1rem var(--f); cursor: pointer; opacity: 0.75;
  transition: opacity 0.2s;
}
.btn-ghost:hover { opacity: 1; }
[aria-busy="true"] button[type="submit"] { pointer-events: none; }
[aria-busy="true"] fieldset:not([hidden]) button[type="submit"]::after {
  content: ""; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
[aria-busy="true"] fieldset:not([hidden]) button[type="submit"] .ico { display: none; }
@keyframes spin { to { transform: rotate(1turn); } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color 0.4s, backdrop-filter 0.4s, transform 0.5s var(--ease-out);
}
.nav.is-solid { background: rgba(11, 11, 12, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
@media (max-width: 900px) { .nav.is-hidden { transform: none; } }
.wordmark { font-stretch: 118%; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; font-size: 1.0625rem; }
.nav-right { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav ul { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.nav ul a { text-decoration: none; color: var(--muted); font-size: 0.9375rem; transition: color 0.2s; }
.nav ul a:hover { color: var(--text); }
@media (max-width: 900px) { .nav nav { display: none; } }

/* Tunnel canvas */
.tunnel-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid; align-content: end;
  padding: 140px var(--gutter) clamp(40px, 6vw, 72px);
  position: relative;
}
.hero::before { /* keeps text legible over the tunnel's bright rim */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 11, 12, 0.86) 0%, rgba(11, 11, 12, 0.5) 55%, rgba(11, 11, 12, 0) 100%);
}
.hero-inner { width: min(100%, var(--max)); margin-inline: auto; }
.hero-title { font-size: var(--display); max-width: 11ch; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w > span { display: inline-block; }
.hero-lede { margin-top: clamp(20px, 2.4vw, 32px); font-size: var(--lede); line-height: 1.5; color: #c4c7ce; max-width: 52ch; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-size: 0.875rem;
}
.ico-down { transform: rotate(90deg); }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* Lead forms */
.lead fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lead-hero { margin-top: clamp(32px, 4vw, 48px); max-width: 640px; }
.lead-q { display: block; font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 500; margin-bottom: 14px; }
.lead-row { display: flex; gap: 10px; align-items: stretch; }
.lead input {
  width: 100%; min-width: 0; font: 400 1.125rem/1.2 var(--f); color: inherit;
  padding: 0.85em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(242, 243, 245, 0.06); transition: border-color 0.2s, background-color 0.2s;
}
.lead input::placeholder { color: #8e9199; }
.lead input:hover { border-color: rgba(242, 243, 245, 0.3); }
.lead input:focus { outline: none; border-color: var(--accent); background: rgba(242, 243, 245, 0.09); }
.lead input[aria-invalid="true"] { border-color: #ff8a6b; }
.lead-progress { font-size: 0.875rem; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.lead-error { min-height: 1.6em; margin-top: 10px; font-size: 0.9375rem; color: #ff8a6b; }
.lead-error:empty { min-height: 0; margin: 0; }
.lead-success:focus { outline: none; }
.lead-note { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.lead-success[hidden] + .lead-note { display: block; }
.lead-success:not([hidden]) ~ .lead-note { display: none; }
.lead fieldset:not([hidden]) { animation: step-in 0.6s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .lead-row { flex-wrap: wrap; }
  .lead-row input { flex: 1 1 100%; order: -1; }
  .lead-row .btn { flex: 1; justify-content: center; }
}

/* Tunnel section. Static list by default; html.motion (set by app.js) turns it into the pinned flight. */
.tunnel { position: relative; }
.tunnel-stage { position: relative; padding-block: var(--section); width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.tunnel-title { max-width: 18ch; margin-bottom: clamp(48px, 6vw, 88px); }
.tunnel-title .muted { color: var(--muted); }
.tunnel-items { display: grid; }
.tunnel-item {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(12px, 6vw, 112px); align-items: baseline;
  padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line);
}
.tunnel-item:last-child { border-bottom: 1px solid var(--line); }
.t-word { position: relative; white-space: nowrap; font-size: clamp(2.6rem, 7vw, 5.5rem); font-stretch: 125%; font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; }
.tunnel-item:first-child .t-word::after { content: " · základ"; font-size: 0.3em; font-stretch: 100%; font-weight: 500; letter-spacing: 0; color: var(--muted); vertical-align: middle; }
.t-copy { display: grid; gap: 10px; }
.t-line { font-size: var(--lede); color: #d2d5db; max-width: 40ch; }
.t-desc { color: var(--muted); max-width: 52ch; }
@media (max-width: 700px) { .tunnel-item { grid-template-columns: 1fr; } }

.motion .tunnel { height: 100svh; }
.motion .tunnel-stage { width: auto; margin: 0; height: 100svh; padding: 0; display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.motion .tunnel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.motion .tunnel-items { display: block; position: relative; width: 100%; height: 100%; }
.motion .tunnel-item {
  position: absolute; inset: 0; grid-template-columns: none; place-content: center; justify-items: center; text-align: center;
  gap: 18px; padding: 0 var(--gutter); border: 0; opacity: 0;
}
.motion .t-copy { justify-items: center; }
.motion .t-line { max-width: 32ch; }
.motion .t-desc { max-width: 44ch; font-size: 1rem; text-shadow: 0 0 18px var(--ink), 0 0 6px var(--ink); }
.motion .t-word { font-size: clamp(4rem, 16vw, 13rem); line-height: 0.9; }
.motion .tunnel-item:first-child .t-word::after { content: none; }
.motion .t-hole { color: var(--accent); }
.tunnel-index { display: none; }
.motion .tunnel-index {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; gap: 8px; font-size: 0.875rem; color: var(--muted);
}
.tunnel-index li { display: flex; align-items: center; gap: 10px; transition: color 0.3s, font-variation-settings 0.3s; }
.tunnel-index li::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width 0.4s var(--ease-out); }
.tunnel-index li.is-active { color: var(--text); font-weight: 700; }
.tunnel-index li.is-active::before { width: 32px; background: var(--accent); }
@media (max-width: 700px) { .motion .tunnel-index { display: none; } }

/* Paper bands */
.paper { background: var(--paper); color: var(--paper-text); }
.paper .lede, .paper .muted { color: var(--paper-muted); }
.paper ::selection { background: var(--ink); color: var(--paper); }

/* Why: each problem is struck through in red as you read, the fix lands under it */
.why { padding-block: var(--section); }
.why-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 112px); align-items: end; margin-bottom: clamp(48px, 7vw, 104px); }
.why-head h2 { font-size: clamp(2.6rem, 5.6vw, 4.75rem); max-width: 14ch; }
.why-head h2 em { font-style: normal; color: var(--accent-on-paper); }
.why-list { border-top: 1px solid var(--paper-line); }
.why-item {
  display: grid; grid-template-columns: clamp(56px, 9vw, 140px) minmax(0, 1fr); column-gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--paper-line);
}
.why-n {
  grid-row: span 2; font-size: clamp(3.5rem, 9vw, 8rem); font-stretch: 125%; font-weight: 700; line-height: 0.8;
  letter-spacing: -0.05em; color: var(--accent-on-paper); font-variant-numeric: tabular-nums;
}
.why-problem { font-size: clamp(1.6rem, 3.4vw, 3rem); font-stretch: 110%; font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; max-width: 24ch; text-wrap: balance; }
.why-problem .strike {
  --s: 100%;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / var(--s) 0.1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.why-fix { margin-top: clamp(14px, 1.6vw, 22px); font-size: var(--lede); line-height: 1.5; color: var(--paper-muted); max-width: 52ch; }
.why-fix strong { color: var(--paper-text); font-weight: 700; margin-right: 0.5em; }
.why-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 5vw, 72px); }
.why-cta p { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 900px) { .why-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-item { grid-template-columns: 1fr; } .why-n { grid-row: auto; margin-bottom: 12px; font-size: 3rem; } }
/* Test */
.test { padding-block: var(--section); background: var(--ink); }
.test-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.test-head { position: sticky; top: 120px; align-self: start; }
.test-head .lede { margin-top: 24px; }
.test-result { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.test-score { font-size: clamp(3rem, 6vw, 4.5rem); font-stretch: 112%; font-weight: 640; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.test-verdict { margin-top: 12px; color: #c4c7ce; max-width: 36ch; min-height: 3.2em; }
.test-result .btn { margin-top: 20px; }
.test-list li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); }
.test-list li:last-child { border-bottom: 1px solid var(--line); }
.test-list p { font-size: 1.125rem; max-width: 44ch; }
.yn { display: flex; gap: 6px; flex: none; }
.yn button {
  min-width: 64px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: none; color: var(--muted); font: 500 0.9375rem var(--f); cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.yn button:hover { color: var(--text); border-color: rgba(242, 243, 245, 0.35); }
.yn button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.yn button[data-v="0"][aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } .test-head { position: static; } }
@media (max-width: 560px) { .test-list li { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* Process */
.process { padding-block: var(--section); position: relative; }
.process .lede { margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 7vw, 104px); }
.steps li { display: grid; gap: 12px; align-content: start; padding-top: 28px; }
.steps p { color: var(--paper-muted); }
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-text); color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 8px;
}
.steps-line { height: 1px; background: var(--paper-line); margin-top: 40px; overflow: hidden; }
.steps-line span { display: block; height: 100%; width: 100%; background: var(--paper-text); transform-origin: left; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about { padding-block: var(--section); background: var(--ink); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.about-text { display: grid; gap: 24px; }
.about-text h2 { max-width: 16ch; }
.about-text p { color: #c4c7ce; max-width: 60ch; }
.about-text .btn-rect { justify-self: start; margin-top: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-text); text-decoration: none; font-weight: 600; justify-self: start; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow .ico { transition: transform 0.4s var(--ease-out); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
/* Portrait hidden in darkness: one light (--lx/--ly, set by app.js) reveals a circle of the photo. */
.portrait {
  margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ink);
  --lx: 46%; --ly: 34%; --lr: 22%;
  cursor: crosshair; touch-action: pan-y;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; filter: grayscale(0.35) contrast(1.06); }
.portrait::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(11, 11, 12, 0) 0, rgba(11, 11, 12, 0) calc(var(--lr) * 0.35), rgba(11, 11, 12, 0.72) calc(var(--lr) * 0.85), var(--ink) var(--lr));
  transition: background 0.1s linear;
}
.portrait-hint {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; text-align: center;
  font-size: 0.875rem; color: var(--muted); transition: opacity 0.6s var(--ease-out);
}
.portrait.is-lit .portrait-hint { opacity: 0; }
@media (hover: none) { .portrait-hint { display: none; } }
@media (max-width: 900px) { .portrait { max-width: 440px; } }

/* FAQ */
.faq { padding-block: var(--section); background: var(--ink); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); }
.faq h2 { max-width: 12ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 26px; font-size: 1.1875rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform 0.4s var(--ease-out); color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(45deg); color: var(--accent-text); }
.faq details p { padding-bottom: 26px; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* Contact: the page's one drenched moment */
.contact { background: var(--accent); color: var(--accent-ink); padding-block: var(--section); }
.contact ::selection { background: var(--ink); color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 13ch; line-height: 1.08; letter-spacing: -0.02em; font-stretch: 104%; }
.next { margin-top: 40px; display: grid; gap: 12px; counter-reset: n; font-size: 1.125rem; }
.next li { counter-increment: n; display: flex; gap: 14px; }
.next li::before { content: counter(n); font-variant-numeric: tabular-nums; font-weight: 700; min-width: 1ch; }
.lead-contact .lead-q { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.lead-contact input {
  border-radius: 0; border: 0; border-bottom: 2px solid rgba(11, 11, 12, 0.4); background: none;
  padding: 0.5em 0; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--accent-ink);
}
.lead-contact input::placeholder { color: rgba(11, 11, 12, 0.8); }
.lead-contact input:hover { border-color: rgba(11, 11, 12, 0.7); }
.lead-contact input:focus { background: none; border-color: var(--accent-ink); }
.lead-contact input[aria-invalid="true"] { border-color: var(--accent-ink); border-bottom-style: dashed; }
.lead-contact .lead-progress, .lead-contact .lead-note { color: rgba(11, 11, 12, 0.82); }
.lead-contact .lead-error { color: var(--accent-ink); font-weight: 600; }
.lead-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.lead-contact .btn-ghost { opacity: 0.85; }
.contact :focus-visible { outline-color: var(--accent-ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Admin lead board */
.admin { padding-block: 64px var(--section); display: grid; gap: 32px; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-head h1 { font-size: var(--h2); }
.admin-login { max-width: 560px; }
.admin-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-filter { display: inline-flex; gap: 8px; align-items: center; margin-right: auto; color: var(--muted); }
.admin-list { border-top: 1px solid var(--line); }
.admin-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.admin-item.is-done { opacity: 0.5; }
.admin-who { display: grid; gap: 4px; }
.admin-who strong { font-size: 1.25rem; }
.admin-tag { color: var(--accent-text); font-size: 0.875rem; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.admin-done { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.admin input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }

/* Legal page */
.legal { padding-block: 160px var(--section); max-width: 72ch; display: grid; gap: 16px; }
.legal h1 { font-size: var(--h2); margin-bottom: 8px; }
.legal h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 32px; }
.legal p { color: #c4c7ce; }

/* Footer */
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a { text-decoration-color: rgba(242, 243, 245, 0.35); }
.footer a:hover { color: var(--accent-text); }
.footer { background: var(--ink); padding-block: 48px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: baseline; font-size: 0.9375rem; }

@media (prefers-reduced-motion: reduce) {
  html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
