:root {
    --bg: #FFFFF0;
    --ink: #000000;
    --ink-soft: #333333;
    --ink-muted: #666666;
    --accent: #FF0000;
    --accent-dark: #CC0000;
    --accent-secondary: #0000FF;
    --max-w: 1140px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a, button, input { touch-action: manipulation; }
a, button { cursor: pointer; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    will-change: transform;
    contain: layout style;
}

::selection { background: var(--accent); color: white; }

/* ══════════════════════════════════
   PAGE LOADER
══════════════════════════════════ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: grid;
    place-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-mark {
    width: 48px;
    height: 48px;
    background: var(--ink);
    border-radius: 0;
    display: grid;
    place-items: center;
    animation: loader-pulse 1.2s ease infinite;
}

.loader-mark::after {
    content: 'yz';
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.92); opacity: 0.7; }
}

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg);
    border-bottom: 3px solid var(--ink);
}

.nav-bar {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--ink);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.logo-icon::after {
    content: 'yz';
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.04em;
}

.logo-name {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.nav-menu a {
    color: var(--ink);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.nav-menu a:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.nav-action-item {
    margin-left: 0;
}

.nav-action-item:first-of-type {
    margin-left: 0.3rem;
}

.nav-action-item a {
    border: 2px solid var(--ink) !important;
}

/* two buttons sit flush — remove right border on mail */
.nav-mail {
    background: transparent !important;
    color: var(--ink) !important;
    border-right: none !important;
}

.nav-mail:hover {
    background: var(--ink) !important;
    color: var(--bg) !important;
}

.nav-btn {
    background: var(--ink) !important;
    color: var(--bg) !important;
}

.nav-btn:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: white !important;
}

/* mobile hamburger — brutalist "+" / "×" toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--ink);
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 0;
    transition: transform 0.25s var(--ease);
    position: relative;
}

.nav-toggle span::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 0;
    top: 0;
    left: 0;
    transform: rotate(90deg);
    transition: transform 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::before {
    transform: rotate(0deg);
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
    border-bottom: 3px solid var(--ink);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.85rem 0.3rem 0.55rem;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: fadeIn 0.6s ease;
}

.hero-tag .dot {
    width: 7px;
    height: 7px;
    background: white;
    border-radius: 0;
    animation: blink 2.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
    text-wrap: balance;
    animation: fadeIn 0.7s ease 0.1s both;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 4px;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 2rem;
    animation: fadeIn 0.7s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    animation: fadeIn 0.7s ease 0.3s both;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--ink);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
    background: var(--ink);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--bg);
}

/* Hero Terminal — thin code strip above heading */
.terminal-strip {
    animation: fadeIn 0.8s ease 0.05s both;
    margin-bottom: 1.5rem;
}

.terminal {
    background: var(--ink);
    border-radius: 0;
    overflow: hidden;
    border: 2px solid var(--ink);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: #1a1a1a;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: white;
    border-bottom: 2px solid #333;
}

.t-controls {
    display: flex;
    gap: 0;
    padding: 0.55rem 0.8rem;
    border-right: 2px solid #333;
}

.t-dot {
    width: 10px;
    height: 10px;
    border: 2px solid;
    margin-right: 5px;
}

