@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;800&family=Barlow:wght@300;400;500&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --navy: #0d1b2a;
  --navy-mid: #122030;
  --navy-light: #1a2e42;
  --teal: #00b4d8;
  --teal-dim: rgba(0,180,216,0.12);
  --amber: #f4a026;
  --amber-dim: rgba(244,160,38,0.15);
  --white: #eef2f7;
  --grey: #7a8fa8;
  --grey-light: #a8bacf;
  --border: rgba(0,180,216,0.14);
  --border-sub: rgba(255,255,255,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  font-size: 17px;
  overflow-x: hidden;
}

.page-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
}

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 58px;
}
.nav-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 21px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--white); text-decoration: none;
  flex-shrink: 0;
}
.nav-brand em { color: var(--teal); font-style: normal; }

.nav-links {
  display: flex; gap: 0; list-style: none; align-items: center;
}
.nav-links li a {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grey); text-decoration: none; transition: color 0.2s;
  padding: 0 14px; display: block; line-height: 58px;
  white-space: nowrap;
}
.nav-links li a:hover { color: var(--teal); }
.nav-links .nav-sep {
  width: 1px; height: 18px; background: var(--border); align-self: center;
}
.nav-cta {
  background: var(--teal) !important; color: var(--navy) !important;
  margin-left: 12px; padding: 0 16px !important; line-height: 34px !important;
  font-weight: 500 !important; align-self: center;
}
.nav-cta:hover { background: #00d4f5 !important; }

/* HAMBURGER */
.nav-hamburger {
  display: none !important; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--border);
  padding: 8px 10px; cursor: pointer; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--grey); transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--teal); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--teal); }

/* MOBILE DROPDOWN */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(10,22,36,0.98);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0 28px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 300;
  box-shadow: 0 24px 48px rgba(0,0,0,0.6);
}
.nav-mobile.open { display: flex !important; flex-direction: column !important; }
.nav-mobile a {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey); text-decoration: none;
  padding: 13px 32px; border-bottom: 1px solid var(--border-sub);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--teal); background: rgba(0,180,216,0.04); }
.nav-mobile .mob-section {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,180,216,0.4); padding: 16px 32px 6px;
}
.nav-mobile .mob-cta {
  margin: 16px 32px 0;
  background: var(--amber); color: var(--navy) !important;
  padding: 12px 20px !important; border: none !important;
  font-weight: 500 !important; text-align: center;
}
.nav-mobile .mob-cta:hover { background: #ffb84d; }

/* Medium screens - compress nav */
@media (max-width: 1200px) {
  .nav-links li a { padding: 0 10px; font-size: 9px; }
  .nav-cta { padding: 0 12px !important; }
}
/* Mobile - hamburger */
@media (max-width: 960px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .nav-inner { padding: 0 20px; }
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb-bar {
  margin-top: 58px;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 11px 40px;
}
.breadcrumb {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey);
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.35; }

/* ===================== LAYOUT ===================== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; position: relative; }
hr.div { border: none; border-top: 1px solid var(--border-sub); margin: 0 40px; }

/* ===================== TYPOGRAPHY ===================== */
.label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; color: var(--teal); text-transform: uppercase;
  margin-bottom: 14px; display: flex; align-items: center; gap: 14px;
}
.label::before { content: ''; width: 32px; height: 1px; background: var(--teal); flex-shrink: 0; }
h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(40px, 6vw, 78px); line-height: 0.95;
  text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 24px;
}
h1 em { color: var(--teal); font-style: normal; display: block; }
h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: clamp(26px, 3.5vw, 44px); line-height: 1.05;
  text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 18px;
}
h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 22px; text-transform: uppercase; letter-spacing: 0.05em;
  line-height: 1.2; margin-bottom: 10px;
}
h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal); margin-bottom: 8px;
}
p { margin-bottom: 16px; color: rgba(238,242,247,0.8); }
p:last-child { margin-bottom: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul.prose, ol.prose { padding-left: 20px; margin-bottom: 16px; color: rgba(238,242,247,0.8); }
ul.prose li, ol.prose li { margin-bottom: 8px; }
strong { color: var(--white); font-weight: 500; }

/* ===================== HERO ===================== */
.page-hero {
  padding: 64px 40px 72px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0d1b2a 0%, #081420 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 70% 50%, rgba(0,180,216,0.06) 0%, transparent 65%);
}
.hero-inner { max-width: 1240px; margin: 0 auto; position: relative; }
.hero-lede { max-width: 640px; font-size: 19px; color: var(--grey-light); line-height: 1.6; margin-bottom: 36px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 26px; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-solid { background: var(--teal); color: var(--navy); }
.btn-solid:hover { background: #00d4f5; transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--grey-light); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #ffb84d; transform: translateY(-1px); text-decoration: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===================== STAT BAND ===================== */
.stat-band { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 40px; }
.stat-band-inner { max-width: 1240px; margin: 0 auto; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.sbs { text-align: center; flex-shrink: 0; }
.sbn { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 36px; color: var(--teal); line-height: 1; }
.sbl { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.16em; color: var(--grey); text-transform: uppercase; margin-top: 3px; }
.sbd { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* ===================== CARDS ===================== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--navy-mid); border: 1px solid var(--border);
  padding: 28px 24px; transition: border-color 0.25s, transform 0.25s;
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(0,180,216,0.38); }
.card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform 0.25s; transform-origin: left; }
.card:hover::after { transform: scaleX(1); }
.card.amber-card::after { background: var(--amber); }

/* ===================== PRODUCT CARDS ===================== */
.product-card { background: var(--navy-mid); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s, transform 0.3s; display: flex; flex-direction: column; }
.product-card:hover { border-color: rgba(0,180,216,0.4); transform: translateY(-2px); }
.pc-img {
  background: var(--navy-light); padding: 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px; border-bottom: 1px solid var(--border-sub);
  position: relative; overflow: hidden;
}
.pc-img img { max-width: 100%; max-height: 140px; object-fit: contain; display: block; }
.pc-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; min-height: 180px;
}
.pc-img-placeholder svg { opacity: 0.2; }
.pc-img-placeholder span { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.15em; color: var(--grey); text-transform: uppercase; }
.pc-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pc-era { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--amber); text-transform: uppercase; margin-bottom: 6px; }
.pc-dl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pc-dl a {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.08em;
  color: var(--teal); border: 1px solid rgba(0,180,216,0.2);
  padding: 5px 10px; transition: all 0.2s; text-decoration: none; text-transform: uppercase;
}
.pc-dl a:hover { background: var(--teal-dim); border-color: var(--teal); text-decoration: none; }

