:root {
    --red: #e30613;
    --red-dark: #b5000b;
    --black: #0b0b0c;
    --black-soft: #18181b;
    --white: #ffffff;
    --paper: #f5f5f3;
    --paper-2: #ececea;
    --text: #171719;
    --muted: #69696f;
    --line: #dedede;
    --line-dark: #303036;
    --success: #177245;
    --danger: #b4232d;
    --warning: #8b5e00;
    --shadow: 0 26px 80px rgba(0, 0, 0, .12);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --container: 1180px;
    --focus: 0 0 0 4px rgba(227, 6, 19, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img,
svg {
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 9999;
    transform: translateY(-160%);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--white);
    background: var(--red);
    font-weight: 800;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 15px;
    width: min(var(--container), calc(100% - 32px));
    height: 88px;
    margin-inline: auto;
    color: var(--white);
}

.site-header-dark {
    position: relative;
    width: 100%;
    padding-inline: max(16px, calc((100% - var(--container)) / 2));
    background: var(--black);
}

.wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--white);
    font-size: 31px;
    font-weight: 950;
    letter-spacing: -.065em;
    line-height: 1;
    text-decoration: none;
}

.wordmark span {
    color: var(--red);
}

.header-label {
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    font-weight: 760;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.header-back {
    margin-left: auto;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.header-back:hover,
.header-back:focus-visible {
    color: var(--white);
}

.hero {
    position: relative;
    display: grid;
    min-height: 690px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 26%, rgba(227, 6, 19, .18), transparent 28%),
        linear-gradient(128deg, #09090a 0%, #111114 60%, #0a0a0b 100%);
}

.hero::after {
    position: absolute;
    right: -9vw;
    bottom: -215px;
    width: 44vw;
    height: 460px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    content: "";
    transform: rotate(-12deg);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image:
        linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent 0, #000 42%, #000 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.hero-orb-one {
    right: 11%;
    top: 150px;
    width: 230px;
    height: 230px;
    border: 42px solid rgba(227, 6, 19, .95);
    box-shadow: 0 0 100px rgba(227, 6, 19, .22);
}

.hero-orb-two {
    right: 3%;
    top: 95px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.hero-content {
    position: relative;
    z-index: 2;
    align-self: center;
    padding-top: 100px;
    padding-bottom: 110px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(50px, 8.3vw, 106px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: .88;
}

.hero-lead {
    max-width: 750px;
    margin: 36px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(18px, 2.4vw, 25px);
    line-height: 1.48;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    max-width: 680px;
    margin-top: 34px;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(10px);
    font-size: 14px;
    line-height: 1.45;
}

.pulse-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(227, 6, 19, .6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 9px rgba(227, 6, 19, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); }
}

.application-section {
    position: relative;
    z-index: 4;
    padding: 0 0 110px;
}

.path-selector,
.wizard,
.success-panel,
.closed-card {
    position: relative;
    margin-top: -66px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.path-selector {
    padding: clamp(28px, 5vw, 66px);
}

.section-heading {
    max-width: 850px;
}

.section-heading h2,
.closed-card h2,
.success-panel h2 {
    margin: 0;
    font-size: clamp(37px, 5vw, 68px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
}

.section-heading > p:last-child,
.closed-card > p:last-child {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.path-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 30px;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    color: var(--white);
    background: var(--black);
    text-align: left;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}

.path-card::before {
    position: absolute;
    right: -68px;
    bottom: -80px;
    width: 235px;
    height: 235px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: "";
}

.path-card:hover,
.path-card:focus-visible {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .17);
    outline: none;
}

.path-card:focus-visible {
    box-shadow: var(--focus), 0 24px 48px rgba(0, 0, 0, .17);
}

.path-card-red {
    background: var(--red);
}

.path-number {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .14em;
}

.path-title {
    max-width: 390px;
    margin-top: 46px;
    font-size: clamp(29px, 3.2vw, 43px);
    font-weight: 880;
    letter-spacing: -.045em;
    line-height: 1;
}

.path-description {
    max-width: 430px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.6;
}

.path-cta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 32px;
    color: var(--white);
    font-size: 14px;
    font-weight: 850;
}

.path-cta span {
    font-size: 22px;
    transition: transform .2s ease;
}

.path-card:hover .path-cta span {
    transform: translateX(5px);
}

.response-policy {
    margin: 32px 0 0;
    padding: 20px 22px;
    border-left: 4px solid var(--red);
    color: var(--muted);
    background: var(--paper);
    font-size: 15px;
    line-height: 1.6;
}

.response-policy strong {
    color: var(--text);
}

.draft-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 28px 0 0;
    padding: 19px 22px;
    border: 1px solid #d9c17f;
    border-radius: 16px;
    background: #fff9e8;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .06);
}

.draft-banner strong,
.draft-banner span {
    display: block;
}

.draft-banner span {
    margin-top: 4px;
    color: #695a31;
    font-size: 13px;
    line-height: 1.45;
}

.draft-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.wizard {
    overflow: hidden;
}

.wizard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 88px;
    padding: 22px clamp(24px, 5vw, 58px);
    color: var(--white);
    background: var(--black);
}

.progress-label,
.audience-label {
    display: block;
}

.progress-label {
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.audience-label {
    margin-top: 6px;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.text-button {
    padding: 7px 0;
    border: 0;
    color: rgba(255, 255, 255, .7);
    background: transparent;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible {
    color: var(--white);
    outline: none;
}

.progress-track {
    height: 5px;
    background: #28282c;
}

.progress-track span {
    display: block;
    width: 10%;
    height: 100%;
    background: var(--red);
    transition: width .28s ease;
}

#application-form {
    padding: clamp(28px, 5vw, 62px);
}

.step-header {
    max-width: 850px;
    margin-bottom: 42px;
}

.step-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 12px;
    font-weight: 880;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.step-header h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
}

.step-header p {
    max-width: 740px;
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px 18px;
}

.field {
    grid-column: 1 / -1;
    min-width: 0;
}

.field-half {
    grid-column: span 6;
}

.field-third {
    grid-column: span 4;
}

.field-label {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    color: var(--text);
    font-size: 15px;
    font-weight: 820;
    line-height: 1.35;
}

.required-mark {
    color: var(--red);
}

.field-help {
    margin: -2px 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.field-control,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cfcfd2;
    border-radius: var(--radius-sm);
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field-control,
.field select {
    padding: 0 15px;
}

.field textarea {
    min-height: 128px;
    padding: 15px 50px 38px 15px;
    line-height: 1.55;
    resize: vertical;
}

.field-control::placeholder,
.field textarea::placeholder {
    color: #a0a0a5;
}

.field-control:hover,
.field select:hover,
.field textarea:hover {
    border-color: #adadb2;
}

.field-control:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--red);
    box-shadow: var(--focus);
}

.field.has-error .field-control,
.field.has-error select,
.field.has-error textarea,
.field.has-error .option-card,
.field.has-error .file-dropzone,
.field.has-error .role-mode-panel,
.field.has-error .custom-field-shell {
    border-color: var(--danger);
}

.field-error {
    margin: 8px 0 0;
    color: var(--danger);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.textarea-wrap {
    position: relative;
}

.character-counter {
    position: absolute;
    right: 13px;
    bottom: 11px;
    color: #85858a;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.character-counter.near-limit {
    color: var(--warning);
    font-weight: 800;
}

.character-counter.at-limit {
    color: var(--danger);
}

.voice-button {
    position: absolute;
    right: 11px;
    top: 11px;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #d9d9dc;
    border-radius: 10px;
    color: var(--text);
    background: var(--paper);
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.voice-button:hover,
.voice-button:focus-visible {
    border-color: var(--red);
    color: var(--red);
    outline: none;
}

.voice-button.is-listening {
    color: var(--white);
    border-color: var(--red);
    background: var(--red);
    animation: mic-pulse 1.2s infinite;
}

.voice-button svg {
    width: 17px;
    height: 17px;
}

.no-speech .voice-button {
    display: none;
}

@keyframes mic-pulse {
    50% { box-shadow: 0 0 0 7px rgba(227, 6, 19, .12); }
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.option-grid.option-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 58px;
    padding: 14px;
    border: 1px solid #d8d8da;
    border-radius: 13px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.option-card:hover {
    border-color: #a9a9ae;
    transform: translateY(-1px);
}

.option-card:has(input:checked) {
    border-color: var(--red);
    background: #fff6f7;
}

.option-card input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--red);
}

.option-card-copy {
    display: block;
    min-width: 0;
}

.option-card-title {
    display: block;
    font-size: 14px;
    font-weight: 780;
    line-height: 1.35;
}

.option-card-description {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.role-card {
    min-height: 170px;
    padding: 18px;
}

.role-card .option-card-title {
    padding-right: 8px;
    font-size: 17px;
    letter-spacing: -.02em;
}

.role-card .option-card-description {
    margin-top: 9px;
    line-height: 1.5;
}

.role-mode-stack,
.skill-stack,
.repeater-stack {
    display: grid;
    gap: 14px;
}

.role-mode-panel,
.skill-panel,
.custom-field-shell {
    overflow: hidden;
    border: 1px solid #d9d9dc;
    border-radius: 16px;
    background: var(--white);
}

.role-mode-head,
.skill-panel-head {
    padding: 16px 18px;
    color: var(--white);
    background: var(--black);
}

.role-mode-head strong,
.skill-panel-head strong {
    display: block;
    font-size: 16px;
}

.role-mode-head span,
.skill-panel-head span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .57);
    font-size: 12px;
}

.role-mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 14px;
}

