:root {
  --bg: #0b0a09;
  --bg-soft: #12100e;
  --card: #141210;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f1ea;
  --muted: #a9a196;
  --accent: #ff5a1f;
  --accent-2: #ffb169;
  --amber: #ffc53d;
  --green: #8fbf7f;
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 90, 31, 0.35);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

section {
  scroll-margin-top: 96px;
}

.section {
  padding: 120px 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.grad {
  font-style: normal;
  background: linear-gradient(94deg, var(--accent-2) 0%, var(--accent) 55%, #e63e00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), background 0.35s var(--ease), filter 0.2s ease;
  will-change: transform;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: #160b05;
  box-shadow: 0 8px 30px -10px rgba(255, 90, 31, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 38px -10px rgba(255, 90, 31, 0.65);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.02rem;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(11, 10, 9, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(255, 90, 31, 0.22), rgba(255, 90, 31, 0.06));
  border: 1px solid rgba(255, 90, 31, 0.35);
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  overflow: hidden;
}

#embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(255, 90, 31, 0.16), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 90px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(255, 90, 31, 0.3);
  background: rgba(255, 90, 31, 0.07);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.live-badge.sm {
  margin-bottom: 0;
  padding: 6px 12px;
  font-size: 0.68rem;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 90, 31, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0);
  }
}

.hero-copy .lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.integrate {
  margin-top: 56px;
}

.integrate-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(169, 161, 150, 0.7);
  margin-bottom: 14px;
}

.integrate-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.integrate-chips span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 16px;
  border-radius: 999px;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}

.integrate-chips span:hover {
  border-color: rgba(255, 90, 31, 0.45);
  color: var(--text);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  height: 560px;
}

.hv-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  will-change: transform;
}

.hv-photo {
  top: 0;
  right: 30px;
  width: min(330px, 78%);
  overflow: hidden;
  animation: float-a 7s ease-in-out infinite;
}

.hv-photo img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hv-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(11, 10, 9, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cap-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.cap-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted);
}

.cap-sub .dot-live {
  width: 6px;
  height: 6px;
}

.hv-status {
  bottom: 0;
  left: 0;
  width: min(300px, 70%);
  padding: 24px;
  animation: float-b 8s ease-in-out infinite;
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0) rotate(1.5deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(10px) rotate(-1deg);
  }
}

.hv-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
}

.pill {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 999px;
}

.pill-warn {
  color: var(--amber);
  border: 1px solid rgba(255, 197, 61, 0.4);
  background: rgba(255, 197, 61, 0.09);
}

.meter-list {
  list-style: none;
  display: grid;
  gap: 15px;
}

.meter-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 7px;
}

.meter-top strong {
  color: var(--text);
  font-weight: 600;
}

.meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 1.4s var(--ease);
}

