:root {
  --limestone: #f3efe6;
  --chalk: #fbfaf6;
  --paper: #fffdf8;
  --graphite: #1f2420;
  --ink: #2e332f;
  --muted: #72776f;
  --line: #ded6c7;
  --jade: #2f7d68;
  --scale: #2f7d68;
  --investigate: #bd7a2f;
  --protect: #964638;
  --build: #536b8e;
  --monitor: #8a8f87;
  --surface: rgba(255, 253, 248, 0.76);
  --shadow-soft: 0 28px 90px rgba(31, 36, 32, 0.08);
  --font-display: "Geist", "Satoshi", "Cabinet Grotesk", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    linear-gradient(90deg, rgba(31, 36, 32, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(31, 36, 32, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(47, 125, 104, 0.14), transparent 28rem),
    radial-gradient(circle at 8% 18%, rgba(189, 122, 47, 0.12), transparent 30rem),
    var(--limestone);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  color: var(--graphite);
  font-family: var(--font-display);
}

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

button {
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(31, 36, 32, 0.18) 0.8px, transparent 0.8px);
  background-size: 12px 12px;
  mix-blend-mode: multiply;
}

.launch-shell {
  position: relative;
  z-index: 1;
  width: min(1420px, calc(100% - 44px));
  margin: 0 auto;
}

.launch-topbar {
  position: sticky;
  top: 16px;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 16px 0 56px;
  padding: 12px 14px;
  border: 1px solid rgba(222, 214, 199, 0.88);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: 38px auto;
  gap: 10px;
  align-items: center;
}

.brand-mark span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.brand-mark strong {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.launch-topbar nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.launch-topbar nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition:
    color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.launch-topbar nav a:hover {
  background: rgba(47, 125, 104, 0.1);
  color: var(--graphite);
}

.launch-status {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.launch-status p {
  margin: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 6px rgba(47, 125, 104, 0.12);
  animation: breathe 2.8s ease-in-out infinite;
}

.status-dot.risk {
  background: var(--protect);
  box-shadow: 0 0 0 6px rgba(150, 70, 56, 0.13);
}

.hero-system {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  min-height: calc(100dvh - 150px);
  padding: 40px 0 92px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--jade);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(64px, 10vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.085em;
}

.hero-support {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-action {
  background: var(--graphite);
  color: var(--chalk);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
}

.primary-action:hover,
.secondary-action:hover,
.legend-row:hover,
.maplet-actions button:hover,
.department-card button:hover {
  transform: translateY(-2px);
}

.trust-line {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.hero-maplet {
  min-height: 560px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(222, 214, 199, 0.9);
  border-radius: 42px;
  background:
    radial-gradient(circle at 70% 20%, rgba(47, 125, 104, 0.14), transparent 16rem),
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(243, 239, 230, 0.62));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.maplet-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.maplet-label strong {
  color: var(--graphite);
}

.maplet-focus {
  padding: clamp(24px, 5vw, 58px) 0;
}

.maplet-focus span,
.maplet-actions span,
.legend-title,
.evidence-panel span,
.final-note .eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maplet-focus h2 {
  max-width: 460px;
  margin: 12px 0 18px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.maplet-focus p {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.45;
}

.maplet-actions {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  overflow: hidden;
}

.maplet-actions button,
.legend-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 253, 248, 0.82);
  text-align: left;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.maplet-actions i,
.legend-row i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.maplet-actions strong,
.legend-row strong {
  font-family: var(--font-mono);
  font-size: 13px;
}

.product-brief,
.decision-method,
.action-map-section,
.department-cards,
.evidence-room,
.final-note {
  margin: 0 0 96px;
}

.product-brief {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 6vw, 96px);
  padding-top: 20px;
}

.brief-kicker h2,
.decision-method h2,
.section-heading h2,
.final-note h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 5.8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.brief-grid {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.brief-grid article,
.method-steps article,
.source-row {
  border-bottom: 1px solid var(--line);
}

.brief-grid article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px 0;
}

.brief-grid span,
.method-steps small,
.metric-list span,
.next-data span,
.evidence-limits span {
  color: var(--jade);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-grid p,
.decision-method > div > p,
.section-heading p,
.final-note p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.decision-method {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}

.method-steps {
  display: grid;
  gap: 0;
}

.method-steps article {
  display: grid;
  grid-template-columns: 64px 180px 1fr;
  gap: 18px;
  padding: 22px 0;
}

.method-steps strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.method-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 26px;
}

.action-map-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 380px;
  gap: 16px;
  align-items: stretch;
}

.action-legend,
.department-drawer,
.action-map-stage {
  border: 1px solid rgba(222, 214, 199, 0.92);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow-soft);
}

.action-legend {
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 16px;
  border-radius: 30px;
}

.legend-title {
  display: block;
  padding: 6px 4px 14px;
}

.legend-row {
  border-radius: 18px;
}

.action-map-stage {
  min-height: 680px;
  padding: 10px;
  border-radius: 34px;
  overflow: hidden;
}

#launch-map {
  min-height: 660px;
  height: 100%;
  border-radius: 26px;
  background: #e9e4d9;
  overflow: hidden;
}

.department-drawer {
  padding: 24px;
  border-radius: 34px;
}

.drawer-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.drawer-title h3 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.classification {
  margin: 14px 0 22px;
  color: var(--muted);
}

.component-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  overflow: hidden;
}

