/* === PureClaw Design System === */
:root {
    --bg: #0A0C10;
    --bg-raised: #0E1117;
    --surface: #151921;
    --surface-hover: #1A1F2B;
    --border: #1E2533;
    --border-bright: #2A3345;
    --text: #E8ECF2;
    --text-secondary: #8B95A8;
    --text-muted: #5A6478;
    --accent: #7DE3FF;
    --accent-dim: rgba(125, 227, 255, 0.08);
    --accent-glow: rgba(125, 227, 255, 0.15);
    --claw: #FF9F43;
    --claw-dim: rgba(255, 159, 67, 0.08);
    --claw-glow: rgba(255, 159, 67, 0.15);
    --green: #63E6BE;
    --red: #FF6B6B;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --max-w: 1140px;
    --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* === Ambient background === */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(125, 227, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(255, 159, 67, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* === Noise overlay === */
.noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.025;
    pointer-events: none;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* === Nav === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.nav-brand-icon {
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border: 1px solid rgba(125, 227, 255, 0.12);
    border-radius: 8px;
}
.nav-brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.nav-brand-text span { color: var(--claw); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--accent); }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: var(--font-sans);
}
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--border-bright); }
.btn-claw {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--claw);
    color: var(--bg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}
.btn-claw:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* === Hero === */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-dim);
    border: 1px solid rgba(125, 227, 255, 0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--claw) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* === Terminal === */
.terminal-wrap {
    max-width: 720px;
    margin: 60px auto 0;
}
.terminal {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
    box-shadow:
        0 0 0 1px var(--border),
        0 4px 24px rgba(0,0,0,0.3),
        0 0 80px var(--accent-dim);
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-bright);
}
.terminal-dot:nth-child(1) { background: #FF5F56; }
.terminal-dot:nth-child(2) { background: #FFBD2E; }
.terminal-dot:nth-child(3) { background: #27C93F; }
.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    min-height: 220px;
}
.term-prompt { color: var(--accent); }
.term-command { color: var(--text); }
.term-comment { color: var(--text-muted); }
.term-output { color: var(--text-secondary); }
.term-engine { color: var(--claw); font-weight: 600; }
.term-success { color: var(--green); }
.term-line {
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* === Section headings === */
section { padding: 100px 0; }
.section-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--claw);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}
.section-header { margin-bottom: 56px; }

/* === Engine Grid === */
.engine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.engine-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.25s;
    position: relative;
}
.engine-card:hover {
    border-color: var(--border-bright);
    background: var(--surface);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.engine-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.engine-name {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}
.engine-tier {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tier-local { background: rgba(99, 230, 190, 0.1); color: var(--green); border: 1px solid rgba(99, 230, 190, 0.15); }
.tier-api { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(125, 227, 255, 0.15); }
.tier-cli { background: var(--claw-dim); color: var(--claw); border: 1px solid rgba(255, 159, 67, 0.15); }
.engine-type {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.engine-providers {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.engine-tools {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 4px 10px;
    background: var(--surface);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

/* === Tier bar === */
.tier-legend {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.tier-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}
.tier-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.tier-dot.local { background: var(--green); }
.tier-dot.api { background: var(--accent); }
.tier-dot.cli { background: var(--claw); }

/* === Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.feature-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.25s;
}
.feature-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}
.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}
.feature-detail {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === Security === */
.security-section {
    background: var(--bg-raised);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
.security-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.security-item h3 .check {
    color: var(--green);
    font-size: 18px;
}
.security-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    padding-left: 28px;
}

/* === Quickstart === */
.quickstart-block {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 640px;
}
.quickstart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.quickstart-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.quickstart-copy {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.quickstart-copy:hover { color: var(--text); border-color: var(--border-bright); }
.quickstart-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
    overflow-x: auto;
}
.quickstart-body .comment { color: var(--text-muted); }
.quickstart-body .prompt { color: var(--accent); }
.quickstart-body .cmd { color: var(--text); }

/* === Footer === */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-left {
    font-size: 14px;
    color: var(--text-muted);
}
.footer-left a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-left a:hover { color: var(--text); }
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }
.footer-legal { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.8rem; }
.footer-legal a { color: var(--text-secondary); text-decoration: none; }
.footer-badge { display: flex; justify-content: center; align-items: center; margin: 1rem 0; padding: 0.75rem 0; }
.footer-badge img { height: 60px; width: auto; opacity: 0.85; transition: opacity 0.2s; }
.footer-badge img:hover { opacity: 1; }
.footer-copyright { text-align: center; margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted); }
.footer-copyright a { color: var(--text-secondary); text-decoration: none; }

/* === Divider line with glow === */
.glow-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), var(--claw-glow), transparent);
    border: none;
    margin: 0;
}

