/* --- System Variables --- */
:root {
    --canvas-bg: #030712;
    --surface-bg: #0b1329;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --interactive-teal: #14b8a6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.6;
    background-color: var(--canvas-bg);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.75rem, 2vw, 2.5rem);
    overflow-y: auto;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1001;
    transform: translateY(-200%);
    padding: 0.75rem 1rem;
    background: var(--surface-bg);
    color: var(--text-primary);
}

.skip-link:focus {
    transform: translateY(0);
}

html.splash-pending .skip-link {
    display: none;
}

:where(a, button, input, textarea, summary):focus-visible {
    outline: 3px solid var(--interactive-teal);
    outline-offset: 4px;
}

html.entered-session #splash-screen {
    display: none !important;
}

html.entered-session #main-content,
html.entered-session #main-content.hidden {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* --- Fullscreen Splash Layout Engine --- */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background-color: var(--canvas-bg);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    cursor: pointer;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html.splash-pending .splash-overlay {
    display: flex;
}

.splash-content {
    text-align: center;
    max-width: 100%;
    max-height: 100%;
    padding: clamp(1rem, 4vw, 3rem);
    overflow-y: auto;
}

.splash-title {
    font-size: clamp(1.6rem, 1.1rem + 2.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: clamp(0.05em, 0.3vw, 0.15em);
    overflow-wrap: anywhere;
    margin-bottom: 12px;
    color: #ffffff;
}

.splash-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.click-prompt {
    font-family: inherit;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--interactive-teal);
    text-transform: uppercase;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 6px;
    padding: 12px 18px;
    cursor: pointer;
    opacity: 0.6;
    animation: textPulse 2s ease-in-out infinite;
}

.click-prompt:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    animation: none;
    opacity: 1;
}

/* --- Container Frame --- */
.coming-soon-container {
    text-align: center;
    max-width: 60rem;
    width: 100%;
    min-width: 0;
    background: linear-gradient(180deg, #0b1329, #070d1e);
    padding: clamp(1.25rem, 4vw, 3.5rem);
    overflow-wrap: anywhere;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Shared Shield Viewport Structure --- */
.logo-viewport {
    width: clamp(5rem, 8vw, 8rem);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-viewport.scale-up {
    width: clamp(6rem, 14vw, 11rem);
}

.shield-vector {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    animation: layoutBreathe 4s ease-in-out infinite;
}

/* --- Functional State Handling --- */
html.splash-pending #main-content.hidden {
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    visibility: hidden;
}

.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.fade-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* --- Animation Systems --- */
@keyframes layoutBreathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.15)); }
    50% { transform: scale(1.03); filter: drop-shadow(0 0 22px rgba(20, 184, 166, 0.4)); }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* --- Document Inner Typography --- */
.brand-header {
    font-size: clamp(1.55rem, 1.1rem + 2.4vw, 3rem);
    font-weight: 700;
    letter-spacing: clamp(0.04em, 0.25vw, 0.12em);
    line-height: 1.2;
    text-wrap: balance;
    margin-bottom: 8px;
    color: #ffffff;
}

.brand-subtitle {
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--interactive-teal);
    margin-bottom: clamp(1rem, 3vw, 2rem);
    text-wrap: balance;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(0.4rem, 1vw, 0.8rem);
    flex-wrap: wrap;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.95rem);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.6rem clamp(0.65rem, 1.5vw, 1.1rem);
    line-height: 1.2;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    color: var(--interactive-teal);
    border-color: rgba(20, 184, 166, 0.55);
    background-color: rgba(20, 184, 166, 0.08);
}

.site-nav-link.active {
    color: #e2e8f0;
    border-color: rgba(20, 184, 166, 0.55);
    background-color: rgba(20, 184, 166, 0.12);
}

.launch-badge {
    display: inline-block;
    border: 1px solid rgba(20, 184, 166, 0.3);
    background-color: rgba(20, 184, 166, 0.06);
    color: #2dd4bf;
    padding: 5px 14px;
    font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    max-width: 100%;
}

