/* Udtryk efter Claude Design-projektet "Hackathon fredag den 27." */
:root {
  --bg: #000; --fg: #f5f5f7; --muted: #a1a1a6; --dim: #8e8e93;
  --card: #1c1c1e; --card-2: #111113; --line: #2c2c2e; --line-2: #3a3a3c; --line-3: #48484a;
  --amber: #ffb340; --green: #30d158; --blue: #2997ff; --ink: #3a3a3c;
  --tight: 'Inter Tight', Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, h4, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #6cb6ff; }
::placeholder { color: var(--dim); }
input, textarea, button { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Lyse sektioner. Komponenterne bruger variablerne, så de skifter selv tema.
   Accenten er mørkere på lys baggrund, så kontrasten holder. */
.lt {
  --bg: #f5f5f7; --fg: #1d1d1f; --muted: #6e6e73; --dim: #8e8e93;
  --card: #fff; --line: #d2d2d7; --line-2: #d2d2d7; --line-3: #86868b; --amber: #b25000; --blue: #0066cc; --ink: #3a3a3c;
  background: var(--bg); color: var(--fg);
}
.lt a:hover { color: #004f9e; }
.lt .mood:not([aria-pressed="true"]), .lt .chip:not([aria-pressed="true"]) { background: #fff; }
.m-card--yes .badge--yes { background: var(--bg); color: var(--fg); }

/* Typografi */
.kicker { font-size: 15px; font-weight: 600; color: var(--amber); letter-spacing: 0.01em; }
.h-hero { font-family: var(--tight); font-size: clamp(72px, 20vw, 184px); line-height: 0.9; letter-spacing: -0.05em; font-weight: 800; }
.h-big { font-family: var(--tight); font-size: clamp(56px, 15vw, 128px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 800; }
.h-chapter { font-family: var(--tight); font-size: clamp(44px, 12vw, 96px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.h-section { font-family: var(--tight); font-size: clamp(36px, 10vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.h-rules { font-family: var(--tight); font-size: clamp(32px, 8.5vw, 48px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.lead { font-size: clamp(19px, 4.8vw, 24px); line-height: 1.4; color: var(--muted); }
.lead-big { max-width: 620px; font-size: clamp(21px, 5.4vw, 28px); line-height: 1.35; letter-spacing: -0.01em; color: var(--muted); }
.lead-big strong { color: var(--fg); font-weight: inherit; }
.note { font-size: 15px; color: var(--muted); }
.sub19 { font-size: 19px; color: var(--muted); }
.caps { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.caps--amber { color: var(--amber); }

/* Layout */
.wrap { max-width: 980px; width: 100%; margin: 0 auto; }
.stack { display: flex; flex-direction: column; }
.g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; }
.g20 { gap: 20px; } .g24 { gap: 24px; } .g28 { gap: 28px; } .g32 { gap: 32px; } .g40 { gap: 40px; } .g48 { gap: 48px; }
.chapter { padding: 120px 20px 136px; }
.link-row { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 19px; font-weight: 500; align-self: flex-start; }

/* Fastlåste scener. scenes.js sætter --p fra 0 til 1, mens scenen sidder fast.
   [data-static] (reduceret bevægelse, eller JS kører ikke) viser alt stillestående og færdigt. */
.scene { position: relative; }
.scene--h3 { height: calc(var(--vh, 844px) * 3); }
.scene--h2 { height: calc(var(--vh, 844px) * 2.2); }
.stage { position: sticky; top: 0; height: var(--vh, 844px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
.w { display: inline-block; margin-right: 0.24em; transition: opacity .15s linear; }

.hero-stage { display: grid; align-items: center; justify-content: stretch; background: color-mix(in srgb, #f5f5f7 calc(var(--q) * 100%), #000);
  --a: clamp(0, var(--p, 0) / .3, 1); --b: clamp(0, (var(--p, 0) - .24) / .12, 1); --q: clamp(0, (var(--p, 0) - .86) / .14, 1); }
.hero-stage > .layer { grid-area: 1 / 1; width: 100%; max-width: 980px; margin: 0 auto; }
.hero-a { opacity: calc(1 - var(--a)); transform: translateY(calc(var(--a) * -56px)) scale(calc(1 - var(--a) * .16)); transform-origin: left center; }
.hero-b { opacity: calc(var(--b) * (1 - var(--q))); transform: translateY(calc((1 - var(--b)) * 48px)); }
.premise { font-family: var(--tight); font-size: clamp(32px, 8.6vw, 64px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; }

.n-stage { --a: clamp(0, var(--p, 0) / .55, 1); --b: clamp(0, (var(--p, 0) - .45) / .25, 1); }
.n-num { font-family: var(--tight); font-size: clamp(160px, 52vw, 360px); line-height: 0.82; letter-spacing: -0.07em; font-weight: 800; font-variant-numeric: tabular-nums;
  transform: scale(calc(.4 + var(--a) * .6)); opacity: calc(.25 + var(--a) * .75); transform-origin: left bottom; }
.n-sub { opacity: var(--b); transform: translateY(calc((1 - var(--b)) * 36px)); }
.c-num { font-size: clamp(180px, 60vw, 400px); line-height: 0.8; opacity: 1; transform: scale(calc(.45 + var(--a) * .55)); }

.e-stage { --a: clamp(0, var(--p, 0) / .7, 1); }
.e-title { opacity: var(--a); transform: scale(calc(2.4 - var(--a) * 1.4)); transform-origin: left center; }
/* Knappen kommer ind i samme scene som titlen, så den står på skærmen, når scenen er færdig.
   Den kan få fokus med tastaturet, før den er faded frem, og vises så med det samme. */
.e-close { --c: clamp(0, (var(--p, 0) - .45) / .3, 1); margin-top: 20px; opacity: var(--c); transform: translateY(calc((1 - var(--c)) * 32px)); }
.e-close:focus-within { opacity: 1; transform: none; }
.e-close .lead { max-width: 620px; }
/* Flueben i luften før "Det var det.": fader frem, mens scenen glider ind (--in), og tegnes færdigt, mens den sidder fast.
   (.big kan ikke bruges her: .stage har overflow: hidden og bliver selv tidslinjens scroll-container.) */
.e-check { --f: clamp(0, (var(--in, 1) - .3) / .5, 1); --t: clamp(0, var(--p, 0) / .35, 1); width: clamp(72px, 18vw, 112px); margin-bottom: 20px;
  opacity: var(--f); transform: scale(calc(.7 + var(--f) * .3)); transform-origin: left center; }
.e-check svg { display: block; width: 100%; height: auto; fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.e-check circle { stroke-dasharray: 1; stroke-dashoffset: calc(.35 - var(--t) * .35); stroke: var(--line-3); }
.e-check path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--t)); }

.m-title { transform: scale(calc(1 - var(--p, 0) * .12)) translateY(calc(var(--p, 0) * -24px)); transform-origin: left center; }
.a-stage { --b: clamp(0, (var(--p, 0) - .55) / .25, 1); }
.a-cards { opacity: var(--b); transform: translateY(calc((1 - var(--b)) * 32px)); }

[data-static] .scene { height: auto !important; }
[data-static] .stage { position: relative; height: auto; overflow: visible; padding-top: 112px; padding-bottom: 112px; }
[data-static] .hero-stage { display: flex; flex-direction: column; justify-content: flex-start; gap: 48px; background: #000; }
[data-static] .layer { opacity: 1 !important; transform: none !important; }

/* Animationer: scroll-drevne hvor browseren kan, ellers ingen */
@keyframes rv { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes big { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes breathe { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    /* Kortet er færdigt, så snart fligen er inde, ellers ses fligen ikke */
    .ci { animation: cardIn linear both; animation-timeline: view(inline); animation-range: entry 0% entry 10%; }
    .big { animation: big linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pop { animation: pop .35s ease-out; }
  .spin { animation: spin 1s linear infinite; }
  .nudge { animation: nudge 2.4s ease-in-out infinite; }
  .d1 { animation: breathe 1.8s ease-in-out infinite; }
  .d2 { animation: breathe 1.8s ease-in-out .3s infinite; }
  .d3 { animation: breathe 1.8s ease-in-out .6s infinite; }
  .up { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .up2 { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .up3 { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .3s both; }
}

/* Felter og knapper */
.field-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.field-label--big { font-size: 19px; color: var(--fg); }
.input { height: 56px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); color: var(--fg); padding: 0 18px; font-size: 19px; width: 100%; }
.textarea { min-height: 140px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); color: var(--fg); padding: 18px; font-size: 19px; line-height: 1.4; resize: vertical; width: 100%; }
.textarea--pw { min-height: 200px; border-radius: 24px; padding: 22px; font-family: var(--tight); font-size: clamp(24px, 6.4vw, 34px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 36px; border-radius: 999px; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); font-size: 19px; font-weight: 600; }
.btn:disabled { background: var(--card); color: var(--dim); border-color: var(--line-2); cursor: not-allowed; }
.btn--wide { width: 100%; }
.btn--ghost { min-height: 52px; padding: 0 24px; background: transparent; border: 1.5px solid var(--fg); color: var(--fg); font-size: 17px; align-self: flex-start; }
.error { font-size: 15px; color: var(--amber); text-align: center; min-height: 1.4em; }

/* Login */
.login { min-height: 100vh; padding: 0 20px 120px; }
.login__col { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; padding-top: 88px; }
.count { font-size: 15px; color: var(--muted); align-self: flex-end; }
.rule { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--card-2); border: 1px solid var(--line); transition: background .35s ease, border-color .35s ease; }
.rule svg { flex: none; }
.rule__label { font-size: 19px; line-height: 1.3; font-weight: 600; transition: color .35s ease; }
.rule__hint { font-size: 15px; line-height: 1.4; color: var(--muted); }
.rule.ok { background: rgba(48, 209, 88, 0.12); border-color: rgba(48, 209, 88, 0.55); }
.rule.ok .rule__label { color: var(--green); }
.aside { border-top: 1px solid var(--line); padding-top: 40px; }
.aside h2 { font-family: var(--tight); font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.aside p { font-size: 19px; line-height: 1.5; color: var(--muted); }

/* Topbjælke: skifter tema efter den sektion, den ligger over */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.72); color: var(--fg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); transition: background-color .45s ease, color .45s ease; }
.top[data-bar="light"] { --fg: #1d1d1f; --muted: #6e6e73; --amber: #b25000; background: rgba(245, 245, 247, 0.8); }
.top[data-bar="light"] .progress { background: #d2d2d7; }
.top__row { max-width: 980px; margin: 0 auto; height: 52px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.status.error-state { color: var(--amber); }
.progress { height: 2px; background: #1d1d1f; }
.progress__bar { height: 2px; background: var(--fg); width: 0; transition: width .12s linear; }

/* Åbning og afslutning */
.scroll-hint { margin-top: 24px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.sent { display: flex; align-items: center; gap: 12px; min-height: 60px; font-size: 21px; font-weight: 600; }

/* Stemning: runde knapper */
.moods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; max-width: 760px; }
.mood { aspect-ratio: 1 / 1; border-radius: 50%; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 17px; line-height: 1.25; font-weight: 600; background: transparent; color: var(--fg); border: 2px solid var(--line-3); transition: background .25s ease, color .25s ease, scale .25s ease; }
.mood svg { display: none; }
.mood[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); scale: 1.03; }
.mood[aria-pressed="true"] svg { display: block; }
.mood svg circle { fill: currentColor; }
.mood svg path { stroke: var(--fg); }

/* Valgknapper */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-size: 17px; font-weight: 600; background: transparent; color: var(--fg); border: 1.5px solid var(--line-3); transition: background .2s ease, color .2s ease; text-align: left; }
.chip svg { display: none; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip[aria-pressed="true"] svg { display: block; }
.chip--static { cursor: default; background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Inspirationsvæg */
.wall { padding: 24px 0 128px; }
.wall__head { max-width: 980px; margin: 0 auto; padding: 0 20px 40px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.legend li { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.legend__yes { background: var(--fg); color: #000; }
.legend__maybe { border: 2px dashed var(--amber); color: var(--amber); }
.legend__no { border: 1px solid var(--line-2); color: var(--muted); text-decoration: line-through; }
.group__head { max-width: 980px; width: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.group__title { font-family: var(--tight); font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.group__count { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
/* Under 900 px skal en flig af næste kort altid kunne ses, så det er tydeligt, at rækken fortsætter.
   Kortbredden regnes ud fra rækkens bredde: --n kort fylder rummet fra venstre kant til skærmkanten,
   og brøkdelen af --n er fligen. --k er antallet af hele kort (og dermed mellemrum) før fligen. */
.row { --k: 1; --n: 1.2; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 8px 20px 20px; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .row { --k: 2; --n: 2.25; } } /* to kort først her, ellers bliver de smallere end stemmeknapperne */
@media (min-width: 900px) { .row { flex-wrap: wrap; overflow: visible; max-width: 980px; margin: 0 auto; padding: 8px 0 20px; } .row .card { flex-basis: 304px; } }

.card { flex: 0 0 calc((100% + 20px - 12px * var(--k)) / var(--n)); scroll-snap-align: start; min-height: 268px; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 2px solid var(--card); color: var(--fg); transition: background .3s ease, border-color .3s ease, translate .3s ease; }
.card__badge { height: 26px; display: flex; align-items: center; }
.card h4 { font-family: var(--tight); font-size: 24px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.card[data-state="yes"] { background: var(--fg); border-color: var(--fg); color: #000; translate: 0 -4px; }
.card[data-state="yes"] p { color: var(--ink); }
.card[data-state="maybe"] { border: 2px dashed var(--amber); }
.card[data-state="no"] { background: #000; border-color: var(--line); color: var(--muted); }
.card[data-state="no"] h4 { text-decoration: line-through; text-decoration-thickness: 2px; }
.card[data-state="no"] p { color: var(--dim); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.badge--yes { background: #000; color: var(--fg); }
.badge--maybe { border: 1.5px dashed var(--amber); color: var(--amber); }
.badge--no { border: 1px solid var(--line-2); color: var(--muted); }
.badge--inline { align-self: flex-start; }

.votes { margin-top: auto; display: grid; grid-template-columns: 1.9fr 1fr 0.9fr; gap: 6px; }
.vote { min-height: 44px; border-radius: 999px; font-size: 13px; font-weight: 600; padding: 0 6px; white-space: nowrap; background: var(--line); color: var(--fg); border: 1px solid var(--line); transition: background .2s ease, color .2s ease; }
.card[data-state="yes"] .vote { background: transparent; color: #1d1d1f; border-color: #aeaeb2; }
.vote[data-kind="yes"][aria-pressed="true"] { background: #000; color: var(--fg); border-color: #000; }
.vote[data-kind="maybe"][aria-pressed="true"] { background: var(--amber); color: #000; border-color: var(--amber); }
.vote[data-kind="no"][aria-pressed="true"] { background: var(--fg); color: #000; border-color: var(--fg); }

/* Lave og lære, egne idéer, ambition */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.own-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.own { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 24px; background: var(--card); }
.own__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.own__remove { min-width: 44px; min-height: 44px; border-radius: 999px; background: transparent; border: none; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.own__title { height: 52px; border-radius: 14px; background: #000; border: 1px solid var(--line-2); color: var(--fg); padding: 0 16px; font-family: var(--tight); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; width: 100%; }
.own__title::placeholder { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; } /* mindre end titlen, så eksemplet kan ses helt */
.own__text { min-height: 104px; border-radius: 14px; background: #000; border: 1px solid var(--line-2); color: var(--fg); padding: 14px 16px; font-size: 17px; line-height: 1.45; resize: vertical; width: 100%; }
.ambition-text { min-height: 3.2em; font-family: var(--tight); font-size: clamp(28px, 7.4vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.range { width: 100%; height: 44px; accent-color: var(--fg); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; font-weight: 600; color: var(--muted); }
.range-labels span:last-child { text-align: right; }

/* Match */
.match__section { padding: 128px 20px; }
.match__list { padding: 0 20px 128px; }
.match__intro { max-width: 760px; font-size: clamp(26px, 7vw, 48px); line-height: 1.15; letter-spacing: -0.03em; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.m-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; }
.m-card h3 { font-family: var(--tight); font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.m-card p { font-size: 16px; line-height: 1.45; }
.m-card--yes { background: var(--fg); color: var(--bg); }
.lt .m-card--yes p { color: #a1a1a6; }
.m-card--yes p { color: var(--ink); }
.m-card--maybe { background: var(--card); border: 2px dashed var(--amber); gap: 12px; }
.m-card--maybe h3 { font-size: 26px; }
.m-card--maybe p { color: var(--muted); }
.who { display: flex; flex-wrap: wrap; gap: 8px; }
.who span { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.who__yes { background: var(--fg); color: var(--bg); }
.who__maybe { border: 1.5px dashed var(--amber); color: var(--amber); }
.m-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.m-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.m-list h3 { font-family: var(--tight); font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.m-list p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.m-list__mark { flex: none; font-size: 13px; font-weight: 700; color: var(--amber); }
.shared { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.people__name { font-family: var(--tight); font-size: 22px; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 4px; }
.p-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; background: var(--card); min-width: 0; overflow-wrap: anywhere; }
.p-card h4 { font-size: 17px; line-height: 1.25; font-weight: 700; }
.p-card p { font-size: 14px; line-height: 1.45; color: var(--muted); white-space: pre-wrap; }
.scale { position: relative; padding: 64px 0 24px; }
.scale__track { height: 6px; border-radius: 3px; background: var(--line); }
.scale__marker { position: absolute; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.scale__marker--a { top: 30px; flex-direction: column; }
.scale__marker--b { top: 52px; flex-direction: column-reverse; color: var(--amber); }
.scale__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--fg); border: 4px solid var(--bg); box-sizing: content-box; }
.scale__marker--b .scale__dot { border-radius: 4px; background: var(--amber); transform: rotate(45deg); }
.scale .range-labels { margin-top: 52px; }
.amb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.amb-card { padding: 22px; border-radius: 20px; background: var(--card); display: flex; flex-direction: column; gap: 6px; }
.amb-card p { font-family: var(--tight); font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.match__end { padding: 144px 20px 176px; }
.match__end .h-big { font-size: clamp(56px, 15vw, 128px); }

/* Match, venter */
.waiting { min-height: 100vh; padding: 0 20px; display: flex; flex-direction: column; justify-content: center; }
.waiting__col { max-width: 980px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; padding: 96px 0; }
.dots { display: flex; gap: 12px; }
.dots span { width: 14px; height: 14px; border-radius: 50%; background: var(--fg); }
.dots span:last-child { background: var(--amber); }
.waiting h1 { font-family: var(--tight); font-size: clamp(72px, 20vw, 176px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 800; }
.waiting__who { font-family: var(--tight); font-size: clamp(30px, 8vw, 56px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; color: var(--muted); }
.waiting__text { max-width: 560px; font-size: clamp(19px, 4.8vw, 22px); line-height: 1.45; color: var(--muted); }
