@font-face {
    font-family: "Lexend";
    src: url("../fonts/lexend.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ocean-950: #073f44;
    --ocean-900: #07565c;
    --ocean-800: #0b6f72;
    --ocean-700: #10878a;
    --ocean-600: #15999a;
    --ocean-100: #d9f0eb;
    --ocean-50: #eef9f6;
    --sea-glass: #b8ddd3;
    --sea-glass-soft: #e5f4ef;
    --coral-700: #ad4038;
    --coral-600: #d75449;
    --coral-500: #ef7568;
    --coral-100: #fde9e5;
    --sand-300: #dccbaa;
    --sand-200: #eadfc9;
    --sand-100: #f5eddd;
    --sand-50: #fcf9f2;
    --ink-950: #102e33;
    --ink-800: #24454a;
    --ink-650: #496469;
    --ink-500: #637b7f;
    --white: #ffffff;
    --danger-700: #a62f39;
    --danger-100: #fff0f0;
    --success-700: #176b57;
    --shadow-lg: 0 30px 80px rgba(7, 63, 68, 0.15);
    --shadow-md: 0 16px 36px rgba(7, 63, 68, 0.11);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 15px;
    --focus-ring: 0 0 0 4px rgba(239, 117, 104, 0.3);
}

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink-950);
    background:
        radial-gradient(circle at 2% 15%, rgba(184, 221, 211, 0.7), transparent 28rem),
        radial-gradient(circle at 98% 4%, rgba(239, 117, 104, 0.14), transparent 27rem),
        linear-gradient(150deg, var(--sand-50), #f8f3e9 55%, #edf6f2);
    font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
    font: inherit;
}

button,
label,
input[type="checkbox"],
input[type="radio"] {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

svg {
    display: block;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 11px 16px;
    color: var(--white);
    background: var(--ocean-950);
    border-radius: 10px;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

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

.page-shell {
    width: min(100% - 32px, 1320px);
    margin: 0 auto;
}

.site-header {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--ink-950);
    text-decoration: none;
    border-radius: 14px;
}

.brand-mark {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.brand-mark circle {
    fill: var(--ocean-800);
    stroke: var(--ocean-950);
    stroke-width: 0;
}

.brand-mark path {
    fill: none;
    stroke: var(--sand-100);
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.brand-copy span {
    color: var(--ink-650);
    font-size: 0.76rem;
    letter-spacing: 0.01em;
}

.department-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 14px;
    color: var(--ocean-900);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(11, 111, 114, 0.16);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    box-shadow: 0 5px 18px rgba(7, 63, 68, 0.05);
    backdrop-filter: blur(12px);
}

.application-shell {
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(300px, 0.83fr) minmax(530px, 1.17fr);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.91);
    border: 1px solid rgba(7, 86, 92, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.story-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 60px) 38px;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 12%, rgba(239, 117, 104, 0.45), transparent 15rem),
        linear-gradient(160deg, var(--ocean-800), var(--ocean-950) 74%);
}

.story-panel::before,
.story-panel::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.story-panel::before {
    width: 330px;
    height: 330px;
    right: -180px;
    bottom: 80px;
    border: 48px solid rgba(184, 221, 211, 0.08);
    border-radius: 50%;
}

.story-panel::after {
    width: 260px;
    height: 80px;
    left: -22px;
    bottom: 122px;
    border-top: 2px solid rgba(245, 237, 221, 0.18);
    border-bottom: 2px solid rgba(245, 237, 221, 0.1);
    border-radius: 50%;
    transform: rotate(-7deg);
}

.eyebrow,
.section-kicker,
.step-label {
    margin: 0;
    color: var(--coral-500);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.story-panel .eyebrow {
    color: #ffd5cf;
}

.story-panel h1 {
    max-width: 9ch;
    margin: 18px 0 22px;
    font-size: clamp(2.65rem, 5vw, 5.1rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.story-lead {
    max-width: 45ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.75;
}

.service-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: clamp(38px, 6vh, 74px);
}

.service-chip {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.085);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.35;
}

.service-chip svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: var(--sea-glass);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.privacy-note > svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: var(--sea-glass);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.privacy-note strong {
    display: block;
    font-size: 0.78rem;
}

.privacy-note p {
    max-width: 44ch;
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.7rem;
    line-height: 1.55;
}

.form-panel {
    min-width: 0;
    padding: clamp(28px, 4vw, 54px) clamp(24px, 5vw, 72px) 42px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)),
        var(--white);
}