.t-dot.t-close { border-color: var(--accent); background: var(--accent); }
.t-dot.t-min { border-color: #FFB000; }
.t-dot.t-max { border-color: #00C853; }

.terminal-title {
    flex: 1;
    text-align: left;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    padding: 0.55rem 0.8rem;
}

.terminal-body {
    padding: 1rem 0 1.2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    line-height: 2;
    color: rgba(255,255,255,0.5);
    display: grid;
    grid-template-columns: auto 1fr;
}

.line-nums {
    padding: 0 0.8rem;
    text-align: right;
    color: rgba(255,255,255,0.15);
    user-select: none;
    border-right: 2px solid #333;
    font-size: 0.65rem;
    line-height: 2.18;
}

.code-body {
    padding: 0 1rem;
}

.tc { color: rgba(255,255,255,0.25); font-style: italic; }
.tk { color: var(--accent); font-weight: 700; }
.ts { color: #FFB000; }
.tf { color: #5B9DFF; }

.cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--accent);
    margin-left: 2px;
    animation: blink-c 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink-c {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-result {
    padding: 0.6rem 1rem;
    background: rgba(255,0,0,0.05);
    border-top: 2px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-result .trl {
    color: rgba(255,255,255,0.5);
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.terminal-result .trv { color: var(--accent); font-family: 'Space Mono', monospace; font-weight: 700; font-size: 0.72rem; }

/* ══════════════════════════════════
   NUMBERS STRIP
══════════════════════════════════ */
.numbers {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0;
    border-bottom: 3px solid var(--ink);
}

.numbers-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.num-card {
    background: var(--bg);
    border-right: 2px solid var(--ink);
    padding: 2rem 1.5rem;
    text-align: left;
}

.num-card:last-child {
    border-right: none;
}

.num-val {
    font-family: 'Space Mono', monospace;
    font-size: 4rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.2rem;
    font-variant-numeric: tabular-nums;
}

.num-lbl {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: var(--ink-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ══════════════════════════════════
   FEATURES BENTO
══════════════════════════════════ */
.features {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3rem 1.5rem 0;
    border-bottom: 3px solid var(--ink);
}

.sec-head {
    text-align: left;
    margin-bottom: 3rem;
}

.kicker {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.sec-head h2 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.15;
    text-transform: uppercase;
    text-wrap: balance;
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 0;
    border: 2px solid var(--ink);
    margin-bottom: 3rem;
}

.bc {
    background: var(--bg);
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.15s;
    height: 100%;
}

.bc:hover {
    background: #F5F5E0;
}

.bc:nth-child(3n) {
    border-right: none;
}

.bc.w2 { grid-column: span 2; }

.bc-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    padding: 0.3rem 0.6rem;
    border: 2px solid var(--ink);
    background: transparent;
}

.bc-icon.i-blue { border-color: var(--accent-secondary); color: var(--accent-secondary); }
.bc-icon.i-green { border-color: #00C853; color: #00C853; }
.bc-icon.i-warm { border-color: var(--accent); color: var(--accent); }
.bc-icon.i-violet { border-color: #7C3AED; color: #7C3AED; }

.bc h3 {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.bc p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1.1rem;
}

.tag {
    padding: 0.25rem 0.6rem;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    text-transform: uppercase;
}

.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 50px;
    margin-top: 1.2rem;
}

.mb {
    flex: 1;
    border-radius: 0;
    transition: height 0.5s var(--ease);
}

.mb:nth-child(odd) { background: var(--accent); }
.mb:nth-child(even) { background: var(--ink); opacity: 0.2; }

.flow {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.fs {
    padding: 0.3rem 0.65rem;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    background: transparent;
    border: 1px solid var(--ink);
    text-transform: uppercase;
}

.fs.lit { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fa { color: var(--accent); font-family: 'Space Mono', monospace; font-size: 0.72rem; font-weight: 700; }

.bc.dark {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.bc.dark:hover { background: #1a1a1a; }
.bc.dark h3 { color: var(--bg); }
.bc.dark p { color: rgba(255,255,255,0.5); }
.bc.dark .tag { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }

.bc-icon.i-lime { border-color: #C8FF00; color: #C8FF00; }

.bc.sec-border { border-left: 4px solid var(--accent) !important; }

.bc.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-card .stat-num {
    font-family: 'Space Mono', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════
   TESTIMONIALS
══════════════════════════════════ */
.testimonials {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3rem 1.5rem 3rem;
    border-bottom: 3px solid var(--ink);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.test-card {
    background: transparent;
    border: none;
    border-left: 4px solid var(--accent);
    border-radius: 0;
    padding: 0 0 0 1.5rem;
}

.test-stars {
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.test-quote {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.test-avatar {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: var(--ink);
    display: grid;
    place-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bg);
}

.test-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.test-role {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: var(--ink-muted);
}

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3rem 1.5rem 3rem;
    border-bottom: 3px solid var(--ink);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    text-wrap: balance;
}

.about-text h2 em {
    font-style: normal;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}

.about-text > p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.about-text blockquote {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border-left: 4px solid var(--accent);
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    color: var(--ink);
    font-weight: 700;
    font-style: normal;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--ink);
}

.ac {
    background: var(--bg);
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    padding: 1.5rem;
}

.ac:nth-child(2n) { border-right: none; }
.ac:nth-child(n+3) { border-bottom: none; }

.ac-emoji {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--accent);
}

.ac h3 {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.ac p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ══════════════════════════════════
   BLOG PREVIEW
══════════════════════════════════ */
.blog {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3rem 1.5rem 3rem;
    border-bottom: 3px solid var(--ink);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3rem;
    border: 2px solid var(--ink);
}

.blog-card {
    background: var(--bg);
    border-right: 2px solid var(--ink);
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.15s;
}

.blog-card:last-child { border-right: none; }

.blog-card:hover {
    background: #F5F5E0;
}

.blog-thumb {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--bg) !important;
    border-bottom: 2px solid var(--ink);
}

.blog-thumb.th-1 { color: var(--accent-secondary); }
.blog-thumb.th-2 { color: #00C853; }
.blog-thumb.th-3 { color: var(--accent); }

.blog-body {
    padding: 1.5rem;
}

.blog-date {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: var(--ink-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.blog-card h3 {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.blog-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.8rem;
    text-transform: uppercase;
}

/* ══════════════════════════════════
   AI PARTNERS
══════════════════════════════════ */
.ai-partners {
    padding: 3rem 1.5rem;
    border-bottom: 3px solid var(--ink);
    background: var(--bg);
}

.ai-partners-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.ai-partners-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-bottom: 2rem;
}

.ai-partners-label::before {
    content: '// ';
    color: var(--accent);
}

.ai-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.ai-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    opacity: 0.45;
    transition: opacity 0.2s;
    text-decoration: none;
    color: var(--ink);
    padding: 1.5rem 1rem;
    border: 2px solid var(--ink);
    margin-right: -2px;
    margin-bottom: -2px;
    aspect-ratio: 1;
}

.ai-logo:hover { opacity: 1; }

.ai-logo svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.ai-logo-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* ══════════════════════════════════
   TECH MARQUEE
══════════════════════════════════ */
.tech-strip {
    padding: 2rem 0;
    overflow: hidden;
    border-bottom: 3px solid var(--ink);
    background: var(--bg);
}

.marquee {
    display: flex;
    gap: 2rem;
    animation: marq 12s linear infinite;
    will-change: transform;
    width: max-content;
}

.marquee span {
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.marquee span::before {
    content: '//';
    margin-right: 0.4rem;
    color: var(--accent);
}

@keyframes marq {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════
   CTA
══════════════════════════════════ */
.cta {
    margin: 0;
    padding: 0;
}

.cta-card {
    background: var(--ink);
    border-radius: 0;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-family: 'Space Mono', monospace;
    color: var(--bg);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 0.8rem;
    position: relative;
    text-transform: uppercase;
    text-wrap: balance;
}

.cta-card > p {
    color: rgba(255,255,255,0.5);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    max-width: 420px;
    margin: 0 auto 2rem;
    position: relative;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
    border: 2px solid rgba(255,255,255,0.25);
    position: relative;
}

.cta-block {
    padding: 1.8rem;
    position: relative;
}


.cta-block-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}


.cta-mail-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    text-decoration: none;
    color: white;
    transition: background 0.15s;
    margin: -1.8rem;
    padding: 1.8rem;
}

.cta-mail-link:hover {
    background: rgba(255,255,255,0.05);
}

.cta-mail-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.cta-mail-addr {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.cta-mail-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}

.cta-note {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1.5rem;
    position: relative;
    text-transform: uppercase;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 3px solid var(--ink);
}

.f-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.f-copy {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: var(--ink-muted);
    text-transform: uppercase;
}


/* ══════════════════════════════════
   COOKIE BANNER
══════════════════════════════════ */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 0.9rem 1.5rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 200;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    border-top: 3px solid var(--accent);
    animation: slideUp 0.5s ease 1.5s both;
}

.cookie-bar.hidden { display: none; }

.cookie-bar p { flex: 1; }
.cookie-bar a { color: white; text-decoration: underline; }

.cookie-btns {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.cookie-btns button {
    padding: 0.45rem 1rem;
    border-radius: 0;
    border: 2px solid white;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s;
}

.cookie-accept {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.cookie-accept:hover { background: var(--accent-dark); }

.cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.5);
    border-color: rgba(255,255,255,0.3);
}

.cookie-decline:hover { background: rgba(255,255,255,0.1); }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 900px) {
    /* NAV — hide links, show hamburger */
    .nav-menu { display: none; }
    .nav-toggle { display: flex; margin-left: auto; }

    /* NAV — open overlay */
    .nav-menu.open {
        display: flex !important;
        position: fixed;
        inset: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 4.5rem 0 0;
        z-index: 999;
        border-top: 3px solid var(--ink);
    }

    .nav-menu.open li {
        display: block !important;
    }

    .nav-menu.open li a {
        display: block !important;
        font-size: 1rem;
        padding: 1rem 1.5rem !important;
        border: none !important;
        border-bottom: 2px solid var(--ink) !important;
        text-align: left;
        background: transparent !important;
        color: var(--ink) !important;
        width: 100%;
    }

    .nav-menu.open .nav-action-item:first-of-type { margin-left: 0; }

    .nav-menu.open .nav-btn {
        background: var(--ink) !important;
        color: var(--bg) !important;
    }

    /* HERO */
    .hero {
        padding: 5.5rem 1.2rem 2.5rem;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* TERMINAL */
    .terminal-body {
        font-size: 0.65rem;
    }

    .line-nums {
        font-size: 0.65rem;
        padding: 0 0.5rem;
    }

    .code-body {
        padding: 0 0.6rem;
        overflow-x: auto;
    }

    /* NUMBERS */
    .numbers-row { grid-template-columns: repeat(2, 1fr); }
    .num-card { border-bottom: 2px solid var(--ink); }
    .num-card:nth-child(2n) { border-right: none; }
    .num-val { font-size: 2.4rem; }

    /* FEATURES */
    .features { padding: 2.5rem 1.2rem 0; }
    .bento { grid-template-columns: 1fr; }
    .bc.w2 { grid-column: span 1; }
    .bc { border-right: none !important; }

    /* TESTIMONIALS */
    .testimonials { padding: 2.5rem 1.2rem; }
    .test-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    /* ABOUT */
    .about { padding: 2.5rem 1.2rem; }
    .about-layout { grid-template-columns: 1fr; gap: 2rem; }
    .about-cards { grid-template-columns: 1fr; }
    .ac { border-right: none !important; border-bottom: 2px solid var(--ink) !important; }
    .ac:last-child { border-bottom: none !important; }

    /* BLOG */
    .blog { padding: 2.5rem 1.2rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card { border-right: none !important; border-bottom: 2px solid var(--ink); }
    .blog-card:last-child { border-bottom: none; }

    /* AI PARTNERS */
    .ai-logos { grid-template-columns: repeat(2, 1fr); }
    .ai-logo { padding: 1rem 0.75rem; }
    .ai-logo-name { font-size: 0.82rem; }
    .ai-logo svg { width: 32px; height: 32px; }

    /* MARQUEE */
    .marquee span { font-size: 1rem; }

    /* CTA */
    .cta-card { padding: 2.5rem 1.2rem; }
    .cta-block { padding: 1.5rem; }
    .cta-mail-link { margin: 0; padding: 1.5rem; }

    /* FOOTER */
    footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.2rem;
    }
    .f-brand { flex-direction: column; gap: 0.6rem; }

    /* COOKIE */
    .cookie-bar {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem 1.2rem;
    }
    .cookie-btns { justify-content: center; }

    /* SEC HEAD */
    .sec-head { margin-bottom: 2rem; }
}

/* small phones */
@media (max-width: 480px) {
    .nav-bar { padding: 0.6rem 1rem; }
    .logo-name { font-size: 0.95rem; }
    .hero h1 { font-size: 1.5rem; }
    .hero-desc { font-size: 0.82rem; }
    .numbers-row { grid-template-columns: 1fr; }
    .num-card { border-right: none !important; }
    .num-val { font-size: 2rem; }
    .sec-head h2 { font-size: 1.3rem; }
    .about-text h2 { font-size: 1.3rem; }
    .cta-card h2 { font-size: 1.2rem; }
    .test-quote { font-size: 0.82rem; }
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 0.6rem 1.2rem;
    background: var(--accent);
    color: white;
    border-radius: 0;
    text-decoration: none;
    z-index: 10001;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.skip-link:focus { top: 16px; }

/* Print */
@media print {
    nav, .page-loader, .cookie-bar, .tech-strip, .ai-partners, body::after, .skip-link { display: none !important; }
    .cta-card { background: white !important; color: black !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .marquee {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}
