:root {
    --bg: #090f14;
    --bg-deep: #070c10;
    --panel: #0e1721;
    --panel-2: #101b26;
    --line: #1b2a36;
    --line-soft: rgba(145, 172, 190, .14);
    --text: #f3f6f8;
    --muted: #87939d;
    --muted-2: #5f6c76;
    --red: #e20e16;
    --red-bright: #ff1820;
    --shell: 1180px;
    --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { background: rgba(7, 12, 16, .67); border-bottom-color: rgba(255,255,255,.07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; justify-self: start; white-space: nowrap; }
.brand-mark { width: 18px; height: 8px; background: var(--red); clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%, 15% 50%); }
.brand-name { font-size: 10px; font-weight: 700; letter-spacing: .24em; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav a { color: #a5afb6; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.desktop-nav a:hover { color: #fff; }
.header-cta { justify-self: end; background: var(--red); padding: 11px 16px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; transition: background .2s, transform .2s; }
.header-cta:hover, .primary-btn:hover { background: var(--red-bright); transform: translateY(-1px); }
.menu-toggle { display: none; justify-self: end; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 8px; right: 8px; height: 1px; background: #fff; transition: transform .2s, top .2s; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

/* Global section typography */
.content-section { padding: 112px 0; background: var(--bg); }
.section-head { max-width: 740px; margin-bottom: 40px; }
.section-index, .eyebrow { margin: 0 0 14px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.section-head h2, .materials-content h2, .contact-head h2 { margin: 0; font-size: clamp(29px, 3vw, 46px); line-height: 1.05; letter-spacing: -.035em; font-weight: 650; }
.section-head > p:last-child, .contact-head > p:last-child, .materials-content > p:not(.section-index) { margin: 16px 0 0; max-width: 650px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Hero */
.hero { min-height: 735px; height: min(900px, 92vh); position: relative; overflow: hidden; display: flex; align-items: center; padding-top: var(--header-h); }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.65) contrast(1.08) brightness(.66); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,12,16,.99) 0%, rgba(7,12,16,.91) 36%, rgba(7,12,16,.38) 67%, rgba(7,12,16,.62) 100%), linear-gradient(180deg, rgba(7,12,16,.14), rgba(7,12,16,.48)); }
.hero-content { position: relative; z-index: 2; padding-top: 35px; }
.hero-copy { max-width: 610px; }
.hero-copy h1 { margin: 0; font-size: clamp(42px, 5.1vw, 74px); line-height: .99; letter-spacing: -.055em; font-weight: 650; }
.hero-copy h1 span { color: #fff; }
.hero-lead { max-width: 535px; margin: 24px 0 30px; color: #b4bec5; font-size: 15px; line-height: 1.7; }
.primary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 43px; padding: 0 18px; border: 0; color: #fff; background: var(--red); text-transform: uppercase; font-size: 10px; letter-spacing: .13em; font-weight: 800; cursor: pointer; transition: background .2s, transform .2s; }
.hero-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 690px; margin-top: 84px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; }
.hero-metrics div { position: relative; padding-left: 15px; }
.hero-metrics div::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 1px; width: 1px; background: var(--red); opacity: .85; }
.hero-metrics strong { display: block; font-size: 13px; letter-spacing: .06em; }
.hero-metrics span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }

/* System specs */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-card { min-height: 186px; padding: 24px 26px; display: grid; grid-template-columns: 48px 1fr; align-content: start; gap: 0 17px; background: linear-gradient(180deg, #0d151d, #0b1219); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(226,14,22,.4); color: var(--red); font-size: 24px; }
.spec-label { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.spec-card strong { display: block; margin-top: 6px; font-size: 21px; font-weight: 580; }
.spec-card p { grid-column: 1 / -1; margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

/* Problem */
.problem-section { padding-top: 74px; }
.narrow-copy { max-width: 690px; }
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 920px; }
.problem-card { position: relative; min-height: 150px; padding: 24px 28px; background: #0e1721; border: 1px solid rgba(129,155,175,.09); overflow: hidden; }
.problem-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 62px; height: 1px; background: var(--red); }
.problem-card > span { position: absolute; right: 18px; top: 16px; color: #273640; font-size: 30px; font-weight: 700; }
.problem-card h3 { margin: 0; font-size: 14px; font-weight: 600; }
.problem-card p { max-width: 380px; margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

/* Capabilities */
.compact-head { margin-bottom: 32px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capability-card { background: #0d151c; border: 1px solid var(--line-soft); padding-bottom: 28px; }
.capability-visual { height: 180px; margin: 12px; overflow: hidden; background: #140b0c; }
.capability-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.72) contrast(1.18); }
.capability-card > p, .capability-card > h3 { margin-left: 22px; margin-right: 22px; }
.cap-kicker { margin-top: 18px; color: #fff !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .08em; }
.capability-card h3 { margin-top: 7px; margin-bottom: 10px; font-size: 15px; }
.capability-card > p:last-child { color: var(--muted); font-size: 11px; line-height: 1.65; }

/* Use cases */
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.use-card { min-height: 345px; padding: 25px 22px; background: linear-gradient(180deg, #0f1923, #0b131b); border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.use-type { margin: 0 0 18px; color: var(--red); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.use-card h3 { margin: 0; min-height: 47px; font-size: 16px; line-height: 1.38; }
.use-card > p:not(.use-type) { margin: 17px 0 22px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.use-card ul { list-style: none; margin: auto 0 0; padding: 0; }
.use-card li { position: relative; padding: 9px 0 9px 12px; border-top: 1px solid rgba(255,255,255,.055); color: #a8b1b8; font-size: 10px; line-height: 1.45; }
.use-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 4px; height: 4px; background: var(--red); }

/* Credibility */
.credibility-section { padding-top: 78px; }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-soft); }
.cred-grid article { min-height: 190px; padding: 24px 23px; border-right: 1px solid var(--line-soft); background: #0d161f; }
.cred-grid article:last-child { border-right: 0; }
.cred-grid article > span { width: 26px; height: 26px; display: grid; place-items: center; margin-bottom: 23px; border: 1px solid rgba(226,14,22,.35); color: var(--red); font-size: 12px; }
.cred-grid h3 { margin: 0 0 10px; font-size: 13px; }
.cred-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.positioning-panel { margin-top: 20px; padding: 26px 28px; background: #0d161f; border: 1px solid var(--line-soft); }
.position-label { margin: 0 0 12px; color: var(--red); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.positioning-panel blockquote { margin: 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.055); color: #d7dde1; font-size: 12px; line-height: 1.55; }

/* Materials */
.materials-section { position: relative; min-height: 500px; display: flex; align-items: flex-end; overflow: hidden; background: #080d11; }
.materials-media, .materials-shade { position: absolute; inset: 0; }
.materials-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: brightness(.72) saturate(.65) contrast(1.05); }
.materials-shade { background: linear-gradient(180deg, rgba(7,12,16,.1), rgba(7,12,16,.62) 58%, rgba(7,12,16,.98)), linear-gradient(90deg, rgba(7,12,16,.78), transparent 56%); }
.materials-content { position: relative; z-index: 2; padding-bottom: 78px; }
.materials-content h2 { font-size: 34px; }
.materials-content > p:not(.section-index) { max-width: 470px; margin-bottom: 24px; }

/* Contact */
.contact-section { padding: 105px 0 88px; background: radial-gradient(circle at 50% 35%, rgba(11,36,49,.35), transparent 45%), #0b1117; border-top: 1px solid rgba(255,255,255,.04); }
.contact-shell { max-width: 880px; }
.contact-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.contact-head .section-index { text-align: center; }
.contact-head > p:last-child { margin-left: auto; margin-right: auto; }
.contact-card { padding: 28px; background: #101b26; border: 1px solid rgba(115,145,166,.16); box-shadow: 0 28px 70px rgba(0,0,0,.16); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { color: #8f9da8; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.field em { color: #60707b; font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #1b2c39; border-radius: 0; outline: none; background: #0d1720; color: #e7edf1; transition: border-color .2s, background .2s; }
.field input, .field select { height: 42px; padding: 0 12px; }
.field textarea { height: 96px; resize: vertical; padding: 12px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #4d5d68; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(226,14,22,.7); background: #0f1a24; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #647681 50%), linear-gradient(135deg, #647681 50%, transparent 50%); background-position: calc(100% - 16px) 17px, calc(100% - 12px) 17px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.form-span-2 { grid-column: 1 / -1; }
.form-note { margin: 20px 0 18px; color: #5e6d77; font-size: 9px; line-height: 1.6; }
.form-submit { width: 100%; }
.field-error { display: none; color: #ff5d63; font-size: 10px; }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #a91f24; }
.form-alert { margin-bottom: 18px; padding: 11px 13px; background: rgba(226,14,22,.08); border: 1px solid rgba(226,14,22,.28); color: #f29ba0; font-size: 11px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.form-success { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(226,14,22,.4); color: var(--red); margin-bottom: 18px; }
.form-success h3 { margin: 0; font-size: 28px; }
.form-success p { color: var(--muted); margin: 11px 0 22px; }
.contact-meta { display: flex; justify-content: center; gap: 60px; margin-top: 30px; text-align: center; }
.contact-meta div { display: flex; flex-direction: column; gap: 6px; }
.contact-meta span { color: #56646e; font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.contact-meta a, .contact-meta strong { color: #aeb8bf; font-size: 10px; font-weight: 500; }

/* Footer */
.site-footer { padding: 58px 0 22px; background: #070c10; border-top: 1px solid rgba(255,255,255,.04); }
.footer-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; }
.footer-brand { margin-bottom: 17px; }
.footer-brand-block > p { max-width: 330px; margin: 0; color: #66737d; font-size: 11px; line-height: 1.65; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-columns div { display: flex; flex-direction: column; gap: 9px; }
.footer-label { margin: 0 0 5px; color: #83909a; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.footer-columns a { color: #596772; font-size: 10px; transition: color .2s; }
.footer-columns a:hover, .footer-address a:hover { color: #fff; }
.footer-address { display: flex; gap: 32px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.045); }
.footer-address a { color: #52606a; font-size: 9px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.045); color: #3f4b54; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 980px) {
    :root { --header-h: 62px; }
    .desktop-nav, .header-cta { display: none; }
    .header-inner { grid-template-columns: 1fr auto; }
    .menu-toggle { display: block; }
    .mobile-nav { position: fixed; top: var(--header-h); left: 0; right: 0; padding: 24px; background: rgba(7,12,16,.97); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; display: flex; flex-direction: column; gap: 4px; }
    .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .mobile-nav a { padding: 13px 0; color: #b2bcc3; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid rgba(255,255,255,.04); }
    .mobile-nav-cta { color: #fff !important; border: 0 !important; margin-top: 12px; background: var(--red); padding: 13px 16px !important; text-align: center; }
    .hero { height: auto; min-height: 760px; }
    .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
    .spec-grid, .capability-grid { grid-template-columns: repeat(2, 1fr); }
    .use-grid, .cred-grid { grid-template-columns: repeat(2, 1fr); }
    .cred-grid article:nth-child(2) { border-right: 0; }
    .cred-grid article { border-bottom: 1px solid var(--line-soft); }
    .footer-top { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 680px) {
    .shell { width: min(100% - 32px, var(--shell)); }
    .content-section { padding: 78px 0; }
    .hero { min-height: 720px; align-items: flex-end; padding-bottom: 54px; }
    .hero-media video { object-position: 62% center; }
    .hero-overlay { background: linear-gradient(180deg, rgba(7,12,16,.45) 0%, rgba(7,12,16,.88) 54%, rgba(7,12,16,1) 100%); }
    .hero-content { padding-top: 90px; }
    .hero-copy h1 { font-size: clamp(40px, 13vw, 58px); }
    .hero-lead { font-size: 13px; line-height: 1.65; }
    .hero-metrics { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
    .hero-metrics div { min-height: 42px; }
    .section-head h2, .contact-head h2 { font-size: 34px; }
    .spec-grid, .problem-grid, .capability-grid, .use-grid, .cred-grid { grid-template-columns: 1fr; }
    .spec-card { min-height: 164px; }
    .problem-card { min-height: 132px; }
    .capability-visual { height: 190px; }
    .use-card { min-height: 0; }
    .cred-grid article { border-right: 0; }
    .materials-section { min-height: 500px; }
    .materials-media img { object-position: 57% center; }
    .materials-shade { background: linear-gradient(180deg, rgba(7,12,16,.05), rgba(7,12,16,.78) 55%, rgba(7,12,16,.99)); }
    .materials-content { padding-bottom: 55px; }
    .contact-section { padding: 78px 0 64px; }
    .contact-card { padding: 18px; }
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
    .form-span-2 { grid-column: auto; }
    .contact-meta { gap: 30px; flex-direction: column; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-address { flex-direction: column; gap: 10px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}

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