/*
Theme Name: Angel Index
Theme URI: https://angelindex.co
Author: Angel Index
Description: Custom WordPress theme converted from Next.js — investor intelligence platform for emerging markets.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: angel-index
*/

/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --ink: #0B1B2B;
  --ink-2: #13283D;
  --ink-3: #1B354F;
  --ivory: #F4EFE6;
  --ivory-2: #EAE3D5;
  --amber: #E8A33D;
  --teal: #2F5D62;
  --muted: #7B8794;
  --rule: #1f3852;
  --rule-paper: #D8CFBE;
  --sans: 'Inter Tight', sans-serif;
  --serif: 'Instrument Serif', serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: .25s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===========================
   TOP TICKER
=========================== */
.ticker {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.ticker .track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ticker .pos { color: var(--amber); }
.ticker .dot {
  width: 4px;
  height: 4px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
}
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ===========================
   NAV
=========================== */
nav.top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-paper);
  position: relative;
  z-index: 100;
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.nav-menu { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--rule-paper);
  border-radius: 2px;
  background: rgba(255,255,255,.5);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
nav.top.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.top.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.top.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.brand {
  display: flex;
  align-items: baseline;
  gap: .16em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.03em;
  transition: opacity var(--dur) var(--ease);
}
.brand:hover { opacity: .75; }
.brand .dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-3px);
  margin: 0 4px;
  transition: transform var(--dur) var(--ease);
}
.brand:hover .dot { transform: translateY(-3px) scale(1.25); }
.brand .index {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
}

nav.top ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  font-size: 14px;
}
nav.top ul li { display: flex; align-items: center; gap: 6px; }
nav.top ul li a {
  position: relative;
  color: var(--ink);
  padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
nav.top ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
nav.top ul li a:hover { color: var(--ink-2); }
nav.top ul li a:hover::after { transform: scaleX(1); }
nav.top ul li.has-caret::after {
  content: "↓";
  font-size: 9px;
  color: var(--muted);
  line-height: 1;
  transform: translateY(-1px);
}

.nav-actions { display: flex; gap: 14px; align-items: center; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(11,27,43,.35); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.btn.ghost { color: var(--ink); border: 1px solid transparent; }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn.ink { background: var(--ink); color: var(--ivory); }
.btn.ink:hover { background: var(--ink-2); }
.btn.amber { background: var(--amber); color: var(--ink); }
.btn.amber:hover { filter: brightness(1.06); }

.btn.outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn.outline:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }

/* ===========================
   HERO
=========================== */
.hero { padding: 72px 0 40px; position: relative; animation: fade-in .8s var(--ease) both; }
.hero .eyebrow { display: flex; gap: 14px; align-items: center; margin-bottom: 32px; }
.hero .eyebrow .pill {
  border: 1px solid var(--rule-paper);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,.4);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hero .eyebrow .pill .dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
.hero .eyebrow .pill:hover { border-color: var(--amber); background: rgba(255,255,255,.65); }
.hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 104px;
  line-height: 0.96;
  letter-spacing: -.04em;
  margin: 0;
  max-width: 1100px;
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--amber); font-style: normal; font-family: var(--sans); font-weight: 500; }
.hero .sub { margin-top: 32px; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.hero .cta { margin-top: 36px; display: flex; gap: 14px; align-items: center; }
.hero .cta .note { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-left: 14px; }

.hero-outline {
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.hero-outline:hover { background: var(--amber); border-color: var(--amber); color: var(--ink) !important; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--rule-paper);
  border-bottom: 1px solid var(--rule-paper);
}
.hero-meta .cell { padding: 0 24px; border-right: 1px solid var(--rule-paper); transition: transform var(--dur) var(--ease); }
.hero-meta .cell:hover { transform: translateY(-2px); }
.hero-meta .cell:first-child { padding-left: 0; }
.hero-meta .cell:last-child { border-right: none; }
.hero-meta .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero-meta .v { font-family: var(--sans); font-weight: 500; font-size: 36px; letter-spacing: -.025em; line-height: 1; }
.hero-meta .v small { font-size: 13px; color: var(--amber); font-weight: 500; margin-left: 6px; font-family: var(--mono); }
.hero-meta .note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ===========================
   TERMINAL MOCK
=========================== */
.terminal {
  margin-top: 64px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ink-3);
  box-shadow: 0 30px 60px -30px rgba(11,27,43,.4);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.terminal:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -32px rgba(11,27,43,.5); }
