/* NetrIQ.AI — site stylesheet. Dark by default, teal as the only accent. */

:root {
  --teal: #00C8A0;
  --teal-strong: #00B894;
  --teal-deep: #00A884;
  --teal-glow: rgba(0, 200, 160, 0.18);
  --teal-tint: rgba(0, 200, 160, 0.08);

  --bg: #0B0E10;
  --bg-1: #11151A;
  --bg-2: #161B20;
  --bg-3: #1B2127;
  --surface: #14181C;
  --surface-2: #1B2026;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #E7ECEF;
  --text-soft: #B6BEC4;
  --text-mute: #7A848C;
  --text-faint: #4A535B;

  --red: #E74C3C;
  --amber: #F39C12;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 12px;
  --radius-lg: 18px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 580px at 80% -10%, rgba(0, 200, 160, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(50, 90, 130, 0.06), transparent 55%);
}

::selection { background: var(--teal-strong); color: #001513; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; color: var(--text); }
h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.02;
}
h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.028em; }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -0.012em; line-height: 1.3; }
h4 { font-size: 16px; letter-spacing: 0; line-height: 1.4; }
p { color: var(--text-soft); }

.lead {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 64ch;
}

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--inset {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--teal);
}

.muted { color: var(--text-mute); }
.faint { color: var(--text-faint); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 16, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
}

/* Custom wordmark — built in markup, not via the SVG-with-background variant */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__icon { width: 26px; height: 26px; flex-shrink: 0; }
.brand__mark { display: inline-flex; align-items: baseline; }
.brand__mark .netr { color: var(--teal); }
.brand__mark .iq { color: var(--text); margin-left: 1px; }
.brand__mark .tld {
  color: var(--text-mute);
  font-size: 0.6em;
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0.02em;
  align-self: center;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 15px; color: var(--text-soft); transition: color 0.18s ease; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a.is-active { color: var(--teal); }
.btn-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.btn-burger span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 4px 0; transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg-1); padding: 8px var(--pad); gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: 0; }
  .btn-burger { display: block; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: #FFFFFF;
  color: #0B0E10;
  font-weight: 700;
  border-color: #FFFFFF;
  box-shadow: 0 6px 24px -8px rgba(0, 200, 160, 0.35);
}
.btn--primary:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #00231C;
}
.btn--ghost {
  background: transparent; color: var(--text); border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header CTA refinement */
.site-header .btn--primary { padding: 9px 16px; font-size: 13.5px; }

/* ============================================================
   Hero — distinctive, asymmetric, type-led
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 980px; }
.hero__top h1 { max-width: 14ch; }
.hero__top h1 .nl { display: block; color: var(--text-mute); font-weight: 700; }
.hero__top h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal) 0%, #5BE7C0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text-soft); max-width: 62ch; margin-top: 24px; }

/* Asymmetric product preview floated to right, partial overlap */
.hero__shot {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr; gap: 0;
  position: relative;
}
.hero__shot__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(0, 200, 160, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hero__shot__frame::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 32px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}
.hero__shot__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.hero__shot__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.hero__shot__dot:nth-child(1) { background: #FF5F57; }
.hero__shot__dot:nth-child(2) { background: #FEBC2E; }
.hero__shot__dot:nth-child(3) { background: #28C840; }
.hero__shot__url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-mute);
}
.hero__shot__frame img { width: 100%; display: block; }

.hero__metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.hero__metric { padding: 0 24px; border-right: 1px solid var(--border); }
.hero__metric:last-child { border-right: 0; }
.hero__metric strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  font-weight: 600;
}
.hero__metric p { font-size: 15.5px; color: var(--text); line-height: 1.45; font-weight: 500; }
@media (max-width: 760px) {
  .hero__metrics { grid-template-columns: repeat(2, 1fr); gap: 14px 0; padding: 20px 0; }
  .hero__metric { padding: 12px 16px; border-right: 1px solid var(--border); }
  .hero__metric:nth-child(2n) { border-right: 0; }
}

/* ============================================================
   Secondary-page hero (smaller H1 + 2-col with aside)
   ============================================================ */
.hero--page { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); }
.hero--page h1 {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 22ch;
}
.hero--page .hero__sub { margin-top: 20px; font-size: clamp(16px, 1.3vw, 18px); }

.hero--page__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (min-width: 1500px) {
  .hero--page__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero--page__grid { grid-template-columns: 1fr; gap: 28px; }
}

.hero--page__aside {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.hero--page__aside::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, var(--teal-tint), transparent 60%);
  pointer-events: none;
}
.hero--page__aside > * { position: relative; }
.hero--page__aside h3 {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600; margin-bottom: 18px;
}

.hero__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hero__chips span {
  font-size: 12.5px;
  padding: 6px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.25);
}