.abstract {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
    line-height: 1.75;
    color: var(--text-secondary);
    text-align: center;
    max-width: 65ch;
    margin: 0 auto;
}

.abstract + .abstract {
    margin-top: 16px;
}

.line-break {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 35px 0;
}

.content-stack {
    display: grid;
    gap: clamp(1rem, 2vw, 1.75rem);
    margin-top: 8px;
    color: var(--text-secondary);
    text-align: left;
}

.content-card {
    min-width: 0;
    container-type: inline-size;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    background: rgba(3, 7, 18, 0.42);
}

.status-badge {
    display: inline-block;
    font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 3px 9px;
    margin-bottom: 8px;
}

.status-badge.launching {
    color: #2dd4bf;
    border-color: rgba(20, 184, 166, 0.5);
    background-color: rgba(20, 184, 166, 0.08);
}

.content-card h2,
.content-card h3 {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
    line-height: 1.35;
    letter-spacing: 0.8px;
    color: #e2e8f0;
    margin-bottom: 0.65rem;
}

.content-card p {
    font-size: 1em;
    line-height: 1.7;
}

.content-card p + p,
.content-card p + ul,
.content-card ul + p {
    margin-top: 0.85rem;
}

.content-card > .inline-link {
    display: inline-block;
    margin-top: 0.85rem;
}

.mission-quote {
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border-left: 4px solid var(--interactive-teal);
    font-size: clamp(1.15rem, 1rem + 0.75vw, 1.6rem);
    line-height: 1.55;
    color: var(--text-primary);
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.product-grid .content-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-grid .content-card > .inline-link {
    margin-top: auto;
    padding-top: 1rem;
}

.home-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.inline-link {
    color: #dbeafe;
    overflow-wrap: anywhere;
}

.inline-link:hover {
    color: var(--interactive-teal);
}

/* --- Staging label --- */
body:has(.staging-banner) {
    padding-top: 56px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

.staging-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fde68a;
    color: #1c1917;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 8px;
}

/* --- Expandable product panel --- */
.product-panel-card {
    padding: 0;
}

.product-panel-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    cursor: pointer;
    list-style: none;
    min-height: 44px;
}

.product-panel-summary::-webkit-details-marker {
    display: none;
}

.product-panel-summary:focus-visible {
    outline: 3px solid #fde68a;
    outline-offset: -3px;
    border-radius: 10px;
}

.orbit-mark {
    width: 48px;
    height: 48px;
    flex: none;
}