.meter-mid i {
  background: linear-gradient(90deg, var(--amber), #ff9d2e);
}

.meter-low i {
  background: linear-gradient(90deg, #a8c98f, var(--green));
}

.in-view .meter i {
  width: var(--w);
}

.hv-note {
  margin-top: 20px;
  font-size: 0.72rem;
  color: rgba(169, 161, 150, 0.75);
  line-height: 1.45;
}

.ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(18, 16, 14, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  padding: 15px 0;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: inline-flex;
  align-items: center;
}

.ticker-group span {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-group i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  margin: 0 34px;
  flex-shrink: 0;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.stats {
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 64px 0;
}

.stat {
  padding: 0 36px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-num small {
  font-size: 0.42em;
  font-weight: 500;
  color: var(--muted);
}

.stat-label {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--muted);
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-sub {
  color: var(--muted);
  margin-top: 20px;
  font-size: 1.02rem;
  max-width: 580px;
}

.map-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--muted);
}

.map-status.warn {
  color: var(--amber);
}

.map-status .dot-live {
  animation-duration: 3s;
}

.retry-btn {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(255, 197, 61, 0.08);
  border: 1px solid rgba(255, 197, 61, 0.35);
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.retry-btn:hover {
  background: rgba(255, 197, 61, 0.16);
  transform: translateY(-1px);
}

.firms-btn {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(255, 90, 31, 0.08);
  border: 1px solid rgba(255, 90, 31, 0.35);
  padding: 5px 14px;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.firms-btn:hover {
  background: rgba(255, 90, 31, 0.18);
  transform: translateY(-1px);
}

.map-section {
  padding-top: 120px;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: stretch;
}

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  height: 560px;
}

#map {
  width: 100%;
  height: 100%;
  background: #0d0c0b;
}

.map-hint {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  font-size: 0.74rem;
  color: var(--muted);
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.map-hint.hidden {
  opacity: 0;
}

.legend {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 900;
  display: flex;
  gap: 18px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
  pointer-events: none;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lg {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.lg-high {
  background: #ff4d2e;
  box-shadow: 0 0 8px rgba(255, 77, 46, 0.8);
}

.lg-nominal {
  background: #ff8a00;
  box-shadow: 0 0 8px rgba(255, 138, 0, 0.7);
}

.lg-low {
  background: #ffd23f;
  box-shadow: 0 0 8px rgba(255, 210, 63, 0.6);
}

.filters {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 900;
  display: flex;
  gap: 6px;
}

.chip {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.chip.active {
  color: #160b05;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.hotspot-marker {
  position: relative;
  width: 100%;
  height: 100%;
}

.hotspot-marker .dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.hotspot-marker .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ping 2.4s var(--ease) infinite;
}

.hm-high .dot {
  background: #ff4d2e;
}
.hm-high .ring {
  background: rgba(255, 77, 46, 0.5);
}
.hm-nominal .dot {
  background: #ff8a00;
}
.hm-nominal .ring {
  background: rgba(255, 138, 0, 0.45);
  animation-delay: 0.8s;
}
.hm-low .dot {
  background: #ffd23f;
}
.hm-low .ring {
  background: rgba(255, 210, 63, 0.4);
  animation-delay: 1.6s;
}

@keyframes ping {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  80%,
  100% {
    transform: translate(-50%, -50%) scale(3.6);
    opacity: 0;
  }
}

.leaflet-container {
  font-family: var(--font-body);
  background: #0d0c0b;
}

.leaflet-bar,
.leaflet-control-layers {
  border: 1px solid var(--line-strong) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7) !important;
}

.leaflet-bar a,
.leaflet-control-layers-toggle {
  background: #171512 !important;
  color: var(--text) !important;
  border-bottom-color: var(--line) !important;
}

.leaflet-bar a:hover {
  background: #221f1b !important;
}

.leaflet-control-layers-expanded {
  background: #171512;
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.8rem;
}

.leaflet-control-layers-separator {
  border-top-color: var(--line) !important;
}

.leaflet-control-layers label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 4px 0;
}

.leaflet-popup-content-wrapper {
  background: #171512;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8);
}

.leaflet-popup-tip {
  background: #171512;
  border: 1px solid var(--line-strong);
}

.leaflet-popup-content {
  margin: 16px 18px;
  line-height: 1.5;
}

.leaflet-popup-close-button {
  color: var(--muted) !important;
  padding: 8px 8px 0 0 !important;
}

.pop-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.pop-title .lg {
  width: 8px;
  height: 8px;
}

.pop-row {
  font-size: 0.8rem;
  color: var(--muted);
}

.pop-row b {
  color: var(--text);
  font-weight: 500;
}

.feed {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 26px;
  max-height: 560px;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feed-head h3 {
  font-size: 1.05rem;
}

.feed ul {
  list-style: none;
  display: grid;
  gap: 10px;
  overflow: hidden;
  flex: 1;
}

.feed-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  animation: feed-in 0.5s var(--ease);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.feed-item:hover {
  border-color: var(--line-strong);
}

.feed-item.leaving {
  opacity: 0;
  transform: translateY(6px);
}

@keyframes feed-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.fi-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.86rem;
}

.fi-time {
  font-size: 0.7rem;
  color: rgba(169, 161, 150, 0.75);
  white-space: nowrap;
}

.fi-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 5px;
}

.fi-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.feed-foot {
  margin-top: 18px;
  font-size: 0.72rem;
  color: rgba(169, 161, 150, 0.7);
  line-height: 1.5;
}

.feed-foot code {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

.features {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, 0.35);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 90, 31, 0.09),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card-index {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.08em;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(255, 90, 31, 0.18), rgba(255, 90, 31, 0.04));
  border: 1px solid rgba(255, 90, 31, 0.3);
  color: var(--accent-2);
  margin-bottom: 24px;
  transition: transform 0.45s var(--ease);
}

.card:hover .icon-badge {
  transform: scale(1.08) rotate(-4deg);
}

.icon-badge svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 54px;
  height: 1px;
  background: var(--accent);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 177, 105, 0.5);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 0.93rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(0.88);
  transition: filter 0.6s ease, transform 0.6s var(--ease);
}

.about-media:hover img {
  filter: saturate(1.05);
  transform: scale(1.015);
}

.about-float {
  position: absolute;
  right: -22px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 26px;
  border-radius: var(--radius-sm);
  background: rgba(11, 10, 9, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.af-big {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}

.af-small {
  font-size: 0.76rem;
  color: var(--muted);
}

.about-copy h2 {
  margin-bottom: 22px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 520px;
}

.about-points {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.94rem;
  font-weight: 500;
}

.about-points svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.cta {
  position: relative;
  padding: 170px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  filter: saturate(0.4) brightness(0.32) sepia(0.25) hue-rotate(-15deg);
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(255, 90, 31, 0.18), transparent 55%),
    linear-gradient(rgba(11, 10, 9, 0.55), rgba(11, 10, 9, 0.86));
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 20px;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 44px;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.8fr);
  gap: 48px;
  padding: 72px 0 56px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(169, 161, 150, 0.8);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: rgba(169, 161, 150, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal[data-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal.done {
  transition: none;
}

.reveal.in-view[data-stagger] > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal[data-stagger] > * {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }

  .in-view .meter i {
    width: var(--w);
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 70px;
    padding-bottom: 70px;
  }

  .hero {
    padding-top: 120px;
    min-height: 0;
  }

  .hero-visual {
    height: 520px;
    max-width: 560px;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .feed {
    max-height: 420px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
    padding: 52px 0;
  }

  .stat:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .stat {
    padding-right: 12px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .map-wrap {
    height: 440px;
  }

  .filters {
    top: 10px;
    left: 10px;
    flex-wrap: wrap;
    max-width: calc(100% - 20px);
  }

  .legend {
    left: 10px;
    bottom: 10px;
    gap: 12px;
    padding: 9px 12px;
  }

  .hero-actions .btn {
    padding: 14px 24px;
  }

  .hv-photo {
    right: 0;
  }

  .hv-status {
    left: 0;
  }

  .about-float {
    right: 12px;
  }

  .cta {
    padding: 120px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    height: 460px;
  }

  .hv-status {
    width: 78%;
    padding: 20px;
  }

  .integrate-chips {
    gap: 8px;
  }
}