.hero__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__compare > div h4 {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 10px; font-weight: 600;
}
.hero__compare ul { list-style: none; padding: 0; margin: 0; }
.hero__compare li {
  font-size: 13px; padding: 5px 0; line-height: 1.4;
  color: var(--text);
}
.hero__compare .col-bad li {
  color: var(--text-mute); text-decoration: line-through; text-decoration-color: var(--text-faint);
}
.hero__compare .col-good li::before {
  content: '✓';
  display: inline-block; margin-right: 7px; color: var(--teal); font-weight: 700;
}

.hero__stack { display: flex; flex-direction: column; gap: 10px; }
.hero__stack__row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 0;
  border-top: 1px dashed var(--border);
}
.hero__stack__row:first-child { border-top: 0; padding-top: 0; }
.hero__stack__row strong {
  font-family: var(--font-mono);
  font-size: 15px; font-weight: 600; color: var(--teal);
  min-width: 38px; flex-shrink: 0;
}
.hero__stack__row span { font-size: 15.5px; color: var(--text); line-height: 1.5; }

/* ============================================================
   Generic grids and cards
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  position: relative;
}
.card:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { font-size: 15.5px; line-height: 1.65; color: var(--text-soft); }

.icon-tile {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--teal-tint);
  border: 1px solid var(--teal-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-tile svg { width: 20px; height: 20px; }
.icon-tile svg path,
.icon-tile svg circle,
.icon-tile svg rect,
.icon-tile svg line,
.icon-tile svg polyline { stroke: var(--teal); }

/* ============================================================
   Capability triplet
   ============================================================ */
.capability {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.capability__col { padding: 36px 32px; border-right: 1px solid var(--border); position: relative; }
.capability__col::before {
  content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--teal);
  transition: width 0.4s ease;
}
.capability__col:hover::before { width: 100%; }
.capability__col:last-child { border-right: 0; }
.capability__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--teal);
  font-weight: 600;
}
.capability__col h3 { margin: 12px 0 14px; font-size: 23px; }
.capability__col p { font-size: 16px; line-height: 1.6; }
.capability__col ul { margin-top: 18px; padding-left: 0; list-style: none; }
.capability__col li {
  font-size: 15.5px;
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--text-soft);
  border-top: 1px dashed var(--border);
  line-height: 1.5;
}
.capability__col li:first-child { border-top: 0; }
.capability__col li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 12px; height: 1.5px; background: var(--teal);
}
@media (max-width: 1000px) {
  .capability { grid-template-columns: 1fr; }
  .capability__col { border-right: 0; border-bottom: 1px solid var(--border); }
  .capability__col:last-child { border-bottom: 0; }
}

/* ============================================================
   Verticals strip
   ============================================================ */
.vert-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.vert-pill {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  display: block;
}
.vert-pill:hover { border-color: var(--teal-glow); background: var(--surface-2); transform: translateY(-2px); }
.vert-pill h4 { color: var(--text); margin-bottom: 6px; font-size: 17px; font-weight: 600; }
.vert-pill p { font-size: 14.5px; color: var(--text-mute); line-height: 1.55; }
@media (max-width: 800px) { .vert-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .vert-strip { grid-template-columns: 1fr; } }

/* ============================================================
   Platform feature groups
   ============================================================ */