.role-mode-options .option-card {
    min-height: 78px;
}

.skill-panel-body {
    display: grid;
    gap: 22px;
    padding: 20px;
}

.skill-section h4 {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.skill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-chip {
    position: relative;
    display: inline-flex;
}

.skill-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.skill-chip span {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid #d6d6d9;
    border-radius: 999px;
    color: #4d4d51;
    background: var(--white);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
}

.skill-chip span:hover {
    border-color: #99999e;
}

.skill-chip input:checked + span {
    border-color: var(--black);
    color: var(--white);
    background: var(--black);
}

.repeater-card {
    position: relative;
    padding: 20px;
    border: 1px solid #dadadd;
    border-radius: 16px;
    background: #fbfbfa;
}

.repeater-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.repeater-title-row strong {
    font-size: 15px;
}

.repeater-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.repeater-grid .full {
    grid-column: 1 / -1;
}

.mini-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.mini-field input,
.mini-field textarea,
.mini-field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d3d3d6;
    border-radius: 10px;
    background: var(--white);
    outline: none;
}

.mini-field textarea {
    min-height: 100px;
    resize: vertical;
}

.mini-field input:focus,
.mini-field textarea:focus,
.mini-field select:focus {
    border-color: var(--red);
    box-shadow: var(--focus);
}

