/* =========================================================================
   3D Map Explorer — Promo Kit · "Geospatial Intelligence" design system
   Vanilla CSS, no build step. Shared by all promo pages.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy:      #0A1628;
  --navy-2:    #0F1F38;
  --navy-3:    #16294A;
  --ink:       #0F172A;
  --cyan:      #22D3EE;
  --cyan-deep: #0E7490;
  --green:     #16A34A;
  --green-soft:#4ADE80;
  --amber:     #F59E0B;
  --rose:      #FB7185;
  --mist:      #F8FAFC;
  --mist-2:    #EEF2F7;
  --slate:     #475569;
  --slate-2:   #64748B;
  --line:      rgba(148, 163, 184, 0.22);
  --line-dark: rgba(34, 211, 238, 0.18);

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow:    0 10px 30px -12px rgba(2, 8, 23, 0.45);
  --shadow-lg: 0 30px 70px -24px rgba(2, 8, 23, 0.6);

  --container: 1180px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans); color: var(--ink); background: var(--mist);
  line-height: 1.6; font-size: 16.5px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--navy); color: #E2E8F0; }
.section--grad {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(22, 163, 74, 0.16), transparent 55%),
    var(--navy);
  color: #E2E8F0;
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.section--dark h1, .section--grad h1, .section--dark h2, .section--grad h2,
.section--dark h3, .section--grad h3 { color: #fff; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--slate); }
.section--dark .lead, .section--grad .lead { color: #94A3B8; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-deep); background: rgba(34, 211, 238, 0.1); border: 1px solid var(--line-dark);
  padding: 6px 12px; border-radius: 999px;
}
.section--dark .eyebrow, .section--grad .eyebrow { color: var(--cyan); }
.text-center { text-align: center; }
.mono { font-family: var(--font-mono); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin-top: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10, 22, 40, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-size: 1.02rem; }
.brand small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { color: #CBD5E1; font-size: .94rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.nav-links a.active { color: var(--cyan); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark); border-radius: 9px; color: #fff; padding: 8px 10px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 14px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-130%); transition: transform .28s var(--ease); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px; }
}

.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--cyan), var(--green)); color: #04121F; box-shadow: 0 12px 28px -10px rgba(34, 211, 238, .55); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(680px 460px at 78% 8%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(620px 460px at 4% 100%, rgba(22, 163, 74, 0.2), transparent 55%),
    linear-gradient(180deg, #0A1628 0%, #0C1B30 60%, #0A1628 100%);
  color: #E2E8F0; padding: 92px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(34,211,238,.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(34,211,238,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 .grad { background: linear-gradient(120deg, var(--cyan), var(--green-soft) 60%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #9FB3C8; margin-top: 20px; max-width: 60ch; }
.hero .btn-row { margin-top: 30px; }
.hero-meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px; color: #94A3B8; font-size: .9rem; }
.hero-meta b { color: #fff; font-family: var(--font-mono); }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-art { position: relative; }
.globe-card {
  position: relative; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg); padding: 22px; backdrop-filter: blur(6px); overflow: hidden;
}
.globe-card img { border-radius: var(--radius); width: 100%; }
.globe-card .tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); background: rgba(10,22,40,.6); border: 1px solid var(--line-dark);
  padding: 5px 10px; border-radius: 999px;
}
.globe-card .pulse {
  position: absolute; bottom: 26px; right: 26px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--green-soft);
  box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70% { box-shadow: 0 0 0 16px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.page-hero { background: var(--navy); color: #E2E8F0; padding: 72px 0 56px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgba(34,211,238,.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(34,211,238,.1) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #9FB3C8; max-width: 64ch; margin-top: 14px; }
.breadcrumb { font-family: var(--font-mono); font-size: .8rem; color: var(--slate-2); margin-bottom: 14px; }
.breadcrumb a { color: var(--cyan); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(34,211,238,.4); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(22,163,74,.16)); color: var(--cyan-deep); font-size: 1.4rem; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); }
.card--dark { background: var(--navy-3); border-color: var(--line-dark); color: #CBD5E1; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #94A3B8; }
.card--feature { display: flex; flex-direction: column; height: 100%; }
.card--feature .more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: .9rem; }

.badge-new {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #04121F; background: linear-gradient(135deg, var(--amber), #FBBF24);
  padding: 4px 10px; border-radius: 999px; font-weight: 800;
}

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature-row + .feature-row { margin-top: 72px; }
.feature-row.flip .feature-text { order: 2; }
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .feature-text { order: initial; }
}
.feature-text h2 { margin-bottom: 14px; }
.feature-text .lead { margin-bottom: 22px; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; color: var(--slate); }
.feature-list li::before { content: "▸"; color: var(--cyan-deep); font-weight: 800; flex: none; }
.section--dark .feature-list li, .section--grad .feature-list li { color: #CBD5E1; }
.feature-art {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(420px 300px at 80% 0%, rgba(34,211,238,.12), transparent 60%), var(--mist-2);
  padding: 30px; min-height: 280px; position: relative; overflow: hidden;
}

.terminal { background: #07101F; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.terminal .bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); background: #0B1626; }
.terminal .bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.terminal .bar i:nth-child(1) { background: #FB7185; }
.terminal .bar i:nth-child(2) { background: var(--amber); }
.terminal .bar i:nth-child(3) { background: var(--green-soft); }
.terminal .bar .path { margin-left: auto; color: #64748B; font-family: var(--font-mono); font-size: .74rem; }
.terminal pre { margin: 0; padding: 18px 20px; color: #CBD5E1; font-family: var(--font-mono); font-size: .82rem; line-height: 1.7; overflow-x: auto; }
.terminal .k { color: var(--cyan); }
.terminal .s { color: var(--green-soft); }
.terminal .c { color: #64748B; }
.terminal .n { color: var(--amber); }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .num { font-family: var(--font-mono); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--cyan), var(--green-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: #94A3B8; font-size: .9rem; margin-top: 4px; }

[data-claim="draft"] { cursor: help; }
[data-claim="draft"]::after { content: "*"; color: var(--amber); font-weight: 800; margin-left: 1px; }
.claims-note { font-size: .82rem; color: var(--slate-2); font-style: italic; border-top: 1px dashed var(--line); margin-top: 28px; padding-top: 16px; }
.section--dark .claims-note, .section--grad .claims-note { border-top-color: var(--line-dark); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--navy); color: #fff; font-size: .9rem; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td.num { font-family: var(--font-mono); font-weight: 700; }
table.cmp .pos { color: var(--green); }
table.cmp .neg { color: var(--rose); }
table.cmp tr.highlight { background: rgba(34,211,238,.06); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price--featured { border-color: var(--cyan); box-shadow: 0 24px 60px -22px rgba(34,211,238,.5); transform: translateY(-6px); }
.price h3 { color: var(--cyan-deep); }
.price .amount { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 800; margin: 8px 0; color: var(--ink); }
.price .amount small { font-size: .9rem; color: var(--slate); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; color: var(--slate); }
.price ul li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.price .btn { margin-top: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-family: var(--font-mono); font-size: .78rem; padding: 6px 12px; border-radius: 999px; background: var(--mist-2); border: 1px solid var(--line); color: var(--slate); }
.section--dark .chip, .section--grad .chip { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: #CBD5E1; }

.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(600px 360px at 80% 0%, rgba(34,211,238,.2), transparent 60%), linear-gradient(135deg, var(--navy), #0C1B30);
  color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center;
}
.cta h2 { color: #fff; }
.cta .lead { color: #9FB3C8; max-width: 56ch; margin: 14px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 28px; }

.site-footer { background: #07101F; color: #94A3B8; padding: 56px 0 32px; border-top: 1px solid var(--line-dark); }
.site-footer .grid-4 { gap: 36px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #94A3B8; display: block; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 36px; }
.footer-brand b { color: #fff; }
.footer-disclaimer { font-size: .78rem; color: #64748B; font-style: italic; border-top: 1px solid var(--line-dark); margin-top: 36px; padding-top: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 18px; font-size: .82rem; }

.doc-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .18s var(--ease), border-color .18s var(--ease); }
.doc-card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.4); }
.doc-card .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--mist-2); color: var(--cyan-deep); font-size: 1.2rem; }
.doc-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.doc-card p { color: var(--slate); font-size: .9rem; }
.doc-card .path { font-family: var(--font-mono); font-size: .76rem; color: var(--slate-2); }

.diagram-frame {
  border-radius: var(--radius-lg); border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg); overflow: hidden; background: var(--navy);
}
.diagram-frame img { width: 100%; display: block; }
.diagram-frame + .diagram-caption, .diagram-caption {
  font-family: var(--font-mono); font-size: .78rem; color: var(--slate-2);
  text-align: center; margin-top: 12px;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .pulse { animation: none; } html { scroll-behavior: auto; } }

.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:36px}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.center{margin-inline:auto}.flex{display:flex}.between{justify-content:space-between}.items-center{align-items:center}.gap-2{gap:12px}
hr.rule{border:none;border-top:1px solid var(--line);margin:40px 0}
.note { font-size: .9rem; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(245, 158, 11, .08); border: 1px solid rgba(245,158,11,.3); color: #92400E; }
.section--dark .note, .section--grad .note { color: #FCD34D; }
