/* ========================================
   XREZZKY AI — OFFICIAL CLOSURE
   Design system
======================================== */

:root {
    color-scheme: dark;

    --background: #0b0d12;
    --surface: #10131a;
    --text-primary: #f1f3f8;
    --text-secondary: #a0a7b5;
    --text-muted: #666e7e;
    --border: #252a35;
    --accent: #6b8aff;
    --status: #e58c8c;

    --page-width: 760px;
}

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background: var(--background);
    color: var(--text-primary);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Header */

.header {
    width: 100%;
    min-height: 76px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #3d4d82;
    border-radius: 9px;

    color: var(--accent);
    font-size: 19px;
    font-weight: 800;
}

.brand-name {
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 1.1px;
}

.brand-name span {
    color: var(--accent);
}

.header-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* Main layout */

.main {
    width: 100%;
    flex: 1;

    display: flex;
    justify-content: center;

    padding: 90px 24px 80px;
}

.announcement {
    width: 100%;
    max-width: var(--page-width);
}

/* Status */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 28px;

    color: var(--status);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.status-indicator {
    width: 7px;
    height: 7px;

    background: var(--status);
    border-radius: 50%;
}

/* Heading */

h1 {
    font-size: clamp(44px, 8vw, 76px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -4px;
}

h1 span {
    color: var(--accent);
}

.intro {
    max-width: 490px;
    margin-top: 25px;

    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
}

/* Separator */

.separator {
    width: 100%;
    height: 1px;

    margin: 46px 0;

    background: var(--border);
}

/* Statement */

.statement {
    padding: 27px 29px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface);
}

.statement-heading {
    display: flex;
    align-items: center;
    gap: 14px;

    padding-bottom: 22px;
    margin-bottom: 23px;

    border-bottom: 1px solid var(--border);
}

.statement-index {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.statement-heading h2 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 650;
}

.statement-content p {
    margin-bottom: 17px;

    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2;
}

.statement-content p:last-child {
    margin-bottom: 0;
}

/* Closing line */

.closing {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 35px;
}

.closing-line {
    width: 25px;
    height: 1px;

    background: var(--accent);
}

.closing p {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.2px;
}

/* Footer */

.footer {
    min-height: 67px;
    padding: 20px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);
    font-size: 11px;
}

.footer-status {
    text-align: right;
}

/* Responsive */

@media (max-width: 600px) {
    .header {
        min-height: 68px;
        padding: 0 20px;
    }

    .header-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .main {
        padding: 69px 22px 60px;
    }

    h1 {
        font-size: clamp(43px, 11vw, 60px);
        letter-spacing: -2.8px;
    }

    .intro {
        font-size: 14px;
    }

    .separator {
        margin: 35px 0;
    }

    .statement {
        padding: 23px 20px;
    }

    .statement-heading {
        align-items: flex-start;
        gap: 11px;
    }

    .statement-heading h2 {
        line-height: 1.6;
    }

    .statement-content p {
        font-size: 13px;
        line-height: 1.9;
    }

    .footer {
        padding: 20px;
        font-size: 10px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
