/*
 * OSG Coming Soon - Page-specific styles only.
 * Foundations (tokens, layout, chrome) inherited from main stack.
 * This file adds ONLY what is unique to the coming soon page.
 */

/* Full-page dark background with edge glow */
body.coming-soon-page {
    background-color: var(--navy-900);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.coming-soon-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 35% 80% at 0% 50%,   rgba(36, 112, 168, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 35% 80% at 100% 50%, rgba(36, 112, 168, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 50% 0%,   rgba(21, 45, 82, 0.5)    0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ================================================================
   Top bar
   ================================================================ */
.cs-return-bar {
    position: relative;
    z-index: 10;
    background: var(--navy-900);
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 5vw, 5rem);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.cs-return-bar-domain {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .35);
    text-transform: uppercase;
}

/* Real logo image (from settings) */
.cs-logo-img {
    display: block;
    max-width: 120px;
    height: auto;
    opacity: 0.55;
}

/* Fallback: CSS-drawn logo mark (shown when no logo image is set) */
.cs-logo-mark {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.55;
}

.cs-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.cs-bars span {
    display: block;
    width: 5px;
    border-radius: 2px;
    background: white;
}

.cs-bars span:nth-child(1) { height: 11px; }
.cs-bars span:nth-child(2) { height: 17px; }
.cs-bars span:nth-child(3) { height: 22px; }

.cs-wordmark {
    font-family: var(--font-d);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: white;
}

/* ================================================================
   Hero
   ================================================================ */
.cs-hero {
    position: relative;
    z-index: 1;
    padding: 56px 0 40px;
}

.cs-attribution {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-attribution-sep { color: rgba(255, 255, 255, .15); }

.cs-chips {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.cs-chip {
    font-family: var(--font-m);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cs-chip-status {
    background: rgba(36, 112, 168, .22);
    border: 1.5px solid rgba(36, 112, 168, .35);
    color: var(--navy-200);
}

.cs-chip-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #72c05a;
    animation: cs-pulse-dot 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

.cs-chip-phase {
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .45);
}

@keyframes cs-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 158, 60, .18); }
    50%       { box-shadow: 0 0 0 7px rgba(74, 158, 60, .07); }
}

@media (prefers-reduced-motion: reduce) {
    .cs-chip-status::before { animation: none; }
    .cs-status-dot          { animation: none; }
}

.cs-hero-title {
    font-family: var(--font-d);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -.025em;
    color: white;
    line-height: 1.08;
    margin-bottom: 16px;
}

.cs-hero-sub {
    font-family: var(--font-b);
    font-size: 15px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 32px;
}

.cs-status-bar {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cs-status-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #72c05a;
    box-shadow: 0 0 0 3px rgba(74, 158, 60, .18);
    flex-shrink: 0;
    animation: cs-pulse-dot 2.5s ease-in-out infinite;
}

.cs-status-text {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.cs-status-text strong {
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
}

.cs-status-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cs-updated {
    font-family: var(--font-m);
    font-size: 11px;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .06em;
}

/* ================================================================
   Contact section
   ================================================================ */
.cs-contact-section {
    position: relative;
    z-index: 1;
    background: var(--bg);
    padding: 72px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.cs-eyebrow {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--navy-500);
    margin-bottom: 10px;
}

.cs-section-title {
    font-family: var(--font-d);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 32px;
}

.cs-section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(to right, #4ebab4, rgba(78, 186, 180, .2));
    border-radius: 2px;
    margin-top: 14px;
}

.cs-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 680px;
}

.cs-contact-card {
    background: var(--surface);
    border: 1px solid var(--grey-200);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-md);
}

.cs-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(78, 186, 180, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal-500);
}

.cs-contact-icon svg { width: 16px; height: 16px; }

.cs-contact-body { min-width: 0; }

.cs-contact-label {
    font-family: var(--font-m);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 6px;
}

.cs-contact-value {
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-800);
    line-height: 1.45;
    font-style: normal;
}

.cs-contact-value a {
    color: var(--navy-600);
    text-decoration: none;
    transition: color .18s ease;
}

.cs-contact-value a:hover,
.cs-contact-value a:focus-visible {
    color: var(--teal-500);
    text-decoration: underline;
}

.cs-contact-value a:focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 3px;
    border-radius: 3px;
}

.cs-contact-note {
    font-family: var(--font-b);
    font-size: 12px;
    color: var(--grey-400);
    margin-top: 3px;
}

/* ================================================================
   Footer - minimal
   ================================================================ */
.cs-footer {
    position: relative;
    z-index: 1;
    background: var(--navy-900);
    padding: 32px 0 24px;
}

.cs-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-top: 20px;
}

.cs-footer-legal {
    font-family: var(--font-m);
    font-size: 11px;
    color: rgba(255, 255, 255, .2);
    letter-spacing: .04em;
}

.cs-footer-legal a {
    color: rgba(255, 255, 255, .3);
    text-decoration: none;
    transition: color .2s;
}

.cs-footer-legal a:hover,
.cs-footer-legal a:focus-visible {
    color: rgba(255, 255, 255, .6);
}

.cs-footer-legal a:focus-visible {
    outline: 2px solid var(--teal-400);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 768px) {
    .cs-return-bar      { padding: 0 16px; }
    .cs-hero            { padding: 40px 0 28px; }
    .cs-attribution     { display: none; }
    .cs-status-bar      { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cs-status-right    { flex-direction: column; align-items: flex-start; gap: 4px; }
    .cs-contact-section { padding: 48px 0 56px; }
    .cs-contact-grid    { grid-template-columns: 1fr; }
    .cs-footer-bottom   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .cs-chips    { flex-direction: column; align-items: flex-start; }
    .cs-wordmark { display: none; }
}