.form-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.form-panel__header h2 {
    margin: 3px 0 0;
    color: var(--ink-950);
    font-size: 1.2rem;
    letter-spacing: -0.025em;
}

.required-note {
    margin: 1px 0 0;
    color: var(--ink-500);
    font-size: 0.73rem;
    white-space: nowrap;
}

.required-note span,
.required-mark {
    color: var(--coral-700);
}

.progress-nav {
    margin: 22px 0 clamp(32px, 5vw, 48px);
}

.progress-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.progress-list::before {
    position: absolute;
    top: 15px;
    right: 12.5%;
    left: 12.5%;
    height: 2px;
    content: "";
    background: var(--sand-200);
}

.progress-step {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--ink-500);
    font-size: 0.67rem;
    font-weight: 650;
    text-align: center;
}

.progress-dot {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--ink-500);
    background: var(--white);
    border: 2px solid var(--sand-200);
    border-radius: 50%;
    font-size: 0.72rem;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.progress-step.is-current {
    color: var(--ocean-800);
}

.progress-step.is-current .progress-dot {
    color: var(--white);
    background: var(--coral-600);
    border-color: var(--coral-600);
    box-shadow: 0 0 0 5px var(--coral-100);
    transform: scale(1.05);
}

.progress-step.is-complete .progress-dot {
    color: var(--white);
    background: var(--ocean-800);
    border-color: var(--ocean-800);
}

.progress-step.is-complete .progress-dot::before {
    content: "✓";
}

.progress-step.is-complete .progress-dot {
    font-size: 0;
}

.progress-step.is-complete .progress-dot::before {
    font-size: 0.8rem;
}

.step-panel {
    animation: step-enter 260ms ease both;
}

@keyframes step-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-block {
    position: relative;
    overflow: hidden;
    padding: clamp(27px, 4vw, 42px);
    background: linear-gradient(145deg, var(--sand-50), var(--ocean-50));
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg);
}

