:root {
    --bg: #07111f;
    --bg-soft: #0f1d31;
    --surface: rgba(10, 20, 35, 0.72);
    --surface-strong: rgba(9, 18, 31, 0.88);
    --surface-light: #f4f7fb;
    --card: rgba(255, 255, 255, 0.08);
    --card-strong: rgba(255, 255, 255, 0.12);
    --stroke: rgba(151, 173, 203, 0.18);
    --stroke-strong: rgba(255, 255, 255, 0.14);
    --text: #e7eefb;
    --text-muted: #94a7c6;
    --text-dark: #112036;
    --brand: #31c3b0;
    --brand-deep: #177e89;
    --brand-warm: #ffb86b;
    --success: #4ade80;
    --danger: #fb7185;
    --shadow-lg: 0 32px 80px rgba(3, 8, 18, 0.45);
    --shadow-md: 0 20px 45px rgba(5, 12, 23, 0.24);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body.public-body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(49, 195, 176, 0.24), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 184, 107, 0.18), transparent 25%),
        linear-gradient(180deg, #07111f 0%, #0c1729 42%, #f5f8fc 42%, #f5f8fc 100%);
    font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.03em;
}

a {
    color: inherit;
}

.public-shell {
    position: relative;
    overflow: hidden;
}

.public-shell::before,
.public-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.public-shell::before {
    top: -90px;
    left: -110px;
    background: rgba(49, 195, 176, 0.18);
}

.public-shell::after {
    right: -100px;
    top: 180px;
    background: rgba(255, 184, 107, 0.18);
}

.public-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 1rem 0;
    background: transparent;
    transition: background-color 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.public-nav.scrolled {
    background: rgba(6, 15, 28, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(3, 8, 18, 0.22);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.brand-mark img {
    height: 44px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1rem;
    color: #f8fbff;
}

.brand-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.navbar-toggler.public-toggler {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
    color: white;
}

.navbar-toggler.public-toggler:focus {
    box-shadow: none;
}

.public-nav .nav-link {
    color: rgba(233, 241, 255, 0.84);
    font-weight: 600;
    padding: 0.75rem 1rem;
    position: relative;
}

.public-nav .nav-link:hover,
.public-nav .nav-link:focus,
.public-nav .nav-link.active {
    color: white;
}

.public-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.3rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-warm));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.public-nav .nav-link:hover::after,
.public-nav .nav-link.active::after {
    transform: scaleX(1);
}

.btn-ui {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-ui:hover {
    transform: translateY(-2px);
}

.btn-ui-primary {
    background: linear-gradient(135deg, var(--brand), #49e4cf);
    color: #051018;
    box-shadow: 0 18px 40px rgba(49, 195, 176, 0.25);
}

.btn-ui-outline {
    background: rgba(255, 255, 255, 0.04);
    color: white;
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-ui-light {
    background: #ffffff;
    color: var(--text-dark);
    box-shadow: 0 16px 30px rgba(5, 12, 23, 0.12);
}

.hero-panel,
.section-panel,
.auth-card,
.contact-form-card,
.terms-card,
.verification-card {
    position: relative;
    z-index: 1;
}

.hero-section {
    padding: 3rem 0 5.5rem;
}

.hero-panel {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(16, 36, 61, 0.95), rgba(8, 20, 37, 0.9));
    border: 1px solid var(--stroke-strong);
    border-radius: 36px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -8% -22% auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 195, 176, 0.4) 0%, rgba(49, 195, 176, 0) 68%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d6e6ff;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    line-height: 0.98;
    margin: 1rem 0 1.1rem;
    max-width: 11ch;
}

.hero-copy p {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 58ch;
}

.hero-actions,
.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.metric-card,
.feature-card,
.testimonial-card-ui,
.faq-card,
.stat-strip-card,
.contact-info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    box-shadow: var(--shadow-md);
}

.metric-card strong,
.stat-strip-card strong {
    display: block;
    font-size: 1.65rem;
    color: white;
    margin-bottom: 0.25rem;
}

