/* ==========================================================================
   Urban Pulse — shared stylesheet
   Zero external dependencies: no web fonts, no CDN, no remote images.
   ========================================================================== */

:root {
  --bg: #060b12;
  --bg-2: #0a131d;
  --panel: #0d1922;
  --panel-2: #101f2b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --txt: #e9f1f7;
  --muted: #8ea3b4;
  --dim: #64798a;
  --lime: #c6f94b;
  --teal: #2be0b7;
  --cyan: #4cc9f0;
  --violet: #8b7bff;
  --amber: #ffc15e;
  --red: #ff6b7a;
  --green: #52e08a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  --grad: linear-gradient(115deg, var(--lime), var(--teal) 55%, var(--cyan));
  --font: "Inter", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --max: 1220px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.14; letter-spacing: -0.025em; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }
::selection { background: var(--lime); color: #06210f; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--lime); color: #06210f; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--line { border-top: 1px solid var(--line); }
.bg-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(43, 224, 183, 0.12), transparent 70%),
    radial-gradient(45% 45% at 90% 20%, rgba(139, 123, 255, 0.12), transparent 70%);
}
.bg-glow > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; display: block; opacity: 0.8;
}
.h-display { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 680; letter-spacing: -0.04em; }
.h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.h3 { font-size: 1.15rem; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: #c3d2de; max-width: 62ch; }
.muted { color: var(--muted); }
.dim { color: var(--dim); font-size: 0.85rem; }
.mono { font-family: var(--mono); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: rgba(255, 255, 255, 0.05);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--btn-bg); font-weight: 640; font-size: 0.95rem; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.09); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--grad); color: #04210f; border-color: transparent; font-weight: 720;
  box-shadow: 0 12px 30px -12px rgba(198, 249, 75, 0.55);
}
.btn--primary:hover { background: var(--grad); filter: brightness(1.06); box-shadow: 0 16px 36px -12px rgba(43, 224, 183, 0.6); }
.btn--ghost { background: transparent; }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 11, 18, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(6, 11, 18, 0.93); }
.nav__inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 740; letter-spacing: -0.02em; font-size: 1.06rem; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad); color: #04210f; flex: none;
  box-shadow: 0 6px 18px -6px rgba(43, 224, 183, 0.7);
}
.brand__mark svg { width: 17px; height: 17px; }
.brand small { display: block; font-size: 9.5px; letter-spacing: 0.18em; color: var(--dim); font-weight: 600; text-transform: uppercase; line-height: 1.2; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
  padding: 8px 13px; border-radius: 999px; font-size: 0.9rem; font-weight: 550; color: #b9c9d6;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__link[aria-current="page"] { color: #06210f; background: var(--lime); font-weight: 680; }
.nav__cta { margin-left: 10px; }
.nav__toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  cursor: pointer; place-items: center;
}
.nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 1040px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px;
    background: #08121b; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
  .nav__cta { margin: 8px 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 84px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -10% -10% 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 10%, transparent 78%);
  transform: perspective(600px) rotateX(48deg) translateY(-6%);
  transform-origin: top center;
  opacity: 0.55;
}
.hero__aurora {
  position: absolute; inset: -30% -20% auto -20%; height: 780px;
  background:
    radial-gradient(38% 46% at 22% 30%, rgba(43, 224, 183, 0.30), transparent 68%),
    radial-gradient(34% 40% at 72% 18%, rgba(139, 123, 255, 0.26), transparent 68%),
    radial-gradient(30% 34% at 52% 6%, rgba(198, 249, 75, 0.18), transparent 66%);
  filter: blur(22px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 48px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem; color: #c9d8e4; margin-bottom: 22px;
}
.hero__badge b { color: var(--lime); font-weight: 700; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(82, 224, 138, 0.15); flex: none;
  animation: pulse 2.4s infinite;
}
.dot--amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 193, 94, 0.15); }
.dot--red { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 107, 122, 0.15); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 0.84rem; color: var(--dim); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--teal); }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__art svg { width: 100%; max-width: 440px; height: auto; }
.pole-anim .flow { animation: dash 3.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -60; } }
.pole-anim .blink { animation: blink 2.8s ease-in-out infinite; }
.pole-anim .blink:nth-of-type(2) { animation-delay: 0.7s; }
.pole-anim .blink:nth-of-type(3) { animation-delay: 1.4s; }
@keyframes blink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .hero { padding: 60px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__art { order: -1; }
  .hero__art svg { max-width: 300px; }
}

