:root {
    --background: #080b0e;
    --surface: #0d1116;
    --surface-hover: #11161c;

    --border: #1b232c;

    --text: #f1f4f6;
    --muted: #8b949e;
    --dim: #59636d;

    --accent: #65d68b;

    --max-width: 1180px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}


/* ---------------- HEADER ---------------- */

.site-header {
    border-bottom: 1px solid var(--border);

    background: rgba(8, 11, 14, 0.88);

    position: sticky;
    top: 0;
    z-index: 10;

    backdrop-filter: blur(12px);
}


.nav {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


.brand-mark {
    font-family: monospace;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(--accent);

    border: 1px solid var(--accent);

    padding: 4px 7px;
}


.brand-name {
    font-size: 14px;
    color: var(--muted);
}


nav {
    display: flex;
    gap: 30px;
}


nav a {
    font-size: 14px;
    color: var(--muted);

    transition: color 0.2s ease;
}


nav a:hover {
    color: var(--text);
}


/* ---------------- HERO ---------------- */

.hero {
    padding: 120px 0 130px;

    border-bottom: 1px solid var(--border);
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 0.85fr);

    gap: 100px;

    align-items: center;
}


.eyebrow {
    font-family: monospace;

    font-size: 11px;

    letter-spacing: 0.18em;

    color: var(--accent);

    margin-bottom: 22px;
}


.hero h1 {
    max-width: 760px;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.04;

    letter-spacing: -0.045em;

    font-weight: 650;
}


.hero h1 span {
    display: block;

    color: var(--muted);
}


.hero-description {
    max-width: 560px;

    margin-top: 30px;

    font-size: 19px;

    line-height: 1.7;

    color: var(--muted);
}


.primary-button {
    display: inline-flex;

    align-items: center;

    gap: 16px;

    margin-top: 38px;

    padding: 13px 20px;

    border: 1px solid var(--accent);

    color: var(--accent);

    font-family: monospace;

    font-size: 13px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.primary-button:hover {
    background: var(--accent);

    color: var(--background);
}


.primary-button span {
    font-size: 18px;
}


/* ---------------- HERO VISUAL ---------------- */

.hero-visual {
    position: relative;

    min-height: 340px;

    border: 1px solid var(--border);

    background: var(--surface);

    padding: 26px;

    font-family: monospace;

    overflow: hidden;
}


.signal-header {
    display: flex;

    justify-content: space-between;

    font-size: 10px;

    letter-spacing: 0.14em;

    color: var(--dim);
}


.signal-header span:last-child {
    color: var(--accent);
}


.signal-line {
    height: 1px;

    background: var(--border);

    margin: 22px 0;
}


.signal-data {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


.signal-data div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.signal-data span {
    font-size: 9px;

    letter-spacing: 0.15em;

    color: var(--dim);
}


.signal-data strong {
    font-size: 12px;

    font-weight: 500;

    color: var(--muted);
}


.signal-grid {
    position: absolute;

    bottom: 0;
    right: 0;

    width: 170px;
    height: 150px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    opacity: 0.35;
}


.signal-grid span {
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}


/* ---------------- SECTIONS ---------------- */

.section {
    padding: 120px 0;
}


.section-heading {
    max-width: 680px;

    margin-bottom: 55px;
}


.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -0.03em;
}


.section-heading p {
    margin-top: 18px;

    color: var(--muted);

    font-size: 16px;
}


/* ---------------- RESEARCH CARDS ---------------- */

.research-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.research-card {
    position: relative;

    min-height: 330px;

    padding: 30px;

    border: 1px solid var(--border);

    background: var(--surface);

    display: flex;

    flex-direction: column;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.research-card:hover {
    background: var(--surface-hover);

    border-color: #2b3742;
}


.card-number {
    font-family: monospace;

    font-size: 36px;

    color: var(--dim);

    margin-bottom: 55px;
}


.card-meta {
    font-family: monospace;

    font-size: 9px;

    letter-spacing: 0.12em;

    color: var(--accent);

    margin-bottom: 12px;
}


.research-card h3 {
    font-size: 25px;

    line-height: 1.2;

    letter-spacing: -0.02em;
}


.research-card p {
    margin-top: 14px;

    color: var(--muted);

    font-size: 14px;
}


.research-card a {
    margin-top: auto;

    padding-top: 28px;

    font-family: monospace;

    font-size: 12px;

    color: var(--accent);
}


.coming-soon {
    display: inline-block;

    margin-top: 22px;

    font-family: monospace;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.14em;

    color: var(--muted);

    opacity: 0.65;
}


/* ---------------- ABOUT ---------------- */

.about {
    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}


.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}


.about h2 {
    max-width: 580px;

    font-size: clamp(32px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -0.035em;
}


.about-text {
    max-width: 520px;

    color: var(--muted);

    font-size: 17px;
}


.about-text p + p {
    margin-top: 24px;
}


/* ---------------- SECURITY WARNING ---------------- */

.security-warning {
    margin-top: 28px;

    padding: 16px 18px;

    border-left: 2px solid var(--accent);

    background: rgba(101, 214, 139, 0.035);

    font-family: monospace;
}


.warning-title {
    font-size: 10px;

    letter-spacing: 0.14em;

    color: var(--accent);

    margin-bottom: 8px;
}


.security-warning p {
    margin: 0;

    max-width: 560px;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 12px;

    line-height: 1.6;

    color: var(--muted);
}


/* ---------------- FOOTER ---------------- */

.site-footer {
    padding: 42px 0;
}


.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}


.footer-brand {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.footer-brand strong {
    font-size: 13px;
}


.footer-brand span {
    font-size: 12px;

    color: var(--dim);
}


.footer-address {
    margin-top: 14px;

    line-height: 1.6;
}


.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 10px;
}


.footer-main-links,
.footer-legal-links {
    display: flex;

    flex-wrap: wrap;

    gap: 8px 24px;
}


.footer-main-links a,
.footer-legal-links a {
    font-size: 12px;

    color: var(--muted);

    transition: color 0.2s ease;
}


.footer-main-links a:hover,
.footer-legal-links a:hover {
    color: var(--text);
}


.footer-legal-links {
    opacity: 0.65;
}


/* ---------------- MOBILE ---------------- */

@media (max-width: 850px) {

    .brand-name {
        display: none;
    }


    .hero {
        padding: 80px 0;
    }


    .hero-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .hero-visual {
        min-height: 280px;
    }


    .research-grid {
        grid-template-columns: 1fr;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }


    .footer-links {
        align-items: flex-start;
    }

}


/* ---------------- SMALL MOBILE ---------------- */

@media (max-width: 500px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--max-width)
        );
    }


    .nav {
        height: 64px;
    }


    nav {
        gap: 18px;
    }


    .hero h1 {
        font-size: 45px;
    }


    .section {
        padding: 80px 0;
    }


    .footer-main-links,
    .footer-legal-links {
        gap: 8px 18px;
    }

}