.term-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.term-table-wrap::-webkit-scrollbar { height: 6px; }
.term-table-wrap::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(244,239,230,.55);
}
.term-bar .lights { display: flex; gap: 6px; }
.term-bar .lights span { width: 10px; height: 10px; border-radius: 50%; background: #2A4561; }
.term-bar .url { flex: 1; text-align: center; color: rgba(244,239,230,.7); }
.term-bar .url b { color: var(--ivory); font-weight: 500; }
.term-bar .right { display: flex; gap: 14px; align-items: center; }
.term-bar .right .live { color: var(--amber); display: inline-flex; gap: 6px; align-items: center; }
.term-bar .right .live .d { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.term-shell { display: grid; grid-template-columns: 200px 1fr 320px; }
.term-side {
  border-right: 1px solid var(--rule);
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(244,239,230,.6);
  letter-spacing: .08em;
}
.term-side .grp { padding: 6px 18px; text-transform: uppercase; font-size: 9.5px; color: rgba(244,239,230,.4); margin-top: 14px; }
.term-side .grp:first-child { margin-top: 0; }
.term-side a {
  display: flex;
  justify-content: space-between;
  padding: 8px 18px;
  border-left: 2px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.term-side a:hover { background: var(--ink-2); padding-left: 22px; }
.term-side a.active { color: var(--ivory); border-left-color: var(--amber); background: var(--ink-2); }
.term-side a .c { color: rgba(244,239,230,.4); font-size: 10px; }

.term-main { padding: 22px 24px; }
.term-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.term-head h3 { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -.02em; margin: 0; }
.term-head .sub { font-family: var(--mono); font-size: 10.5px; color: rgba(244,239,230,.55); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.term-filters { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: rgba(244,239,230,.7);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:not(.on):hover { background: var(--ink-2); border-color: rgba(244,239,230,.35); color: var(--ivory); }
.chip.on { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.chip .x { opacity: .5; }

table.invs { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.invs th {
  text-align: left;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244,239,230,.5);
  font-weight: 500;
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
}
table.invs td { padding: 11px 10px; border-bottom: 1px solid var(--rule); }
table.invs tr { transition: background var(--dur) var(--ease); }
table.invs tr:hover td { background: var(--ink-2); }
table.invs tbody tr { cursor: default; }
table.invs .name { font-weight: 500; }
table.invs .geo { font-family: var(--mono); font-size: 11px; color: rgba(244,239,230,.7); }
table.invs .check { font-family: var(--mono); font-size: 11.5px; }
table.invs .pos { color: var(--amber); font-family: var(--mono); font-size: 11.5px; }
table.invs .neg { color: #7BA8B0; font-family: var(--mono); font-size: 11.5px; }
table.invs .badge {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(244,239,230,.75);
}
table.invs .badge.match { background: rgba(232,163,61,.12); border-color: var(--amber); color: var(--amber); }

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink);
  background: var(--ivory-2);
  margin-right: 10px;
  vertical-align: middle;
}
.avatar.t { background: var(--teal); color: var(--ivory); }
.avatar.a { background: var(--amber); }
.avatar.i { background: var(--ivory); }

.term-right { border-left: 1px solid var(--rule); padding: 20px; }
.term-right .ttl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,239,230,.5); margin-bottom: 14px; }
.stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--rule); transition: padding-left var(--dur) var(--ease); }
.stat-row:hover { padding-left: 6px; }
.stat-row .k { font-family: var(--mono); font-size: 11px; color: rgba(244,239,230,.6); letter-spacing: .08em; text-transform: uppercase; }
.stat-row .v { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.stat-row .v small { font-size: 11px; color: var(--amber); font-family: var(--mono); margin-left: 6px; }
.pulse { margin-top: 18px; height: 90px; position: relative; background: var(--ink-2); border: 1px solid var(--rule); border-radius: 3px; padding: 10px; }
.pulse svg { width: 100%; height: 100%; }
.pulse .lab { position: absolute; top: 8px; left: 10px; font-family: var(--mono); font-size: 9.5px; color: rgba(244,239,230,.55); letter-spacing: .1em; text-transform: uppercase; }
.pulse .v { position: absolute; top: 8px; right: 10px; font-family: var(--mono); font-size: 11px; color: var(--amber); }

.alerts { margin-top: 18px; }
.alert { padding: 10px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; transition: background var(--dur) var(--ease); }
.alert:last-child { border-bottom: none; }
.alert:hover { background: rgba(232,163,61,.06); }
.alert .d { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.alert .txt { font-size: 12px; line-height: 1.4; }
.alert .t { font-family: var(--mono); font-size: 10px; color: rgba(244,239,230,.5); letter-spacing: .08em; text-transform: uppercase; }

/* ===========================
   TRUST / LOGOS MARQUEE
=========================== */
.trust { padding: 64px 0; border-bottom: 1px solid var(--rule-paper); }
.trust .lbl { text-align: center; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 32px; }
.logos-marquee { width: 100%; overflow: hidden; position: relative; }
.logos-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  white-space: nowrap;
  animation: logos-slide 26s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
.logo-stub {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: var(--ink);
  opacity: .55;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -.01em;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.logo-stub:hover { opacity: 1; transform: translateY(-2px); }
.logo-stub.b { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: -.03em; font-size: 18px; text-transform: uppercase; }
.logo-stub.m { font-family: var(--mono); font-size: 13px; font-style: normal; letter-spacing: .05em; }
@keyframes logos-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 36px), 0, 0); }
}

