:root {
  color-scheme: dark;
  --bg: #020604;
  --bg-soft: #06100b;
  --surface: #09120e;
  --surface-strong: #0c1712;
  --line: rgba(106, 139, 120, 0.22);
  --line-bright: rgba(78, 233, 139, 0.44);
  --text: #f1f6f3;
  --muted: #91a69a;
  --green: #58ed91;
  --green-deep: #167443;
  --cyan: #49c9e8;
  --red: #ff3f53;
  --page: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(89, 119, 101, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(89, 119, 101, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; stroke-width: 1.8; }
.page-width { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }
.section-band { position: relative; padding: 112px 0; border-top: 1px solid var(--line); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--page)) / 2));
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled { height: 66px; border-color: var(--line); background: rgba(2, 7, 4, .88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line-bright); border-radius: 6px; background: rgba(18, 82, 48, .22); color: var(--green); font: 800 14px/1 ui-monospace, "Cascadia Code", monospace; box-shadow: inset 0 0 18px rgba(79, 234, 139, .08); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font: 700 14px/1.1 ui-monospace, "Cascadia Code", monospace; }
.brand-copy small { color: #6e8b79; font: 700 8px/1 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { position: relative; color: #a8b9af; font-size: 12px; font-weight: 650; }
.main-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 1px; background: var(--green); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 15px; }
.login-link { color: #b8c8bf; font-size: 12px; font-weight: 700; }
.login-link:hover { color: var(--green); }
.menu-button { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 800; transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: rgba(91, 238, 147, .74); background: linear-gradient(115deg, #17613d, #249455); color: white; box-shadow: 0 12px 34px rgba(23, 132, 73, .2); }
.button-primary:hover { border-color: var(--green); background: linear-gradient(115deg, #1e754a, #29a961); }
.button-quiet { border-color: rgba(169, 193, 179, .22); background: rgba(5, 12, 8, .42); color: #d4dfd8; backdrop-filter: blur(10px); }
.button-quiet:hover { border-color: rgba(89, 237, 145, .48); }
.header-cabinet { min-height: 40px; padding: 0 15px; }

.hero { position: relative; min-height: 820px; height: 92vh; max-height: 960px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; filter: saturate(.76) contrast(1.06); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 5, 3, .98) 0%, rgba(2, 7, 4, .9) 34%, rgba(2, 6, 4, .36) 67%, rgba(1, 4, 2, .64) 100%), linear-gradient(0deg, rgba(1, 5, 3, .9), transparent 45%); }
.hero-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(87, 237, 145, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(87, 237, 145, .12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, black, transparent 70%); }
.hero-scan { position: absolute; z-index: 2; top: 0; bottom: 0; width: 1px; background: var(--red); box-shadow: 0 0 20px var(--red); opacity: .7; animation: hero-scan 9s ease-in-out infinite; }
@keyframes hero-scan { 0%, 12% { left: 0; opacity: 0; } 20% { opacity: .75; } 78% { opacity: .75; } 88%, 100% { left: 100%; opacity: 0; } }
.hero-content { position: relative; z-index: 3; display: flex; height: 100%; align-items: center; justify-content: space-between; padding-top: 76px; }
.hero-copy { width: min(650px, 62%); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #a9beb1; font: 800 11px/1 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px rgba(82, 237, 143, .8); }
.hero h1 { max-width: 760px; margin: 0; font: 800 78px/.95 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; text-wrap: balance; }
.hero h1::after { display: inline-block; width: 13px; height: 13px; margin-left: 12px; border-radius: 2px; background: var(--red); box-shadow: 0 0 18px rgba(255, 63, 83, .7); content: ""; }
.hero-copy > p { max-width: 620px; margin: 28px 0 34px; color: #a9b9b0; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-status { align-self: flex-end; display: grid; gap: 10px; margin-bottom: 112px; padding: 16px 0 16px 22px; border-left: 1px solid rgba(84, 233, 141, .55); font: 700 10px/1.2 ui-monospace, "Cascadia Code", monospace; text-align: right; }
.hero-status span { display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: #adbbb3; }
.hero-status strong { color: #647b6c; font-size: 9px; }
.status-dot, .live-state i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(78, 237, 139, .75); }
.hero-ticker { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; overflow: hidden; border-top: 1px solid var(--line); background: rgba(2, 7, 4, .82); color: #6d8676; font: 800 10px/50px ui-monospace, "Cascadia Code", monospace; white-space: nowrap; backdrop-filter: blur(12px); }
.hero-ticker div { display: inline-flex; gap: 28px; min-width: max-content; animation: ticker 28s linear infinite; }
.hero-ticker b { color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { max-width: 820px; margin-bottom: 54px; }
.section-index { display: block; margin-bottom: 18px; color: var(--green); font: 800 10px/1 ui-monospace, "Cascadia Code", monospace; text-transform: uppercase; }
.section-heading h2, .security-copy h2, .final-cta h2 { margin: 0; font: 750 42px/1.12 ui-monospace, "Cascadia Code", monospace; text-wrap: balance; }
.section-heading > p, .security-copy > p, .final-cta p { max-width: 660px; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.split-heading { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 40px; }
.split-heading > p { max-width: 430px; margin: 0; }
.split-heading > a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 800; }

.platform-section { background: linear-gradient(180deg, rgba(7, 19, 12, .75), rgba(2, 6, 4, .9)); }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; min-height: 270px; padding: 34px; border-right: 1px solid var(--line); background: rgba(8, 17, 12, .28); transition: background .2s ease; }
.capability:last-child { border-right: 0; }
.capability:hover { background: rgba(13, 35, 22, .48); }
.capability-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line-bright); border-radius: 6px; color: var(--green); }
.capability div small { color: #4a6655; font: 800 9px/1 ui-monospace, monospace; }
.capability h3 { margin: 14px 0 13px; font: 750 20px/1.2 ui-monospace, "Cascadia Code", monospace; }
.capability p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.capability > strong { position: absolute; right: 26px; bottom: 22px; color: rgba(85, 236, 143, .18); font: 800 30px/1 ui-monospace, monospace; }

.products-section { background: #030806; }
.product-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 330px); gap: 14px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.product-wide { grid-row: 1 / span 2; }
.product-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .3s ease; }
.product-card:hover > img { transform: scale(1.035); filter: brightness(1.1); }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 5, 3, .12), rgba(1, 5, 3, .9) 82%); }
.product-top { position: absolute; top: 20px; right: 20px; left: 20px; display: flex; justify-content: space-between; color: #99b1a2; font: 800 9px/1 ui-monospace, monospace; }
.product-top span { padding: 7px 9px; border: 1px solid rgba(85, 235, 141, .3); border-radius: 4px; background: rgba(3, 10, 6, .64); color: var(--green); }
.product-top strong { color: rgba(255,255,255,.38); font-size: 18px; }
.product-copy { position: absolute; right: 24px; bottom: 24px; left: 24px; }
.product-copy h3 { margin: 0 0 10px; font: 800 26px/1.1 ui-monospace, "Cascadia Code", monospace; }
.product-copy p { max-width: 560px; margin: 0 0 18px; color: #a3b5ab; font-size: 13px; line-height: 1.6; }
.product-copy a { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 11px; font-weight: 800; }
.product-copy a svg { width: 16px; height: 16px; }

.workflow-section { background: linear-gradient(100deg, rgba(11, 31, 19, .56), transparent 52%); }
.workflow-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.workflow-layout .section-heading { position: sticky; top: 110px; margin: 0; }
.workflow-layout .button { margin-top: 30px; }
.workflow-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 22px; align-items: center; min-height: 142px; padding: 24px 5px; border-bottom: 1px solid var(--line); }
.workflow-list li > span { color: var(--red); font: 800 11px/1 ui-monospace, monospace; }
.workflow-list h3 { margin: 0 0 8px; font: 750 18px/1.2 ui-monospace, "Cascadia Code", monospace; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.workflow-list li > svg { width: 28px; height: 28px; color: #557063; }

.monitoring-section { overflow: hidden; background: #020604; }
.monitor-stage { overflow: hidden; border: 1px solid rgba(82, 232, 139, .34); border-radius: 6px; background: #06100b; box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 0 70px rgba(21, 87, 49, .08); }
.monitor-stage-head { display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(13, 31, 21, .7); }
.monitor-stage-head > div, .live-state { display: flex; align-items: center; gap: 11px; }
.monitor-logo { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line-bright); border-radius: 5px; color: var(--green); font: 800 13px/1 ui-monospace, monospace; }
.monitor-stage-head small, .monitor-stage-head strong { display: block; font-family: ui-monospace, "Cascadia Code", monospace; }
.monitor-stage-head small { color: #6e8a78; font-size: 8px; text-transform: uppercase; }
.monitor-stage-head strong { margin-top: 3px; font-size: 13px; }
.live-state { color: #8ca596; font: 750 10px/1 ui-monospace, monospace; }
.monitor-stage-body { padding: 18px; }
.monitor-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; border: 1px solid var(--line); }
.monitor-summary > div { padding: 20px; border-right: 1px solid var(--line); }
.monitor-summary > div:last-child { border-right: 0; }
.monitor-summary span, .monitor-summary strong, .monitor-summary small { display: block; }
.monitor-summary span { color: var(--green); font: 800 9px/1 ui-monospace, monospace; text-transform: uppercase; }
.monitor-summary strong { margin: 13px 0 8px; font: 750 17px/1.2 ui-monospace, "Cascadia Code", monospace; }
.monitor-summary small { color: #718778; font-size: 10px; }
.chart-panel { padding: 20px; border: 1px solid var(--line); background: rgba(3, 8, 5, .62); }
.chart-label, .chart-time { display: flex; justify-content: space-between; color: #718779; font: 800 9px/1 ui-monospace, monospace; text-transform: uppercase; }
.chart-label strong { color: var(--green); }
.chart-panel svg { display: block; width: 100%; height: 240px; overflow: visible; }
.chart-grid line { stroke: rgba(106, 139, 120, .15); stroke-width: 1; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--green); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw-chart 4s ease forwards infinite alternate; }
.chart-panel circle { fill: var(--green); stroke: #06100b; stroke-width: 4; filter: drop-shadow(0 0 8px var(--green)); }
@keyframes draw-chart { 55%, 100% { stroke-dashoffset: 0; } }

.security-section { background: linear-gradient(90deg, #030806, #08140d); }
.security-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.security-visual { position: relative; display: grid; min-height: 440px; place-items: center; overflow: hidden; }
.security-ring { position: absolute; border: 1px solid rgba(84, 236, 142, .24); border-radius: 50%; }
.ring-one { width: 360px; height: 360px; animation: security-spin 22s linear infinite; }
.ring-one::before, .ring-one::after, .ring-two::before { position: absolute; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); content: ""; }
.ring-one::before { top: 24px; left: 76px; width: 7px; height: 7px; }
.ring-one::after { right: 5px; bottom: 124px; width: 4px; height: 4px; }
.ring-two { width: 250px; height: 250px; border-style: dashed; animation: security-spin 16s linear reverse infinite; }
.ring-two::before { top: 18px; right: 45px; width: 5px; height: 5px; background: var(--green); box-shadow: 0 0 14px var(--green); }
.security-core { display: grid; width: 118px; height: 118px; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; background: rgba(16, 66, 39, .28); color: var(--green); box-shadow: 0 0 70px rgba(73, 229, 132, .15); }
.security-core svg { width: 48px; height: 48px; }
@keyframes security-spin { to { transform: rotate(360deg); } }
.security-copy ul { display: grid; gap: 15px; margin: 30px 0 0; padding: 0; list-style: none; }
.security-copy li { display: flex; align-items: center; gap: 12px; color: #c1d0c7; font-size: 13px; }
.security-copy li svg { width: 18px; height: 18px; color: var(--green); }

.final-cta { text-align: center; background: linear-gradient(180deg, rgba(9, 31, 18, .68), #030806); }
.final-cta-inner { display: grid; justify-items: center; }
.final-cta-inner > span { margin-bottom: 22px; color: var(--red); font: 800 10px/1 ui-monospace, monospace; }
.final-cta p { margin-bottom: 30px; }
.site-footer { border-top: 1px solid var(--line); background: #010403; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-top: 54px; padding-bottom: 54px; }
.footer-main > div > p { max-width: 420px; margin: 20px 0 0; color: #6e8175; font-size: 12px; line-height: 1.6; }
.footer-main nav { display: grid; grid-template-columns: repeat(2, 130px); gap: 15px 30px; align-content: start; }
.footer-main nav a { color: #93a79b; font-size: 12px; }
.footer-main nav a:hover { color: var(--green); }
.footer-bottom { display: flex; min-height: 64px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #53665a; font: 700 9px/1.4 ui-monospace, monospace; text-transform: uppercase; }
.mobile-dock { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .page-width { width: min(calc(100% - 32px), var(--page)); }
  .site-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .main-nav { position: fixed; top: 68px; right: 16px; left: 16px; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: rgba(4, 12, 7, .97); backdrop-filter: blur(18px); }
  .main-nav.open { display: grid; gap: 0; }
  .main-nav a { padding: 15px 6px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-button { display: grid; }
  .login-link { display: none; }
  .hero-copy { width: 72%; }
  .hero h1 { font-size: 62px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability:last-child { border-bottom: 0; }
  .workflow-layout { grid-template-columns: 1fr; gap: 60px; }
  .workflow-layout .section-heading { position: static; }
  .security-layout { gap: 40px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 72px; }
  .page-width { width: min(calc(100% - 24px), var(--page)); }
  .site-header, .site-header.scrolled { height: 62px; }
  .brand-copy small, .header-cabinet { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .section-band { padding: 76px 0; }
  .hero { min-height: 700px; height: 92vh; max-height: 820px; }
  .hero-media { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(1,5,3,.98), rgba(2,7,4,.78) 72%, rgba(1,4,2,.5)), linear-gradient(0deg, rgba(1,5,3,.92), transparent 60%); }
  .hero-content { display: block; padding-top: 160px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 46px; line-height: 1; }
  .hero h1::after { width: 9px; height: 9px; margin-left: 8px; }
  .hero-copy > p { margin: 23px 0 28px; font-size: 15px; line-height: 1.6; }
  .hero-status { position: absolute; right: 0; bottom: 78px; margin: 0; }
  .hero-actions .button { min-width: 0; flex: 1 1 150px; }
  .section-heading, .section-heading.split-heading { display: block; margin-bottom: 38px; }
  .section-heading h2, .security-copy h2, .final-cta h2 { font-size: 31px; }
  .section-heading > p, .security-copy > p, .final-cta p { font-size: 14px; }
  .split-heading > a { margin-top: 22px; }
  .split-heading > p { margin-top: 22px; }
  .capability { grid-template-columns: 42px 1fr; gap: 15px; min-height: 220px; padding: 24px 18px; }
  .capability-icon { width: 42px; height: 42px; }
  .product-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .product-card, .product-wide { grid-row: auto; height: 390px; }
  .product-copy h3 { font-size: 22px; }
  .workflow-list li { grid-template-columns: 34px 1fr; min-height: 132px; }
  .workflow-list li > svg { display: none; }
  .monitor-stage-head { align-items: flex-start; }
  .live-state { font-size: 0; }
  .live-state::after { content: "Live"; font-size: 9px; }
  .monitor-stage-body { padding: 10px; }
  .monitor-summary { grid-template-columns: 1fr; }
  .monitor-summary > div { padding: 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .monitor-summary > div:last-child { border-bottom: 0; }
  .chart-panel { padding: 14px 10px; }
  .chart-panel svg { height: 170px; }
  .security-layout { grid-template-columns: 1fr; gap: 20px; }
  .security-visual { min-height: 330px; }
  .ring-one { width: 300px; height: 300px; }
  .ring-two { width: 210px; height: 210px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-main nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { display: grid; gap: 10px; padding: 18px 0; }
  .mobile-dock { position: fixed; z-index: 110; right: 8px; bottom: 8px; left: 8px; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 62px; padding: 5px; border: 1px solid rgba(87, 232, 142, .34); border-radius: 8px; background: rgba(3, 12, 7, .9); box-shadow: 0 15px 45px rgba(0,0,0,.6); backdrop-filter: blur(18px); }
  .mobile-dock a { display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 6px; color: #8ca295; font-size: 9px; font-weight: 800; }
  .mobile-dock svg { width: 18px; height: 18px; }
  .mobile-dock .dock-primary { background: linear-gradient(120deg, #17623e, #248c51); color: white; }
}

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