/* PangeaShield landing — design system ported from the PangeaCore product UI.
   Warm parchment cartography theme: ink navy / ocean blue / land tan, serif
   display headings, orbit-ring brand, tour-style globe + framed app mocks. */

:root {
  --pc-ink: #14213d;
  --pc-ocean: #1f5f8b;
  --pc-ocean-soft: #dfeff7;
  --pc-land: #d7a86e;
  --pc-land-soft: #f3e4d1;
  --pc-forest: #3d6b52;
  --pc-teal: #276b6b;
  --pc-card: rgba(255, 252, 247, 0.94);
  --pc-border: rgba(20, 33, 61, 0.08);
  --pc-muted: #6b7780;

  --dom-product: #5a9e7a;
  --dom-cloud: #4a90c4;
  --dom-enterprise: #c98a4b;
  --dom-ai: #9a7bc0;
  --dom-identity: #c56f86;
  --dom-data: #5aa0a0;
  --dom-detection: #8fa957;

  /* app-mock (light "screenshot") tokens, from the tour's appMock */
  --m-ink: #26313a;
  --m-sub: #6b7780;
  --m-faint: #9aa6ab;
  --m-line: rgba(30, 50, 55, 0.1);
  --m-ocean: #276b6b;
  --m-ocean-soft: #eef4f2;
  --m-bg: #f7faf9;
  --m-card: #ffffff;

  --sev-critical: #c23b34;
  --sev-high: #d97a2b;
  --sev-medium: #c9a227;
  --sev-low: #3a6f92;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --radius: 1rem;
  --radius-lg: 1.6rem;
  --shadow-card: 0 16px 44px -32px rgba(20, 40, 45, 0.5);
  --shadow-panel: 0 30px 66px -34px rgba(12, 40, 45, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--pc-ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(31, 95, 139, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(215, 168, 110, 0.14), transparent 26%),
    linear-gradient(180deg, #f5f1e8 0%, #e9eef1 100%);
  background-attachment: fixed;
}

/* ---------- Topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pc-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--pc-ink);
}

.brand-mark { position: relative; width: 38px; height: 38px; flex: none; }

.brand-core {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pc-ocean), var(--pc-land));
  box-shadow: 0 0.7rem 1.2rem rgba(31, 95, 139, 0.18);
}

.brand-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px solid transparent;
}

.orbit-ocean {
  width: 38px;
  height: 30px;
  border-color: rgba(31, 95, 139, 0.35);
  transform: translate(-50%, -50%) rotate(20deg);
}

.orbit-land {
  width: 32px;
  height: 25px;
  border-color: rgba(215, 168, 110, 0.45);
  transform: translate(-50%, -50%) rotate(-22deg);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; letter-spacing: -0.01em; font-size: 1.05rem; }
.brand-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pc-muted);
}

.topnav { display: flex; align-items: center; gap: 1.4rem; }

.topnav a {
  color: var(--pc-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.85;
}

.topnav a:hover { opacity: 1; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  transition: transform 0.2s var(--ease-out), background 0.2s, box-shadow 0.2s;
}

.btn-pill { border-radius: 999px; }

.btn-teal {
  background: var(--pc-teal);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(39, 107, 107, 0.9);
}

.btn-teal:hover { background: #1f5757; transform: translateY(-1px); }

.btn-ghost {
  color: var(--pc-ocean-soft);
  border: 1px solid rgba(223, 239, 247, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

.topnav .btn-teal { padding: 0.5rem 1.1rem; font-size: 0.85rem; box-shadow: none; }

/* ---------- Kickers & headings ---------- */

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pc-muted);
  margin-bottom: 0.75rem;
}

.kicker-teal { color: var(--pc-teal); }
.kicker-light { color: rgba(223, 239, 247, 0.75); }

.serif { font-family: var(--serif); }

