:root {
  color-scheme: dark;
  --bg: #050706;
  --bg-2: #0b100f;
  --panel: #101614;
  --ink: #f5f1ea;
  --muted: #a9b0aa;
  --line: rgba(245, 241, 234, 0.14);
  --orange: #ff6a21;
  --cyan: #43d8e4;
  --green: #9bd785;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
}

a { color: inherit; text-decoration: none; }

.site-header {
  align-items: center;
  /* Fading scrim instead of a solid bar, so the hero image shows through and
     the bigger logo reads as floating over the photo rather than boxed in. */
  background: linear-gradient(180deg, rgba(5, 7, 6, 0.82) 0%, rgba(5, 7, 6, 0.34) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 8px clamp(18px, 4vw, 64px) 22px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
nav,
.actions,
footer {
  align-items: center;
  display: flex;
}

.brand {
  display: inline-flex;
}

.brand img {
  display: block;
  height: clamp(78px, 8.5vw, 120px);
  object-fit: contain;
  object-position: left center;
  width: auto;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.6));
}

nav {
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
  padding: 5px;
}

nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 14px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding: 150px clamp(18px, 5vw, 72px) clamp(30px, 4vw, 56px);
  background:
    url("./assets/pyroclast-hero.png") center center / cover no-repeat,
    var(--bg);
}

/* Legibility scrim over the photo: darker top (for the header + logo) and
   bottom (for the headline + button bar), clear through the middle. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 6, 0.5) 0%,
    rgba(5, 7, 6, 0.12) 26%,
    rgba(5, 7, 6, 0.12) 48%,
    rgba(5, 7, 6, 0.88) 100%
  );
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-compact {
  min-height: 66vh;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 44px);
  width: 100%;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  text-shadow: 0 2px 28px rgba(5, 7, 6, 0.6);
}

.hero-copy > p:not(.eyebrow) {
  text-shadow: 0 1px 16px rgba(5, 7, 6, 0.55);
}

.eyebrow {
  color: var(--green);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  letter-spacing: -0.015em;
  line-height: 1.03;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.6rem);
  letter-spacing: -0.01em;
  line-height: 1.04;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  color: rgba(245, 241, 234, 0.82);
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  max-width: 540px;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 15px 21px;
}

.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #180a03;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
}

/* Translucent bar that floats over the hero image, holding the CTAs + specs. */
.hero-bar {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 6, 0.46);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(20px, 3vw, 40px);
  justify-content: space-between;
  padding: 14px clamp(14px, 2vw, 22px);
}

.hero-bar .actions {
  gap: 12px;
  margin-top: 0;
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 2.4vw, 32px);
  margin: 0;
}

.hero-specs div {
  display: grid;
  gap: 2px;
}

