/* dolater — brutalist landing */

*, *::before, *::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

:root {
    --ink: #000;
    --paper: #fff;
    --orange: #ff4500;
    --rule: 3px;
    --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    --display: 'Archivo', 'Archivo Black', ui-sans-serif, system-ui, sans-serif;
    --body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

::selection {
    background: var(--ink);
    color: var(--paper);
}

.page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    border-left: var(--rule) solid var(--ink);
    border-right: var(--rule) solid var(--ink);
}

/* ============ nav ============ */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: var(--rule) solid var(--ink);
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 10;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    font-family: var(--display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 10px 14px;
    border: var(--rule) solid transparent;
}
.nav-link:hover { border-color: var(--ink); }

.nav-cta {
    text-decoration: none;
    font-family: var(--display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 10px 18px;
    background: var(--ink);
    color: var(--paper);
    border: var(--rule) solid var(--ink);
    transition: transform 0.05s ease, box-shadow 0.05s ease;
}
.nav-cta:hover {
    transform: translate(-3px, -3px);
    box-shadow: 3px 3px 0 0 var(--ink);
}

/* ============ hero ============ */
.hero {
    position: relative;
    padding: 80px 0 100px;
    border-bottom: var(--rule) solid var(--ink);
    overflow: hidden;
}

.hero-bg-three {
    position: absolute;
    top: -60px;
    right: -40px;
    font-family: var(--display);
    font-weight: 900;
    font-size: 42rem;
    line-height: 0.8;
    color: #f0f0f0;
    transform: rotate(-8deg);
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero-three-mark {
    display: inline-block;
    font-family: var(--display);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.3em;
    padding: 8px 14px;
    background: var(--ink);
    color: var(--paper);
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2.8rem, 9vw, 8.4rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin: 0 0 32px;
    text-transform: lowercase;
}

.hero-sub {
    font-family: var(--body);
    font-weight: 400;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 680px;
    line-height: 1.55;
    margin: 0 0 36px;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    font-family: var(--display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 15px;
    padding: 18px 28px;
    text-decoration: none;
    border: var(--rule) solid var(--ink);
    transition: transform 0.05s ease, box-shadow 0.05s ease;
}
.btn-primary {
    background: var(--ink);
    color: var(--paper);
}
.btn-primary:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 0 var(--ink);
}
.btn-ghost {
    background: var(--paper);
    color: var(--ink);
}
.btn-ghost:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 0 var(--ink);
}

.hero-meta {
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--ink);
}

/* ============ section labels ============ */
.section-label {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: var(--rule) solid var(--ink);
    display: inline-block;
    margin-bottom: 32px;
}

.section-h2 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0 0 60px;
    text-transform: lowercase;
}

/* ============ standalone quotes ============ */
.standalone {
    padding: 100px 0;
    border-bottom: var(--rule) solid var(--ink);
}
.standalone-line {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0;
    text-transform: lowercase;
}
.standalone-dim {
    color: #999;
}
.standalone-last {
    padding: 120px 0;
}

/* ============ rules ============ */
.rules {
    padding: 80px 0;
    border-bottom: var(--rule) solid var(--ink);
}
.rules-label {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: var(--rule) solid var(--ink);
    display: inline-block;
    margin-bottom: 40px;
}
.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: var(--rule) solid var(--ink);
}
.rule {
    padding: 40px 32px 48px;
    border-right: var(--rule) solid var(--ink);
    display: flex;
    flex-direction: column;
}
.rule:last-child { border-right: 0; }

