@import url('https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans-kr@5.3.0/400.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans-kr@5.3.0/500.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans-kr@5.3.0/600.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans-kr@5.3.0/700.css');

/* * Vivaura Technologies Design System v1
 * 통합 스타일 시트
 */

/* =========================================
   1. Design Tokens (Variables)
   ========================================= */
:root {
    /* Brand Colors */
    --color-bg-main: #0B1020;       /* Deep Navy */
    --color-surface: #1C1F2A;       /* Graphite */
    --color-surface-light: #2B3040; /* Slate */

    /* Accent Colors */
    --color-primary: #3A7DFF;       /* Azure */
    --color-secondary: #00D1B2;     /* Teal */
    --color-accent: #A6FF3B;        /* Lime */

    /* Text Colors */
    --color-text-white: #FFFFFF;
    --color-text-silver: #AEB4C2;
    --color-text-muted: #6B7280;

    /* Gradients */
    --grad-aurora: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    --grad-aurora-hover: linear-gradient(90deg, var(--color-secondary), var(--color-accent), var(--color-primary));

    /* Effects */
    --glass-bg: rgba(28, 31, 42, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    --shadow-glow: 0 0 20px rgba(0, 209, 178, 0.15);

    /* Typography */
    --font-main: 'IBM Plex Sans KR', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'IBM Plex Sans KR', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --ease-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. Base & Reset
   ========================================= */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-silver);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-main); }
::-webkit-scrollbar-thumb { background: var(--color-surface-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-secondary); }

/* =========================================
   3. Utilities & Typography
   ========================================= */