h2.serif {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-sub {
  max-width: 42rem;
  margin-top: 0.75rem;
  color: var(--pc-muted);
  font-size: 1.02rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(31, 95, 139, 0.38), transparent 60%),
    radial-gradient(900px 520px at 8% 112%, rgba(215, 168, 110, 0.3), transparent 60%),
    linear-gradient(150deg, #0d1730 0%, #14213d 42%, #17334c 100%);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.aurora-a {
  width: 480px; height: 480px;
  top: -140px; right: -80px;
  background: rgba(31, 95, 139, 0.95);
  animation: pc-drift-a 28s ease-in-out infinite alternate;
}

.aurora-b {
  width: 420px; height: 420px;
  bottom: -160px; left: -100px;
  background: rgba(215, 168, 110, 0.75);
  animation: pc-drift-b 32s ease-in-out infinite alternate;
}

.aurora-c {
  width: 320px; height: 320px;
  top: 30%; left: 42%;
  background: rgba(61, 107, 82, 0.7);
  animation: pc-drift-c 24s ease-in-out infinite alternate;
}

@keyframes pc-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, 50px) scale(1.15); }
}

@keyframes pc-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, -40px) scale(1.1); }
}

@keyframes pc-drift-c {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 60px) scale(0.9); }
}

.hero-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.shimmer {
  background: linear-gradient(100deg, #dfeff7 18%, #ffffff 38%, #d7a86e 52%, #dfeff7 72%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pc-shimmer 6.5s linear infinite;
}

@keyframes pc-shimmer {
  to { background-position: -220% center; }
}

.lede {
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(223, 239, 247, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-globe { min-width: 0; }

#pangea-earth {
  display: block;
  width: 100%;
  height: clamp(360px, 52vh, 560px);
}

.globe-caption {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(223, 239, 247, 0.55);
}

/* ---------- Signals ---------- */

.signals {
  max-width: 72rem;
  margin: -2.4rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.signal-card {
  background: var(--pc-card);
  border: 1px solid var(--pc-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-card);
}

.signal-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--pc-muted);
}

.signal-value {
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin: 0.15rem 0;
}

.signal-note { font-size: 0.82rem; color: var(--pc-muted); }

/* ---------- Sections & cards ---------- */

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 1rem;
}

.section-head { margin-bottom: 2.25rem; }