.fgroup { padding: 60px 0; border-top: 1px solid var(--border); }
.fgroup:first-of-type { border-top: 0; }
.fgroup__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; margin-bottom: 36px; }
.fgroup__head h2 { font-size: clamp(28px, 3vw, 36px); }
.fgroup__head p { font-size: 18px; line-height: 1.6; }
.fgroup__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fgroup__item {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fgroup__item:hover { border-color: var(--border-strong); background: var(--surface-2); }
.fgroup__item h4 { color: var(--text); margin-bottom: 8px; font-size: 16.5px; font-weight: 600; }
.fgroup__item p { font-size: 15px; line-height: 1.6; color: var(--text-soft); }
@media (max-width: 1000px) {
  .fgroup__head { grid-template-columns: 1fr; gap: 16px; }
  .fgroup__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .fgroup__list { grid-template-columns: 1fr; } }

/* ============================================================
   Vertical sections (verticals page)
   ============================================================ */
.vsection { padding: 80px 0; border-top: 1px solid var(--border); }
.vsection:first-of-type { border-top: 0; padding-top: 56px; }
.vsection__head { max-width: 720px; margin-bottom: 32px; }
.vsection__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.vsection__cols h3 { font-size: 13px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; font-weight: 600; }
.vsection__cols ul { list-style: none; padding: 0; }
.vsection__cols li {
  position: relative; padding: 13px 0 13px 24px;
  border-top: 1px dashed var(--border);
  font-size: 16.5px; color: var(--text);
  line-height: 1.55;
}
.vsection__cols li:first-child { border-top: 0; }
.vsection__cols li::before {
  content: ''; position: absolute; left: 0; top: 19px;
  width: 12px; height: 1.5px; background: var(--teal);
}
@media (max-width: 800px) { .vsection__cols { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   Diff block (why netriq)
   ============================================================ */
.diff {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.diff__col { padding: 32px; }
.diff__col + .diff__col { border-left: 1px solid var(--border); }
.diff__col h4 {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 16px; font-weight: 600;
}
.diff__col ul { list-style: none; }
.diff__col li {
  font-size: 16px;
  padding: 13px 0;
  color: var(--text);
  border-top: 1px dashed var(--border);
  line-height: 1.55;
}
.diff__col li:first-child { border-top: 0; }
.diff__col--bad li {
  color: var(--text-mute);
  text-decoration: line-through;
  text-decoration-color: var(--text-faint);
  text-decoration-thickness: 1px;
}
.diff__col--good { background: var(--teal-tint); }
.diff__col--good li::before {
  content: '✓';
  display: inline-block;
  margin-right: 10px;
  color: var(--teal);
  font-weight: 700;
}
@media (max-width: 800px) {
  .diff { grid-template-columns: 1fr; }
  .diff__col + .diff__col { border-left: 0; border-top: 1px solid var(--border); }
}

/* ============================================================
   Diagram (3-layer architecture box)
   ============================================================ */
.diagram { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 40px; }
.diagram__layer {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.diagram__layer::after {
  content: '';
  position: absolute; top: 50%; right: -8px;
  width: 14px; height: 1.5px;
  background: var(--teal);
  transform: translateY(-50%);
}
.diagram__layer:last-child::after { display: none; }
.diagram__layer h4 { color: var(--text); font-size: 17px; margin-bottom: 6px; font-weight: 600; }
.diagram__layer .layer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.16em;
  font-weight: 600;
}
.diagram__layer ul { list-style: none; margin-top: 16px; }
.diagram__layer li { font-size: 15px; color: var(--text-soft); padding: 6px 0; line-height: 1.5; }
@media (max-width: 900px) {
  .diagram { grid-template-columns: 1fr; }
  .diagram__layer::after { display: none; }
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info h3 { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; font-weight: 600; }
.contact-info dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-top: 22px; }
.contact-info dd { font-size: 16px; color: var(--text); margin-top: 4px; }
.contact-info dd a { color: var(--teal); }
.contact-info dd a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit; font-size: 15px;
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-faint); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 0; border-color: var(--teal); background: var(--bg-2);
  box-shadow: 0 0 0 3px var(--teal-tint);
}
.form-row__split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row__split { grid-template-columns: 1fr; } }

.form-meta { font-size: 13px; color: var(--text-mute); margin-top: 16px; }
#form-status { margin-top: 14px; font-size: 14px; min-height: 22px; }
#form-status.is-success { color: var(--teal); }
#form-status.is-error { color: var(--red); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-1);
  color: var(--text-soft);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h5 { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; }
.site-footer a { font-size: 15px; color: var(--text-soft); }
.site-footer a:hover { color: var(--teal); }
.site-footer__brand .brand { font-size: 22px; }
.site-footer__brand p { font-size: 15px; color: var(--text-mute); max-width: 34ch; margin-top: 14px; line-height: 1.6; }
.site-footer__base {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-faint);
}
@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer__base { flex-direction: column; gap: 10px; }
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Screenshot frames (in-page)
   ============================================================ */
.screenshot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.screenshot__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.screenshot__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.screenshot__dot:nth-child(1) { background: #FF5F57; }
.screenshot__dot:nth-child(2) { background: #FEBC2E; }
.screenshot__dot:nth-child(3) { background: #28C840; }
.screenshot img { display: block; width: 100%; }

/* ============================================================
   Editions grid (NetrIQ Suite / Spaces / VMS / Dine)
   ============================================================ */
.edition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.edition-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.edition-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.6);
}
.edition-card--featured {
  border-color: rgba(0, 200, 160, 0.35);
  background:
    linear-gradient(180deg, rgba(0, 200, 160, 0.07) 0%, transparent 38%),
    var(--surface);
}
.edition-card--featured:hover { border-color: var(--teal); }
.edition-card__head h3 {
  margin-top: 6px;
  font-size: 26px;
}
.edition-card__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.edition-card__list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.edition-card__list li:last-child { border-bottom: 0; }
.edition-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 10px; height: 10px;
  border-radius: 2px;
  border: 1.5px solid var(--teal);
  border-right: 0;
  border-bottom: 0;
  transform: rotate(135deg);
  transform-origin: 50% 50%;
  border-top-color: var(--teal);
}
.edition-card__fit {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* ============================================================
   Screen-card grid (Featured screens on Platform page)
   ============================================================ */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}
.screen-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.55);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  display: flex;
  flex-direction: column;
}
.screen-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, 0.65);
}
.screen-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border);
}
.screen-card figcaption {
  padding: 16px 18px 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.screen-card figcaption strong { color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .screen-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   Verticals TOC
   ============================================================ */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  background: var(--surface);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.toc a:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-tint); }

/* ============================================================
   Spec rows (platform deployment table)
   ============================================================ */
.spec-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.spec-row:first-child { border-top: 0; }
.spec-row dt {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 4px;
  font-weight: 600;
}
.spec-row dd { font-size: 16.5px; color: var(--text); line-height: 1.6; }
@media (max-width: 700px) {
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}