.metric-card span,
.stat-strip-card span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.hero-visual {
    position: relative;
    padding: 2rem 1.5rem 1rem;
    min-height: 100%;
}

.hero-orbit {
    position: absolute;
    inset: 8% auto auto 12%;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.16);
}

.hero-phone {
    position: relative;
    z-index: 1;
    max-width: 100%;
    filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    padding: 1rem 1.1rem;
    background: rgba(7, 16, 30, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.floating-card strong {
    display: block;
    font-size: 1.1rem;
}

.floating-card.top {
    right: 0.5rem;
    top: 1rem;
}

.floating-card.bottom {
    left: 0;
    bottom: 1rem;
}

.public-section {
    position: relative;
    z-index: 1;
    padding: 4.8rem 0;
}

.public-section.surface-light {
    color: var(--text-dark);
}

.section-heading {
    margin-bottom: 2.2rem;
}

.section-heading p {
    color: #5e718f;
    max-width: 58ch;
}

.public-section:not(.surface-light) .section-heading p {
    color: rgba(231, 238, 251, 0.82);
}

.surface-light .feature-card,
.feature-card.surface-light,
.surface-light .testimonial-card-ui,
.testimonial-card-ui.surface-light,
.surface-light .faq-card,
.faq-card.surface-light,
.surface-light .contact-info-card,
.contact-info-card.surface-light,
.surface-light .terms-card,
.terms-card.surface-light,
.surface-light .verification-card,
.verification-card.surface-light,
.surface-light .contact-form-card,
.contact-form-card.surface-light,
.auth-card.surface-light,
.surface-light .auth-card,
    background: white;
    border-color: rgba(17, 32, 54, 0.08);
    color: var(--text-dark);
    box-shadow: 0 22px 50px rgba(14, 27, 45, 0.08);
}

.feature-card {
    height: 100%;
}

.feature-icon,
.contact-info-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(49, 195, 176, 0.18), rgba(23, 126, 137, 0.25));
    color: var(--brand-deep);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.feature-list li,
.check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #5e718f;
}

