:root {
    --bg: #ffffff;
    --ink: #000000;
    --ink-soft: #222222;
    --line: #000000;
    --card: #ffffff;
    --radius: 0px;
    --offset-sm: 4px;
    --offset-md: 7px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        linear-gradient(#f7f7f7 1px, transparent 1px),
        linear-gradient(90deg, #f7f7f7 1px, transparent 1px),
        #ffffff;
    background-size: 24px 24px, 24px 24px, auto;
    line-height: 1.55;
}

h1,
h2,
h3,
h4 {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

a {
    color: var(--ink);
}

.container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 3px solid var(--line);
}

.navbar.scrolled {
    box-shadow: 0 6px 0 #000000;
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}

.logo i {
    font-size: 1.05rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.9rem;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #000000;
    padding: 7px 10px;
    box-shadow: var(--offset-sm) var(--offset-sm) 0 #000000;
    background: #ffffff;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000000;
}

.menu-toggle {
    display: none;
    border: 2px solid #000000;
    background: #ffffff;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 8px;
    box-shadow: var(--offset-sm) var(--offset-sm) 0 #000000;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000000;
    margin: 6px 0;
}

.hero {
    padding: 130px 0 72px;
}

.hero-content {
    border: 3px solid #000000;
    background: #ffffff;
    box-shadow: var(--offset-md) var(--offset-md) 0 #000000;
    padding: 28px;
}

.kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.9rem);
    margin-bottom: 1rem;
}

.hero p {
    color: #222222;
    font-size: 1.02rem;
    max-width: 920px;
    margin-bottom: 1.4rem;
}

.cta-button {
    display: inline-block;
    border: 3px solid #000000;
    text-decoration: none;
    font-weight: 700;
    background: #000000;
    color: #ffffff;
    padding: 11px 14px;
    box-shadow: var(--offset-sm) var(--offset-sm) 0 #000000;
}

.cta-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000000;
}

.hero-metrics {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.metric-chip {
    border: 2px solid #000000;
    background: #ffffff;
    padding: 11px;
}

.metric-chip strong {
    display: block;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    margin-bottom: 2px;
}

.metric-chip span {
    font-size: 0.86rem;
}

.idv-section,
.stack-section,
.sprints-section,
.documents-section {
    padding: 82px 0;
}

.idv-section,
.sprints-section,
.documents-section {
    background: #f9f9f9;
    border-top: 3px solid #000000;
    border-bottom: 3px solid #000000;
}

.section-header {
    max-width: 860px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.7rem);
    margin-bottom: 0.7rem;
}

.section-header p {
    font-size: 0.98rem;
    color: #222222;
}

.idv-grid,
.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.idv-card,
.stack-card,
.document-card {
    border: 3px solid #000000;
    background: #ffffff;
    box-shadow: var(--offset-sm) var(--offset-sm) 0 #000000;
    padding: 18px;
}

.idv-card h3,
.stack-card h3,
.document-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.idv-card p,
.stack-card li,
.document-card p {
    font-size: 0.92rem;
    color: #1f1f1f;
}

.stack-card ul {
    margin-left: 1rem;
}

.stack-card li {
    margin-bottom: 0.4rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.document-card a {
    display: inline-block;
    margin-top: 0.8rem;
    text-decoration: none;
    border: 2px solid #000000;
    padding: 8px 10px;
    font-weight: 700;
    box-shadow: 3px 3px 0 #000000;
    background: #ffffff;
}

.document-card a:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #000000;
}

.footer {
    padding: 34px 0;
    text-align: center;
    background: #ffffff;
}

.footer p {
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    border: 2px solid #000000;
    padding: 6px 10px;
    font-size: 0.88rem;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero-metrics,
    .idv-grid,
    .stack-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .menu-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        inset: 72px 0 auto 0;
        background: #ffffff;
        border-bottom: 3px solid #000000;
        padding: 1rem;
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.open {
        display: flex;
    }
}
