:root {
    color-scheme: light;
    --rq-ink: #171839;
    --rq-muted: #525675;
    --rq-accent: #443bdc;
    --rq-accent-hover: #342bbd;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
    display: flow-root;
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(ellipse at 94% 0%, #dadbff, transparent 48%), #efeffa;
    color: var(--rq-ink);
    line-height: 1.5;
}
[hidden] { display: none !important; }
a { color: var(--rq-accent); text-underline-offset: .18em; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #6155e8; outline-offset: 3px; }
.rq-layout, .rq-footer { width: min(100% - 56px, 1240px); }
.rq-layout {
    margin: clamp(26px, 5vw, 76px) auto;
    display: grid;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 38px);
}
.rq-layout:has(+ .rq-footer) { margin-block-end: 0; }
.rq-footer {
    margin: clamp(21px, 2.65vw, 36px) auto 24px;
    padding: 20px 0 8px;
    border-top: 1px solid #d3d1e9;
}
.rq-footer-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px clamp(18px, 2.6vw, 38px);
}
.rq-footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 13px; }
.rq-footer-brand a, .rq-footer-brand img { display: block; }
.rq-footer-brand small { color: var(--rq-muted); font-size: .8rem; }
.rq-footer p {
    max-width: 47ch;
    margin: 6px 0 0;
    color: var(--rq-muted);
    font-size: .9rem;
}
.rq-footer-break { display: none; }
.rq-footer nav { display: flex; flex-wrap: wrap; align-items: baseline; }
.rq-footer-links {
    justify-content: flex-end;
    gap: 6px 22px;
    font-size: .9rem;
}
.rq-footer-links a { color: #342b8d; font-weight: 640; }
.rq-footer-legal {
    gap: 6px 16px;
    margin-top: 15px;
    font-size: .8rem;
}
.rq-footer-legal a { color: var(--rq-muted); overflow-wrap: anywhere; }
.rq-hero {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 42px);
    position: sticky;
    top: 24px;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(24px, 3.6vw, 54px);
    border-radius: 32px;
    color: white;
    background: radial-gradient(ellipse at 101% 0%, #4835af 0%, transparent 65%),
                linear-gradient(142deg, #12143c 21%, #1e1b57 70%, #36297c);
    box-shadow: 0 20px 48px #211e5730;
}
.rq-logo { align-self: flex-start; display: block; line-height: 0; border-radius: 3px; }
.rq-logo img { width: 108px; height: auto; }
.rq-logo:focus-visible { outline-color: #d9ceff; }
.rq-intro h1 {
    margin: 0;
    font-size: clamp(1.9rem, 3.15vw, 2.7rem);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-wrap: balance;
}
.rq-subtitle {
    margin: 10px 0 0;
    color: #ddd5ff;
    font-size: clamp(1rem, 1.4vw, 1.19rem);
    font-weight: 690;
    line-height: 1.35;
}
.rq-intro > p:last-child {
    max-width: 28ch;
    margin: 22px 0 0;
    color: #ece9fa;
    font-size: 1.05rem;
    line-height: 1.57;
}
.rq-photo {
    position: relative;
    aspect-ratio: 1.48;
    min-height: 145px;
    overflow: hidden;
    border-radius: 20px;
    background: #64537f;
}
.rq-photo::after {
    position: absolute;
    inset: 42% 0 0;
    background: linear-gradient(transparent, #171330b5);
    content: "";
}
.rq-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.26); }
.rq-photo span {
    position: absolute;
    z-index: 1;
    bottom: 13px;
    left: 15px;
    font-size: .81rem;
    font-weight: 600;
}
.rq-card {
    min-width: 0;
    padding: clamp(22px, 4vw, 52px);
    border: 1px solid #e1e0f6;
    border-radius: 32px;
    background: white;
    box-shadow: 0 20px 57px #2c286a13;
}
.rq-progress { margin-bottom: clamp(24px, 3vw, 42px); }
.rq-progress-top { display: flex; justify-content: space-between; gap: 8px; color: var(--rq-muted); font-size: .88rem; }
.rq-count { color: var(--rq-accent); font-weight: 720; }
.rq-progress ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    color: var(--rq-muted);
    font-size: .8rem;
    line-height: 1.3;
}
.rq-progress li { display: grid; grid-template-rows: 5px auto; align-content: start; gap: 8px; min-width: 0; }
.rq-progress li::before { border-radius: 99px; background: #e8e7f6; content: ""; }
.rq-progress li span { display: block; text-align: center; text-wrap: balance; }
.rq-progress li.rq-complete::before { background: #8279ec; }
.rq-progress li[aria-current="step"]::before { background: var(--rq-accent); }
.rq-progress li[aria-current="step"] { color: var(--rq-ink); font-weight: 750; }
.rq-step { scroll-margin-top: 16px; }
.rq-step + .rq-step { margin-top: 30px; }
.rq-step[hidden] + .rq-step { margin-top: 0; }
.rq-step h2, .rq-success h2 {
    margin: 0 0 24px;
    font-size: clamp(1.6rem, 3.5vw, 2.65rem);
    line-height: 1.1;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}
.rq-step h2:focus { outline: none; }
.rq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.rq-field { grid-column: 1 / -1; min-width: 0; }
.rq-field.rq-half { grid-column: auto; }
.rq-field > label, .rq-other > label, .rq-field legend {
    display: block;
    margin-bottom: 7px;
    padding: 0;
    color: var(--rq-ink);
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.43;
}
.rq-field input:not([type="checkbox"]):not([type="radio"]), .rq-field textarea {
    display: block;
    width: 100%;
    min-height: 51px;
    padding: 11px 13px;
    border: 1px solid #cbcce4;
    border-radius: 12px;
    background: #fafaff;
    color: var(--rq-ink);
    font-size: 1rem;
    outline-offset: 2px;
}
.rq-field input[aria-invalid="true"], .rq-field textarea[aria-invalid="true"] { border-color: #b72c50 !important; }
.rq-field textarea { resize: vertical; }
.rq-field input::placeholder { color: #676a85; opacity: 1; }
.rq-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.rq-options > div:not(.rq-other) { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-options label:has(input) {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #d8d7ed;
    border-radius: 11px;
    background: #fafaff;
    font-size: .9rem;
    cursor: pointer;
}
.rq-options label:has(input:checked) { background: #f0eeff; border-color: #6256dc; }
.rq-options input, .rq-consent input { accent-color: var(--rq-accent); }
.rq-options input[type="radio"], .rq-options input[type="checkbox"], .rq-consent input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
}
.rq-other { margin-top: 10px; }
.rq-note {
    margin: 25px 0 0;
    padding: 15px 17px;
    border: 1px solid #ded9fb;
    border-radius: 14px;
    background: #f3efff;
}
.rq-note h3 { margin: 0 0 3px; font-size: .98rem; }
.rq-note p { margin: 0; color: var(--rq-muted); font-size: .91rem; }
.rq-consent { margin-top: 20px; font-size: .91rem; }
.rq-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.rq-consent input { margin-top: 2px; }
.rq-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rq-alert { margin: 0 0 20px; padding: 11px 14px; border-radius: 10px; background: #fff0f2; color: #8a153a; }
.errorlist { margin: 0 0 6px; padding: 0; list-style: none; color: #9a2044; font-size: .88rem; }
.rq-alert .errorlist { margin: 0; }
.rq-actions { display: flex; gap: 10px; margin-top: 28px; }
.rq-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 51px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.rq-primary { background: var(--rq-accent); color: white; box-shadow: 0 8px 20px #433bd736; }
.rq-primary:hover { background: var(--rq-accent-hover); }
.rq-back { background: #f0effa; color: var(--rq-ink); }
.rq-back:hover { background: #e6e4f6; }
.rq-button:disabled { opacity: .7; cursor: wait; }
.rq-success { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.rq-success h2 { margin-bottom: 12px; }
.rq-success p { margin: 0 0 24px; max-width: 34ch; color: var(--rq-muted); }
.rq-success-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    margin-bottom: 21px;
    border-radius: 50%;
    background: #eae6ff;
    color: var(--rq-accent);
    font-size: 1.7rem;
    font-weight: 760;
}
@media (min-width: 861px) {
    body { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
    body:has(.rq-footer) { align-content: center; }
    .rq-footer-main { grid-template-columns: minmax(0, 1fr) fit-content(45%); }
    .rq-footer p { max-width: none; }
    .rq-footer-break { display: inline; }
    .rq-layout { --rq-desktop-padding: clamp(27px, 3.3vw, 48px); margin-block: clamp(24px, 4vh, 64px); }
    .rq-layout:has(.rq-step:not([hidden]) > #rq-step-1) { align-items: stretch; }
    .rq-layout:has(.rq-step:not([hidden]) > #rq-step-1) .rq-hero { position: relative; top: auto; }
    .rq-hero { gap: clamp(19px, 2.2vw, 32px); padding: var(--rq-desktop-padding); }
    .rq-card { padding: calc(var(--rq-desktop-padding) - 1px); }
    .rq-intro > p:last-child { max-width: 43ch; margin-top: 15px; }
    .rq-photo { margin-top: auto; aspect-ratio: 2; }
}
@media (min-width: 861px) and (max-width: 920px) {
    .rq-footer-main, .rq-footer-links { column-gap: 8px; }
}
@media (max-width: 860px) {
    .rq-layout, .rq-footer { width: min(100% - 32px, 680px); }
    .rq-layout { grid-template-columns: minmax(0, 1fr); margin: 16px auto 34px; gap: 14px; }
    .rq-footer-main { grid-template-columns: minmax(0, 1fr); }
    .rq-footer-links { justify-content: flex-start; }
    .rq-hero {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        gap: 18px;
        align-items: end;
    }
    .rq-logo { grid-column: 1 / -1; justify-self: start; }
    .rq-intro h1 { font-size: clamp(1.45rem, 4.25vw, 2.1rem); }
    .rq-intro > p:last-child { margin-top: 13px; font-size: .97rem; }
    .rq-photo { aspect-ratio: .98; min-height: 0; max-height: 240px; }
    .rq-card, .rq-hero { border-radius: 23px; }
}
@media (max-width: 470px) {
    .rq-layout, .rq-footer { width: calc(100% - 22px); }
    .rq-layout { margin-top: 11px; }
    .rq-footer { padding-inline: 8px; }
    .rq-footer-links { column-gap: 13px; }
    .rq-footer-legal { flex-direction: column; align-items: flex-start; }
    .rq-hero { display: flex; align-items: stretch; gap: 14px; padding: 21px; }
    .rq-logo img { width: 85px; }
    .rq-intro h1 { font-size: clamp(1.45rem, 6.85vw, 2rem); }
    .rq-intro > p:last-child { max-width: 34ch; }
    .rq-photo { aspect-ratio: 3.1; min-height: 78px; border-radius: 12px; }
    .rq-photo img { object-position: center 61%; }
    .rq-photo span { bottom: 7px; left: 9px; font-size: .75rem; }
    .rq-card { padding: 18px; }
    .rq-progress ol { gap: 5px; font-size: .72rem; }
    .rq-progress-top { font-size: .78rem; }
    .rq-fields { gap: 18px 10px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .rq-button { padding-inline: 13px; }
    .rq-primary { flex: 1; }
}
@media (pointer: coarse) {
    .rq-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
