* {
    box-sizing: border-box;
}

:root {
    --gideon-bg: #071210;
    --gideon-bg-2: #111827;
    --gideon-bg-3: #17130f;
    --gideon-surface: rgba(19, 31, 28, 0.82);
    --gideon-surface-soft: rgba(31, 41, 37, 0.72);
    --gideon-surface-strong: rgba(10, 22, 20, 0.9);
    --gideon-border: rgba(45, 212, 191, 0.15);
    --gideon-border-warm: rgba(250, 204, 21, 0.22);
    --gideon-text: #f8fafc;
    --gideon-muted: #cbd5e1;
    --gideon-subtle: #94a3b8;
    --gideon-teal: #2dd4bf;
    --gideon-amber: #facc15;
    --gideon-lime: #84cc16;
    --gideon-danger: #fb7185;
    --gideon-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, sans-serif;
    color: var(--gideon-text);
    background:
        radial-gradient(circle at 16% 22%, rgba(20, 184, 166, 0.18), transparent 32%),
        radial-gradient(circle at 82% 28%, rgba(245, 158, 11, 0.16), transparent 30%),
        radial-gradient(circle at 52% 92%, rgba(132, 204, 22, 0.1), transparent 34%),
        linear-gradient(180deg, var(--gideon-bg) 0%, var(--gideon-bg-2) 52%, var(--gideon-bg-3) 100%);
}

.app {
    height: 100vh;
    padding: 22px 42px;
    overflow: hidden;
}

.topbar {
    height: 86px;
    max-width: 1280px;
    margin: 0 auto 18px;
    padding: 16px 22px;
    border-radius: 24px;
    background: var(--gideon-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gideon-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--gideon-shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-link {
    color: inherit;
    text-decoration: none;
}

.logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gideon-teal), var(--gideon-amber), var(--gideon-lime));
    color: white;
    font-size: 26px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand h1 {
    margin: 0;
    font-size: 25px;
    color: var(--gideon-text);
}

.brand p {
    margin: 3px 0 0;
    color: var(--gideon-muted);
}

.auth-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

.auth-link,
.auth-link-button {
    min-height: 42px;
    border: none;
    border-radius: 14px;
    padding: 0 16px;
    background: rgba(120, 113, 108, 0.3);
    color: #fef3c7;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.auth-link.primary {
    background: linear-gradient(135deg, var(--gideon-amber), var(--gideon-teal));
    color: #071210;
}

.auth-user {
    color: var(--gideon-muted);
    font-weight: bold;
}

.session-pill {
    background: rgba(45, 212, 191, 0.14);
    color: #99f6e4;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: bold;
}

.main-layout {
    max-width: 1280px;
    height: calc(100vh - 126px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr);
    gap: 24px;
    min-height: 0;
}

.interview-card {
    position: relative;
    height: 100%;
    min-height: 0;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.18), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(250, 204, 21, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(7, 18, 16, 0.96), rgba(23, 19, 15, 0.92));
    border: 1px solid var(--gideon-border);
    box-shadow: var(--gideon-shadow);
}

.image-wrapper {
    width: 100%;
    height: 100%;
}

.avatar-img,
.avatar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}



.connection-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    background: rgba(15, 23, 42, 0.82);
    color: white;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: bold;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.45);
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.interrupt-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    border: none;
    border-radius: 14px;
    padding: 13px 22px;
    background: linear-gradient(135deg, #f97316, var(--gideon-amber));
    color: #1c1917;
    font-weight: bold;
    cursor: pointer;
}

.side-panel {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: 90px minmax(0, 1fr) 226px;
    gap: 18px;
    overflow: hidden;
}

.status-card,
.chat-card,
.input-card {
    background: var(--gideon-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gideon-border);
    border-radius: 26px;
    box-shadow: var(--gideon-shadow);
}

.status-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.status-orb {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 14px;
    background: var(--gideon-subtle);
    box-shadow: 0 0 18px rgba(148, 163, 184, 0.24);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.status-copy {
    min-width: 0;
}

.status-card p {
    margin: 0;
    font-weight: bold;
    color: var(--gideon-text);
}

.status-copy span {
    display: block;
    margin-top: 4px;
    color: var(--gideon-subtle);
    font-size: 12px;
}

.status-card[data-state="listening"] .status-orb {
    background: linear-gradient(135deg, var(--gideon-teal), var(--gideon-lime));
    box-shadow: 0 0 22px rgba(45, 212, 191, 0.45);
    animation: status-pulse 1.8s ease-in-out infinite;
}

.status-card[data-state="user-speaking"] .status-orb {
    background: var(--gideon-lime);
    box-shadow: 0 0 24px rgba(132, 204, 22, 0.58);
    transform: scale(1.08);
}

.status-card[data-state="waiting-silence"] .status-orb {
    background: var(--gideon-amber);
    box-shadow: 0 0 22px rgba(250, 204, 21, 0.5);
}

.status-card[data-state="processing"] .status-orb {
    background: #f59e0b;
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.42);
}

