/* ==========================================================================
   WAITLIST PAGE & FORM STYLING
   ========================================================================== */
.waitlist-content {
    overflow-y: auto;
}

.waitlist-layout-grid {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .waitlist-layout-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: auto;
        overflow-y: visible;
        padding-bottom: 2rem;
    }
    .waitlist-content {
        overflow-y: auto;
    }
}

.waitlist-info-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.waitlist-header-group {
    display: flex;
    flex-direction: column;
}

/* Social Proof benefits block */
.why-join-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-join-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: -0.2px;
}

.why-join-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.why-join-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.why-join-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.why-join-icon-svg {
    color: var(--color-accent-orange);
    display: block;
}

.why-join-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-text-light);
    opacity: 0.85;
}

/* Frosted Form Container */
.waitlist-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0px;
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    width: 100%;
}

@media (max-width: 768px) {
    .waitlist-card {
        padding: 1.25rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(20, 20, 20, 0.96);
    }

    .why-join-container {
        display: none;
    }

    .waitlist-info-col {
        gap: 0;
    }

    .waitlist-form-col {
        width: 100%;
    }

    .waitlist-layout-grid {
        gap: 1.25rem;
        padding-bottom: 1.5rem;
    }

    .waitlist-submit-btn {
        min-height: 48px;
        padding: 0.95rem 1rem;
        font-size: 0.9rem;
    }

    .auth-otp-input {
        min-height: 48px;
        font-size: 1.1rem;
        padding: 0.85rem 1rem;
        letter-spacing: 0.22em;
    }

    .auth-text-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .auth-google-btn {
        min-height: 48px;
    }
}

/* Form controls */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    text-align: left;
}

.form-group.is-hidden,
.form-group[hidden] {
    display: none !important;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    opacity: 0.95;
    letter-spacing: 0.2px;
}

.label-optional {
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.75rem;
}

.form-input,
.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-light);
    padding: 0.7rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    border-radius: 0px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-input:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Error States */
.form-input.invalid,
.form-select.invalid {
    border-color: var(--color-accent-orange) !important;
    background: rgba(237, 87, 47, 0.05) !important;
}

.form-error-msg {
    display: none;
    color: var(--color-accent-orange);
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Form columns split */
.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .form-row-split {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Custom Dropdown Arrow */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
}

.form-select option {
    background: #1A1A1A;
    color: var(--color-text-light);
}

/* Custom Checkbox controls */
.checkbox-group-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

@media (min-width: 769px) {
    .checkbox-group-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem 1rem;
    }
}

.checkbox-label-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    height: 18px;
    width: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0px;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition-smooth);
}

.checkbox-label-wrapper:hover .custom-checkbox {
    border-color: rgba(255, 255, 255, 0.35);
}

.form-checkbox:checked ~ .custom-checkbox {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
}

.custom-checkbox::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox:checked ~ .custom-checkbox::after {
    display: block;
}

.checkbox-text-content {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-text-light);
    opacity: 0.85;
    line-height: 1.4;
}

.form-checkbox:checked ~ .checkbox-text-content {
    opacity: 1;
}

/* Submit Waitlist Button */
.waitlist-submit-btn {
    width: 100%;
    background-color: var(--color-text-light);
    color: var(--color-text-main);
    border: none;
    padding: 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    margin-top: 1.25rem;
    text-transform: uppercase;
}

.waitlist-submit-btn:hover {
    background-color: var(--color-accent-orange);
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(237, 87, 47, 0.3);
}

.waitlist-submit-btn:active {
    transform: scale(0.98);
}

/* Auth login form (login + contact pages) */
.auth-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.auth-card-subtitle {
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
}

.auth-status {
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.auth-status.is-error {
    background: rgba(220, 60, 60, 0.18);
    color: #ffc9c9;
}

.auth-status.is-success {
    background: rgba(46, 160, 90, 0.18);
    color: #c9f0d6;
}

.auth-otp-step.is-hidden,
.auth-otp-step[hidden],
#email-step.is-hidden,
#email-step[hidden] {
    display: none;
}

.auth-otp-input {
    letter-spacing: 0.28em;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.auth-otp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    margin: -0.15rem 0 1rem;
}

.auth-text-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.auth-text-btn:hover {
    color: #fff;
}

.auth-text-btn:disabled {
    opacity: 0.55;
    cursor: default;
    text-decoration: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.auth-google-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-google-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.auth-google-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.waitlist-submit-btn.is-busy,
.auth-card .waitlist-submit-btn.is-busy {
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
}

/* Success panel styling */
.waitlist-success-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    animation: waitlistFadeIn 0.5s ease-out;
}

.success-animation-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    animation: waitlistBounce 2s infinite;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.ticker-number-highlight {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--color-accent-orange);
    text-shadow: 0 0 15px rgba(237, 87, 47, 0.3);
}

.success-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-light);
    opacity: 0.85;
}

@keyframes waitlistFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes waitlistBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Waitlist Page Custom Ambient Background */
.ambient-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit; /* Maintain rounded corners of the parent container */
}