.add-button,
.remove-button {
    border: 0;
    font-weight: 800;
    cursor: pointer;
}

.add-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--white);
    background: var(--black);
}

.add-button:hover,
.add-button:focus-visible {
    background: var(--red);
    outline: none;
}

.remove-button {
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--danger);
    background: #fff0f1;
    font-size: 12px;
}

.remove-button:hover,
.remove-button:focus-visible {
    color: var(--white);
    background: var(--danger);
    outline: none;
}

.empty-state {
    padding: 22px;
    border: 1px dashed #cfcfd2;
    border-radius: 14px;
    color: var(--muted);
    background: var(--paper);
    font-size: 14px;
    line-height: 1.55;
}

.file-dropzone {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 156px;
    padding: 24px;
    border: 1.5px dashed #bebec3;
    border-radius: 16px;
    background: var(--paper);
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.file-dropzone:hover,
.file-dropzone:focus-within,
.file-dropzone.is-dragover {
    border-color: var(--red);
    background: #fff7f7;
}

.file-dropzone input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 11px;
    border-radius: 50%;
    color: var(--white);
    background: var(--black);
    font-size: 22px;
}

.file-title {
    font-size: 14px;
    font-weight: 820;
}

.file-meta {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.file-list {
    display: grid;
    gap: 7px;
    margin-top: 11px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e0e0e2;
    border-radius: 10px;
    background: var(--white);
    font-size: 12px;
}

.file-item span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-box {
    padding: 21px 22px;
    border: 1px solid #e0ca8c;
    border-radius: 15px;
    color: #604d18;
    background: #fff8e5;
    font-size: 14px;
    line-height: 1.65;
}

.notice-box strong {
    display: block;
    margin-bottom: 5px;
    color: #332a11;
    font-size: 15px;
}

.consent-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #d8d8db;
    border-radius: 13px;
    background: #fbfbfa;
    cursor: pointer;
}