.status-card[data-state="gideon-speaking"] .status-orb {
    background: var(--gideon-teal);
    box-shadow: 0 0 24px rgba(45, 212, 191, 0.52);
    animation: status-pulse 1s ease-in-out infinite;
}

.status-card[data-state="interruption"] .status-orb {
    background: #f97316;
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.52);
}

.status-card[data-state="error"] .status-orb {
    background: var(--gideon-danger);
    box-shadow: 0 0 22px rgba(251, 113, 133, 0.44);
}

@keyframes status-pulse {
    0%,
    100% {
        transform: scale(0.94);
    }

    50% {
        transform: scale(1.06);
    }
}

.chat-card {
    min-height: 0;
    padding: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
    flex: 0 0 auto;
    color: var(--gideon-text);
}

.chat-hint,
.input-hint,
.auth-help {
    margin: 0;
    color: var(--gideon-muted);
    font-size: 14px;
    line-height: 1.45;
}

.chat-hint {
    margin-bottom: 14px;
    flex: 0 0 auto;
}

.chat-box {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
}

.chat-box::-webkit-scrollbar {
    width: 7px;
}

.chat-box::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.55);
    border-radius: 20px;
}

.message {
    padding: 13px 15px;
    margin-bottom: 13px;
    border-radius: 18px;
    line-height: 1.45;
    white-space: pre-wrap;
    font-size: 15px;
}

.assistant {
    background: rgba(45, 212, 191, 0.12);
    color: #ccfbf1;
    border: 1px solid rgba(45, 212, 191, 0.18);
    border-bottom-left-radius: 5px;
}

.user {
    background: rgba(250, 204, 21, 0.13);
    color: #fef3c7;
    border: 1px solid rgba(250, 204, 21, 0.18);
    border-bottom-right-radius: 5px;
    margin-left: 35px;
}

.input-card {
    padding: 18px;
    overflow: hidden;
}

.input-hint {
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    height: 92px;
    border: 2px solid rgba(45, 212, 191, 0.16);
    outline: none;
    resize: none;
    border-radius: 18px;
    padding: 14px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(7, 18, 16, 0.72);
    color: var(--gideon-text);
}

textarea:focus {
    border-color: var(--gideon-teal);
}

textarea::placeholder {
    color: var(--gideon-subtle);
}

.button-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

button {
    font-family: inherit;
}

.send-btn,
.mic-btn,
.reset-btn {
    flex: 1;
    border: none;
    border-radius: 16px;
    padding: 13px 10px;
    font-weight: bold;
    cursor: pointer;
}

.send-btn {
    background: linear-gradient(135deg, var(--gideon-amber), var(--gideon-teal));
    color: #071210;
}

.mic-btn {
    background: rgba(250, 204, 21, 0.16);
    color: #fef3c7;
    border: 1px solid var(--gideon-border-warm);
}

.mic-btn.is-listening {
    background: var(--gideon-teal);
    color: #042f2e;
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.16);
}

.mic-btn.is-active {
    background: var(--gideon-danger);
    color: white;
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14);
}