.waitlist-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0b0d;
    background-image:
        radial-gradient(ellipse 130% 90% at 50% -30%, rgba(237, 87, 47, 0.07), transparent 55%),
        radial-gradient(ellipse 90% 70% at 100% 100%, rgba(237, 87, 47, 0.04), transparent 50%),
        radial-gradient(ellipse 70% 60% at 0% 90%, rgba(255, 255, 255, 0.025), transparent 45%);
    overflow: hidden;
    z-index: 1;
    transition: transform 0.5s ease-out;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.2;
    mix-blend-mode: screen;
    animation: orbPulse 12s infinite alternate ease-in-out;
    pointer-events: none;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(237, 87, 47, 0.25) 0%, transparent 70%);
    animation-duration: 15s;
}

.orb-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation-duration: 20s;
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(237, 87, 47, 0.12) 0%, transparent 70%);
    animation-duration: 18s;
    animation-delay: -2s;
}

@keyframes orbPulse {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(3%, 5%) scale(1.1);
        opacity: 0.45;
    }
    100% {
        transform: translate(-2%, -3%) scale(0.95);
        opacity: 0.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glow-orb {
        animation: none !important;
        opacity: 0.25 !important;
    }

    .waitlist-bg {
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .checkbox-label-wrapper {
        min-height: 44px;
        padding: 0.35rem 0;
    }

    .waitlist-content {
        overscroll-behavior: contain;
    }
}

/* ==========================================================================
   SITE-WIDE DARK CANVAS (every page except home — home skips ambient.css)
   ========================================================================== */
html:not(.home-page),
body:not(.home-page) {
    background-color: #0b0b0d;
    color: rgba(255, 255, 255, 0.88);
}

body:not(.home-page) .app-container {
    background: transparent;
    position: relative;
    z-index: 1;
}

body:not(.home-page) .hero-showcase {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

body:not(.home-page)::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #0b0b0d;
    background-image:
        radial-gradient(ellipse 160% 120% at 15% -10%, rgba(237, 87, 47, 0.1), transparent 58%),
        radial-gradient(ellipse 120% 90% at 85% 15%, rgba(237, 87, 47, 0.05), transparent 55%),
        radial-gradient(ellipse 100% 80% at 50% 110%, rgba(237, 87, 47, 0.04), transparent 52%);
}

body.inv-investor-profile::before {
    background-image:
        radial-gradient(ellipse 140% 100% at 18% -8%, rgba(237, 87, 47, 0.28), transparent 62%),
        radial-gradient(ellipse 120% 90% at 85% 12%, rgba(237, 87, 47, 0.12), transparent 55%),
        radial-gradient(ellipse 100% 80% at 50% 110%, rgba(237, 87, 47, 0.06), transparent 52%);
}

body.inv-investor-profile .glow-orb {
    opacity: 0.18;
}

body:not(.home-page) .waitlist-bg {
    background-color: transparent;
    background-image: none;
}

body:not(.home-page) .glow-orb {
    opacity: 0.12;
    filter: blur(130px);
}

body:not(.home-page) .hero-overlay {
    display: none;
}

body:not(.home-page) .ambient-bg-wrapper {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    z-index: 0;
}

body:not(.home-page) .site-header {
    position: relative;
    z-index: 2;
    background: transparent;
}

body:not(.home-page) .site-header .nav-link {
    color: rgba(255, 255, 255, 0.82);
}

body:not(.home-page) .site-header .nav-link.active {
    color: var(--color-accent-orange);
}

body:not(.home-page) .nav-toggle span {
    background-color: #fff;
}

body:not(.home-page) .inv-breadcrumbs {
    color: rgba(255, 255, 255, 0.45);
}

body:not(.home-page) .inv-breadcrumbs a {
    color: rgba(255, 255, 255, 0.55);
}

body:not(.home-page) .inv-breadcrumbs .current,
body:not(.home-page) .inv-breadcrumbs a:hover {
    color: var(--color-accent-orange);
}

body:not(.home-page) .highlight-text {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-text-light);
}

body:not(.home-page) .hero-title,
body:not(.home-page) .hero-tagline {
    color: var(--color-text-light);
}

body:not(.home-page) .hero-content,
body:not(.home-page) .blog-content,
body:not(.home-page) .inv-detail-wrap,
body:not(.home-page) .inv-dir-wrap,
body:not(.home-page) .waitlist-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    body:not(.home-page).inv-dir-page .site-header,
    body:not(.home-page) .site-header {
        background: transparent;
    }
}

/* CTA banner (investor profiles, guides, SSR — blog.css has matching rules for blog pages) */
.blog-cta-banner {
    position: relative;
    margin: 4rem 0;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.02) 48%,
        rgba(237, 87, 47, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 48px rgba(0, 0, 0, 0.35);
}

.blog-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(237, 87, 47, 0.55) 35%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(237, 87, 47, 0.55) 65%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

.blog-cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 80% at 0% 50%, rgba(237, 87, 47, 0.07), transparent 70%),
        radial-gradient(ellipse 40% 60% at 100% 0%, rgba(255, 255, 255, 0.04), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.blog-cta-bg {
    display: none !important;
}

.blog-cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.45rem 2.5rem;
    align-items: center;
    padding: 2.1rem 2.35rem;
    width: 100%;
    max-width: none;
    text-align: left;
}