/* ===========================
   SECTION HEADER
=========================== */
section.s { padding: 96px 0; border-bottom: 1px solid var(--rule-paper); }
.s-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; margin-bottom: 56px; align-items: end; }
.s-num { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.s-num b { color: var(--ink); font-weight: 500; display: block; margin-top: 4px; }
.s-head h2 { font-family: var(--sans); font-weight: 500; font-size: 64px; line-height: 1.02; letter-spacing: -.03em; margin: 0; max-width: 780px; }
.s-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ===========================
   FEATURES GRID
=========================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule-paper); border: 1px solid var(--rule-paper); }
.feat {
  background: var(--ivory);
  padding: 32px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feat:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 16px 40px -24px rgba(11,27,43,.2); }
.feat .ic { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.feat:hover .ic { border-color: var(--amber); background: rgba(232,163,61,.08); transform: scale(1.05); }
.feat h3 { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -.02em; margin: 0 0 10px; }
.feat p { margin: 0; color: var(--ink); opacity: .78; font-size: 15px; line-height: 1.55; }
.feat .ic {
  width: 56px;
  height: 56px;
  border: 1px solid var(--rule-paper);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: #fff;
  color: var(--ink);
}
.feat .num { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 18px; display: flex; justify-content: space-between; }
.audience-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1px;
    background:var(--rule-paper);
    border:1px solid var(--rule-paper);
}

.audience-card{
    background:var(--ivory);
    padding:32px;
}

.audience-card h3{
    font-family:var(--sans);
    font-size:22px;
    font-weight:500;
    margin:0 0 12px;
    letter-spacing:-0.02em;
}

.audience-card p{
    margin:0 0 16px;
    color:var(--ink);
    opacity:.78;
    font-size:15px;
    line-height:1.55;
}