.intro-number {
    position: absolute;
    top: -25px;
    right: 12px;
    color: rgba(11, 111, 114, 0.07);
    font-size: clamp(7rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.08em;
}

.intro-block h3,
.section-heading h3,
.success-panel h2 {
    position: relative;
    margin: 8px 0 12px;
    color: var(--ink-950);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.intro-block > p:not(.section-kicker) {
    position: relative;
    max-width: 61ch;
    margin: 12px 0 0;
    color: var(--ink-650);
    font-size: 0.92rem;
}

.time-callout {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 10px 13px;
    color: var(--ocean-900);
    background: rgba(184, 221, 211, 0.33);
    border-radius: 11px;
    font-size: 0.75rem;
    font-weight: 700;
}

.time-callout svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading > p:last-child {
    max-width: 58ch;
    margin: 0;
    color: var(--ink-650);
    font-size: 0.86rem;
}

.field-grid,
.question-grid,
.choice-grid {
    display: grid;
    gap: 20px;
}

.field-grid--two,
.choice-grid--two,
.question-grid,
.choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field--wide {
    grid-column: 1 / -1;
}

.field,
.choice-group {
    min-width: 0;
    margin: 0 0 26px;
}

.choice-group {
    padding: 0;
    border: 0;
}

.field label,
.choice-group legend {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-950);
    font-size: 0.86rem;
    font-weight: 720;
    line-height: 1.5;
}

.optional-mark {
    display: inline-flex;
    margin-left: 6px;
    padding: 2px 7px;
    color: var(--ink-650);
    background: var(--sand-100);
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    color: var(--ink-950);
    background: #fdfcf9;
    border: 1px solid #cbd9d5;
    border-radius: 12px;
    outline: none;
    font-size: 0.86rem;
    line-height: 1.5;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: #849699;
    opacity: 1;
}

.field input:hover,
.field textarea:hover {
    border-color: var(--ocean-700);
}

.field input:focus,
.field textarea:focus {
    background: var(--white);
    border-color: var(--ocean-700);
    box-shadow: 0 0 0 4px rgba(21, 153, 154, 0.14);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.choice-group[aria-invalid="true"] .choice-card,
.choice-group[aria-invalid="true"] .segmented-options {
    border-color: var(--danger-700);
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 4px rgba(166, 47, 57, 0.14);
}

.field-hint,
.field-error,
.character-count {
    margin: 7px 0 0;
    color: var(--ink-500);
    font-size: 0.69rem;
    line-height: 1.5;
}

.field-error {
    min-height: 0;
    color: var(--danger-700);
    font-weight: 650;
}

.field-error:empty {
    display: none;
}

.field-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.field-meta .field-hint {
    flex: 1;
}

.field-meta--end {
    justify-content: flex-end;
}

.character-count {
    white-space: nowrap;
}

.choice-grid,
.choice-stack {
    margin-top: 12px;
}

.choice-stack {
    display: grid;
    gap: 10px;
}

.choice-card {
    position: relative;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px;
    color: var(--ink-950);
    background: #fdfcf9;
    border: 1px solid #d1ddd9;
    border-radius: 13px;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.choice-card--compact {
    min-height: 58px;
}

.choice-card:hover {
    background: var(--ocean-50);
    border-color: var(--ocean-600);
    transform: translateY(-1px);
}

.choice-card:has(input:checked) {
    background: var(--ocean-50);
    border-color: var(--ocean-700);
    box-shadow: inset 0 0 0 1px var(--ocean-700);
}

.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.choice-control {
    position: relative;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    background: var(--white);
    border: 2px solid #9fb5b1;
    border-radius: 6px;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.choice-card input:checked + .choice-control {
    background: var(--ocean-800);
    border-color: var(--ocean-800);
}

.choice-card input[type="checkbox"]:checked + .choice-control::after {
    position: absolute;
    width: 8px;
    height: 4px;
    top: 5px;
    left: 4px;
    content: "";
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
    transform: rotate(-45deg);
}

.choice-card input[type="radio"] + .choice-control {
    border-radius: 50%;
}

.choice-card input[type="radio"]:checked + .choice-control::after {
    position: absolute;
    width: 9px;
    height: 9px;
    top: 4px;
    left: 4px;
    content: "";
    background: var(--white);
    border-radius: 50%;
}

.choice-card input:focus-visible + .choice-control {
    box-shadow: var(--focus-ring);
}

.choice-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.choice-copy strong {
    font-size: 0.77rem;
    line-height: 1.4;
}

.choice-copy small {
    color: var(--ink-650);
    font-size: 0.65rem;
    font-weight: 480;
    line-height: 1.45;
}

.question-grid {
    align-items: stretch;
}

.question-grid .choice-group {
    display: flex;
    flex-direction: column;
    padding: 18px;
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-md);
}

.question-grid .choice-group legend {
    float: left;
    width: 100%;
}

.segmented-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: auto;
    padding: 4px;
    background: var(--white);
    border: 1px solid #d1ddd9;
    border-radius: 12px;
}

.segmented-options label {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.segmented-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.segmented-options span {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 8px 12px;
    color: var(--ink-650);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 750;
    transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.segmented-options input:checked + span {
    color: var(--white);
    background: var(--ocean-800);
    box-shadow: 0 5px 14px rgba(7, 86, 92, 0.19);
}

.segmented-options input:focus-visible + span {
    box-shadow: var(--focus-ring);
}

.step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid var(--sand-200);
}

.step-actions--end {
    justify-content: flex-end;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 780;
    line-height: 1.2;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

.button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.button--primary {
    color: var(--white);
    background: var(--ocean-800);
    border-color: var(--ocean-800);
    box-shadow: 0 9px 20px rgba(7, 86, 92, 0.18);
}

.button--primary:hover:not(:disabled) {
    background: var(--ocean-900);
    border-color: var(--ocean-900);
}

.button--secondary {
    color: var(--ocean-900);
    background: var(--white);
    border-color: #bad0ca;
}

.button--secondary:hover:not(:disabled) {
    background: var(--ocean-50);
    border-color: var(--ocean-700);
}

.button-spinner {
    width: 17px;
    height: 17px;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 650ms linear infinite;
}

.is-submitting .button-spinner {
    display: block;
}

.is-submitting .button-arrow {
    display: none;
}

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

.notice {
    margin: 0 0 26px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.78rem;
}

.notice--error {
    color: var(--danger-700);
    background: var(--danger-100);
    border-color: rgba(166, 47, 57, 0.24);
}

.notice strong {
    display: block;
    margin-bottom: 4px;
}

.notice ul {
    margin: 4px 0 0;
    padding-left: 19px;
}

.submit-note {
    margin: 12px 0 0;
    padding: 13px 15px;
    color: var(--ink-650);
    background: var(--sand-50);
    border-left: 3px solid var(--coral-500);
    border-radius: 0 9px 9px 0;
    font-size: 0.7rem;
    line-height: 1.55;
}

.success-panel {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 6vw, 74px) 12px;
    text-align: center;
    animation: step-enter 300ms ease both;
}

.success-mark {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    background: var(--ocean-50);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(184, 221, 211, 0.22);
}

.success-mark svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: var(--success-700);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-panel > p:not(.section-kicker):not(.success-privacy) {
    max-width: 48ch;
    margin: 0;
    color: var(--ink-650);
    font-size: 0.9rem;
}

.reference-card {
    min-width: min(100%, 290px);
    display: grid;
    gap: 4px;
    margin: 27px 0 18px;
    padding: 14px 18px;
    color: var(--ocean-900);
    background: var(--ocean-50);
    border: 1px dashed var(--ocean-700);
    border-radius: 12px;
}

.reference-card span {
    font-size: 0.63rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reference-card strong {
    overflow-wrap: anywhere;
    font-size: 1.05rem;
    letter-spacing: 0.045em;
}

.success-privacy {
    margin: 0 0 25px;
    color: var(--ink-500);
    font-size: 0.69rem;
}

.site-footer {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ink-650);
    font-size: 0.67rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 1040px) {
    .page-shell {
        width: min(100% - 24px, 900px);
    }

    .application-shell {
        grid-template-columns: 1fr;
    }

    .story-panel {
        min-height: auto;
        padding: 42px 42px 32px;
    }

    .story-panel h1 {
        max-width: 15ch;
        font-size: clamp(2.6rem, 8vw, 4rem);
    }

    .story-panel__content {
        max-width: 710px;
    }

    .service-preview {
        margin-top: 30px;
    }

    .privacy-note {
        margin-top: 28px;
    }
}

@media (max-width: 680px) {
    .page-shell {
        width: min(100% - 18px, 620px);
    }

    .site-header {
        min-height: 78px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-copy strong {
        font-size: 0.92rem;
    }

    .brand-copy span,
    .department-pill {
        display: none;
    }

    .application-shell {
        border-radius: 22px;
    }

    .story-panel {
        padding: 34px 23px 27px;
    }

    .story-panel h1 {
        margin: 12px 0 16px;
        font-size: clamp(2.35rem, 13vw, 3.5rem);
    }

    .story-lead {
        font-size: 0.88rem;
    }

    .service-preview {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .service-chip {
        min-height: 56px;
        gap: 8px;
        padding: 10px;
        font-size: 0.66rem;
    }

    .form-panel {
        padding: 27px 18px 30px;
    }

    .form-panel__header {
        align-items: center;
    }

    .progress-name {
        font-size: 0.59rem;
    }

    .progress-list::before {
        right: 11%;
        left: 11%;
    }

    .intro-block {
        padding: 25px 20px;
    }

    .intro-block h3,
    .section-heading h3,
    .success-panel h2 {
        font-size: 1.7rem;
    }

    .field-grid--two,
    .choice-grid,
    .choice-grid--two,
    .question-grid {
        grid-template-columns: 1fr;
    }

    .field--wide {
        grid-column: auto;
    }

    .choice-card {
        min-height: 64px;
    }

    .step-actions {
        align-items: stretch;
    }

    .step-actions .button {
        flex: 1;
    }

    .step-actions--end .button {
        flex: 1 1 100%;
    }

    .site-footer {
        min-height: 100px;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .service-preview {
        grid-template-columns: 1fr;
    }

    .service-chip:nth-child(n + 3) {
        display: none;
    }

    .required-note {
        display: none;
    }

    .progress-name {
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .progress-nav {
        margin-bottom: 30px;
    }

    .step-actions {
        flex-direction: column-reverse;
    }

    .step-actions--end {
        flex-direction: row;
    }
}

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

@media (forced-colors: active) {
    .choice-card input {
        position: static;
        width: 20px;
        height: 20px;
        opacity: 1;
    }

    .choice-control {
        display: none;
    }

    .progress-dot,
    .button,
    .field input,
    .field textarea,
    .choice-card,
    .segmented-options {
        forced-color-adjust: auto;
    }
}
