:root {
    --bg: #050505;
    --panel: #0d0d0d;
    --panel-2: #131313;
    --text: #f4f4f2;
    --muted: #a8a8a2;
    --line: rgba(255,255,255,.12);
    --accent: #ff6b1a;
    --accent-2: #ff9f1c;
    --teal: #1e8c76;
    --red: #9d1b24;
    --max: 1240px;
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.section-pad-sm { padding: 76px 0; }
.skip-link { position: fixed; left: 12px; top: -80px; background: #fff; color: #000; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { top: 12px; }
.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; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(5,5,5,.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(5,5,5,.93); border-color: var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 315px; max-width: 48vw; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; color: #d6d6d2; font-size: .92rem; font-weight: 650; }
.site-nav a:hover { color: #fff; }
.nav-cta { border: 1px solid rgba(255,255,255,.25); padding: 10px 16px; border-radius: 999px; }
.nav-cta:hover { border-color: var(--accent); }
.menu-toggle { display: none; width: 45px; height: 45px; padding: 10px; border: 1px solid var(--line); background: transparent; border-radius: 50%; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.hero { min-height: 880px; position: relative; overflow: hidden; display: flex; align-items: center; padding-top: 170px; }
.hero::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -230px;
    top: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,26,.18), transparent 68%);
    filter: blur(8px);
}
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to bottom, transparent 4%, #000 30%, transparent 100%); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: 80px; align-items: center; }
.eyebrow, .section-kicker { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .74rem; color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 44px; height: 3px; background: repeating-linear-gradient(90deg, #fff 0 5px, var(--red) 5px 10px, var(--accent-2) 10px 15px, var(--teal) 15px 20px); }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(3.4rem, 7.2vw, 7rem); line-height: .91; letter-spacing: -.068em; font-weight: 850; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 720px; margin: 34px 0 0; color: #c8c8c3; font-size: clamp(1.08rem, 1.7vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 23px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; font-weight: 800; font-size: .92rem; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #0a0a0a; }
.button-primary:hover { background: #ff843f; }
.button-secondary { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.035); }
.button-secondary:hover { border-color: #fff; }
.hero-proof { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: .92rem; }
.hero-proof span { color: var(--muted); font-size: .77rem; margin-top: 3px; }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.terminal-card { width: min(100%, 500px); position: relative; z-index: 3; background: rgba(13,13,13,.82); border: 1px solid rgba(255,255,255,.18); border-radius: 22px; box-shadow: 0 40px 100px rgba(0,0,0,.55); backdrop-filter: blur(12px); overflow: hidden; transform: rotate(-2.5deg); }
.terminal-bar { height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); color: #7f7f7b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; }
.terminal-bar i { width: 9px; height: 9px; border-radius: 50%; background: #454545; }
.terminal-bar i:nth-child(1) { background: var(--red); }
.terminal-bar i:nth-child(2) { background: var(--accent-2); }
.terminal-bar i:nth-child(3) { background: var(--teal); }
.terminal-bar span { margin-left: 8px; }
.terminal-body { padding: 42px 34px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-body p { margin: 0 0 24px; color: #d4d4cf; font-size: .94rem; }
.terminal-body b { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,107,26,.5); border-radius: 50%; margin-right: 14px; color: var(--accent); }
.terminal-status { margin-top: 38px; padding: 15px 18px; background: rgba(30,140,118,.1); border: 1px solid rgba(30,140,118,.35); color: #72d9c1; font-size: .8rem; }
.terminal-status span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #72d9c1; box-shadow: 0 0 14px #72d9c1; margin-right: 8px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 390px; border-color: rgba(255,107,26,.2); }

.intro { border-bottom: 1px solid var(--line); background: #080808; }
.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.intro-copy h2, .section-heading h2, .custom h2, .contact h2, .byron-strip h2 { margin: 0; letter-spacing: -.045em; line-height: 1.04; font-size: clamp(2.2rem, 4.7vw, 4.6rem); }
.intro-copy p { color: #bcbcb6; font-size: 1.18rem; max-width: 800px; margin: 28px 0 0; }

.products { background: #080808; }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 58px; }
.section-heading h2 { font-size: clamp(2.35rem, 4.5vw, 4.8rem); max-width: 850px; }
.section-heading > p { max-width: 390px; margin: 0 0 8px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.product-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .28s ease, border-color .28s ease; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(255,107,26,.48); }
.product-image { position: relative; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: #111; overflow: hidden; cursor: zoom-in; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-image::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.image-action { position: absolute; z-index: 2; right: 18px; bottom: 15px; padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.2); font-size: .72rem; font-weight: 800; }
.product-content { padding: 31px 31px 28px; }
.product-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 17px; font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.product-meta span:first-child { color: var(--accent); }
.product-card h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.55rem); letter-spacing: -.035em; }
.product-card p { margin: 17px 0 20px; color: #b9b9b3; }
.product-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.product-card li { color: #e0e0db; font-size: .9rem; }
.product-card li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 10px; }
.product-footer { margin-top: 27px; padding-top: 19px; border-top: 1px solid var(--line); }
.product-footer a { display: flex; justify-content: space-between; align-items: center; text-decoration: none; font-weight: 800; font-size: .86rem; }
.product-footer a:hover { color: var(--accent); }

.custom { background: #050505; }
.custom-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 70px; padding: 68px; background: #f1eee7; color: #111; border-radius: 30px; }
.custom-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 11px; background: repeating-linear-gradient(to bottom, #78201d 0 24px, #f3c13a 24px 48px, #f8f4e8 48px 72px, #13866b 72px 96px); }
.custom-mark { position: absolute; right: -40px; bottom: -170px; font-size: 520px; line-height: 1; font-weight: 950; color: rgba(0,0,0,.045); }
.custom-copy, .capability-list { position: relative; z-index: 2; }
.custom-copy p:not(.section-kicker) { max-width: 740px; font-size: 1.1rem; color: #3f3f3b; margin: 25px 0 32px; }
.custom .button-primary { color: #fff; background: #111; }
.custom .button-primary:hover { background: var(--accent); color: #111; }
.capability-list { display: grid; align-content: center; gap: 12px; }
.capability-list span { display: block; padding: 14px 17px; border: 1px solid rgba(0,0,0,.16); border-radius: 12px; background: rgba(255,255,255,.35); font-weight: 750; }

.approach { background: #090909; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps article { min-height: 285px; padding: 32px 27px; border-right: 1px solid var(--line); }
.steps article:last-child { border-right: 0; }
.steps span { display: block; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; margin-bottom: 65px; }
.steps h3 { margin: 0; font-size: 1.45rem; }
.steps p { color: var(--muted); margin: 12px 0 0; font-size: .92rem; }

.byron-strip { padding: 76px 0; background: var(--accent); color: #0b0b0b; }
.byron-strip .section-kicker { color: #191919; }
.byron-strip-inner { display: grid; grid-template-columns: 1.15fr .7fr auto; gap: 60px; align-items: end; }
.byron-strip h2 { font-size: clamp(2.2rem, 4.3vw, 4.4rem); }
.byron-strip-inner > p { margin: 0; font-weight: 650; }
.byron-strip a { text-decoration: none; font-weight: 900; white-space: nowrap; border-bottom: 2px solid #111; padding-bottom: 5px; }

.contact { background: #050505; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.contact-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.05rem; margin: 27px 0 42px; }
.contact-direct { padding-top: 22px; border-top: 1px solid var(--line); }
.contact-direct span { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; margin-bottom: 6px; }
.contact-direct a { font-size: 1.2rem; text-decoration: none; font-weight: 800; }
.contact-direct a:hover { color: var(--accent); }
.contact-form { padding: 35px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .04em; color: #d9d9d4; margin-bottom: 18px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 8px; color: #fff; background: #070707; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; padding: 13px 14px; outline: 0; }
.contact-form input, .contact-form select { height: 50px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,26,.11); }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.form-footer { display: flex; gap: 25px; justify-content: space-between; align-items: center; }
.form-footer p { margin: 0; max-width: 420px; font-size: .72rem; color: #8f8f89; }
.form-footer p a { color: #bbb; }
.form-message { margin-bottom: 22px; padding: 13px 15px; border-radius: 10px; font-size: .88rem; }
.form-message.success { background: rgba(30,140,118,.13); border: 1px solid rgba(30,140,118,.5); color: #8de4d0; }
.form-message.error { background: rgba(157,27,36,.13); border: 1px solid rgba(157,27,36,.5); color: #ffabb1; }
.honeypot { position: absolute; left: -9999px; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #030303; }
.footer-grid { display: grid; grid-template-columns: 270px 1fr auto; gap: 45px; align-items: center; }
.footer-brand { max-width: 250px; }
.footer-grid p { margin: 3px 0; color: #8f8f89; font-size: .8rem; }
.footer-grid p a { color: #cfcfca; }
.footer-grid nav { display: flex; gap: 22px; }
.footer-grid nav a { color: #aaa; text-decoration: none; font-size: .82rem; }
.footer-grid nav a:hover { color: #fff; }

.lightbox { position: fixed; z-index: 300; inset: 0; background: rgba(0,0,0,.92); padding: 40px; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-inner { width: min(1200px, 100%); }
.lightbox-inner img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 16px; box-shadow: 0 30px 100px #000; }
.lightbox-inner p { margin: 14px 0 0; text-align: center; font-weight: 800; }
.lightbox-close { position: fixed; top: 24px; right: 28px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.5); font-size: 2rem; line-height: 1; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1050px) {
    .hero-layout { grid-template-columns: 1fr; gap: 30px; }
    .hero-visual { min-height: 430px; }
    .terminal-card { max-width: 560px; }
    .product-grid { grid-template-columns: 1fr; }
    .custom-panel { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps article:nth-child(2) { border-right: 0; }
    .steps article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .byron-strip-inner { grid-template-columns: 1fr 1fr; }
    .byron-strip-inner a { grid-column: 2; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 240px 1fr; }
    .footer-grid nav { grid-column: 2; }
}

@media (max-width: 780px) {
    .container { width: min(100% - 30px, var(--max)); }
    .section-pad { padding: 78px 0; }
    .section-pad-sm { padding: 58px 0; }
    .nav-wrap { min-height: 70px; }
    .brand { width: 245px; }
    .menu-toggle { display: block; }
    .site-nav { position: absolute; left: 15px; right: 15px; top: 76px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; background: #0c0c0c; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 13px 11px; }
    .nav-cta { border-radius: 10px; margin-top: 5px; }
    .hero { min-height: auto; padding-top: 135px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
    .hero-proof { grid-template-columns: 1fr; gap: 14px; }
    .hero-visual { min-height: 390px; }
    .terminal-body { padding: 32px 20px; }
    .terminal-body p { font-size: .78rem; }
    .orbit-one { width: 390px; height: 390px; }
    .orbit-two { width: 280px; height: 280px; }
    .intro-grid { grid-template-columns: 1fr; gap: 12px; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 20px; }
    .product-content { padding: 25px 22px; }
    .custom-panel { padding: 45px 28px; gap: 38px; }
    .steps { grid-template-columns: 1fr; }
    .steps article, .steps article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .steps article:last-child { border-bottom: 0; }
    .steps span { margin-bottom: 34px; }
    .byron-strip-inner { grid-template-columns: 1fr; gap: 25px; }
    .byron-strip-inner a { grid-column: auto; justify-self: start; }
    .contact-form { padding: 24px 20px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .form-footer { align-items: stretch; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid nav { grid-column: auto; flex-wrap: wrap; }
    .lightbox { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