.hero-specs dt {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-specs dd {
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0;
}

.status-panel {
  background: rgba(16, 22, 20, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.panel-kicker,
.status-panel dt {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-panel h2 {
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.status-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.status-panel div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.status-panel dd {
  font-weight: 800;
  margin: 3px 0 0;
}

.strip {
  background: #0c100f;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.strip div {
  border-right: 1px solid var(--line);
  padding: clamp(26px, 4vw, 48px);
  position: relative;
}

.strip div::before {
  background: linear-gradient(90deg, var(--orange), transparent);
  content: "";
  height: 2px;
  left: clamp(26px, 4vw, 48px);
  position: absolute;
  right: 42%;
  top: 0;
}

.strip strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
}

.strip span {
  color: var(--muted);
  display: block;
  line-height: 1.5;
  margin-top: 12px;
  max-width: 360px;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
}

.section-heading p {
  font-size: 1.05rem;
  max-width: 760px;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.cards article,
.solution-window {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.cards article {
  min-height: 310px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.cards article:hover {
  border-color: rgba(67, 216, 228, 0.34);
  transform: translateY(-2px);
}

.card-icon {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 82px;
  margin-bottom: 28px;
}

.grid-icon {
  background: repeating-linear-gradient(90deg, rgba(67, 216, 228, 0.14) 0 1px, transparent 1px 18px);
}

.flow-icon {
  background: radial-gradient(circle, rgba(255, 106, 33, 0.78) 0 3px, transparent 4px) 0 0 / 22px 22px;
}

.signal-icon {
  background: linear-gradient(135deg, rgba(155, 215, 133, 0.18), rgba(67, 216, 228, 0.1));
}

.split-section {
  background: var(--bg-2);
  display: grid;
  gap: clamp(30px, 6vw, 90px);
  grid-template-columns: 0.8fr 1.2fr;
}

.process {
  display: grid;
  gap: 14px;
}

.process div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 62px 1fr;
  padding-top: 18px;
}

.process span {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  position: relative;
}

.process span::after {
  background: rgba(255, 106, 33, 0.28);
  content: "";
  height: 1px;
  left: 28px;
  position: absolute;
  right: 10px;
  top: 0.72em;
}

.process strong {
  font-size: 1.12rem;
}

.process p {
  grid-column: 2;
}

.contact-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 106, 33, 0.2), transparent 42%),
    #101511;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.contact-band p {
  max-width: 660px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

footer img {
  height: 64px;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.solution-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px) clamp(76px, 10vw, 124px);
}

.solution-window.featured {
  grid-column: span 2;
}

.solution-window {
  transition: border-color 180ms ease, transform 180ms ease;
}

.solution-window:hover {
  border-color: rgba(67, 216, 228, 0.34);
  transform: translateY(-2px);
}

.window-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
}

.window-top span {
  background: rgba(245, 241, 234, 0.26);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.window-top b {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  margin-left: auto;
  text-transform: uppercase;
}

.window-visual {
  border-bottom: 1px solid var(--line);
  height: 310px;
  overflow: hidden;
  position: relative;
}

.featured .window-visual {
  height: 390px;
}

.window-visual::before,
.window-visual::after,
.window-visual i {
  content: "";
  position: absolute;
}

.command-visual {
  background:
    radial-gradient(circle at 32% 45%, rgba(255, 106, 33, 0.34), transparent 24%),
    radial-gradient(circle at 72% 38%, rgba(67, 216, 228, 0.26), transparent 24%),
    #0a0f0e;
}

.command-visual::before {
  background: repeating-linear-gradient(90deg, rgba(67, 216, 228, 0.16) 0 1px, transparent 1px 58px);
  inset: 0;
}

.command-visual::after {
  border: 1px solid rgba(67, 216, 228, 0.34);
  border-radius: 50%;
  height: 190px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
}

.command-visual i {
  background: rgba(255, 106, 33, 0.78);
  border-radius: 8px;
  height: 64px;
  width: 18%;
}

.command-visual i:nth-child(1) { left: 13%; top: 34%; }
.command-visual i:nth-child(2) { background: rgba(67, 216, 228, 0.7); left: 36%; top: 50%; }
.command-visual i:nth-child(3) { left: 59%; top: 27%; }
.command-visual i:nth-child(4) { background: rgba(155, 215, 133, 0.6); left: 77%; top: 57%; }

.signal-visual {
  background:
    linear-gradient(180deg, transparent 0 46%, rgba(67, 216, 228, 0.12) 47% 49%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(67, 216, 228, 0.18), transparent 34%),
    #0b1110;
}

.signal-visual i {
  background: var(--cyan);
  border-radius: 999px;
  bottom: 44px;
  box-shadow: 0 0 28px rgba(67, 216, 228, 0.5);
  height: 96px;
  width: 9px;
}

.signal-visual i:nth-child(1) { left: 18%; height: 9px; }
.signal-visual i:nth-child(2) { left: 38%; }
.signal-visual i:nth-child(3) { left: 58%; height: 150px; }
.signal-visual i:nth-child(4) { left: 78%; height: 76px; }

.forge-visual {
  background:
    linear-gradient(135deg, rgba(255, 106, 33, 0.2), transparent 40%),
    repeating-linear-gradient(0deg, rgba(245, 241, 234, 0.06) 0 1px, transparent 1px 46px),
    #0b100f;
}

.forge-visual i {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 62px;
  left: 12%;
  width: 76%;
}

.forge-visual i:nth-child(1) { top: 38px; }
.forge-visual i:nth-child(2) { top: 116px; width: 58%; }
.forge-visual i:nth-child(3) { top: 194px; width: 66%; }

.reserved-visual {
  background:
    linear-gradient(135deg, rgba(67, 216, 228, 0.12), transparent),
    repeating-linear-gradient(45deg, rgba(245, 241, 234, 0.05) 0 1px, transparent 1px 22px),
    #0b0f0e;
}

.reserved-visual::before {
  border: 1px dashed rgba(245, 241, 234, 0.24);
  border-radius: 8px;
  inset: 44px;
}

/* Veil — hardened / private / anonymous (teal, crossed-eye) */
.veil-visual {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(67, 216, 228, 0.2), transparent 60%),
    linear-gradient(180deg, #0a1413, #070d0d);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.veil-eye {
  height: 76px;
  width: 76px;
  filter: drop-shadow(0 0 20px rgba(67, 216, 228, 0.5));
}

.veil-tag {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Penumbra — live threat-intelligence feed (violet, threat-feed UI) */
.penumbra-visual {
  background:
    radial-gradient(circle at 80% 78%, rgba(155, 92, 246, 0.24), transparent 52%),
    linear-gradient(180deg, #110a1a, #0a0710);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  padding: 26px 24px;
}

.pen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pen-tabs span {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  padding: 7px 11px;
}

.pen-tabs .on {
  background: linear-gradient(180deg, #9b5cf6, #6d28d9);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.pen-shield {
  align-self: flex-end;
  height: 58px;
  width: 58px;
  filter: drop-shadow(0 0 18px rgba(155, 92, 246, 0.45));
}

/* Baseline — flagship product box (links out to the Baseline site) */
.baseline-window { display: block; }
.baseline-visual {
  align-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(240, 84, 74, 0.18), transparent 60%),
    linear-gradient(180deg, #150a0a, #0a0707);
  display: flex;
  justify-content: center;
}
.baseline-visual img {
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  height: auto;
  width: clamp(150px, 26%, 230px);
}
.baseline-window .visit {
  color: #ff6a21;
  font-weight: 600;
  white-space: nowrap;
}

.window-copy {
  padding: 24px;
}

.window-copy h2 {
  font-size: clamp(1.6rem, 3vw, 3rem);
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero,
  .strip,
  .cards,
  .split-section,
  .contact-band,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-window.featured {
    grid-column: auto;
  }

  .status-panel {
    max-width: 520px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 8px 16px 18px;
  }

  .brand img {
    height: 66px;
    max-width: 210px;
  }

  .hero {
    min-height: 100svh;
    padding: 104px 16px 32px;
  }

  h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.7rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .solution-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .featured .window-visual,
  .window-visual {
    height: 260px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