.audience-card .num{
    font-family:var(--mono);
    font-size:10.5px;
    letter-spacing:.12em;
    color:var(--muted);
    text-transform:uppercase;
    margin-bottom:18px;
    display:flex;
    justify-content:space-between;
}

@media (max-width:900px){
    .audience-grid{
        grid-template-columns:1fr;
    }
}
/* ===========================
   WORKFLOW STRIP
=========================== */
.flow {
  background: var(--ink);
  color: var(--ivory);
  border-radius: 4px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.flow .step { padding: 0 24px; border-right: 1px solid var(--rule); position: relative; transition: transform var(--dur) var(--ease); }
.flow .step:first-child { padding-left: 0; }
.flow .step:last-child { border-right: none; padding-right: 0; }
.flow .step:hover { transform: translateY(-4px); }
.flow .step .n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--amber); text-transform: uppercase; margin-bottom: 18px; }
.flow .step h4 { font-family: var(--sans); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin: 0 0 10px; }
.flow .step p { font-size: 14px; line-height: 1.5; color: rgba(244,239,230,.72); margin: 0; }

/* ===========================
   QUOTE
=========================== */
.quote-band { padding: 96px 0; background: var(--ivory-2); }
.quote-band .q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -.01em;
  max-width: 1100px;
  margin: 0;
}
.quote-band .q em { font-style: normal; color: var(--teal); }
.quote-band .attribution { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.quote-band .av { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 500; font-size: 14px; }
.quote-band .nm { font-weight: 500; font-size: 15px; }
.quote-band .ti { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

/* ===========================
   COVERAGE MAP
=========================== */
.coverage { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.coverage h3 { font-family: var(--sans); font-weight: 500; font-size: 36px; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 18px; }
.coverage h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.coverage p { font-size: 16px; line-height: 1.55; margin: 0 0 24px; color: var(--ink); opacity: .85; max-width: 480px; }
.cov-list { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }
.cov-list .row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  padding: 11px 0;
  border-top: 1px solid var(--rule-paper);
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.cov-list .row:hover { background: rgba(11,27,43,.03); padding-left: 8px; }
.cov-list .row:last-child { border-bottom: 1px solid var(--rule-paper); }
.cov-list .row .city { color: var(--ink); font-weight: 500; }
.cov-list .row .n { color: var(--ink); font-weight: 500; }
.cov-list .row .pct { color: var(--amber); }
.map-card {
  background: var(--ink);
  border-radius: 4px;
  padding: 32px;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.map-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -20px rgba(11,27,43,.45); }
.map-svg .pin-ring { animation: pin-pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.map-svg .pin { transition: transform var(--dur) var(--ease); }
.map-card:hover .pin { transform: scale(1.2); }
.map-card .mhead { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,239,230,.55); margin-bottom: 8px; }
.map-card .mttl { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -.02em; margin-bottom: 24px; }
.map-svg { width: 100%; height: auto; display: block; }
.map-svg .land { fill: var(--ink-2); stroke: var(--rule); stroke-width: 1; }
.map-svg .land.hot { fill: var(--ink-3); }
.map-svg .pin { fill: var(--amber); }
.map-svg .pin-ring { fill: none; stroke: var(--amber); stroke-width: 1; opacity: .5; }
.map-card .legend { position: absolute; bottom: 24px; left: 32px; right: 32px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: rgba(244,239,230,.55); letter-spacing: .1em; text-transform: uppercase; }
.map-card .legend b { color: var(--amber); }

/* ===========================
   PRICING
=========================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price {
  border: 1px solid var(--rule-paper);
  border-radius: 3px;
  padding: 32px;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: 0 20px 48px -24px rgba(11,27,43,.18); border-color: var(--ink); }
.price.feature:hover { box-shadow: 0 24px 56px -20px rgba(11,27,43,.55); }
.price.feature { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.price .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price.feature .tag { color: var(--amber); }
.price h3 { font-family: var(--sans); font-weight: 500; font-size: 32px; letter-spacing: -.025em; margin: 14px 0 6px; }
.price .desc { font-size: 14px; line-height: 1.5; opacity: .8; margin: 0 0 24px; min-height: 42px; }
.price .num { font-family: var(--sans); font-weight: 500; font-size: 54px; letter-spacing: -.03em; line-height: 1; }
.price .num em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.price .num small { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.price.feature .num small { color: rgba(244,239,230,.55); }
.price ul { list-style: none; padding: 0; margin: 24px 0; flex: 1; font-size: 14px; }
.price ul li { padding: 10px 0; border-top: 1px solid var(--rule-paper); display: flex; gap: 10px; align-items: flex-start; }
.price.feature ul li { border-top-color: var(--rule); }
.price ul li::before { content: "+"; color: var(--amber); font-family: var(--mono); font-weight: 500; flex: none; }
.price .cta { margin-top: 8px; }
.price .cta .btn { width: 100%; justify-content: space-between; padding: 14px 18px; }
.price.feature .btn.amber { background: var(--amber); color: var(--ink); }
.price.feature .btn.outline { border-color: var(--ivory); color: var(--ivory); }

/* ===========================
   FAQ
=========================== */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.faq .left h3 { font-family: var(--sans); font-weight: 500; font-size: 36px; letter-spacing: -.025em; margin: 0 0 12px; line-height: 1.1; }
.faq .left h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.faq .item {
  border-top: 1px solid var(--rule-paper);
  padding: 20px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: flex-start;
  cursor: pointer;
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.faq .item:hover { background: rgba(11,27,43,.025); padding-left: 8px; }
.faq .item.is-open .pl { transform: rotate(45deg); }
.faq .item .a {
  font-size: 14px;
  color: var(--ink);
  opacity: .8;
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), margin-top .3s var(--ease);
}
.faq .item.is-open .a { max-height: 240px; opacity: .8; margin-top: 8px; }
.faq .item .pl { transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.faq .item:hover .pl { color: var(--amber); }
.faq .item:last-child { border-bottom: 1px solid var(--rule-paper); }
.faq .item .n { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.faq .item .q { font-family: var(--sans); font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.faq .item .pl { font-family: var(--serif); font-size: 24px; color: var(--muted); line-height: 1; }

/* ===========================
   CTA BAND
=========================== */
/* ===========================
   CTA BAND
=========================== */
.cta-band {
    background: var(--ink);
    color: var(--ivory);
    padding: 120px 48px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.cta-band .inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}
.cta-band h2 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 96px;
    letter-spacing: -.035em;
    line-height: .96;
    margin: 0;
}
.cta-band h2 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}
.cta-band h2 .a { color: var(--amber); }
.cta-band .right {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(244,239,230,.78);
    max-width: 380px;
}
.cta-band .right .btns { display: flex; gap: 12px; margin-top: 24px; }
.cta-band .ticker-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 10px 48px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: rgba(244,239,230,.55);
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}
.cta-band .ticker-line .live {
    color: var(--amber);
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.btn.cta-outline {
    background: transparent !important;
    border: 1px solid rgba(244,239,230,.4) !important;
    color: var(--ivory) !important;
}
.btn.cta-outline:hover {
    background: var(--amber) !important;
    border-color: var(--amber) !important;
    color: var(--ink) !important;
}

/* ── LEAD FORM ────────────────────────────────────────── */
.lead-form-wrap label {
    display: block;
    margin-bottom: 14px;
    color: var(--ivory);
    font-size: 14px;
}
.lead-form-wrap input,
.lead-form-wrap textarea,
.lead-form-wrap select {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(244,239,230,.25) !important;
    color: var(--ivory) !important;
    padding: 12px 0;
    margin-top: 6px;
    font-size: 15px;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    box-shadow: none !important;
}
.lead-form-wrap input:focus,
.lead-form-wrap textarea:focus {
    border-bottom-color: var(--amber) !important;
}
.lead-form-wrap input::placeholder,
.lead-form-wrap textarea::placeholder {
    color: rgba(244,239,230,.35);
}
.lead-form-wrap input:-webkit-autofill,
.lead-form-wrap input:-webkit-autofill:hover,
.lead-form-wrap input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #0B1B2B inset !important;
    -webkit-text-fill-color: var(--ivory) !important;
}
.lead-form-wrap .wpcf7-submit {
    width: 100%;
    padding: 14px 18px;
    background: transparent !important;
    border: 1px solid rgba(244,239,230,.4) !important;
    color: var(--ivory) !important;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: .04em;
    transition: background .2s, border-color .2s, color .2s;
    border-radius: 0;
    margin-top: 8px;
}
.lead-form-wrap .wpcf7-submit:hover {
    background: var(--amber) !important;
    border-color: var(--amber) !important;
    color: var(--ink) !important;
}
/* ===========================
   FOOTER
=========================== */
footer.site { background: var(--ink); color: var(--ivory); padding: 64px 0 28px; border-top: 1px solid var(--rule); }
footer .ftop { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr ; 
    gap: 32px; 
    padding-bottom: 48px; 
    border-bottom: 1px solid var(--rule); 
}
footer .col h5 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,239,230,.5); font-weight: 500; margin: 0 0 16px; }
footer .col ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 2; }
footer .col ul li { color: rgba(244,239,230,.85); }
footer .col ul li a { transition: color var(--dur) var(--ease); }
footer .col ul li a:hover { color: var(--amber); }
footer .brand-col .brand { font-size: 32px; }
footer .brand-col .brand .dot { width: 10px; height: 10px; transform: translateY(-6px); }
footer .brand-col p { font-size: 14px; line-height: 1.55; color: rgba(244,239,230,.72); max-width: 300px; margin: 18px 0 0; }
footer .fbottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(244,239,230,.5); text-transform: uppercase; }
footer .fbottom .links { display: flex; gap: 24px; }
footer .fbottom .links span { cursor: pointer; transition: color var(--dur) var(--ease); }
footer .fbottom .links span:hover { color: var(--amber); }