/* === Stats Bar === */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-raised);
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.stat-number.claw-color { color: var(--claw); }
.stat-number.green-color { color: var(--green); }
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* === Policy Code Block === */
.policy-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 40px;
    max-width: 560px;
}
.policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.policy-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.policy-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.9;
    overflow-x: auto;
    color: var(--text-secondary);
}
.policy-body .yaml-key { color: var(--accent); }
.policy-body .yaml-val { color: var(--claw); }
.policy-body .yaml-comment { color: var(--text-muted); }

/* === Compliance Section === */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 40px;
}
.compliance-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.25s;
}
.compliance-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}
.compliance-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.compliance-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}
.compliance-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Security feature icon (SVG) === */
.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* === Utility classes === */
.section-header--center { text-align: center; }
.section-desc--center { margin: 0 auto; }
.cli-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 48px; }
.quickstart-block--center { margin: 0 auto; max-width: 560px; }
.policy-block--spaced { margin: 40px auto 0; }
code.cli-cmd { font-family: var(--font-mono); color: var(--claw); background: var(--claw-dim); padding: 2px 8px; border-radius: 4px; }

/* === Waitlist === */
#waitlist { padding: 80px 0; text-align: center; border-top: 1px solid var(--border); }
.waitlist-inner { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.waitlist-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.waitlist-title { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.waitlist-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.waitlist-email { flex: 1; min-width: 220px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.95rem; font-family: var(--font-sans); outline: none; }
.waitlist-submit { padding: 12px 24px; background: var(--accent); color: var(--bg); font-size: 0.9rem; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; font-family: var(--font-sans); transition: filter 0.2s; }
.waitlist-success { display: none; padding: 12px 20px; background: rgba(125,227,255,0.06); border: 1px solid rgba(125,227,255,0.15); border-radius: 8px; color: var(--accent); font-size: 0.9rem; }
.waitlist-note { font-size: 0.8rem; color: var(--text-muted); }
.honeypot { display: none !important; }
.offscreen-trap { position: absolute; left: -9999px; top: -9999px; }

/* === Pricing Cards === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.pricing-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s;
}
.pricing-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-dim);
}
.pricing-tier {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--claw);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.pricing-price {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.pricing-price .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}
.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}
.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}
.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li::before {
    content: '\2713';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}
.pricing-cta {
    margin-top: auto;
}

/* === Team Cards === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.team-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.25s;
}
.team-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-bright);
    margin-bottom: 20px;
}
.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.team-role {
    font-size: 14px;
    color: var(--claw);
    font-weight: 500;
    margin-bottom: 12px;
}
.team-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}
.team-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.team-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s;
}
.team-links a:hover { color: var(--accent); border-color: var(--accent); }

/* === Blog Cards === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.blog-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.blog-card-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}
.blog-card-tag {
    display: inline-block;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(125, 227, 255, 0.15);
}

/* === Blog Article === */
.article-header {
    padding: 160px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.article-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    position: relative;
    z-index: 1;
}
.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 48px 0 16px;
    color: var(--text);
}
.article-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text);
}
.article-body p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}
.article-body ul, .article-body ol {
    margin: 0 0 20px 24px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}
.article-body li { margin-bottom: 8px; }
.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-body a:hover { color: var(--claw); }
.article-body code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--claw);
    background: var(--claw-dim);
    padding: 2px 6px;
    border-radius: 4px;
}
.article-body pre {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}
.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--accent-dim);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* === Legal / Prose Pages === */
.legal-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    position: relative;
    z-index: 1;
}
.legal-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 40px 0 12px;
    color: var(--text);
}
.legal-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 28px 0 10px;
    color: var(--text);
}
.legal-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.legal-body ul {
    margin: 0 0 16px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}
.legal-body li { margin-bottom: 6px; }
.legal-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* === Contact Form === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-input, .contact-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}
.contact-input:focus, .contact-textarea:focus { border-color: var(--accent); }
.contact-textarea { min-height: 140px; resize: vertical; }
.contact-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.contact-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}
.contact-info a { color: var(--accent); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* === Mobile hamburger === */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero { padding: 130px 0 60px; }
    section { padding: 64px 0; }
    .nav-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10, 12, 16, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; }
    .nav-links.open { display: flex; }
    .nav-links .nav-link { display: block; padding: 10px 14px; }
    .engine-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .terminal-body { font-size: 12px; padding: 16px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .stats-bar { gap: 24px; padding: 28px 16px; }
    .compliance-grid { grid-template-columns: 1fr; }
    .policy-block { max-width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .article-header { padding: 130px 0 40px; }
    .blog-grid { grid-template-columns: 1fr; }
}
