:root {
  --black: #050505;
  --black-2: #0b0b0d;
  --charcoal: #12151c;
  --panel: #161b22;
  --panel-2: #1c222c;
  --line: rgba(212, 175, 55, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #d4af37;
  --gold-2: #c9a227;
  --gold-soft: #e8c547;
  --white: #f7f7f5;
  --ink: #111318;
  --muted: #6b7280;
  --muted-dark: #9aa3b2;
  --green: #3ddc84;
  --red: #ff5a6a;
  --blue: #5ec8ff;
  --max-w: 1180px;
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.wrap { width: min(var(--max-w), calc(100% - 40px)); margin: 0 auto; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }

/* NAV */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid rgba(212,175,55,0.16);
}
.nav-bar {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
}
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { line-height: 1.05; }
.brand-name {
  font-size: 17px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold);
}
.brand-name span { color: #fff; font-weight: 600; }
.brand-sub {
  font-size: 8.5px; letter-spacing: 0.14em; color: #cfcfcf; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 22px; margin-left: auto; list-style: none;
}
.nav-links a {
  color: #d8d8d8; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after { content: " ▾"; font-size: 0.75em; opacity: 0.85; }
/* Bridge the gap between Products and the menu so hover does not drop */
.nav-links .has-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
  display: none;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #111;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 10px;
  padding: 8px 0;
  list-style: none;
  margin: 10px 0 0;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.nav-dropdown li { display: block; margin: 0; }
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  color: #ddd;
  border-bottom: none !important;
  white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.nav-links .has-dropdown:hover > .nav-dropdown,
.nav-links .has-dropdown:focus-within > .nav-dropdown,
.nav-links .has-dropdown.open > .nav-dropdown { display: block; }
.nav-links .has-dropdown:hover::before,
.nav-links .has-dropdown:focus-within::before,
.nav-links .has-dropdown.open::before { display: block; }
.nav-cta {
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--gold); color: #000; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; }
.nav-mobile-only { display: none; list-style: none; }


/* HERO */
.hero {
  position: relative;
  min-height: 720px;
  background: #000 url("../images/hero-datacenter.jpg") right center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.42) 38%, rgba(0,0,0,0.12) 62%, rgba(0,0,0,0.35) 100%);
}
.hero-inner {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 54px 0 64px;
}
.hero-copy-block { max-width: 520px; }
.kicker {
  color: var(--gold); font-size: 12px; letter-spacing: 0.18em; font-weight: 600;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.92; font-weight: 800; letter-spacing: -0.03em;
}
.hero h1 .gold-block { color: var(--gold); display: block; }
.hero-lead {
  margin-top: 22px; font-size: 22px; font-weight: 500; max-width: 520px;
}
.hero-lead em { color: var(--gold); font-style: normal; }
.system-rule {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 20px; color: #d0d0d0;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.system-rule::before, .system-rule::after {
  content: ""; height: 1px; width: 42px; background: var(--gold);
}
.hero-copy { max-width: 460px; color: #d6d6d6; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 4px; padding: 12px 18px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
}
.btn-gold-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-gold-outline:hover { background: var(--gold); color: #000; }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-dark { background: #111; color: #fff; }
.btn-ghost { background: #fff; color: #111; border-color: #d7d7d7; }
.hero-actions { margin-top: 28px; }
.verse { margin-top: 28px; color: #8b8b8b; font-size: 13px; }
.hero-mark {
  justify-self: end;
  width: min(460px, 100%);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 36px rgba(212,175,55,0.28));
}

/* LIGHT SECTIONS */
.section { padding: 78px 0; }
.section-dark { background: #000; color: #fff; }
.center { text-align: center; }
.eyebrow { color: var(--gold-2); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.lede { max-width: 680px; margin: 12px auto 0; color: var(--muted); font-size: 16px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 42px;
  border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
}
.feature-grid article {
  padding: 28px 22px;
  border-right: 1px solid #e6e6e6;
}
.feature-grid article:last-child { border-right: 0; }
.feature-grid h3 {
  color: var(--gold-2); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.feature-grid p { color: #555; font-size: 14px; }

.platforms { margin-top: 64px; }
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 28px;
  border-top: 1px solid #e6e6e6;
}
.platform-grid article {
  padding: 28px 8px 8px;
  border-right: 1px solid #e6e6e6;
}
.platform-grid article:last-child { border-right: 0; }
.platform-grid h3 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.platform-grid p { color: #555; font-size: 14px; max-width: 280px; }
.link-gold { color: var(--gold-2); font-size: 13px; font-weight: 600; display: inline-block; margin-top: 16px; }

.closer {
  margin-top: 56px; padding-top: 36px; border-top: 1px solid #e6e6e6;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
}
.closer h3 { font-size: 32px; line-height: 1.15; }
.bell { display: flex; gap: 14px; align-items: flex-start; color: #444; }
.bell svg { color: var(--gold-2); flex: 0 0 auto; margin-top: 2px; }

/* OPTIONS DESK PAGE */
.od-hero {
  background: #fff;
  color: var(--ink);
  padding: 48px 0 28px;
}
.od-hero-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start;
}
.od-hero h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }
.od-hero p { color: #5b5b5b; margin: 16px 0 22px; max-width: 440px; }
.od-points { display: flex; gap: 18px; margin: 18px 0 26px; color: #6b6b6b; font-size: 12px; }
.od-points div { max-width: 140px; }
.od-points svg { display: block; margin-bottom: 6px; }
.od-points strong { display: block; color: #111; font-size: 13px; margin-bottom: 2px; }

.desk {
  background: #0d1117;
  border: 1px solid #2a313c;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.desk-top {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.desk-top img { width: 28px; height: 28px; }
.desk-title { font-size: 14px; font-weight: 700; }
.desk-title small { display: block; color: #9aa3b2; font-weight: 400; font-size: 10px; }
.desk-controls { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.chip, .load-btn, .live-pill {
  border-radius: 6px; border: 1px solid #2f3743; background: #161b22;
  color: #e8e8e8; padding: 6px 10px; font-size: 12px;
}
.load-btn { background: var(--gold); color: #111; border: 0; font-weight: 700; }
.live-pill { color: #3ddc84; border-color: #1f3a2c; font-size: 11px; }

.metric-row, .target-row, .wall-row {
  display: grid; gap: 8px; margin-bottom: 8px;
}
.metric-row { grid-template-columns: repeat(5, 1fr); }
.target-row { grid-template-columns: 1.15fr repeat(4, 1fr); }
.wall-row { grid-template-columns: 1fr 1fr 1fr; }
.card {
  background: #12161d;
  border: 1px solid #2a313c;
  border-radius: 10px;
  padding: 10px 12px;
}
.card .lbl { color: #9aa3b2; font-size: 11px; }
.card .val { font-size: 22px; font-weight: 700; margin-top: 2px; letter-spacing: -0.03em; }
.card .sub { color: #7d8694; font-size: 11px; }
.val.gold { color: var(--gold-soft); }
.val.green, .green { color: var(--green); }
.val.red, .red { color: var(--red); }
.val.blue { color: var(--blue); }
.card.put { background: #1a1013; border-color: #4a2430; }
.card.call { background: #0f1b16; border-color: #1f4a36; }
.card.spot { background: #101820; }

.desk-tabs {
  display: flex; gap: 18px; padding: 8px 4px 2px; color: #8b93a0; font-size: 12px; letter-spacing: 0.08em;
}
.desk-tabs .on { color: #fff; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }

/* GAMMA HEAT */
.gh-wrap { padding: 56px 0 24px; }
.heat {
  margin-top: 24px;
  background: #0d1117;
  border: 1px solid #2a313c;
  border-radius: 14px;
  overflow: hidden;
}
.heat table { width: 100%; border-collapse: collapse; color: #e8e8e8; font-size: 13px; }
.heat th {
  text-align: left; color: #9aa3b2; font-weight: 600; font-size: 11px;
  letter-spacing: 0.08em; padding: 12px 14px; border-bottom: 1px solid #2a313c;
}
.heat td { padding: 11px 14px; border-bottom: 1px solid #222833; vertical-align: middle; }
.heat tr.spot { background: #151a22; box-shadow: inset 0 -1px 0 0 #d4af37; }
.marker {
  display: inline-block; font-size: 10px; letter-spacing: 0.06em; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; margin-right: 8px;
}
.marker.high { background: #243044; color: #9ecbff; }
.marker.max { background: #163226; color: var(--green); }
.marker.spotm { background: var(--gold); color: #111; }
.marker.low { background: #243044; color: #9ecbff; }
.marker.min { background: #32181c; color: var(--red); }
.bar {
  width: 160px; height: 10px; background: #0a0c10; border-radius: 2px; position: relative; overflow: hidden;
}
.bar .zero {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #6b7280; z-index: 2;
}
.bar i { display: block; height: 100%; position: absolute; top: 0; }
.bar .pos { background: var(--green); left: 50%; }
.bar .neg { background: var(--red); right: 50%; }
.heat-legend {
  display: flex; justify-content: space-between; gap: 16px;
  color: #9aa3b2; font-size: 12px; padding: 12px 16px 16px;
}

.secondary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 0 10px;
}
.mini {
  background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 20px;
}
.mini h3 { font-size: 15px; margin-bottom: 4px; }
.mini .hint { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.mini table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mini th { text-align: left; color: #888; font-size: 10px; letter-spacing: 0.06em; padding-bottom: 8px; }
.mini td { padding: 6px 0; border-top: 1px solid #f0f0f0; }
.tag-spot { background: var(--gold); color: #111; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; margin-left: 6px; }
.skew-chart { width: 100%; height: auto; margin: 8px 0 6px; }
.skew-key { font-size: 12px; color: #666; margin: 4px 0 10px; }
.skew-key .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.skew-key .dot.green { background: #3ddc84; }
.skew-key .dot.red { background: #ff5a6a; }

.action-grid {
  display: grid; grid-template-columns: 1.1fr 0.55fr 1.35fr; gap: 16px; padding: 10px 0 64px;
}
.action-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.panel {
  background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 22px;
}
.exp-list { background: #111; color: #ddd; border-radius: 10px; overflow: hidden; margin-top: 8px; }
.exp-list button {
  display: flex; width: 100%; justify-content: space-between; background: transparent;
  border: 0; border-bottom: 1px solid #222; color: #ddd; padding: 10px 12px; text-align: left; cursor: pointer;
}
.exp-list button.on { background: #1a1a1a; color: var(--gold); }
.ticker-row { display: flex; gap: 8px; margin-top: 16px; align-items: center; }
.ticker-row select, .ticker-row input {
  background: #111; color: #fff; border: 1px solid #333; border-radius: 6px; padding: 9px 10px;
}
.preview-shot {
  position: relative; border-radius: 10px; overflow: hidden; background: #0d1117; min-height: 180px;
  display: grid; place-items: center; color: #9aa3b2;
}
.mini-desk-preview { padding: 16px; width: 100%; height: 100%; color: #ddd; font-size: 12px; }
.mini-desk-preview .vals { display: flex; gap: 10px; margin-top: 12px; font-size: 16px; font-weight: 700; }
.preview-shot .play {
  position: absolute;
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.92);
  display: grid; place-items: center; color: #111; font-size: 18px;
}

/* PLACEHOLDER PAGES */
.page-head {
  background: #000; color: #fff; padding: 72px 0 56px;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.82)), url("../images/backdrop.png");
  background-size: cover; background-position: center;
}
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.white-card {
  background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 24px;
}
.form { display: grid; gap: 12px; max-width: 560px; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 12px 14px; background: #fff;
}
.notice {
  background: #111; color: #ddd; border: 1px solid var(--gold); border-radius: 10px; padding: 16px 18px; margin-top: 18px;
}
.demo-head { padding: 40px 0 24px; }
.demo-section { padding: 12px 0 56px; background: #f7f7f5; }
.heat, .mini, .desk-top, .desk-tabs, .action-grid, .secondary {
  max-width: 100%;
}
.heat, .mini {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.demo-window {
  background: #0b0e14;
  border: 1px solid #2a313c;
  border-radius: 12px;
  overflow: hidden;
  height: 920px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}
.demo-window iframe {
  width: 100%;
  height: 920px;
  border: 0;
  display: block;
  overflow: hidden;
}

/* FOOTER */
.site-footer {
  background: #000; color: #cfcfcf; padding: 28px 0;
  border-top: 1px solid rgba(212,175,55,0.16);
}
.foot {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: center;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; border: 1px solid #3a3a3a; border-radius: 8px;
  display: grid; place-items: center; color: #fff;
}
.social a:hover { border-color: var(--gold); color: var(--gold); }
.legal { text-align: right; font-size: 12px; color: #9a9a9a; }
.legal a:hover { color: #fff; }

@media (max-width: 980px) {
  .nav-bar { position: relative; flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding: 10px 0; }
  .nav-links, .nav-desktop-cta { display: none; }
  .nav-cta.nav-mobile-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #000; padding: 16px 24px 24px; gap: 14px; z-index: 60;
    border-bottom: 1px solid rgba(212,175,55,0.16);
  }
  .nav-links.open .nav-mobile-only { display: list-item; }
  .nav-links.open .nav-mobile-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 6px;
  }
  .nav-links .has-dropdown::before { display: none !important; }
  .nav-links.open .has-dropdown > .nav-dropdown { margin-top: 0; }
  .nav-links.open .nav-dropdown {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 12px;
    min-width: 0;
  }
  .nav-toggle { display: block; margin-left: auto; }
  .hero-inner, .od-hero-grid, .feature-grid, .platform-grid, .secondary, .action-grid, .closer, .foot, .card-list {
    grid-template-columns: 1fr;
  }
  .hero-mark { justify-self: start; max-width: 280px; }
  .metric-row, .target-row, .wall-row { grid-template-columns: 1fr 2fr; }
  .legal { text-align: left; }
  .od-points { flex-wrap: wrap; }
  .demo-window, .demo-window iframe { height: 640px; }
  .heat table, .mini table { font-size: 12px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max-w), calc(100% - 28px)); }
  .hero, .hero-inner {
    min-height: auto;
    min-height: 70vh;
  }
  .hero-inner { padding: 36px 0 44px; align-items: flex-end; }
  .hero h1 { font-size: clamp(32px, 10vw, 44px); line-height: 0.98; }
  .hero-lead { font-size: 17px; margin-top: 16px; }
  .hero-copy { font-size: 14px; }
  .section { padding: 48px 0; }
  .page-head { padding-left: 0; padding-right: 0; }
  .feature-grid article, .platform-grid article {
    border-right: 0;
    border-bottom: 1px solid #e6e6e6;
    padding: 22px 4px;
  }
  .metric-row, .target-row, .wall-row { grid-template-columns: 1fr; }
  .od-points { flex-wrap: wrap; gap: 14px; }
  .od-points div { max-width: none; flex: 1 1 40%; }
  .desk-controls { flex-wrap: wrap; margin-left: 0; width: 100%; }
  .demo-window, .demo-window iframe { height: 480px; }
  .foot { gap: 16px; }
  .brand-sub { font-size: 8px; max-width: 150px; }
}

.video-frame {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}
.video-frame video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}