/* ---------- stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: #08121b; padding: 26px 24px; }
.stat__num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 3px; }
.stat__num span { color: var(--lime); }
.stat__label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.card:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.card--flat { background: #08121b; }
.card--flush { padding: 0; overflow: hidden; }
.card__icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(43, 224, 183, 0.1); color: var(--teal); border: 1px solid rgba(43, 224, 183, 0.22);
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--lime { background: rgba(198, 249, 75, 0.1); color: var(--lime); border-color: rgba(198, 249, 75, 0.22); }
.card__icon--violet { background: rgba(139, 123, 255, 0.12); color: var(--violet); border-color: rgba(139, 123, 255, 0.24); }
.card__icon--amber { background: rgba(255, 193, 94, 0.1); color: var(--amber); border-color: rgba(255, 193, 94, 0.24); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }
.card p + p { margin-top: 0.7em; }
.card__tag {
  position: absolute; top: 20px; right: 20px; font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dim); font-weight: 700;
}

/* module catalogue card */
.mod { display: flex; flex-direction: column; }
.mod__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.spec {
  font-size: 0.74rem; padding: 4px 9px; border-radius: 7px;
  background: rgba(255, 255, 255, 0.05); color: #a9bccb; border: 1px solid var(--line);
  font-family: var(--mono);
}
.mod__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.mod > p { margin-bottom: 0; }
.mod .mod__specs { margin-bottom: 18px; }
.mod__price { font-weight: 700; font-size: 0.95rem; }
.mod__price small { color: var(--dim); font-weight: 500; font-size: 0.74rem; display: block; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.step { padding: 0 26px; position: relative; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step__n {
  font-family: var(--mono); font-size: 0.78rem; color: var(--teal); letter-spacing: 0.14em;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.step__n::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 28px; } .step, .step:first-child, .step:last-child { padding: 0; } }

/* ---------- six-step stepper ---------- */
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.stepper__item {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 16px;
  background: rgba(255, 255, 255, 0.03); transition: all 0.2s ease; position: relative; overflow: hidden;
}
.stepper__item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity 0.2s ease;
}
.stepper__item:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); transform: translateY(-3px); }
.stepper__item:hover::after { opacity: 1; }
.stepper__n { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }
.stepper__t { font-weight: 640; font-size: 0.98rem; margin: 6px 0 6px; }
.stepper__d { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 940px) { .stepper { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stepper { grid-template-columns: repeat(2, 1fr); } }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; gap: 34px; } }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.94rem; color: #c6d5e1; }
.checklist svg { width: 19px; height: 19px; color: var(--teal); flex: none; margin-top: 2px; }

.panel-visual {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(43, 224, 183, 0.13), #08121b 62%);
  padding: 26px;
}

/* ---------- ticker ---------- */
.ticker {
  display: flex; align-items: center; gap: 16px; overflow: hidden;
  border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  padding: 12px 0;
}
.ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding-left: 24px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.ticker__track { display: flex; gap: 42px; white-space: nowrap; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-size: 0.86rem; color: #b4c6d4; display: inline-flex; align-items: center; gap: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- map page ---------- */
.map-toolbar { display: grid; gap: 12px; margin-bottom: 18px; }
.map-toolbar__top { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar-label {
  font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim);
  font-weight: 700; min-width: 62px;
}
.filter-inline { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-inline .check {
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.8rem; gap: 7px; background: rgba(255, 255, 255, 0.02);
}
.filter-inline .check:has(input:checked) {
  border-color: rgba(43, 224, 183, 0.45); background: rgba(43, 224, 183, 0.1); color: #d9fbf2;
}
.filter-inline .check input { width: 0; height: 0; opacity: 0; position: absolute; }
.filter-inline .check svg { display: none; }

.map-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 18px;
  align-items: start;
}
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.panel h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 700; }
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px;
  font-size: 0.88rem; color: #bccddb; cursor: pointer; transition: background 0.16s ease; user-select: none;
}
.check:hover { background: rgba(255, 255, 255, 0.05); }
.check input { accent-color: var(--teal); width: 15px; height: 15px; flex: none; cursor: pointer; }
.check svg { width: 16px; height: 16px; color: var(--dim); flex: none; }
.check input:checked ~ svg { color: var(--teal); }