.text-aurora {
    background: var(--grad-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-gradient-sub {
    background: linear-gradient(to right, #fff, #AEB4C2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =========================================
   4. UI Components
   ========================================= */

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 1rem;
    transition: var(--ease-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: var(--ease-smooth);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--grad-aurora);
    background-size: 200% auto;
    color: var(--color-bg-main);
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 4px 15px rgba(0, 209, 178, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-surface-light);
    color: var(--color-text-white);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background-color: var(--color-surface);
    border-color: var(--color-text-silver);
}

/* Header */
.header-glass {
    background-color: rgba(11, 16, 32, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: var(--ease-smooth);
}

/* Footer */
.footer-vivaura {
    background-color: var(--color-bg-main);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 1.5rem;
    margin-top: auto;
}

.footer-link {
    color: var(--color-text-silver);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--color-text-white);
}

/* Form Styles */
.form-input, .form-select, .form-textarea {
    width: 100%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    color: var(--color-text-white);
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    outline: none;
    transition: var(--ease-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-secondary);
    background-color: rgba(43, 48, 64, 0.9);
    box-shadow: 0 0 0 2px rgba(0, 209, 178, 0.2);
}

.checkbox-custom {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid var(--color-text-silver);
    border-radius: 0.25rem;
    background-color: var(--color-surface-light);
    cursor: pointer;
    position: relative;
    margin-top: 0.25rem;
}

.checkbox-custom:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

/* Animation Background */
.bg-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: aurora-pulse 10s infinite alternate;
}
@keyframes aurora-pulse {
    0% { transform: scale(1); opacity: 0.1; }
    100% { transform: scale(1.1); opacity: 0.2; }
}

/* Korean public-copy line breaking: never split a Korean word by syllable. */
html:lang(ko) body {
    word-break: keep-all;
    overflow-wrap: break-word;
}

h1, h2, h3 {
    text-wrap: balance;
    font-family: var(--font-display);
}

/* IBM Plex Sans KR ships native weights through 700. Avoid synthetic 800/900 rendering. */
.font-black,
.font-extrabold {
    font-weight: 700 !important;
}

html:lang(ko) body {
    line-height: 1.68;
}

html:lang(ko) h1,
html:lang(ko) h2,
html:lang(ko) h3 {
    letter-spacing: -0.025em;
}

/* =========================================
   Front Door CSS Tokens & Classes (FD-PR-002)
   ========================================= */
:root {
    /* Dark Front Door */
    --frontdoor-hero-bg: var(--color-bg-main);
    --frontdoor-hero-text: #FFFFFF;
    --frontdoor-body-text: #D8DEE9;
    --frontdoor-muted-text: #AEB4C2;
    --frontdoor-border: rgba(255, 255, 255, 0.12);
    --frontdoor-panel: rgba(18, 22, 33, 0.72);
    --frontdoor-cta-bg: var(--color-accent);
    --frontdoor-cta-text: #1C1F2A;

    /* Light-ready Alias */
    --frontdoor-light-bg: #F8FAFC;
    --frontdoor-light-surface: #FFFFFF;
    --frontdoor-light-text: #0F172A;
    --frontdoor-light-muted: #475569;
    --frontdoor-light-border: rgba(15, 23, 42, 0.12);
}

.frontdoor-hero {
    background-color: var(--frontdoor-hero-bg);
}

.frontdoor-eyebrow {
    color: var(--frontdoor-muted-text);
    border-color: var(--frontdoor-border);
}

.frontdoor-title {
    color: var(--frontdoor-hero-text);
}

.frontdoor-subhead {
    color: var(--frontdoor-body-text);
}

.frontdoor-body {
    color: var(--frontdoor-muted-text);
}

.frontdoor-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.frontdoor-proof-strip {
    border-color: var(--frontdoor-border);
}

.frontdoor-proof-item {
    background-color: var(--frontdoor-panel);
    border: 1px solid var(--frontdoor-border);
}

/* =========================================
   Light Mode (G7 Contrast Remediation)
   ========================================= */
.light {
    /* Brand Colors Override */
    --color-bg-main: #F8FAFC;       /* Slate 50 (Light Grayish Blue) */
    --color-surface: #FFFFFF;       /* Pure White */
    --color-surface-light: #E2E8F0; /* Slate 200 */
    
    /* Text Colors Override */
    --color-text-white: #0F172A;    /* Slate 900 (Dark Slate for Contrast) */
    --color-text-silver: #334155;   /* Slate 700 (High contrast text body) */
    --color-text-muted: #64748B;    /* Slate 500 */
    
    /* Effects Override */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(15, 23, 42, 0.12);
    --glass-blur: blur(12px);
    --shadow-glow: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Front Door Tokens Override */
    --frontdoor-hero-bg: #F8FAFC;
    --frontdoor-hero-text: #0F172A;
    --frontdoor-body-text: #334155;
    --frontdoor-muted-text: #475569;
    --frontdoor-border: rgba(15, 23, 42, 0.12);
    --frontdoor-panel: rgba(255, 255, 255, 0.9);
    --frontdoor-cta-bg: #3A7DFF;
    --frontdoor-cta-text: #FFFFFF;
}

.light body {
    background-color: #F8FAFC;
    color: #0F172A;
}

.light main {
    background-color: #F8FAFC;
}

/* Header & Nav overrides for Light Mode */
.light .header-glass {
    background-color: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.light .nav-link {
    color: #475569 !important;
}
.light .nav-link:hover, .light .nav-link.text-white {
    color: #0F172A !important;
}
.light .header-glass svg text, .light .header-glass span {
    color: #0F172A !important;
}
.light .header-glass span.text-aurora {
    background: var(--grad-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}
.light #mobile-menu {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
.light #mobile-menu a {
    color: #0F172A !important;
}
.light #mobile-menu .text-\[\#AEB4C2\] {
    color: #475569 !important;
}
.light #mobile-menu-btn {
    color: #0F172A !important;
}

/* Footer overrides for Light Mode */
.light .footer-vivaura {
    background-color: #F1F5F9;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.light .footer-link {
    color: #475569 !important;
}
.light .footer-link:hover {
    color: #0F172A !important;
}
.light .footer-vivaura p {
    color: #64748B !important;
}

/* Teaser / Proof sections overrides */
.light #vivasport-proof {
    background-color: #FFFFFF !important;
}
.light #smartgym-teaser {
    background-color: #F1F5F9 !important;
}
.light #smartgym-teaser h2, .light #smartgym-teaser h4 {
    color: #0F172A !important;
}
.light #smartgym-teaser p {
    color: #334155 !important;
}
.light #smartgym-teaser .glass-card {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.light .bg-glow-orb {
    opacity: 0.05 !important;
}
.light .btn-secondary {
    background-color: #E2E8F0;
    color: #0F172A;
}
.light .btn-secondary:hover {
    background-color: #CBD5E1;
    border-color: #475569;
}

.light .btn-primary {
    color: #FFFFFF !important;
}