.footer-mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 230px;
  line-height: .85;
  letter-spacing: -.05em;
  margin: 48px 0 0;
  color: var(--ink-3);
  display: flex;
  align-items: flex-end;
  gap: .06em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 24px;
}
.footer-mark em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-3); }
.footer-mark .d { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); display: inline-block; margin: 0 12px; transform: translateY(-32px); }

/* Sparkline */
.spark-stroke { stroke: var(--amber); stroke-width: 1.5; fill: none; }
.spark-fill { fill: rgba(232,163,61,.12); }
.grid-line { stroke: var(--rule); stroke-width: 1; }

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===========================
   SCROLL TO TOP
=========================== */
.scroll-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: var(--sans);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  z-index: 999;
  cursor: pointer;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--amber); border-color: var(--amber); }

/* ===========================
   KEYFRAMES
=========================== */
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.85); } }
@keyframes pin-pulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .15; transform: scale(1.35); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pulse .spark-stroke {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 2s var(--ease) .5s forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* ===========================
   REDUCED MOTION
=========================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal, .hero, .ticker .track, .map-svg .pin-ring, .pulse .spark-stroke {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .feat:hover, .price:hover, .terminal:hover, .map-card:hover { transform: none; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (min-width: 993px) {
  nav.top { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
  .nav-bar { width: auto; flex: 0 0 auto; }
  .nav-menu { display: flex; flex: 1; align-items: center; justify-content: space-between; max-height: none !important; opacity: 1 !important; overflow: visible; }
  .nav-toggle { display: none !important; }
}
@media (max-width: 1200px) {
  .hero h1 { font-size: 72px; }
  .s-head h2 { font-size: 48px; }
  .cta-band h2 { font-size: 72px; }
  .footer-mark { font-size: 140px; }
}
@media (max-width: 992px) {
  .wrap { padding: 0 24px; }
  .nav-toggle { display: flex; }
  .nav-menu { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin-top 0.35s var(--ease); margin-top: 0; }
  nav.top.is-open .nav-menu { max-height: 520px; opacity: 1; margin-top: 20px; }
  nav.top ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding-bottom: 16px; border-bottom: 1px solid var(--rule-paper); margin-bottom: 16px; }
  nav.top ul li a { display: block; padding: 10px 0; }
  .nav-actions { flex-direction: column; width: 100%; gap: 10px; }
  .nav-actions .btn { width: 100%; justify-content: center; }
  .hero .eyebrow { flex-wrap: wrap; gap: 10px; }
  .term-head { flex-direction: column; gap: 14px; }
  .term-bar .url { font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
  .term-bar .right span:last-child { display: none; }
  section.s { padding: 72px 0; }
  .hero h1 { font-size: 56px; line-height: 1.05; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-meta .cell { border-right: none; padding: 0; }
  .term-shell { grid-template-columns: 1fr; }
  .term-side, .term-right { border: none; }
  .features { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 24px; }
  .flow .step { border-right: none; padding-right: 0; }
  .coverage { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .cta-band .inner { grid-template-columns: 1fr; }
  footer .ftop { grid-template-columns: 1fr 1fr; }
  .footer-mark { font-size: 90px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .ticker { font-size: 10px; }
  .ticker .track { gap: 32px; }
  .hero { padding-top: 48px; }
  .terminal:hover { transform: none; }
  .map-card { min-height: 360px; padding: 24px 20px; }
  .map-card .legend { flex-direction: column; gap: 8px; left: 20px; right: 20px; bottom: 16px; }
  .coverage h3 { font-size: 28px; }
  .cov-list .row { grid-template-columns: 1fr; gap: 4px; }
  .price .num { font-size: 44px; }
  .flow { padding: 32px 24px; }
  .cta-band .btns { flex-direction: column; width: 100%; }
  .cta-band .btns .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 42px; }
  .hero .sub { font-size: 16px; }
  .hero .cta { flex-direction: column; align-items: flex-start; }
  .hero-meta { grid-template-columns: 1fr; }
  .s-head { grid-template-columns: 1fr; gap: 24px; }
  .s-head h2 { font-size: 38px; }
  .quote-band .q { font-size: 40px; }
  .flow { grid-template-columns: 1fr; }
  .cta-band { padding: 80px 24px; }
  .cta-band h2 { font-size: 48px; }
  footer .ftop { grid-template-columns: 1fr; }
  footer .fbottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-mark { font-size: 56px; flex-wrap: wrap; }
  .scroll-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
@media (max-width: 480px) {
  .brand { font-size: 18px; }
  .hero h1 { font-size: 34px; }
  .hero-meta .v { font-size: 28px; }
  .s-head h2 { font-size: 30px; }
  .quote-band { padding: 64px 0; }
  .quote-band .q { font-size: 30px; }
  .cta-band h2 { font-size: 36px; }
  .cta-band .ticker-line { flex-direction: column; gap: 6px; padding: 10px 16px; font-size: 9px; }
  .feat { padding: 24px 20px; }
  .faq .item { grid-template-columns: auto 1fr; gap: 12px; }
  .faq .item .pl { grid-column: 2; justify-self: end; }
  .price { padding: 24px 20px; }
  table.invs { font-size: 11px; min-width: 560px; }
  table.invs th, table.invs td { padding: 8px 6px; }
}
@media (min-width: 1400px) {
  .wrap { max-width: 1400px; }
  .hero h1 { font-size: 112px; }
}
body{
    outline: 10px solid red !important;
}