.search-box { position: relative; margin-bottom: 18px; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--dim); }
.search-box input {
  width: 100%; padding: 11px 12px 11px 36px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); font-size: 0.88rem;
}
.search-box input:focus { border-color: var(--teal); outline: none; background: rgba(255, 255, 255, 0.06); }

.map-stage {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(100% 80% at 50% 0%, #0d2130, #071019 70%);
  overflow: hidden;
}
.map-stage__bar {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 5;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.map-svg { width: 100%; height: auto; display: block; }
.map-scroll { overflow: auto; -webkit-overflow-scrolling: touch; }
.map-svg .land { fill: #12293a; stroke: rgba(120, 200, 220, 0.28); stroke-width: 1.2; }
.map-svg .land--alt { fill: #0f2331; }
.map-svg .water { fill: #061019; }
.map-svg .district-label { fill: #7d97a9; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; pointer-events: none; text-anchor: middle; }
.map-svg .grid-line { stroke: rgba(120, 200, 220, 0.09); stroke-width: 0.7; }
.map-pin { cursor: pointer; }
.map-pin circle.core { transition: r 0.16s ease, fill 0.16s ease; }
.map-pin:hover circle.core { r: 8; }
.map-pin.is-active circle.core { stroke: #fff; stroke-width: 2; }
.map-pin.is-dim { opacity: 0.18; pointer-events: none; }
.map-pin text { font-size: 8.6px; fill: #cfe4ef; font-weight: 700; text-anchor: middle; pointer-events: none; }
.map-pin .halo { opacity: 0.22; }

.map-legend { position: absolute; bottom: 14px; left: 14px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; color: #a6bccd; background: rgba(6, 16, 25, 0.75); padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); }
.map-legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }

.pole-card { position: sticky; top: 88px; }
.pole-card__empty { text-align: center; padding: 40px 10px; color: var(--dim); font-size: 0.9rem; }
.pole-card__id { font-family: var(--mono); font-size: 0.76rem; color: var(--teal); letter-spacing: 0.1em; }
.pole-card h2 { font-size: 1.28rem; margin: 6px 0 4px; }
.pole-card__loc { font-size: 0.85rem; color: var(--muted); }
.pole-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 18px 0; }
.pole-card__meta div { background: #0a1620; padding: 11px 13px; }
.pole-card__meta b { display: block; font-size: 0.92rem; }
.pole-card__meta small { color: var(--dim); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; padding: 6px 11px;
  border-radius: 999px; background: rgba(43, 224, 183, 0.1); color: #b6f2e4;
  border: 1px solid rgba(43, 224, 183, 0.25);
}
.chip svg { width: 14px; height: 14px; }
.chip--off { background: rgba(255, 255, 255, 0.04); color: var(--dim); border-color: var(--line); }

.status-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; font-weight: 650;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}
.status-badge--live { background: rgba(82, 224, 138, 0.13); color: #7cf0a8; border: 1px solid rgba(82, 224, 138, 0.3); }
.status-badge--maint { background: rgba(255, 193, 94, 0.13); color: #ffd08a; border: 1px solid rgba(255, 193, 94, 0.3); }
.status-badge--offline { background: rgba(255, 107, 122, 0.13); color: #ff9aa4; border: 1px solid rgba(255, 107, 122, 0.3); }

.results-list { display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.results-list::-webkit-scrollbar { width: 8px; }
.results-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 8px; }
.result-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.result-row:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }
.result-row.is-active { border-color: var(--teal); background: rgba(43, 224, 183, 0.08); }
.result-row__id { font-family: var(--mono); font-size: 0.72rem; color: var(--teal); }
.result-row__name { font-size: 0.86rem; font-weight: 600; }
.result-row__sub { font-size: 0.74rem; color: var(--dim); }

@media (max-width: 1180px) {
  .map-layout { grid-template-columns: 1fr; }
  .pole-card { position: static; }
}
@media (max-width: 860px) {
  .map-stage__bar { position: static; padding: 12px 12px 0; }
  .map-legend { position: static; padding: 12px; }
  .map-svg { min-width: 560px; }
}

/* ---------- alerts ---------- */
.alert-card { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.alert-card--high { border-color: rgba(255, 107, 122, 0.4); background: linear-gradient(180deg, rgba(255, 107, 122, 0.09), var(--panel)); }
.alert-card--mid { border-color: rgba(255, 193, 94, 0.38); background: linear-gradient(180deg, rgba(255, 193, 94, 0.08), var(--panel)); }
.alert-card--info { border-color: rgba(76, 201, 240, 0.32); background: linear-gradient(180deg, rgba(76, 201, 240, 0.07), var(--panel)); }
.alert-card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, 0.06); }
.alert-card__icon svg { width: 23px; height: 23px; }
.alert-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.alert-card p { font-size: 0.88rem; color: var(--muted); margin: 0 0 10px; }
.alert-card__foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.74rem; color: var(--dim); }

.weather-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 30px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(120% 100% at 0% 0%, rgba(255, 193, 94, 0.16), var(--panel) 60%);
}
@media (max-width: 700px) { .weather-hero { grid-template-columns: 1fr; gap: 18px; } }
.weather-hero__temp { font-size: clamp(3rem, 8vw, 4.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.weather-hero__temp span { font-size: 0.35em; vertical-align: super; color: var(--amber); margin-left: 4px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.82rem; font-weight: 620; color: #c3d3e0; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); font-size: 0.92rem; transition: border-color 0.16s ease, background 0.16s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: rgba(255, 255, 255, 0.06);
}
.field input::placeholder, .field textarea::placeholder { color: #5d7182; }
.field small { font-size: 0.75rem; color: var(--dim); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__err { font-size: 0.76rem; color: #ff9aa4; display: none; }
.field.has-error .field__err { display: block; }

.upload {
  border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 22px; text-align: center;
  cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease; color: var(--muted); font-size: 0.86rem;
}
.upload:hover { border-color: var(--teal); background: rgba(43, 224, 183, 0.05); }
.upload svg { width: 24px; height: 24px; margin: 0 auto 8px; color: var(--teal); }
.upload__preview { display: none; margin-top: 12px; }
.upload__preview img { max-height: 160px; border-radius: 8px; margin: 0 auto; }
.upload.has-file { border-style: solid; border-color: rgba(43, 224, 183, 0.4); background: rgba(43, 224, 183, 0.05); }
.upload.has-file .upload__preview { display: block; }
.upload.has-file > svg, .upload.has-file > span { display: none; }

.ticket {
  border-radius: var(--radius); border: 1px solid rgba(43, 224, 183, 0.35); padding: 26px;
  background: linear-gradient(180deg, rgba(43, 224, 183, 0.1), var(--panel));
}
.ticket__ref { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.06em; color: var(--lime); }
.ticket__rows { display: grid; gap: 8px; margin-top: 16px; font-size: 0.88rem; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.ticket__rows span:first-child { color: var(--dim); }

/* ---------- vote ---------- */
.vote-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .vote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vote-grid { grid-template-columns: 1fr; } }
.vote-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative; text-align: left; padding: 0;
}
.vote-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.vote-card.is-selected { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime) inset; }
.vote-card__art { height: 200px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.vote-card__art svg { height: 188px; width: auto; max-width: 100%; }
.vote-card__body { padding: 16px 18px 18px; }
.vote-card__body h3 { font-size: 1rem; margin-bottom: 4px; }
.vote-card__body p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.vote-check {
  position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4); display: grid; place-items: center;
  background: rgba(6, 11, 18, 0.6); opacity: 0; transition: opacity 0.16s ease;
}
.vote-card.is-selected .vote-check { opacity: 1; background: var(--lime); border-color: var(--lime); color: #06210f; }
.vote-check svg { width: 14px; height: 14px; }

.bar-row { margin-bottom: 18px; }
.bar-row__head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.87rem; margin-bottom: 7px; }
.bar-row__head b { font-weight: 620; }
.bar-row__head span { color: var(--dim); font-family: var(--mono); font-size: 0.8rem; }
.bar { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--grad); width: 0; transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ---------- builder / configure ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 26px; align-items: start; }
@media (max-width: 940px) { .builder { grid-template-columns: 1fr; } }
.pick-list { display: grid; gap: 10px; }
.pick {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); cursor: pointer;
  transition: all 0.16s ease; text-align: left; width: 100%;
}
.pick:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.055); }
.pick.is-on { border-color: var(--teal); background: rgba(43, 224, 183, 0.09); }
.pick__box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, 0.32);
  display: grid; place-items: center; flex: none; color: transparent;
}
.pick.is-on .pick__box { background: var(--teal); border-color: var(--teal); color: #04211a; }
.pick__box svg { width: 13px; height: 13px; }
.pick__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--teal); flex: none; }
.pick__icon svg { width: 19px; height: 19px; }
.pick__text { flex: 1; min-width: 0; }
.pick__text b { display: block; font-size: 0.92rem; font-weight: 620; }
.pick__text small { color: var(--dim); font-size: 0.76rem; }
.pick__cost { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

.summary { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 24px; }
.summary__big { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.04em; }
.summary__rows { display: grid; gap: 9px; margin: 18px 0; }
.summary__rows div { display: flex; justify-content: space-between; font-size: 0.87rem; padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.summary__rows span:first-child { color: var(--muted); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.preset {
  font-size: 0.78rem; padding: 7px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #b7c8d6;
}
.preset:hover { border-color: var(--teal); color: #fff; }
.preset.is-on { background: var(--lime); color: #06210f; border-color: var(--lime); font-weight: 650; }

/* ---------- swot ---------- */
.swot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .swot { grid-template-columns: 1fr; } }
.swot__cell { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--panel); position: relative; overflow: hidden; }
.swot__cell::before { content: attr(data-k); position: absolute; right: 14px; top: 6px; font-size: 3.4rem; font-weight: 800; color: rgba(255, 255, 255, 0.045); letter-spacing: -0.05em; }
.swot__cell h3 { display: flex; align-items: center; gap: 9px; font-size: 1.02rem; margin-bottom: 14px; }
.swot__cell h3 i { width: 9px; height: 9px; border-radius: 3px; display: block; }
.swot__cell ul { margin: 0; padding-left: 18px; font-size: 0.88rem; color: #b9cad8; }
.swot__cell li { margin-bottom: 8px; }
.swot__cell--s { border-color: rgba(82, 224, 138, 0.3); }
.swot__cell--w { border-color: rgba(255, 193, 94, 0.3); }
.swot__cell--o { border-color: rgba(76, 201, 240, 0.3); }
.swot__cell--t { border-color: rgba(255, 107, 122, 0.3); }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--teal), transparent); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: #08121b; border: 2px solid var(--teal);
}
.timeline__item h3 { font-size: 1rem; margin-bottom: 6px; }
.timeline__item p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.timeline__when { font-family: var(--mono); font-size: 0.72rem; color: var(--lime); letter-spacing: 0.1em; }

/* ---------- story steps ---------- */
.story-step {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 26px;
  padding: 34px 0; border-top: 1px solid var(--line);
}
.story-step:first-child { border-top: none; padding-top: 0; }
.story-step:last-child { padding-bottom: 0; }
.story-step__index { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.story-step__n { font-family: var(--mono); font-size: 0.82rem; color: var(--teal); letter-spacing: 0.1em; }
.story-step__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(43, 224, 183, 0.09); border: 1px solid rgba(43, 224, 183, 0.22); color: var(--teal);
}
.story-step__icon svg { width: 22px; height: 22px; }
.story-step__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.story-step__lead { font-size: 1.05rem; color: #d3e2ec; font-weight: 550; margin-bottom: 12px; }
.story-step__body p { color: var(--muted); font-size: 0.96rem; max-width: 76ch; }
.story-step__take {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  padding: 8px 15px; border-radius: 999px; font-size: 0.85rem; color: #dcffc7;
  background: rgba(198, 249, 75, 0.09); border: 1px solid rgba(198, 249, 75, 0.28);
}
.story-step__take span {
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); font-weight: 700;
}
@media (max-width: 720px) {
  .story-step { grid-template-columns: 1fr; gap: 14px; }
  .story-step__index { flex-direction: row; align-items: center; }
}

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
.member {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.member__av {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, rgba(43, 224, 183, 0.22), rgba(139, 123, 255, 0.22));
  border: 1px solid var(--line-strong); font-weight: 700; font-size: 0.9rem; color: #dff8f2;
}
.member b { display: block; font-size: 0.9rem; font-weight: 620; }
.member small { color: var(--dim); font-family: var(--mono); font-size: 0.72rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: #050a10; padding: 56px 0 28px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 42px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; font-size: 0.87rem; }
.footer a { color: #a9bcca; transition: color 0.16s ease; }
.footer a:hover { color: var(--lime); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.78rem; color: var(--dim);
}
.footer__brand p { font-size: 0.86rem; color: var(--muted); max-width: 34ch; margin-top: 12px; }

/* ---------- misc ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px);
  background: #0f2430; border: 1px solid rgba(43, 224, 183, 0.4); color: #dff8f2;
  padding: 12px 20px; border-radius: 12px; font-size: 0.88rem; z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.note {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 0.83rem;
  background: rgba(76, 201, 240, 0.07); border: 1px solid rgba(76, 201, 240, 0.22); color: #b8dbea;
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--cyan); }
.note--amber { background: rgba(255, 193, 94, 0.07); border-color: rgba(255, 193, 94, 0.24); color: #f0d6ae; }
.note--amber svg { color: var(--amber); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 0.87rem; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; }

.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -10%; top: -60%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 224, 183, 0.14), transparent 62%); pointer-events: none;
}
.page-head__crumbs { font-size: 0.78rem; color: var(--dim); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
.page-head__crumbs a:hover { color: var(--teal); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 14px; }
.page-head .lead { margin-bottom: 0; }

.cta-band {
  border-radius: 24px; padding: 54px 44px; border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 8% 10%, rgba(43, 224, 183, 0.18), transparent 60%),
    radial-gradient(70% 100% at 92% 90%, rgba(139, 123, 255, 0.18), transparent 60%),
    #08121b;
  display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center;
}
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }

.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); font-weight: 700; }
.table tr:last-child td { border-bottom: none; }
.table td.num { font-family: var(--mono); }

.scroll-x { overflow-x: auto; }

.badge-soon { font-size: 0.66rem; padding: 3px 8px; border-radius: 6px; background: rgba(139, 123, 255, 0.16); color: #c3b9ff; border: 1px solid rgba(139, 123, 255, 0.3); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; }
.badge-ok {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.66rem; padding: 3px 8px;
  border-radius: 6px; background: rgba(82, 224, 138, 0.13); color: #a9f7c4;
  border: 1px solid rgba(82, 224, 138, 0.3); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.no-anim .reveal, .no-anim .reveal.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .ticker__track, .no-anim .hero__aurora, .no-anim .pole-anim .flow { animation: none !important; }

@media print {
  body { background: #fff; color: #000; }
  .nav, .footer, .btn, .hero__bg, .hero__art, .ticker { display: none !important; }
  .card, .panel, .map-stage { border-color: #ccc; background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