.consent-card:has(input:checked) {
    border-color: var(--red);
    background: #fff6f7;
}

.consent-card input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    accent-color: var(--red);
}

.consent-card span {
    font-size: 14px;
    line-height: 1.5;
}

.consent-card a {
    color: var(--red);
    font-weight: 800;
}

.review-intro {
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 16px;
    color: var(--white);
    background: var(--black);
}

.review-intro strong {
    display: block;
    font-size: 18px;
}

.review-intro span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    line-height: 1.55;
}

.review-sections {
    display: grid;
    gap: 14px;
    margin-bottom: 36px;
}

.review-section {
    overflow: hidden;
    border: 1px solid #dddddf;
    border-radius: 16px;
}

.review-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 17px;
    background: var(--paper);
}

.review-section-head strong {
    font-size: 14px;
}

.review-edit {
    padding: 5px;
    border: 0;
    color: var(--red);
    background: transparent;
    font-size: 12px;
    font-weight: 820;
    cursor: pointer;
}

.review-list {
    margin: 0;
}

.review-row {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 1.5fr);
    gap: 18px;
    padding: 14px 17px;
    border-top: 1px solid #eeeeef;
}

.review-row:first-child {
    border-top: 0;
}

.review-row dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 720;
    line-height: 1.45;
}

.review-row dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.55;
    white-space: pre-line;
}