.feature-list i,
.check-list i {
    color: var(--brand);
    margin-top: 0.2rem;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.spotlight-panel {
    padding: 2rem;
    border-radius: 30px;
    background:
        linear-gradient(140deg, rgba(8, 19, 33, 0.92), rgba(12, 39, 64, 0.88)),
        linear-gradient(135deg, rgba(49, 195, 176, 0.14), transparent 50%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.spotlight-panel p {
    color: rgba(245, 249, 255, 0.92);
}

.spotlight-panel .check-list li {
    color: rgba(245, 249, 255, 0.96);
}

.spotlight-panel .eyebrow {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
}

.journey-step {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.journey-step:last-child {
    border-bottom: 0;
}

.journey-index {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-warm);
}

.testimonial-card-ui blockquote {
    margin: 0 0 1.2rem;
    color: #526581;
    line-height: 1.8;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-meta img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-shell .accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(17, 32, 54, 0.08);
}

.faq-shell .accordion-button {
    background: transparent;
    box-shadow: none;
    padding: 1.2rem 0;
    color: var(--text-dark);
    font-weight: 700;
}

.faq-shell .accordion-button:not(.collapsed) {
    color: var(--brand-deep);
}

.faq-shell .accordion-button::after {
    filter: hue-rotate(145deg) saturate(0.8);
}

.cta-banner {
    padding: 2.4rem;
    border-radius: 30px;
    background: linear-gradient(135deg, #10263f, #0c3a48 60%, #177e89);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-banner p {
    color: rgba(233, 241, 255, 0.76);
}

.public-footer {
    color: #dfe9f8;
    background: linear-gradient(180deg, #0d1a2d 0%, #08111f 100%);
    padding: 3.6rem 0 2rem;
    position: relative;
    z-index: 1;
}

.public-footer p,
.public-footer a,
.public-footer li {
    color: #a8b7cf;
}

.public-footer a {
    text-decoration: none;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-field,
.field-group input,
.field-group textarea,
.field-group select,
.verification-card input,
.auth-card input {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(17, 32, 54, 0.12);
    background: #f8fbff;
    color: var(--text-dark);
    padding: 0.95rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.newsletter-field:focus,
.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus,
.verification-card input:focus,
.auth-card input:focus {
    border-color: rgba(49, 195, 176, 0.55);
    box-shadow: 0 0 0 4px rgba(49, 195, 176, 0.12);
}

.field-label {
    display: block;
    color: #4f627d;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.field-note,
.auth-subtext {
    color: #677b98;
}

.auth-page {
    padding: 2.25rem 0 5rem;
}

.auth-page.auth-page-immersive {
    padding: 2rem 0 4rem;
}

.auth-layout {
    min-height: calc(100vh - 104px);
    display: grid;
    place-items: center;
}

.auth-stage {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
    border-radius: 38px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7, 18, 33, 0.96), rgba(10, 27, 47, 0.94)),
        radial-gradient(circle at top left, rgba(73, 228, 207, 0.18), transparent 32%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 36px 100px rgba(3, 8, 18, 0.34);
    position: relative;
}

.auth-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(49, 195, 176, 0.16), transparent 22%),
        radial-gradient(circle at bottom right, rgba(255, 184, 107, 0.1), transparent 20%);
    pointer-events: none;
}

.auth-story,
.auth-form-wrap {
    position: relative;
    z-index: 1;
}

.auth-story {
    padding: 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 760px;
    background:
        linear-gradient(180deg, rgba(7, 18, 33, 0.08), rgba(7, 18, 33, 0.32)),
        linear-gradient(135deg, rgba(49, 195, 176, 0.08), transparent 48%);
}

.auth-story-top {
    max-width: 540px;
}

.auth-story-title {
    font-size: clamp(2.8rem, 4.6vw, 4.8rem);
    line-height: 0.95;
    margin: 1rem 0 1.2rem;
    color: white;
}

.auth-story-copy {
    color: rgba(232, 239, 249, 0.82);
    font-size: 1.06rem;
    line-height: 1.8;
    max-width: 44ch;
}

.auth-story-banner {
    margin-top: 2rem;
    padding: 1.3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(2, 7, 15, 0.18);
}

.auth-story-banner-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.auth-story-banner-head strong {
    font-size: 1.05rem;
}

.auth-story-caption,
.auth-story-banner-head span,
.auth-story-list li {
    color: rgba(232, 239, 249, 0.76);
}

.auth-story-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.auth-story-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.auth-story-list i {
    color: #5af0dd;
}

.auth-story-bottom {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.auth-story-visual {
    position: relative;
    min-height: 280px;
    border-radius: 30px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(12, 37, 61, 0.96), rgba(17, 126, 137, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-story-visual img {
    position: absolute;
    right: -4%;
    bottom: 0;
    max-height: 104%;
    width: auto;
    opacity: 0.94;
    filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.35));
}

.auth-floating-chip {
    position: absolute;
    left: 1.2rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(7, 18, 33, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(4, 12, 23, 0.28);
}

.auth-floating-chip.top {
    top: 1.2rem;
}

.auth-floating-chip.bottom {
    bottom: 1.2rem;
}

.auth-floating-chip strong {
    display: block;
    color: white;
}

.auth-floating-chip small {
    color: rgba(232, 239, 249, 0.72);
}

.auth-story-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.auth-story-metric {
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-story-metric strong {
    display: block;
    font-size: 1.3rem;
    color: white;
}

.auth-story-metric span {
    color: rgba(232, 239, 249, 0.74);
}

.auth-form-wrap {
    padding: 2rem;
    display: flex;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at top right, rgba(49, 195, 176, 0.12), transparent 22%);
}

.auth-form-card {
    width: 100%;
    padding: 2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 32, 54, 0.08);
    box-shadow: 0 30px 70px rgba(14, 27, 45, 0.1);
}

.auth-form-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-mode-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(17, 32, 54, 0.05);
    color: #31506f;
    text-decoration: none;
    font-weight: 700;
}

.auth-form-grid {
    display: grid;
    gap: 1rem;
}

.auth-input-shell {
    position: relative;
}

.auth-input-shell input {
    min-height: 60px;
    padding-left: 3rem;
    font-size: 1.02rem;
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7c90ad;
    pointer-events: none;
}

.auth-help-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(49, 195, 176, 0.12);
    color: #177e89;
    font-weight: 800;
}

.auth-submit {
    min-height: 64px;
    font-size: 1.18rem;
}

.auth-footer-note {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(17, 32, 54, 0.08);
}

.auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    border-radius: 34px;
    overflow: hidden;
}

.auth-form-panel {
    padding: 2.4rem;
}

.auth-side-panel {
    background:
        linear-gradient(140deg, rgba(10, 28, 48, 0.95), rgba(23, 126, 137, 0.92)),
        url("../images/login-img.png") center/cover no-repeat;
    min-height: 100%;
    position: relative;
    color: white;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.auth-side-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 15, 28, 0.12), rgba(6, 15, 28, 0.65));
}

.auth-side-panel > * {
    position: relative;
    z-index: 1;
}

.auth-kicker {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.auth-title {
    color: var(--text-dark);
    margin-top: 1rem;
}

.auth-panel-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.auth-mini-card {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.auth-mini-card strong {
    display: block;
    font-size: 1.15rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #5a6f8e;
    cursor: pointer;
}

.input-wrap {
    position: relative;
}

.verification-card,
.terms-card,
.contact-form-card {
    padding: 2rem;
    border-radius: 30px;
}

.contact-hero {
    padding: 3rem 0 4rem;
}

.contact-lead {
    max-width: 60ch;
    color: var(--text-muted);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form-card textarea {
    min-height: 180px;
    resize: vertical;
}

.terms-list {
    display: grid;
    gap: 1.25rem;
}

.terms-block {
    padding: 1.2rem;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid rgba(17, 32, 54, 0.06);
}

.terms-block p,
.terms-block li {
    color: #566b87;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.status-pill.brand {
    background: rgba(49, 195, 176, 0.12);
    color: var(--brand-deep);
}

.status-pill.warn {
    background: rgba(255, 184, 107, 0.16);
    color: #a25c13;
}

.error-message {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.86rem;
}

.inline-link {
    color: var(--brand-deep);
    font-weight: 700;
    text-decoration: none;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-content.ui-modal {
    background: linear-gradient(160deg, #08111f, #10263f);
    color: white;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-content.ui-modal .modal-header,
.modal-content.ui-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

.modal-content.ui-modal .text-muted {
    color: rgba(231, 238, 251, 0.72) !important;
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.revealed {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .public-nav .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(7, 16, 30, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-panel {
        padding: 1.5rem;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-metrics,
    .stats-strip,
    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-card,
    .auth-stage {
        grid-template-columns: 1fr;
    }

    .auth-side-panel,
    .auth-story {
        min-height: 300px;
    }

    .auth-story {
        padding: 2rem;
    }

    .auth-form-wrap {
        padding: 1.15rem;
    }

    .auth-form-card {
        padding: 1.4rem;
    }
}

@media (max-width: 767.98px) {
    body.public-body {
        background:
            radial-gradient(circle at top left, rgba(49, 195, 176, 0.22), transparent 24%),
            linear-gradient(180deg, #07111f 0%, #0c1729 38%, #f5f8fc 38%, #f5f8fc 100%);
    }

    .hero-section,
    .public-section,
    .contact-hero {
        padding: 3.5rem 0;
    }

    .hero-metrics,
    .stats-strip,
    .contact-info-grid,
    .auth-panel-metrics,
    .auth-story-metrics {
        grid-template-columns: 1fr;
    }

    .auth-form-panel,
    .auth-side-panel,
    .contact-form-card,
    .terms-card,
    .verification-card {
        padding: 1.45rem;
    }

    .floating-card {
        position: static;
        margin-top: 1rem;
    }

    .auth-story-title {
        font-size: 2.35rem;
    }

    .auth-form-top,
    .auth-help-row {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-story-visual {
        min-height: 220px;
    }

    .auth-story-visual img {
        right: -12%;
        max-height: 112%;
    }
}