.card {
  background: var(--pc-card);
  border: 1px solid var(--pc-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Domains */

.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.domain-card {
  padding: 1.4rem 1.35rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -30px rgba(20, 40, 45, 0.55);
}

.domain-card h3 { font-size: 1rem; margin: 0.7rem 0 0.35rem; }
.domain-card p { font-size: 0.88rem; color: var(--pc-muted); }

.domain-product    { border-top: 3px solid var(--dom-product); }
.domain-product .icon { color: var(--dom-product); }
.domain-cloud      { border-top: 3px solid var(--dom-cloud); }
.domain-cloud .icon { color: var(--dom-cloud); }
.domain-enterprise { border-top: 3px solid var(--dom-enterprise); }
.domain-enterprise .icon { color: var(--dom-enterprise); }
.domain-ai         { border-top: 3px solid var(--dom-ai); }
.domain-ai .icon   { color: var(--dom-ai); }
.domain-identity   { border-top: 3px solid var(--dom-identity); }
.domain-identity .icon { color: var(--dom-identity); }
.domain-data       { border-top: 3px solid var(--dom-data); }
.domain-data .icon { color: var(--dom-data); }
.domain-detection  { border-top: 3px solid var(--dom-detection); }
.domain-detection .icon { color: var(--dom-detection); }

.domain-custom {
  border: 1.5px dashed rgba(20, 33, 61, 0.25);
  border-top: 3px solid var(--pc-teal);
  background: rgba(255, 252, 247, 0.6);
}
.domain-custom .icon { color: var(--pc-teal); }

/* ---------- Platform walkthrough ---------- */

.chapter {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
}

.chapter-flip .chapter-copy { order: 2; }
.chapter-flip .chapter-visual { order: 1; }

.chapter-copy h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.chapter-copy p:not(.kicker) {
  color: var(--pc-muted);
  font-size: 0.98rem;
  max-width: 46ch;
}

/* Browser frame ("screenshot" of the app) */

.browser {
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  box-shadow: 0 34px 80px -34px rgba(20, 40, 45, 0.55);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #eef2f0;
  border-bottom: 1px solid var(--m-line);
}

.b-dots { display: flex; gap: 0.35rem; }

.b-dots span { width: 10px; height: 10px; border-radius: 50%; }
.b-dots span:nth-child(1) { background: #f0625d; }
.b-dots span:nth-child(2) { background: #f2bd5a; }
.b-dots span:nth-child(3) { background: #4fd08a; }

.browser-url {
  margin-left: 0.5rem;
  font-size: 0.68rem;
  color: var(--m-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-url span { color: var(--m-faint); }

.browser-body {
  padding: 1rem;
  background: var(--m-bg);
  color: var(--m-ink);
}

/* mock primitives */

.m-kicker {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--m-ocean);
}

.m-title { font-size: 0.95rem; font-weight: 600; color: var(--m-ink); }

.m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.m-badge {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.64rem;
  font-weight: 600;
  background: var(--m-ocean-soft);
  color: var(--m-ocean);
  white-space: nowrap;
}

.m-badge-green { background: #e4f4ea; color: #1c7a4a; }

.m-foot { margin-top: 0.7rem; font-size: 0.64rem; color: var(--m-faint); }

/* plan mock */

.m-plan { display: flex; flex-direction: column; gap: 0.3rem; }

.m-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--m-ink);
  margin-top: 0.45rem;
}

.m-nums { font-size: 0.62rem; font-weight: 400; color: var(--m-sub); font-variant-numeric: tabular-nums; }
.m-nums em { font-style: normal; color: var(--m-faint); }

.m-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #eef1ef;
}

.m-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
}

.f-product    { background: #2f8f5f; }
.f-cloud      { background: #3a6f92; }
.f-enterprise { background: #d97a2b; }
.f-ai         { background: #8a5cd0; }
.f-identity   { background: var(--dom-identity); }
.f-data       { background: var(--dom-data); }

.m-target {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  border-radius: 2px;
  background: var(--m-ink);
}

.w72 { width: 72%; } .w68 { width: 68%; } .w78 { width: 78%; }
.w34 { width: 34%; } .w55 { width: 55%; } .w47 { width: 47%; }
.t90 { left: 90%; } .t92 { left: 92%; } .t95 { left: 95%; }
.t70 { left: 70%; } .t85 { left: 85%; } .t80 { left: 80%; }

/* connector mock */

.m-conn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.m-conn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--m-card);
  border: 1px solid var(--m-line);
}

.m-avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 0.3rem;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--m-ocean-soft);
  color: var(--m-ocean);
}

.m-conn-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--m-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-dot {
  width: 6px;
  height: 6px;
  flex: none;
  margin-left: auto;
  border-radius: 50%;
}

.dot-connected { background: #2f8f5f; }
.dot-syncing { background: #d97a2b; animation: m-pulse 1.6s ease-in-out infinite; }
.dot-available { background: #b6bec2; }

@keyframes m-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* findings mock */

.m-stats {
  display: flex;
  gap: 0.4rem;
  margin: 0.6rem 0 0.75rem;
}

.m-stat {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  background: var(--m-card);
  border: 1px solid var(--m-line);
}

.m-stat b {
  display: block;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--m-ink);
}

.m-stat span {
  font-size: 0.54rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--m-faint);
}

.st-all      { border-top: 3px solid var(--m-ocean); }
.st-critical { border-top: 3px solid var(--sev-critical); }
.st-high     { border-top: 3px solid var(--sev-high); }
.st-medium   { border-top: 3px solid var(--sev-medium); }
.st-low      { border-top: 3px solid var(--sev-low); }

.m-list {
  border: 1px solid var(--m-line);
  border-radius: 0.5rem;
  overflow: hidden;
}

.m-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: var(--m-card);
}

.m-item + .m-item { border-top: 1px solid var(--m-line); }
.m-item:nth-child(even) { background: #fbfcfc; }

.m-item-title {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--m-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-sev {
  flex: none;
  border-radius: 0.3rem;
  padding: 0.12rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: capitalize;
}

.sev-critical { background: #fbe4e1; color: #a52d26; }
.sev-high     { background: #fbead9; color: #9d5714; }
.sev-medium   { background: #f7f0d2; color: #856811; }
.sev-low      { background: #e3edf4; color: #2f5a78; }

.m-status {
  flex: none;
  margin-left: auto;
  border-radius: 0.3rem;
  padding: 0.12rem 0.4rem;
  font-size: 0.56rem;
  font-weight: 600;
  text-transform: capitalize;
}

.st-open     { background: #fbf0dd; color: #8a5a12; }
.st-progress { background: #e5eef5; color: #2f6a8f; }

/* overview mock */

.m-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.6rem 0 0.75rem;
}

.m-sig {
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--m-card);
  border: 1px solid var(--m-line);
}

.sig-index    { border-left: 3px solid #8a97a0; }
.sig-coverage { border-left: 3px solid #2f8f5f; }
.sig-critical { border-left: 3px solid var(--sev-critical); }

.m-sig span {
  display: block;
  font-size: 0.54rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--m-faint);
}

.m-sig b {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  color: var(--m-ink);
}

.m-sig em { font-style: normal; font-size: 0.56rem; color: var(--m-sub); }

.m-overview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 0.5rem;
  background: var(--m-card);
  border: 1px solid var(--m-line);
}

.m-donut { position: relative; flex: none; width: 118px; height: 118px; }

.m-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.m-donut-center b {
  font-size: 0.95rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--m-ink);
}

.m-donut-center span {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--m-faint);
}

.m-spotlight { min-width: 0; flex: 1; }

.m-spot-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.m-spot-row span {
  width: 4.2rem;
  flex: none;
  font-size: 0.62rem;
  color: var(--m-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-spot-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #eef1ef;
  overflow: hidden;
}

.m-spot-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--m-ocean);
}

.m-spot-row b {
  width: 3rem;
  flex: none;
  text-align: right;
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  color: var(--m-sub);
}

.w100 { width: 100%; } .w91 { width: 91%; } .w45 { width: 45%; }
.w22 { width: 22%; } .w19 { width: 19%; }

/* ---------- Payoff ---------- */

.payoff { text-align: center; }

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.flow-pill {
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--pc-card);
  border: 1px solid var(--pc-border);
  box-shadow: var(--shadow-card);
}

.flow-arrow { color: var(--pc-muted); font-size: 0.85rem; }

.payoff-quote {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  text-align: left;
  background: linear-gradient(150deg, #0d1730 0%, #14213d 55%, #17334c 100%);
  border: 1px solid rgba(223, 239, 247, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem 2rem;
  box-shadow: var(--shadow-panel);
}

.quote-mark {
  position: absolute;
  top: -0.4rem;
  left: 1.1rem;
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 1;
  color: var(--pc-land);
  opacity: 0.9;
}

.payoff-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(223, 239, 247, 0.92);
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}

.cta .section-sub { margin-left: auto; margin-right: auto; margin-bottom: 2rem; }

/* ---------- Footer ---------- */

.footer {
  background: linear-gradient(150deg, #0d1730 0%, #14213d 60%, #17334c 100%);
  color: rgba(223, 239, 247, 0.85);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.brand-mark-sm { transform: scale(0.85); }

.footer-fine { font-size: 0.78rem; color: rgba(223, 239, 247, 0.5); }

/* ---------- Reveal animation ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.signal-grid .reveal:nth-child(2),
.domain-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.signal-grid .reveal:nth-child(3),
.domain-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.signal-grid .reveal:nth-child(4),
.domain-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.domain-grid .reveal:nth-child(6) { transition-delay: 0.08s; }
.domain-grid .reveal:nth-child(7) { transition-delay: 0.16s; }
.domain-grid .reveal:nth-child(8) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 4.5rem; padding-bottom: 4rem; }
  #pangea-earth { height: clamp(320px, 48vh, 460px); }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .domain-grid { grid-template-columns: 1fr 1fr; }
  .chapter { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 0; }
  .chapter-flip .chapter-copy { order: 1; }
  .chapter-flip .chapter-visual { order: 2; }
}

@media (max-width: 560px) {
  .topnav a:not(.btn) { display: none; }
  .domain-grid { grid-template-columns: 1fr; }
  .m-conn-grid { grid-template-columns: 1fr 1fr; }
  .m-stats { flex-wrap: wrap; }
  .m-stat { min-width: 28%; }
  .m-overview { flex-direction: column; align-items: stretch; }
  .m-donut { margin: 0 auto; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora, .shimmer, .dot-syncing { animation: none; }
  .shimmer { color: var(--pc-land-soft); background: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