.product-panel-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.product-panel-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.product-panel-tagline {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.product-panel-toggle {
    flex: none;
    width: 12px;
    height: 12px;
    border-right: 2px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
    transform: rotate(45deg);
    margin: 0 6px 4px 0;
}

.product-panel[open] .product-panel-toggle {
    transform: rotate(-135deg);
    margin: 4px 6px 0 0;
}

.product-panel-body {
    padding: 4px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-panel-body section {
    margin-top: 18px;
}

.product-panel-body h4 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2dd4bf;
    margin-bottom: 8px;
}

.product-panel-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.plain-list,
.station-list,
.store-badges {
    list-style: none;
}

.plain-list li {
    font-size: 1em;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2dd4bf;
}

.plain-list strong {
    color: #e2e8f0;
}

.station-list,
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.station-list li,
.store-badge {
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.store-badge {
    display: inline-flex;
    flex-direction: column;
    border-style: dashed;
    border-radius: 10px;
    line-height: 1.3;
}

.store-badge span {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.store-badges > li {
    flex: 1 1 180px;
    text-align: center;
}

a.store-badge {
    border-style: solid;
    text-decoration: none;
}

a.store-badge:hover,
a.store-badge:focus-visible,
.qr-code a:focus-visible {
    outline: 2px solid var(--interactive-teal);
    outline-offset: 4px;
}

.qr-code {
    margin: 1rem 0;
    text-align: center;
}

.qr-code a {
    display: inline-block;
    border-radius: 8px;
}

.qr-code img {
    display: block;
    max-width: 100%;
    height: auto;
    background: #fff;
    border-radius: 8px;
}

.qr-code figcaption {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.placeholder-note,
.panel-disclaimer {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.panel-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 18px;
}

.contact-form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.contact-form label {
    font-size: 0.83rem;
    letter-spacing: 0.7px;
    color: #cbd5e1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.55);
    color: #f8fafc;
    padding: 10px 12px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(20, 184, 166, 0.7);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.16);
}

.privacy-note {
    font-size: 0.8rem;
    color: #fbbf24;
    margin-top: 2px;
}

.contact-submit {
    justify-self: start;
    border: 1px solid rgba(20, 184, 166, 0.5);
    background: rgba(20, 184, 166, 0.12);
    color: #ccfbf1;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-submit:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.75);
}

.contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    min-height: 20px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.form-status.success {
    color: #2dd4bf;
}

.form-status.error {
    color: #fca5a5;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.secure-comms-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.secure-comms-btn:hover {
    border-color: var(--interactive-teal);
    color: var(--interactive-teal);
    background: rgba(20, 184, 166, 0.02);
}

.site-footer {
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: clamp(0.82rem, 0.78rem + 0.2vw, 0.95rem);
    line-height: 1.5;
    text-align: center;
}
/* --- Product page: wide layout, screenshots, pilot panels --- */
.coming-soon-container.wide {
    max-width: 80rem;
    width: 100%;
}

.hero-lede {
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 65ch;
    margin: 0 auto 22px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 26px;
}

.badge-row .launch-badge {
    margin-bottom: 0;
}

.pillar-grid,
.step-grid,
.audience-grid,
.shot-grid {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.pillar-grid,
.audience-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.step-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.shot-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.pillar,
.step,
.audience {
    border: 1px solid rgba(20, 184, 166, 0.22);
    border-radius: 10px;
    padding: 14px;
    background: rgba(20, 184, 166, 0.04);
}

.pillar h4,
.step h4,
.audience h4 {
    color: #2dd4bf;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pillar p,
.step p,
.audience p {
    font-size: 1em;
    line-height: 1.55;
}

.step-number {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 2px;
}

.shot {
    margin: 12px 0 4px;
}

.shot-narrow {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.shot-grid {
    align-items: start;
}

.shot-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.shot a {
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    line-height: 0;
}

.shot a:hover,
.shot a:focus-visible {
    border-color: var(--interactive-teal);
    outline: 3px solid var(--interactive-teal);
    outline-offset: 4px;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.shot figcaption {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.shot figcaption strong {
    color: #e2e8f0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    line-height: 1.5;
}

.data-table th,
.data-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.5rem clamp(0.35rem, 1vw, 0.65rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table th {
    color: #e2e8f0;
    width: 30%;
    font-weight: 600;
}

.timeline {
    list-style: none;
}

.timeline li {
    border-left: 2px solid rgba(20, 184, 166, 0.45);
    padding: 2px 0 12px 14px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.timeline strong {
    color: #e2e8f0;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    border: 1px solid var(--interactive-teal);
    background: rgba(20, 184, 166, 0.12);
    color: #e2e8f0;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 44px;
}

.cta-button:hover,
.cta-button:focus-visible {
    background: rgba(20, 184, 166, 0.25);
    outline: 3px solid var(--interactive-teal);
    outline-offset: 4px;
}

.cta-button.secondary {
    border-color: rgba(148, 163, 184, 0.45);
    background: transparent;
}

@container (max-width: 28rem) {
    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table th,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table th {
        border-bottom: 0;
        padding-bottom: 0.2rem;
    }

    .data-table td {
        padding-top: 0;
        padding-bottom: 0.85rem;
    }
}