.light .text-white:not(.text-aurora) {
    color: #0F172A !important;
}

.light .text-silver {
    color: #334155 !important;
}

.light .text-\[\#AEB4C2\] {
    color: #475569 !important;
}

.light .text-slate-500 {
    color: #64748B !important;
}

.light .text-slate-600 {
    color: #475569 !important;
}

.light .text-slate-700 {
    color: #334155 !important;
}

.light .text-slate-800 {
    color: #1E293B !important;
}

.light .text-slate-900 {
    color: #0F172A !important;
}

.light .text-white,
.light .text-white:not(.text-aurora),
.light .logo-text,
.light .header-glass a,
.light .header-glass button,
.light .header-glass span,
.light .footer-link,
.light .footer-vivaura p,
.light #mobile-menu a,
.light #mobile-menu button,
.light .glass-card h2,
.light .glass-card h3,
.light .glass-card h4,
.light .glass-card p,
.light .glass-card li {
    color: #0F172A !important;
}

.light .border-white\/10,
.light .border-white\/5 {
    border-color: rgba(15, 23, 42, 0.08) !important;
}

.light .bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.88) !important;
}

.light .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.94) !important;
}

.light .bg-black\/20 {
    background-color: rgba(15, 23, 42, 0.04) !important;
}

.light .glass-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.light .form-input,
.light .form-select,
.light .form-textarea {
    background-color: #FFFFFF;
    border-color: #CBD5E1;
    color: #0F172A;
}

.light .form-input::placeholder,
.light .form-textarea::placeholder {
    color: #94A3B8;
}

.light .form-input:focus,
.light .form-select:focus,
.light .form-textarea:focus {
    background-color: #FFFFFF;
    border-color: #3A7DFF;
    box-shadow: 0 0 0 2px rgba(58, 125, 255, 0.16);
}

.light .checkbox-custom {
    background-color: #FFFFFF;
    border-color: #CBD5E1;
}

.light .checkbox-custom:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.checkbox-custom:focus-visible {
    outline: 3px solid rgba(58, 125, 255, 0.35);
    outline-offset: 2px;
}

.light .terms-scroll-box {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
    border-radius: 0.75rem;
    padding: 1rem;
    line-height: 1.6;
}

.logo-text {
    color: #ffffff;
}

.light .logo-text {
    color: #0F172A !important;
}