.rule-num {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.rule-text {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2rem, 3.4vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.rule-sub {
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.5;
    margin-top: auto;
}

/* ============ demo ============ */
.demo-section {
    padding: 80px 0;
    border-bottom: var(--rule) solid var(--ink);
}

.ascii-slots {
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1.35;
    background: var(--paper);
    color: var(--ink);
    padding: 32px;
    border: var(--rule) solid var(--ink);
    overflow-x: auto;
    white-space: pre;
    margin: 0 0 40px;
}
.ascii-slots .box { font-weight: 500; }
.ascii-slots .bold { font-weight: 500; }
.ascii-slots .accent { color: var(--orange); font-weight: 500; }
.ascii-slots em {
    display: inline-block;
    font-family: var(--body);
    font-style: italic;
    font-size: 15px;
    color: #555;
    margin-top: 8px;
}

.terminal-wrap { }
.terminal {
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.7;
    background: var(--ink);
    color: var(--paper);
    padding: 28px 32px;
    border: var(--rule) solid var(--ink);
    overflow-x: auto;
    white-space: pre;
    margin: 0;
}
.terminal .t-dim { color: #888; }
.terminal .t-str { color: #ccc; }
.terminal .t-ok { color: var(--paper); font-weight: 500; text-decoration: underline; }
.terminal .t-block { color: var(--orange); font-weight: 500; }

/* ============ features ============ */
.features {
    padding: 80px 0;
    border-bottom: var(--rule) solid var(--ink);
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: var(--rule) solid var(--ink);
}
.feature {
    padding: 36px 32px 40px;
    border-right: var(--rule) solid var(--ink);
    border-bottom: var(--rule) solid var(--ink);
    background: var(--paper);
    transition: transform 0.05s ease, box-shadow 0.05s ease;
}
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 0 var(--ink);
    position: relative;
    z-index: 2;
}
.feature-num {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.2em;
    margin-bottom: 28px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ink);
    display: inline-block;
}
.feature h3 {
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    text-transform: lowercase;
}
.feature p {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}
.feature code {
    font-family: var(--mono);
    font-size: 13px;
    background: var(--ink);
    color: var(--paper);
    padding: 2px 6px;
}

/* ============ why ============ */
.why {
    padding: 80px 0;
    border-bottom: var(--rule) solid var(--ink);
}
.why-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
    max-width: 1000px;
}
.why-col h3 {
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
    margin: 0 0 16px;
    text-transform: lowercase;
    border-bottom: var(--rule) solid var(--ink);
    padding-bottom: 14px;
}
.why-col p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ============ install ============ */
.install {
    padding: 80px 0;
    border-bottom: var(--rule) solid var(--ink);
}
.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: var(--rule) solid var(--ink);
}
.install-card {
    padding: 32px 28px;
    border-right: var(--rule) solid var(--ink);
    display: flex;
    flex-direction: column;
}
.install-card:last-child { border-right: 0; }
.install-num {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.install-card h3 {
    font-family: var(--display);
    font-weight: 900;
    font-size: 1.4rem;
    margin: 0 0 18px;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.install-card .soon {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--paper);
    padding: 4px 8px;
}
.install-card pre {
    background: var(--ink);
    color: var(--paper);
    padding: 16px 18px;
    margin: 0 0 14px;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.5;
    border: var(--rule) solid var(--ink);
}
.install-card pre code {
    font-family: var(--mono);
    background: transparent;
    color: inherit;
    padding: 0;
}
.install-card .note {
    font-size: 13px;
    line-height: 1.5;
    margin: auto 0 0;
    color: #555;
}
.install-card .note code {
    font-family: var(--mono);
    background: #f0f0f0;
    padding: 1px 5px;
    font-size: 12px;
}

/* ============ footer ============ */
.footer {
    padding: 28px 0;
    border-top: var(--rule) solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: var(--paper);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.footer-links a:hover { border-bottom-color: var(--paper); }

/* ============ responsive ============ */
@media (max-width: 960px) {
    .rules-grid, .features-grid, .install-grid {
        grid-template-columns: 1fr;
    }
    .rule, .feature, .install-card {
        border-right: 0 !important;
        border-bottom: var(--rule) solid var(--ink);
    }
    .rules-grid > :last-child,
    .features-grid > :last-child,
    .install-grid > :last-child {
        border-bottom: 0;
    }
    .why-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-bg-three { font-size: 22rem; top: 20px; right: -20px; }
}

@media (max-width: 640px) {
    .page {
        padding: 0 16px;
        border-left: 0;
        border-right: 0;
    }
    .hero { padding: 48px 0 64px; }
    .standalone { padding: 60px 0; }
    .rules, .features, .why, .install, .demo-section { padding: 56px 0; }
    .ascii-slots { font-size: 11px; padding: 18px; }
    .terminal { font-size: 12px; padding: 18px; }
    .footer {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}