/* ===================== SPEC TABLE ===================== */
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table tr { border-bottom: 1px solid var(--border-sub); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 0; font-size: 14px; vertical-align: top; }
.spec-table td:first-child { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--grey); width: 42%; padding-right: 16px; }
.spec-table td:last-child { color: var(--white); }

/* ===================== DOWNLOADS ===================== */
.dl-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.dl {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
  color: var(--teal); border: 1px solid rgba(0,180,216,0.22);
  padding: 8px 14px; transition: all 0.2s; text-transform: uppercase; text-decoration: none;
}
.dl:hover { background: var(--teal-dim); border-color: var(--teal); text-decoration: none; }

/* ===================== NOTICE / INFO BOXES ===================== */
.notice { background: var(--amber-dim); border: 1px solid rgba(244,160,38,0.28); border-left: 3px solid var(--amber); padding: 16px 22px; font-size: 14px; color: rgba(238,242,247,0.75); margin-bottom: 36px; }
.notice strong { color: var(--amber); font-weight: 500; }
.info-box { background: var(--navy-mid); border: 1px solid var(--border); border-left: 3px solid var(--teal); padding: 22px 26px; margin: 28px 0; }
.info-box h4 { margin-bottom: 10px; }

/* ===================== COMPARISON TABLE ===================== */
.comp-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.comp-table th { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--navy-mid); }
.comp-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-sub); color: rgba(238,242,247,0.8); vertical-align: top; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table td:first-child { font-weight: 500; color: var(--white); }
.comp-table tr:hover td { background: rgba(0,180,216,0.03); }

/* ===================== RELATED SITES ===================== */
.sites-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 40px; }
.site-card { background: var(--navy-mid); border: 1px solid var(--border); padding: 24px 20px; text-decoration: none; display: block; transition: border-color 0.25s; position: relative; overflow: hidden; }
.site-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform 0.25s; transform-origin: left; }
.site-card.sc-amber::after { background: var(--amber); }
.site-card:hover { border-color: rgba(0,180,216,0.35); text-decoration: none; }
.site-card:hover::after { transform: scaleX(1); }
.sc-tag { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,180,216,0.5); margin-bottom: 8px; }
.sc-amber .sc-tag { color: rgba(244,160,38,0.5); }
.sc-dom { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal); margin-bottom: 6px; display: block; }
.sc-amber .sc-dom { color: var(--amber); }
.sc-p { font-size: 12px; color: var(--grey); line-height: 1.5; margin: 0; }

/* ===================== TWO COLUMN ===================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 48px; }
.two-col-3-2 { grid-template-columns: 3fr 2fr; }
.two-col-2-3 { grid-template-columns: 2fr 3fr; }

/* ===================== PAGE NAV ===================== */
.page-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border-sub); }
.pn-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.pn-link:hover { text-decoration: none; }
.pn-label { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.pn-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--teal); }

/* ===================== FOOTER ===================== */
footer { background: var(--navy-mid); border-top: 1px solid var(--border); padding: 52px 40px 36px; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.footer-brand { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer-brand em { color: var(--teal); font-style: normal; }
.footer-desc { font-size: 13px; color: var(--grey); line-height: 1.6; }
.footer-col h4 { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--grey); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { max-width: 1240px; margin: 32px auto 0; padding-top: 22px; border-top: 1px solid var(--border-sub); display: flex; justify-content: space-between; font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--grey); letter-spacing: 0.08em; flex-wrap: wrap; gap: 8px; }

/* ===================== FADE IN ===================== */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade.in { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .breadcrumb-bar, .page-hero, .stat-band, .wrap { padding-left: 20px; padding-right: 20px; }
  hr.div { margin: 0 20px; }
  footer { padding: 40px 20px 24px; }
  .two-col, .two-col-3-2, .two-col-2-3 { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .sites-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .page-nav { flex-direction: column; }
  .stat-band-inner { gap: 24px; }
}
@media (max-width: 580px) {
  .card-grid, .card-grid-2, .card-grid-4, .sites-grid { grid-template-columns: 1fr; }
  h1 { font-size: 44px; }
  .hero-lede { font-size: 16px; }
}