/* Launch refresh: theme, accessibility and public-surface hardening */
html { background: var(--color-bg-main); }
html:not(.light) { --glass-bg: rgba(28,31,42,.78); --glass-border: 1px solid rgba(255,255,255,.10); }
html:not(.light) body, html:not(.light) main { background:#0B1020; color:#E2E8F0; }
html:not(.light) .text-slate-900, html:not(.light) .text-slate-800 { color:#F8FAFC !important; }
html:not(.light) .text-slate-700 { color:#CBD5E1 !important; }
html:not(.light) .text-slate-600, html:not(.light) .text-slate-500 { color:#AEB4C2 !important; }
html:not(.light) .bg-white, html:not(.light) .bg-white\/85, html:not(.light) .bg-white\/90, html:not(.light) .bg-white\/94, html:not(.light) .bg-white\/96 { background-color:#141B2D !important; }
html:not(.light) .bg-slate-50, html:not(.light) .bg-slate-100 { background-color:#12192B !important; }
/* Theme-safe mapping for Tailwind arbitrary light surfaces used by public landing sections. */
html:not(.light) [class~="bg-[#F1F5F9]"] { background-color:#12192B !important; }
html:not(.light) [class~="bg-[#F8FAFC]"] { background-color:#0B1020 !important; }
html:not(.light) .surface-showcase-card:not(.surface-showcase-card--dark) {
    background:#141B2D !important;
    border-color:rgba(226,232,240,.14) !important;
}
html:not(.light) .surface-showcase-media:not(.surface-showcase-media--dark) {
    background:linear-gradient(180deg,#172033 0%,#12192B 100%) !important;
    border-bottom-color:rgba(226,232,240,.10) !important;
}
html:not(.light) .surface-showcase-link { color:#F8FAFC !important; }
html:not(.light) .organizer-page-price-section > .absolute.inset-0 {
    background:linear-gradient(to bottom,#0B1020,transparent,#0B1020) !important;
}
html:not(.light) .border-slate-200, html:not(.light) .border-slate-300 { border-color:rgba(226,232,240,.14) !important; }
html:not(.light) .glass-card { background:rgba(20,27,45,.9); border-color:rgba(226,232,240,.10); }
html:not(.light) .form-input, html:not(.light) .form-select, html:not(.light) .form-textarea { background:#12192B; border-color:#334155; color:#F8FAFC; }
html:not(.light) .terms-scroll-box { background:#12192B; border-color:#334155; color:#CBD5E1; }
html:not(.light) .header-glass { background:rgba(11,16,32,.9); }
html:not(.light) .footer-vivaura { background:#080C18; }

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #3A7DFF;
    outline-offset: 3px;
    border-radius: max(4px, inherit);
}
button, .btn, .lang-btn { min-height: 44px; }
.lang-btn { min-width: 44px; padding-inline:.55rem; }
#theme-toggle-btn, #mobile-menu-btn, #mobile-theme-toggle-btn { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
.footer-link { min-height:44px; display:inline-flex; align-items:center; }

.trust-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; border:1px solid var(--frontdoor-border); background:var(--frontdoor-border); border-radius:18px; overflow:hidden; }
.trust-strip > div { background:var(--frontdoor-panel); padding:1.1rem 1.25rem; }
.capability-card { border:1px solid var(--frontdoor-border); background:var(--frontdoor-panel); border-radius:20px; padding:1.5rem; }
.capability-kicker { font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; font-weight:800; color:var(--color-primary); }
.intelligence-shell { border:1px solid rgba(58,125,255,.28); background:linear-gradient(135deg,rgba(58,125,255,.10),rgba(0,209,178,.06)); border-radius:28px; }
.status-note { font-size:.8rem; color:var(--frontdoor-muted-text); }
.pricing-state { grid-column:1/-1; padding:1.5rem; border:1px dashed var(--frontdoor-border); border-radius:18px; color:var(--frontdoor-muted-text); text-align:center; }

html:lang(ko) .contact-section-label,
html:lang(ko) .contact-stat-card .stat-label {
    letter-spacing: 0 !important;
    text-transform: none !important;
}

@media (max-width: 767px) { .trust-strip { grid-template-columns:1fr 1fr; } }
@media (max-width: 420px) { .trust-strip { grid-template-columns:1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

/* 2026-09 product navigation IA */
.product-menu { position: relative; }
.product-menu summary { list-style: none; cursor: pointer; }
.product-menu summary::-webkit-details-marker { display: none; }
.product-menu-summary { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: #AEB4C2; }
.product-menu-chevron { font-size: .7rem; transition: transform .18s ease; }
.product-menu[open] .product-menu-chevron { transform: rotate(180deg); }
.product-menu-popover { position: absolute; top: calc(100% + .65rem); left: 50%; transform: translateX(-50%); width: 330px; padding: .65rem; border-radius: 18px; background: rgba(11,16,32,.98); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 22px 60px rgba(2,6,23,.28); }
.product-menu-link { display: block; padding: .85rem .95rem; border-radius: 13px; text-decoration: none; }
.product-menu-link:hover, .product-menu-link:focus-visible { background: rgba(255,255,255,.07); }
.product-menu-link strong { display: block; color: #F8FAFC; font-size: .95rem; }
.product-menu-link > span { display: block; color: #94A3B8; font-size: .78rem; margin-top: .18rem; }
.product-menu-active { color: #FFFFFF !important; font-weight: 800; }
.product-external-icon { font-size: .68rem; margin-left: .2rem; }
.mobile-product-group { display: grid; gap: .55rem; padding: 1rem; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.mobile-product-label { color: #93A4BD; font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.mobile-product-link { display: grid; gap: .08rem; color: #F8FAFC; font-size: 1rem; font-weight: 800; text-decoration: none; padding: .45rem .2rem; }
.mobile-product-link small { color: #AEB4C2; font-size: .76rem; font-weight: 600; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 760px; margin: 0 auto 2.5rem; gap: 2rem; text-align: left; }
.footer-nav-group { display: grid; align-content: start; gap: .65rem; }
.footer-nav-label { color: #F8FAFC; font-size: .8rem; font-weight: 900; letter-spacing: .08em; }
.footer-copyright { text-align: center; }
.footer-trust-line { display:flex; justify-content:center; align-items:center; gap:.75rem; flex-wrap:wrap; margin:0 auto .75rem; color:#AEB4C2; font-size:.8rem; }
.footer-trust-line a { color:inherit; text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
.footer-trust-line a:hover { color:#F8FAFC; }
.light .product-menu-popover { background: #FFFFFF; border-color: rgba(15,23,42,.10); box-shadow: 0 22px 60px rgba(15,23,42,.14); }
.light .product-menu-link:hover, .light .product-menu-link:focus-visible { background: #F1F5F9; }
.light .product-menu-link strong { color: #0F172A !important; }
.light .product-menu-link > span { color: #475569 !important; }
.light .product-menu-active { color: #0F172A !important; }
.light .mobile-product-group { background: #F8FAFC; border-color: rgba(15,23,42,.08); }
.light .mobile-product-label { color: #475569 !important; }
.light .mobile-product-link, .light .mobile-product-link span { color: #0F172A !important; }
.light .mobile-product-link small { color: #475569 !important; }
.light .footer-nav-label { color: #0F172A !important; }
.light .footer-trust-line { color:#64748B; }
.light .footer-trust-line a:hover { color:#0F172A; }
@media (max-width: 767px) { .footer-nav-grid { grid-template-columns: 1fr; gap: 1.6rem; max-width: 420px; } }

/* Theme-independent dark-surface contract.
   Intentional dark surfaces must stay readable even when the page theme is Light. */
.theme-dark-surface {
    color: #CBD5E1;
}
.light .theme-dark-surface :is(h1,h2,h3,h4,h5,h6),
.light .theme-dark-surface .dark-surface-title,
html[data-theme="dark"] .theme-dark-surface :is(h1,h2,h3,h4,h5,h6),
html[data-theme="dark"] .theme-dark-surface .dark-surface-title {
    color: #F8FAFC !important;
}
.light .theme-dark-surface :is(p,li),
.light .theme-dark-surface .dark-surface-body,
html[data-theme="dark"] .theme-dark-surface :is(p,li),
html[data-theme="dark"] .theme-dark-surface .dark-surface-body {
    color: #CBD5E1 !important;
}
.light .theme-dark-surface .capability-kicker,
html[data-theme="dark"] .theme-dark-surface .capability-kicker {
    color: #60A5FA !important;
}

/* Dark-surface specificity guard against broad Light utility overrides. */
.light .theme-dark-surface .text-white,
.light .theme-dark-surface .text-white:not(.text-aurora),
html[data-theme="dark"] .theme-dark-surface .text-white {
    color: #F8FAFC !important;
}
.light .theme-dark-surface .text-slate-300,
.light .theme-dark-surface .text-slate-400,
html[data-theme="dark"] .theme-dark-surface .text-slate-300,
html[data-theme="dark"] .theme-dark-surface .text-slate-400 {
    color: #CBD5E1 !important;
}

/* 2026-10-07 Vivaura 브랜드 v1.1 헤더 로고: 투명 파생본. 다크(기본)는 흰색 단색, 라이트는 원본 색. */
.brand-logo-img { display: block; width: 136px; height: auto; }
.brand-logo-on-light { display: none; }
.light .brand-logo-on-dark { display: none; }
.light .brand-logo-on-light { display: block; }
@media (max-width: 420px) { .brand-logo-img { width: 116px; } }

/* VIVASPORT brand v1.2: derived from the shipped exact vector lockup.
   Keep other product surfaces unchanged. */
:root{
 --vs-brand-blue:#024BFC;
 --vs-brand-bright:#0180FD;
 --vs-brand-cyan:#01CFFE;
 --vs-brand-mint:#02E7DB;
 --vs-ink:#101B32;
 --vs-text:#334155;
 --vs-surface:#F6FAFF;
 --vs-border:#C9D9F2;
 --vs-on-blue:#FFFFFF;
}
/* Accessible text contrast requires an opaque dark text/blue control instead of cyan-on-white. */
.hub-hero .capability-kicker,#participation .capability-kicker,#community .capability-kicker{color:#1756D7!important}
#participation .capability-card,#community .capability-card{background:#FFFFFF;color:var(--vs-ink);border:1px solid var(--vs-border)}
#participation .capability-card p,#community .capability-card p{color:var(--vs-text)}
#participation .capability-card i,#community .capability-card i{color:var(--vs-brand-blue)!important}
#participation .btn-primary,#community .btn-primary,.hub-hero .btn-primary{background:var(--vs-brand-blue)!important;color:#fff!important;border-color:var(--vs-brand-blue)!important}
#participation .btn-primary:hover,#community .btn-primary:hover,.hub-hero .btn-primary:hover{background:#0039C9!important}
#participation .btn-secondary,#community .btn-secondary{background:#fff;color:#123C89;border:1px solid #A7BFEB}
.hub-product-card:not(.hub-product-card--flovi){background:linear-gradient(130deg,#071B52,#024BFC 65%,#0180FD)!important}
.hub-product-card:not(.hub-product-card--flovi) .hub-pill{border-color:rgba(255,255,255,.35);color:#FFFFFF}
html[data-theme="dark"] #participation .capability-card,html[data-theme="dark"] #community .capability-card{background:#172540;color:#f8fafc;border-color:#375179}
html[data-theme="dark"] #participation .capability-card h3,html[data-theme="dark"] #community .capability-card h3{color:#f8fafc!important}
html[data-theme="dark"] #participation .capability-card p,html[data-theme="dark"] #community .capability-card p{color:#d9e5f8!important}

/* Brand front-door v2 — approved VIVASPORT vector palette + contrast. */
:root{--color-primary:#024BFC;--color-secondary:#0180FD;--color-accent:#02E7DB;--grad-aurora:linear-gradient(105deg,#024BFC 0%,#0180FD 44%,#02C8DD 78%,#02E7DB 100%);--grad-aurora-hover:linear-gradient(105deg,#003BCF,#024BFC 48%,#009EB0);--shadow-glow:0 12px 35px rgba(2,75,252,.12);--vs-text-strong:#101b32;--vs-text-soft:#41516a}
body{font-size:16px;line-height:1.6}
.btn-primary,.biz-btn.primary{background:#024BFC!important;color:#fff!important;border-color:#024BFC!important}
.btn-primary:hover,.biz-btn.primary:hover{background:#003bc9!important}
.btn-secondary{color:#183c7a}
.text-aurora{-webkit-text-fill-color:transparent;background-image:var(--grad-aurora)!important;background-clip:text;-webkit-background-clip:text}
[class*="text-[#A6FF3B]"],[class*="text-[#00D1B2]"]{color:#007d8f!important}
[class*="text-[#3A7DFF]"]{color:#024BFC!important}


.organizer-page .organizer-kicker,.contact-page .contact-kicker,.biz .kicker{color:#1755ce!important}
.organizer-page .organizer-hero-title,.contact-page .contact-title{letter-spacing:-.045em}
.organizer-page .organizer-mini-card,.contact-page .contact-stat-card,.biz .biz-card{border-color:#d7e3f5}
.organizer-page .muted,.contact-page .text-slate-500,.biz .biz-card p{color:#41516a}
.organizer-page .organizer-impact .muted,.organizer-page .organizer-impact p{color:#d8e4f8}
.biz{--biz-blue:#024BFC;--biz-teal:#007F9A}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #0180FD!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.hub-product-card,.vs-stage-card{transition:none!important}}

/* Specific accent icon containers: do not fill entire glyph backgrounds. */
.glass-card .fa-solid,.principle-card .fa-solid{background-color:currentColor}

/* Landing container contract v2 — consistent desktop and mobile gutters.
   Preserve intentionally narrow editorial/CTA sections with max-w-* classes. */
:root{--landing-content-max:1184px;--landing-page-gutter:clamp(20px,3.7vw,48px)}
.container:not([class*="max-w-"]),.biz .biz-wrap{
  width:100%!important;
  max-width:var(--landing-content-max)!important;
  margin-inline:auto!important;
  padding-inline:var(--landing-page-gutter)!important;
  box-sizing:border-box!important;
}
.container[class*="max-w-"]{padding-inline:var(--landing-page-gutter)!important;box-sizing:border-box!important}
@media(max-width:640px){
  :root{--landing-page-gutter:20px}
  .hub-hero-grid,.vivasport-grid{gap:28px}
  .biz .biz-wrap{padding-inline:20px!important}
}