.form-alert {
    margin-bottom: 24px;
    padding: 15px 17px;
    border: 1px solid #efb2b7;
    border-radius: 12px;
    color: #782029;
    background: #fff1f2;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 46px;
    padding-top: 26px;
    border-top: 1px solid #e4e4e5;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

.button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.button-dark {
    color: var(--white);
    background: var(--black);
}

.button-dark:hover:not(:disabled) {
    background: #29292e;
}

.button-red {
    color: var(--white);
    background: var(--red);
}

.button-red:hover:not(:disabled) {
    background: var(--red-dark);
}

.button-ghost {
    border-color: #d4d4d7;
    color: var(--text);
    background: var(--white);
}

.button-ghost:hover:not(:disabled) {
    border-color: #99999f;
}

.button-small {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
}

.button-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

.button.is-loading .button-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.success-panel,
.closed-card {
    padding: clamp(34px, 7vw, 78px);
    text-align: center;
}

.success-panel {
    max-width: 900px;
    margin-inline: auto;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 28px;
    border-radius: 50%;
    color: var(--white);
    background: var(--success);
    font-size: 34px;
    font-weight: 900;
}

.success-panel .eyebrow {
    text-align: center;
}

.success-panel > p:not(.eyebrow) {
    max-width: 680px;
    margin: 23px auto 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.reference-box {
    display: inline-flex;
    flex-direction: column;
    min-width: min(100%, 380px);
    margin: 31px 0;
    padding: 18px 25px;
    border-radius: 14px;
    color: var(--white);
    background: var(--black);
}

.reference-box span {
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.reference-box strong {
    margin-top: 7px;
    font-size: 20px;
    letter-spacing: .03em;
}

.site-footer {
    padding: 60px 0;
    color: var(--white);
    background: var(--black);
}

.footer-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.wordmark-footer {
    font-size: 26px;
}

.footer-inner p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-inner nav a {
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.footer-inner nav a:hover,
.footer-inner nav a:focus-visible {
    color: var(--white);
}

.noscript {
    position: fixed;
    inset: auto 15px 15px;
    z-index: 100;
    padding: 15px;
    border-radius: 12px;
    color: var(--white);
    background: var(--red);
    text-align: center;
    font-weight: 800;
}

/* Legal */
.legal-page {
    background: var(--paper);
}

.legal-main {
    padding: 70px 16px 100px;
}

.legal-article {
    width: min(850px, 100%);
    margin-inline: auto;
    padding: clamp(28px, 6vw, 68px);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.legal-article h1 {
    margin: 0 0 32px;
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .95;
}

.legal-intro {
    padding: 18px 20px;
    border-left: 4px solid var(--red);
    color: var(--muted);
    background: var(--paper);
}

.legal-article h2 {
    margin: 38px 0 10px;
    font-size: 22px;
    letter-spacing: -.025em;
}

.legal-article p {
    color: #4e4e52;
    font-size: 15px;
    line-height: 1.75;
}

.legal-article a {
    color: var(--red);
    font-weight: 750;
}

.legal-updated {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px !important;
}

@media (max-width: 980px) {
    .hero-orb-one { right: -20px; opacity: .65; }
    .hero-orb-two { right: -190px; }
    .roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .option-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 22px, var(--container)); }
    .site-header { width: calc(100% - 28px); height: 72px; }
    .wordmark { font-size: 27px; }
    .hero { min-height: 620px; }
    .hero-content { padding-top: 112px; padding-bottom: 96px; }
    .hero h1 { font-size: clamp(49px, 15vw, 75px); }
    .hero-lead { margin-top: 27px; font-size: 18px; }
    .hero-note { align-items: flex-start; border-radius: 18px; font-size: 12px; }
    .hero-orb-one { top: 103px; right: -65px; width: 170px; height: 170px; border-width: 30px; }
    .hero-orb-two { top: 78px; right: -260px; }
    .path-selector,
    .wizard,
    .success-panel,
    .closed-card { margin-top: -48px; border-radius: 22px; }
    .path-selector { padding: 28px 18px 24px; }
    .section-heading h2,
    .closed-card h2,
    .success-panel h2 { font-size: 38px; }
    .section-heading > p:last-child { font-size: 16px; }
    .path-grid { grid-template-columns: 1fr; margin-top: 30px; }
    .path-card { min-height: 310px; padding: 24px; }
    .path-title { margin-top: 32px; font-size: 33px; }
    .draft-banner { align-items: stretch; flex-direction: column; margin: 14px 0 24px; }
    .draft-actions { width: 100%; }
    .draft-actions .button { flex: 1; }
    .wizard-topbar { position: sticky; top: 0; z-index: 20; min-height: 72px; padding: 15px 18px; }
    #application-form { padding: 28px 18px 22px; }
    .step-header { margin-bottom: 30px; }
    .step-header h2 { font-size: 39px; }
    .step-header p { font-size: 15px; }
    .fields-grid { gap: 22px; }
    .field-half,
    .field-third { grid-column: 1 / -1; }
    .option-grid,
    .option-grid.option-grid-compact,
    .roles-grid,
    .role-mode-options { grid-template-columns: 1fr !important; }
    .role-card { min-height: 130px; }
    .repeater-grid { grid-template-columns: 1fr; }
    .repeater-grid .full { grid-column: auto; }
    .review-row { grid-template-columns: 1fr; gap: 6px; }
    .wizard-actions { position: sticky; bottom: 0; z-index: 18; margin-inline: -18px; margin-bottom: -22px; padding: 15px 18px calc(15px + env(safe-area-inset-bottom)); border-top-color: #ddd; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); }
    .wizard-actions .button { min-width: 0; padding-inline: 16px; }
    #next-button,
    #submit-button { flex: 1; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .header-back { font-size: 12px; }
    .legal-main { padding-top: 24px; }
    .legal-article { border-radius: 20px; }
}

@media (max-width: 430px) {
    .hero h1 { font-size: 52px; }
    .section-heading h2,
    .step-header h2,
    .success-panel h2 { font-size: 35px; }
    .path-card { min-height: 300px; }
    .text-button { max-width: 95px; text-align: right; }
    .field textarea { padding-right: 44px; }
    .wizard-actions .button { min-height: 47px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
