:root {
  color-scheme: dark;
  --bg: #030504;
  --panel: #0a0d0b;
  --panel-strong: #0d120f;
  --line: #28312c;
  --line-bright: #46534c;
  --text: #f2f0e8;
  --muted: #9ca39f;
  --mint: #39e4bd;
  --gold: #d9b75f;
  --danger: #e96d76;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .12;
  pointer-events: none;
  background:
    repeating-linear-gradient(7deg, transparent 0 96px, rgba(255,255,255,.025) 97px 98px),
    radial-gradient(circle at 50% 10%, rgba(64,178,145,.10), transparent 34%),
    linear-gradient(180deg, #020302, #050806 55%, #020302);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(3,5,4,.92);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 50px; height: 50px; object-fit: contain; border: 1px solid #303a34; border-radius: 12px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: Georgia, serif; letter-spacing: .06em; font-size: 1.05rem; }
.brand-copy small { margin-top: 7px; color: var(--mint); font-size: .55rem; letter-spacing: .24em; font-weight: 700; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 28px); }
.site-nav a { position: relative; color: #c3c8c5; text-decoration: none; font-size: .9rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--mint); }
.header-login, .nav-toggle {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
}
.header-login:hover { border-color: var(--mint); }
.nav-toggle { display: none; cursor: pointer; }

main { min-height: 70vh; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.hero { position: relative; min-height: 720px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 92px 0 72px; text-align: center; overflow: hidden; }
.hero-art { position: absolute; inset: 8% 6% auto; height: 520px; z-index: -1; opacity: .35; background: radial-gradient(ellipse, rgba(58,226,189,.12), transparent 58%); filter: blur(10px); }
.hero-logo { width: min(430px, 78vw); max-height: 350px; object-fit: contain; margin-bottom: 6px; }
.eyebrow { margin: 0 0 12px; color: var(--mint); font-size: .68rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.04; }
h1 { max-width: 900px; font-size: clamp(2.8rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.hero-lede { max-width: 720px; margin: 24px auto 0; color: #aeb5b1; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--line-bright); border-radius: 9px; text-decoration: none; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: .2s ease; }
.button.primary { background: var(--text); color: #070907; border-color: var(--text); }
.button.secondary { background: rgba(10,13,11,.8); }
.button:hover { transform: translateY(-2px); border-color: var(--mint); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 34px; margin-top: 58px; color: #737b76; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.section-block { padding-block: 100px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; margin-bottom: 42px; }
.section-heading > p { margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card, .service-card { position: relative; overflow: hidden; min-height: 590px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(13,18,15,.95), rgba(6,8,7,.98)); }
.product-card { display: flex; flex-direction: column; align-items: center; padding: 24px 30px 30px; }
.product-index { align-self: stretch; margin: 0; color: #66716b; font-family: ui-monospace, monospace; font-size: .62rem; font-weight: 400; letter-spacing: .15em; line-height: 1.5; }
.product-logo { display: block; width: min(390px, 95%); height: 360px; object-fit: contain; margin: 4px auto; }
.product-copy { width: 100%; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.product-copy p, .service-card > p { color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; }
.card-actions a, .text-link, .manifest-link { color: var(--text); text-underline-offset: 5px; text-decoration-color: var(--mint); font-weight: 700; }
.service-card { display: flex; min-height: 590px; flex-direction: column; padding: 24px 30px 30px; }
.service-logo { display: block; width: min(310px, 82%); height: 285px; object-fit: contain; margin: 0 auto 4px; }
.service-card .text-link { margin-top: auto; }
.service-card ul { display: grid; gap: 10px; margin: 24px 0 34px; padding: 0; list-style: none; color: #c3c9c5; }
.service-card li::before { content: "+"; margin-right: 10px; color: var(--mint); }
.cloud-card { border-color: #235344; }
.monitoring-card { border-color: #594b24; }
.monitoring-card li::before { color: var(--gold); }
.detail-service-logo { display: block; width: min(330px, 76vw); max-height: 330px; object-fit: contain; margin: 0 auto 18px; }
.brand-detail-copy { width: min(900px, calc(100% - 48px)); }

.workflow { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.workflow-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.workflow-steps li { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(9,12,10,.7); }
.workflow-steps span { display: block; margin-bottom: 32px; color: var(--mint); font: 700 .68rem ui-monospace, monospace; }
.workflow-steps strong { font: 700 1.4rem Georgia, serif; }
.workflow-steps p { color: var(--muted); }
.final-cta { margin-block: 70px 110px; padding: 75px 32px; border: 1px solid #4b452d; border-radius: 20px; background: radial-gradient(circle at 50% 100%, rgba(217,183,95,.12), transparent 50%), var(--panel); text-align: center; }
.final-cta > p:not(.eyebrow) { max-width: 690px; margin: 18px auto 0; color: var(--muted); }

.page-hero { padding: 110px 0 60px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.page-hero > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.download-grid { display: grid; gap: 22px; padding-bottom: 80px; }
.download-card { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(380px, 1.2fr); min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.download-art { display: grid; place-items: center; padding: 28px; border-right: 1px solid var(--line); background: #050605; }
.download-art img { width: min(340px, 100%); height: 350px; object-fit: contain; }
.download-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.download-copy > p:not(.eyebrow) { color: var(--muted); }
.download-copy dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 28px; border-block: 1px solid var(--line); }
.download-copy dl div { padding: 15px 14px 15px 0; }
.download-copy dt { color: #69716d; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.download-copy dd { margin: 5px 0 0; font-weight: 700; }
.download-button { align-self: flex-start; }
.manifest-link { margin-top: 15px; font-size: .8rem; color: var(--muted); }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.download-actions .button { margin: 0; text-align: center; }
.demo-setup-button { border-color: var(--mint); }
.download-note { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 100px; padding: 36px; border: 1px solid var(--line); border-radius: 16px; }
.download-note p { color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 45px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); background: #020302; }
.site-footer > div { display: grid; }
.site-footer > div strong { font-family: Georgia, serif; letter-spacing: .08em; }
.site-footer > div span, .site-footer small { color: #707772; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a { color: #a9b0ac; text-decoration: none; font-size: .82rem; }
.site-footer small { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .nav-toggle { display: inline-flex; justify-self: end; margin-right: 10px; }
  .site-nav { display: none; position: absolute; top: 78px; left: 18px; right: 18px; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #070a08; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 46px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; }
  .site-nav a.active::after { display: none; }
  .header-login { justify-self: end; }
  .section-heading, .workflow { grid-template-columns: 1fr; gap: 26px; }
  .download-card { grid-template-columns: 1fr; }
  .download-art { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; min-height: auto; gap: 9px; padding: 10px 14px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-copy strong { font-size: .95rem; }
  .nav-toggle { grid-column: 2; grid-row: 1; margin: 0; }
  .header-login { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  .site-nav { top: 64px; }
  .section-shell { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 650px; padding-top: 70px; }
  .hero-logo { width: min(330px, 88vw); }
  .trust-row { align-items: flex-start; flex-direction: column; }
  .section-block { padding-block: 70px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .service-card { min-height: auto; }
  .product-card { padding: 20px; }
  .product-logo { height: 300px; }
  .service-card { padding: 24px 28px 30px; }
  .service-logo { width: min(270px, 86%); height: 250px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .download-copy { padding: 28px; }
  .download-copy dl { grid-template-columns: 1fr; }
  .download-copy dl div { border-bottom: 1px solid var(--line); }
  .download-copy dl div:last-child { border-bottom: 0; }
  .download-button { width: 100%; text-align: center; }
  .download-note { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer small { grid-column: 1; }
}

.detail-main { min-height: 72vh; }
.detail-hero { padding: clamp(110px, 16vw, 180px) 0 clamp(70px, 10vw, 120px); border-bottom: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(36px, 7vw, 90px); align-items: center; }
.detail-art { display: grid; place-items: center; min-height: 360px; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 50% 45%, rgba(45,230,185,.08), transparent 62%), #050706; overflow: hidden; }
.detail-art img { width: min(78%, 460px); max-height: 440px; object-fit: contain; }
.detail-copy h1 { margin: 10px 0 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.2rem, 7vw, 6.8rem); line-height: .9; letter-spacing: -.05em; }
.detail-copy > p { max-width: 690px; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.7; }
.feature-band { padding: clamp(60px, 9vw, 110px) 0; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.feature-list article { min-height: 190px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,14,12,.72); }
.feature-list h2 { margin: 12px 0 10px; font-size: 1.2rem; }
.feature-list p { margin: 0; color: var(--muted); line-height: 1.65; }
.contact-card { max-width: 760px; margin: 0 auto; text-align: center; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } .detail-art { min-height: 280px; order: -1; } .feature-list { grid-template-columns: 1fr; } }

/* Product pages */
.product-page { --product-accent: var(--mint); }
.halo-page { --product-accent: var(--gold); }
.product-page .detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 12vw, 150px) 0 clamp(70px, 9vw, 105px);
  background:
    radial-gradient(circle at 82% 45%, color-mix(in srgb, var(--product-accent) 9%, transparent), transparent 27%),
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 65%);
}
.product-page .detail-copy h1 {
  max-width: 760px;
  margin: 14px 0 24px;
  font-size: clamp(3.2rem, 6.6vw, 6.6rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.product-page .detail-copy > p:not(.eyebrow) { max-width: 720px; }
.product-page .detail-art {
  position: relative;
  min-height: 470px;
  border-color: color-mix(in srgb, var(--product-accent) 25%, var(--line));
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--product-accent) 10%, transparent), transparent 58%),
    linear-gradient(150deg, rgba(255,255,255,.018), transparent 55%),
    #050706;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}
.product-page .detail-art::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 17px;
  pointer-events: none;
}
.product-page .detail-art img { width: min(82%, 470px); max-height: 470px; }
.product-actions { justify-content: flex-start; }
.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #969e99;
  font: 700 .68rem ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-demo-section {
  padding: clamp(70px, 9vw, 115px) 0;
  border-bottom: 1px solid var(--line);
  background: #050706;
}
.product-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: end;
  gap: clamp(32px, 7vw, 90px);
  margin-bottom: 38px;
}
.product-section-heading h2 { max-width: 760px; font-size: clamp(2.2rem, 4.2vw, 4.2rem); }
.product-section-heading > p { margin: 0; color: var(--muted); line-height: 1.75; }
.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--product-accent) 28%, var(--line));
  border-radius: 20px;
  background: #000;
  box-shadow: 0 35px 100px rgba(0,0,0,.45);
}
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: contain; pointer-events: none; user-select: none; }
.cloud-product-page { --product-accent: var(--mint); }
.product-capabilities { padding: clamp(65px, 8vw, 100px) 0; }
.feature-list-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-list-four article { min-height: 230px; }
.feature-list-four .kicker { color: var(--product-accent); }
.product-gallery-section { padding: clamp(50px, 7vw, 90px) 0 clamp(80px, 10vw, 135px); border-bottom: 1px solid var(--line); }
.product-gallery { display: grid; gap: clamp(80px, 11vw, 150px); }
.product-showcase {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}
.product-showcase.reverse { grid-template-columns: minmax(0, 1.28fr) minmax(270px, .72fr); }
.product-showcase.reverse .showcase-copy { order: 2; }
.product-showcase.reverse .product-screen { order: 1; }
.showcase-copy h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.8vw, 3.6rem); }
.showcase-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.check-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; color: #c8ceca; }
.check-list li { position: relative; padding-left: 23px; }
.check-list li::before { content: "+"; position: absolute; left: 0; color: var(--product-accent); font-weight: 900; }
.product-screen {
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--product-accent) 20%, var(--line));
  border-radius: 18px;
  background: #030403;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}
.product-screen img { display: block; width: 100%; height: auto; }
.product-screen figcaption {
  padding: 13px 17px;
  border-top: 1px solid var(--line);
  color: #7f8883;
  font-size: .72rem;
}
.product-foundation { padding: clamp(75px, 10vw, 130px) 0; border-bottom: 1px solid var(--line); background: rgba(8,11,9,.82); }
.foundation-grid { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: clamp(38px, 8vw, 105px); }
.foundation-grid h2 { max-width: 500px; }
.foundation-points { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.foundation-points article { display: grid; align-content: start; gap: 10px; min-height: 180px; padding: 26px; background: rgba(3,5,4,.65); }
.foundation-points article + article { border-left: 1px solid var(--line); }
.foundation-points strong { font: 700 1.08rem Georgia, serif; }
.foundation-points span { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.product-final-cta {
  margin-block: clamp(70px, 10vw, 120px);
  padding: clamp(50px, 7vw, 82px) clamp(24px, 6vw, 72px);
  border: 1px solid color-mix(in srgb, var(--product-accent) 30%, var(--line));
  border-radius: 20px;
  background: radial-gradient(circle at 50% 110%, color-mix(in srgb, var(--product-accent) 12%, transparent), transparent 50%), var(--panel);
  text-align: center;
}
.product-final-cta h2 { margin-bottom: 18px; }
.product-final-cta > p:not(.eyebrow) { max-width: 720px; margin: 0 auto; color: var(--muted); }

@media (max-width: 1050px) {
  .feature-list-four { grid-template-columns: repeat(2, 1fr); }
  .foundation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .product-page .detail-art { min-height: 350px; }
  .product-section-heading, .product-showcase, .product-showcase.reverse { grid-template-columns: 1fr; }
  .product-showcase.reverse .showcase-copy, .product-showcase.reverse .product-screen { order: initial; }
  .foundation-points { grid-template-columns: 1fr; }
  .foundation-points article { min-height: auto; }
  .foundation-points article + article { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .product-page .detail-hero { padding-top: 62px; }
  .product-page .detail-art { min-height: 270px; }
  .product-page .detail-copy h1 { font-size: clamp(2.75rem, 15vw, 4.25rem); }
  .product-actions { align-items: stretch; flex-direction: column; }
  .product-actions .button { width: 100%; }
  .product-facts { align-items: flex-start; flex-direction: column; }
  .feature-list-four { grid-template-columns: 1fr; }
  .feature-list-four article { min-height: auto; }
  .product-section-heading h2, .showcase-copy h2 { font-size: 2rem; }
  .video-frame { border-radius: 12px; }
  .product-screen { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