.blog-cta-title {
    grid-column: 1;
    grid-row: 1;
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 2.8vw, 1.95rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.blog-cta-desc {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.55;
    max-width: 38rem;
}

.blog-cta-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #f0653a 0%, var(--color-accent-orange) 45%, #d94a28 100%);
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 1.65rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(237, 87, 47, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    min-height: 48px;
    white-space: nowrap;
    align-self: center;
}

.blog-cta-btn::after {
    content: '→';
    font-size: 1.05rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.blog-cta-btn:hover {
    color: #fff;
    filter: brightness(1.06);
    box-shadow: 0 8px 28px rgba(237, 87, 47, 0.45);
    transform: translateY(-1px);
}

.blog-cta-btn:hover::after {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .blog-cta-banner {
        margin: 3rem 0;
        border-radius: 16px;
    }

    .blog-cta-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.65rem;
        padding: 1.65rem 1.35rem;
        text-align: center;
    }

    .blog-cta-title {
        grid-column: 1;
        grid-row: 1;
        font-size: 1.35rem;
    }

    .blog-cta-desc {
        grid-column: 1;
        grid-row: 2;
        font-size: 0.88rem;
        max-width: none;
    }

    .blog-cta-btn {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        margin-top: 0.35rem;
    }
}

/* ==========================================================================
   HOME PAGE — black canvas + light orange glow (video hero only has warm tones)
   ========================================================================== */
html.home-page,
body.home-page {
    background-color: #000;
    color: rgba(255, 255, 255, 0.88);
}

body.home-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #000;
    background-image:
        radial-gradient(ellipse 100% 65% at 50% -8%, rgba(237, 87, 47, 0.28), transparent 68%),
        radial-gradient(ellipse 70% 55% at -5% 35%, rgba(237, 87, 47, 0.14), transparent 58%),
        radial-gradient(ellipse 70% 55% at 105% 55%, rgba(237, 87, 47, 0.12), transparent 58%),
        radial-gradient(ellipse 90% 50% at 50% 100%, rgba(237, 87, 47, 0.08), transparent 55%);
}

body.home-page .home-ambient {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    z-index: 0;
    pointer-events: none;
}

body.home-page .home-ambient .waitlist-bg {
    background-color: transparent;
    background-image: none;
}

body.home-page .home-ambient .glow-orb {
    opacity: 0.2;
    filter: blur(120px);
}

body.home-page .announcement-strip {
    background: transparent;
    border-bottom: none;
    position: relative;
    z-index: 4;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

body.home-page .announcement-text {
    color: rgba(255, 255, 255, 0.72);
}

body.home-page .app-container {
    position: relative;
    z-index: 2;
    background: transparent;
    padding-top: 0;
    gap: 1.35rem;
}

body.home-page .site-header {
    position: relative;
    z-index: 4;
    background: transparent;
    margin-left: calc(-1 * var(--page-padding));
    margin-right: calc(-1 * var(--page-padding));
    width: calc(100% + 2 * var(--page-padding));
    padding: 0.5rem var(--page-padding) 0.25rem;
    border-bottom: none;
}

body.home-page .logo-wordmark {
    color: #fff;
}

body.home-page .site-header .nav-link {
    color: rgba(255, 255, 255, 0.82);
}

body.home-page .site-header .nav-link::after {
    background-color: rgba(255, 255, 255, 0.85);
}

body.home-page .site-header .nav-link.active {
    color: var(--color-accent-orange);
}

body.home-page .nav-toggle span {
    background-color: #fff;
}

body.home-page .hero-showcase {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

body.home-page .hero-content {
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    /* Same dark + orange gradient chrome as dweb; layout stays in hero.css */
    html.home-page,
    body.home-page {
        background-color: #000 !important;
        color: rgba(255, 255, 255, 0.88);
    }

    body.home-page::before {
        background-color: #000;
        background-image:
            radial-gradient(ellipse 100% 65% at 50% -8%, rgba(237, 87, 47, 0.28), transparent 68%),
            radial-gradient(ellipse 70% 55% at -5% 35%, rgba(237, 87, 47, 0.14), transparent 58%),
            radial-gradient(ellipse 70% 55% at 105% 55%, rgba(237, 87, 47, 0.12), transparent 58%),
            radial-gradient(ellipse 90% 50% at 50% 100%, rgba(237, 87, 47, 0.08), transparent 55%);
    }

    body.home-page .home-ambient {
        display: block;
    }

    body.home-page .site-header {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 0;
        background: transparent;
    }

    body.home-page .nav-toggle span {
        background-color: #fff;
    }

    body.home-page .announcement-strip {
        display: none !important;
    }

    body.home-page .app-container {
        gap: 1.5rem;
        background: transparent;
    }

    body.home-page .main-nav {
        background: rgba(14, 14, 16, 0.98);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.home-page .main-nav .nav-link {
        color: rgba(255, 255, 255, 0.88);
    }

    body.home-page .home-ambient .glow-orb {
        opacity: 0.15;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-page .home-ambient .glow-orb {
        animation: none;
    }
}