.component-strip div {
  padding: 14px;
  background: rgba(255, 253, 248, 0.84);
}

.component-strip span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.component-strip strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
}

.drawer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.metric-list strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.metric-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.next-data,
.evidence-limits {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.next-data strong {
  display: block;
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.25;
}

.next-data p,
.evidence-limits p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.action-pill.scale {
  color: var(--scale);
}

.action-pill.investigate {
  color: var(--investigate);
}

.action-pill.protect {
  color: var(--protect);
}

.action-pill.build {
  color: var(--build);
}

.action-pill.monitor {
  color: var(--monitor);
}

.department-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.department-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.department-card button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  width: 100%;
  min-height: 132px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.58);
  text-align: left;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.department-card[data-active="true"] button {
  background: rgba(47, 125, 104, 0.1);
}

.department-card span:first-child {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.department-card p {
  grid-column: 1 / -1;
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--line);
  overflow: hidden;
}

.evidence-panel {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.8);
}

.evidence-panel.primary {
  background: var(--graphite);
  color: var(--chalk);
}

.evidence-panel.primary span,
.evidence-panel.primary p {
  color: rgba(251, 250, 246, 0.72);
}

.evidence-panel strong {
  display: block;
  margin: 28px 0 10px;
  font-family: var(--font-mono);
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.evidence-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.source-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}

.source-list article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.64);
}

.source-list h3 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.source-row {
  padding: 18px 0;
}

.source-row strong {
  display: block;
  margin-bottom: 6px;
}

.source-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.final-note {
  max-width: 920px;
  padding: 80px 0 120px;
}

.atlas-tooltip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-mono);
  font-size: 11px;
  box-shadow: var(--shadow-soft);
}

.leaflet-container {
  font-family: var(--font-display);
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1180px) {
  .launch-topbar,
  .hero-system,
  .product-brief,
  .decision-method,
  .section-heading,
  .action-map-grid,
  .source-list {
    grid-template-columns: 1fr;
  }

  .launch-topbar nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .action-map-grid {
    gap: 18px;
  }

  .action-legend {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
  }

  .evidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .launch-shell {
    width: min(100% - 24px, 1420px);
  }

  .launch-topbar {
    position: static;
    border-radius: 28px;
  }

  .brand-mark strong,
  .launch-status {
    display: none;
  }

  .hero-system {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 17vw, 88px);
  }

  .hero-maplet,
  .action-map-stage {
    min-height: auto;
    border-radius: 30px;
  }

  #launch-map {
    min-height: 460px;
  }

  .brief-grid article,
  .method-steps article,
  .drawer-columns,
  .department-card-grid,
  .evidence-grid,
  .component-strip {
    grid-template-columns: 1fr;
  }

  .action-legend {
    grid-template-columns: 1fr;
  }
}