.reset-btn {
    background: rgba(120, 113, 108, 0.3);
    color: #fef3c7;
    border: 1px solid rgba(250, 204, 21, 0.12);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.sr-only {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
}

.language-switcher select {
    min-height: 44px;
    border: 1px solid rgba(250, 204, 21, 0.22);
    border-radius: 14px;
    padding: 0 14px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    font-weight: 800;
}

.language-switcher select:focus {
    outline: none;
    border-color: rgba(45, 212, 191, 0.72);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.landing-body {
    min-height: 100vh;
    color: #f8fafc;
    background:
        radial-gradient(circle at 16% 22%, rgba(20, 184, 166, 0.18), transparent 32%),
        radial-gradient(circle at 82% 28%, rgba(245, 158, 11, 0.16), transparent 30%),
        radial-gradient(circle at 52% 92%, rgba(132, 204, 22, 0.1), transparent 34%),
        linear-gradient(180deg, #071210 0%, #111827 52%, #17130f 100%);
}

.landing-page {
    width: min(100%, 1440px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 48px 26px;
}

.landing-header,
.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.landing-header {
    min-height: 74px;
}

.landing-brand {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.landing-logo,
.landing-emblem {
    background: linear-gradient(135deg, #14b8a6, #f59e0b, #84cc16);
    box-shadow: 0 0 34px rgba(20, 184, 166, 0.22);
}

.landing-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.landing-brand strong,
.landing-brand small {
    display: block;
}

.landing-brand strong {
    font-size: 20px;
}

.landing-brand small {
    margin-top: 2px;
    color: #94a3b8;
}

.landing-nav,
.landing-hero-actions,
.landing-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-nav-link,
.landing-button {
    min-height: 46px;
    border-radius: 14px;
    padding: 0 20px;
    color: #e2e8f0;
    background: rgba(148, 163, 184, 0.14);
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.landing-nav-primary,
.landing-button-primary {
    color: #0f172a;
    background: linear-gradient(135deg, #facc15, #2dd4bf);
    box-shadow: 0 16px 34px rgba(45, 212, 191, 0.2);
}

.landing-main {
    padding-top: 32px;
}

.landing-hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 0 58px;
    text-align: center;
}

.landing-emblem {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 38px;
    border-radius: 32px 18px 32px 18px;
    padding: 5px;
    display: grid;
    place-items: center;
    transform: rotate(-8deg);
}

.landing-emblem-core {
    width: 100%;
    height: 100%;
    border-radius: 28px 15px 28px 15px;
    background: #071210;
    color: #f8fafc;
    display: grid;
    place-items: center;
    font-size: 31px;
    font-weight: 900;
    transform: rotate(8deg);
}

.landing-orbit {
    position: absolute;
    border: 1px solid rgba(250, 204, 21, 0.48);
    border-radius: 999px;
    pointer-events: none;
}

.landing-orbit-one {
    width: 122px;
    height: 46px;
    transform: rotate(31deg);
}

.landing-orbit-two {
    width: 46px;
    height: 122px;
    border-color: rgba(45, 212, 191, 0.48);
    transform: rotate(31deg);
}

.landing-kicker {
    margin: 0 0 12px;
    color: #facc15;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 1120px;
    margin: 0 auto;
    color: white;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.landing-subtitle {
    max-width: 840px;
    margin: 26px auto 0;
    color: #cbd5e1;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.5;
}

.landing-hero-actions {
    justify-content: center;
    margin-top: 34px;
}

.landing-button-secondary {
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.28);
}

.landing-crisis-support {
    width: min(100%, 1060px);
    margin: 74px auto 0;
    padding: 30px;
    border: 1px solid rgba(251, 191, 36, 0.24);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.14), transparent 36%),
        rgba(15, 23, 42, 0.64);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
    gap: 28px;
    align-items: center;
}

.landing-crisis-label,
.landing-crisis-badge {
    color: #facc15;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-crisis-label {
    margin: 0 0 12px;
}

.landing-crisis-copy h2 {
    margin: 0;
    color: white;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.14;
}

.landing-crisis-copy p,
.landing-crisis-card p {
    color: #cbd5e1;
    line-height: 1.55;
    font-size: 18px;
}

.landing-crisis-copy p {
    margin: 18px 0 0;
}

.landing-crisis-card {
    padding: 26px;
    border: 1px solid rgba(45, 212, 191, 0.18);
    border-radius: 24px;
    background: rgba(7, 18, 16, 0.74);
}

.landing-crisis-badge {
    display: inline-flex;
    margin-bottom: 14px;
    color: #99f6e4;
    font-size: 13px;
}

.landing-crisis-card h3 {
    margin: 0;
    color: white;
    font-size: 22px;
    line-height: 1.22;
}

.landing-crisis-card p {
    margin: 14px 0 20px;
}

.landing-crisis-phone,
.landing-crisis-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
}

.landing-crisis-phone {
    margin-right: 10px;
    padding: 0 24px;
    color: #071210;
    background: linear-gradient(135deg, #facc15, #2dd4bf);
}

.landing-crisis-link {
    padding: 0 18px;
    color: #fef3c7;
    border: 1px solid rgba(250, 204, 21, 0.24);
    background: rgba(245, 158, 11, 0.08);
}

.landing-steps {
    padding: 8px 0 62px;
    text-align: center;
}

.landing-steps h2,
.landing-cta h2 {
    margin: 0;
    color: white;
    font-size: clamp(26px, 3vw, 34px);
}

.landing-step-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.landing-step {
    padding: 12px;
}

.landing-step-number {
    width: 82px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 20px 8px 20px 8px;
    display: grid;
    place-items: center;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.landing-step-blue {
    color: #99f6e4;
    background: rgba(20, 184, 166, 0.16);
    border: 1px solid #2dd4bf;
}

.landing-step-violet {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid #f59e0b;
}

.landing-step-green {
    color: #bef264;
    background: rgba(101, 163, 13, 0.14);
    border: 1px solid #84cc16;
}

.landing-step h3,
.landing-feature h3 {
    margin: 0 0 9px;
    color: white;
    font-size: 21px;
}

.landing-step p,
.landing-feature p,
.landing-cta p,
.landing-footer {
    color: #cbd5e1;
    line-height: 1.5;
}

.landing-step p {
    max-width: 400px;
    margin: 0 auto;
    font-size: 18px;
}

.landing-content-grid {
    width: min(100%, 1060px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 48px;
    align-items: center;
}

.landing-feature-list {
    display: grid;
    gap: 28px;
}

.landing-feature {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.landing-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 18px 7px 18px 7px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
}

.landing-icon-cyan {
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.8);
    background: rgba(45, 212, 191, 0.09);
}

.landing-icon-gold {
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.8);
    background: rgba(251, 191, 36, 0.09);
}

.landing-icon-violet {
    color: #bef264;
    border: 1px solid rgba(190, 242, 100, 0.72);
    background: rgba(132, 204, 22, 0.09);
}

.landing-feature p {
    margin: 0;
    font-size: 19px;
}

.landing-cta {
    padding: 38px;
    border-radius: 28px;
    background: rgba(19, 31, 28, 0.82);
    border: 1px solid rgba(45, 212, 191, 0.12);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.landing-cta-label {
    margin: 0 0 12px;
    color: #2dd4bf;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.landing-cta p:not(.landing-cta-label) {
    margin: 18px 0 28px;
    font-size: 19px;
}

.landing-cta-actions {
    justify-content: center;
}

.landing-button-muted {
    color: #fef3c7;
    background: rgba(120, 113, 108, 0.34);
}

.landing-footer {
    margin-top: 70px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 15px;
}

.landing-footer-identity,
.landing-contact {
    display: grid;
    gap: 4px;
}

.landing-contact {
    margin: 0;
    font-style: normal;
    text-align: right;
}

.landing-contact a {
    color: #fef3c7;
    font-weight: 800;
    text-decoration: none;
}

.landing-contact a:hover,
.landing-contact a:focus {
    color: #fde68a;
    text-decoration: underline;
}

.auth-body {
    min-height: 100vh;
    color: var(--gideon-text);
}

.auth-page {
    min-height: 100vh;
    padding: 22px 42px;
}

.auth-topbar {
    margin-bottom: 38px;
}

.auth-layout {
    width: 100%;
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-panel {
    width: min(100%, 460px);
    padding: 28px;
    border-radius: 26px;
    background: var(--gideon-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gideon-border);
    box-shadow: var(--gideon-shadow);
}

.auth-panel h2 {
    margin: 0 0 10px;
    color: var(--gideon-text);
    font-size: 28px;
}

.auth-help {
    margin-bottom: 22px;
}

.auth-form {
    display: grid;
    gap: 11px;
}

.auth-form label {
    color: var(--gideon-muted);
    font-size: 14px;
    font-weight: bold;
}

.auth-form input,
.auth-form select {
    width: 100%;
    height: 48px;
    border: 2px solid rgba(45, 212, 191, 0.16);
    border-radius: 16px;
    padding: 0 14px;
    color: var(--gideon-text);
    background: rgba(7, 18, 16, 0.72);
    font: inherit;
    outline: none;
}

.auth-form select {
    cursor: pointer;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--gideon-teal);
}

.auth-form-status {
    min-height: 22px;
    margin: 2px 0 0;
    color: var(--gideon-muted);
    font-size: 14px;
    font-weight: bold;
}

.auth-form-status.is-error {
    color: #fda4af;
}

.auth-form-status.is-success {
    color: #99f6e4;
}

.auth-submit {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gideon-amber), var(--gideon-teal));
    color: #071210;
    cursor: pointer;
    font-weight: bold;
}

.auth-secondary {
    margin-top: 18px;
    color: #fef3c7;
    display: inline-flex;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 950px) {
    .landing-page {
        padding: 22px;
    }

    .landing-header,
    .landing-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-contact {
        text-align: left;
    }

    .landing-main {
        padding-top: 18px;
    }

    .landing-hero {
        padding-bottom: 58px;
    }

    .landing-emblem {
        margin-bottom: 26px;
    }

    .landing-step-grid,
    .landing-content-grid,
    .landing-crisis-support {
        grid-template-columns: 1fr;
    }

    .landing-content-grid {
        gap: 34px;
    }

    .landing-cta {
        padding: 28px 22px;
    }

    .landing-feature {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .landing-crisis-support {
        padding: 24px;
    }

    .landing-crisis-phone,
    .landing-crisis-link {
        width: 100%;
        margin-right: 0;
    }

    .landing-crisis-link {
        margin-top: 10px;
    }

    .app {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 18px;
    }

    .topbar {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .main-layout {
        height: auto;
        grid-template-columns: 1fr;
    }

    .interview-card {
        height: 430px;
    }

    .side-panel {
        height: 650px;
    }

    .auth-nav {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .auth-page {
        padding: 18px;
    }

    .auth-layout {
        min-height: auto;
        align-items: flex-start;
    }

    .auth-panel {
        padding: 22px;
    }
}


