:root { color-scheme: light; --ink: #4a294a; --accent: #862e9c; --soft: #f3d9fa; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Rubik, sans-serif; font-size: 16px; line-height: 1.55; color: var(--ink); background: #fcf8fd; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .2em; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.match-header { max-width: 1000px; margin: auto; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.match-logo { display: flex; align-items: center; min-height: 44px; }
.match-logo img { display: block; width: 156px; height: auto; }
.match-languages { display: flex; gap: 3px; }
.match-languages a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: .875rem; font-weight: 500; }
.match-languages a[aria-current] { color: var(--ink); background: var(--soft); text-decoration: none; }
.match-main { width: min(100% - 32px, 660px); margin: 20px auto 48px; }
.match-intro { margin-bottom: 28px; }
.match-eyebrow { color: var(--accent); font-size: .875rem; font-weight: 500; margin: 0 0 10px; }
h1 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 14px; }
.match-intro p:last-child { margin: 0; }
.match-progress-label { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; margin-bottom: 8px; }
progress { display: block; width: 100%; height: 8px; border: 0; border-radius: 8px; overflow: hidden; background: #eadfeb; accent-color: var(--accent); }
progress::-webkit-progress-bar { background: #eadfeb; }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.match-panel { border: 1px solid #e9dbea; border-radius: 24px; background: white; padding: 24px 20px; margin-top: 20px; box-shadow: 0 12px 40px #4a294a08; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 1.45rem; font-weight: 500; line-height: 1.3; margin-bottom: 18px; padding: 0; width: 100%; }
.match-help { margin: -8px 0 16px; font-size: .95rem; }
.match-options { display: grid; gap: 10px; }
.match-option { display: flex; gap: 12px; align-items: center; min-height: 58px; padding: 15px; border: 1px solid #ad92b1; border-radius: 14px; cursor: pointer; background: #fff; }
.match-option:has(input:checked) { border-color: var(--accent); background: #faf0fd; box-shadow: inset 0 0 0 1px var(--accent); }
.match-option:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.match-option input { margin: 0; width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--accent); }
.match-option input:focus-visible { outline: none; }
.match-field { display: grid; gap: 7px; margin-top: 18px; }
.match-field label { font-weight: 500; }
.match-field input, .match-field select { width: 100%; min-height: 48px; border: 1px solid #ad92b1; border-radius: 10px; padding: 11px 12px; color: var(--ink); background: #fff; }
.match-consents { display: grid; gap: 12px; margin: 24px 0; }
.match-consent { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; cursor: pointer; min-height: 44px; padding: 8px 0; }
.match-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.match-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; }
.match-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 12px; background: var(--accent); color: white; font-weight: 500; cursor: pointer; text-decoration: none; }
.match-back { background: #f7f0f8; color: var(--ink); }
.match-button:disabled { cursor: wait; opacity: .7; }
.match-error { border-left: 4px solid #a51f39; padding: 12px; background: #fff1f3; color: #7e1630; margin: 18px 0 0; }
.match-storage-warning { font-size: .875rem; padding: 12px; background: var(--soft); border-radius: 10px; }
.match-fallback { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; }
.match-success h2 { font-size: 1.8rem; line-height: 1.25; margin-top: 0; }
.match-success a { display: flex; align-items: center; min-height: 44px; margin-top: 18px; }
.match-success a:last-child { font-size: .9rem; }
.match-note { text-align: center; font-size: .8rem; margin-top: 18px; }
.match-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.match-spinner { width: 18px; height: 18px; border: 2px solid #ffffff66; border-top-color: white; border-radius: 50%; animation: match-spin .8s linear infinite; }
.match-step.is-entering { animation: match-enter .18s ease-out; }
@keyframes match-spin { to { transform: rotate(360deg); } }
@keyframes match-enter { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 600px) { .match-main { margin-top: 36px; } .match-panel { padding: 32px; } .match-options { grid-template-columns: 1fr 1fr; } .match-logo img { width: 192px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
