/* ==========================================================================
   Causet - Minimal Infra Landing Page (Polished)
   ========================================================================== */

   :root {
    /* Colors */
    --color-bg: #fafafa;
    --color-bg-alt: #f4f4f5;
    --color-surface: #ffffff;
    --color-text: #18181b;
    --color-text-muted: #52525b;
    --color-border: #e4e4e7;
    --color-accent: #3b82f6;

    /* Fonts */
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Spacing */
    --space-2: 0.5rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Layout */
    --max-width: 52rem;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-6) 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: 0.9rem;
}

.site-nav a {
    color: var(--color-text-muted);
}

.site-nav a:hover {
    color: var(--color-accent);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Hero (dark, React/Vue-style)
   -------------------------------------------------------------------------- */
.hero {
    background: #283D71;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-16) 0;
}

.hero .container {
    max-width: none;
}

.hero-inner {
    text-align: center;
}

.hero-icon {
    margin-bottom: var(--space-6);
}

.hero-icon svg {
    display: block;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6px;
    color: #fff;
}

.hero .hero-tagline {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero .hero-subtext {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-8);
}

.hero-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.hero-btn:hover {
    background: #2563eb;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section,
.hero {
    scroll-margin-top: 5rem;
}

.section {
    position: relative;
    padding: var(--space-16) 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.subtle {
    padding: var(--space-6) 0;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-6);
    position: relative;
    padding-left: var(--space-4);
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 3px;
    height: 1em;
    background-color: var(--color-accent);
    border-radius: 2px;
}

p {
    margin-bottom: var(--space-4);
    color: var(--color-text-muted);
}

p:first-of-type {
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Tech Line
   -------------------------------------------------------------------------- */
.tech-line {
    font-family: var(--font-family-mono);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Audience
   -------------------------------------------------------------------------- */
.audience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    margin-top: var(--space-4);
}

.audience-list li {
    padding-left: var(--space-6);
    position: relative;
}

.audience-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background-color: var(--color-border);
    border-radius: 50%;
}

/* FAQ: list without bullets */
.faq-list {
    list-style: none;
}

.faq-list li::before {
    display: none;
}

.faq-list li {
    padding-left: 0;
}

/* --------------------------------------------------------------------------
   Status Grid (FIXED)
   -------------------------------------------------------------------------- */
.status-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin: var(--space-8) auto;
}

.status-item {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--space-6);
    min-height: 96px;
    width: 180px;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.03);
}

/* Subtle primary anchor */
.status-item:first-child {
    border-color: rgba(59,130,246,0.4);
}

.status-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717a;
}


.status-value {
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin-top: var(--space-2);
}

.status-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-email a {
    font-family: var(--font-family-mono);
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-8) 0;
}

.site-footer p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem; /* tight to word */
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.logo-mark {
    display: inline-flex;
    transform: translateY(1px); /* optical alignment */
}

.logo-mark svg {
    width: 18px;
    height: 18px;
    display: block;
}
