:root {
  --bg: #f1f8fe;
  --bg-soft: #fbfdff;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.95);
  --line: rgba(7, 42, 64, 0.1);
  --ink: #072a40;
  --muted: #557285;
  --blue: #239ddd;
  --blue-deep: #072a40;
  --aqua: #64c9ff;
  --shadow: 0 20px 60px rgba(8, 38, 58, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(100, 201, 255, 0.38), transparent 30%),
    radial-gradient(circle at top right, rgba(23, 94, 181, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #edf7ff 46%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.65), transparent 16%),
    repeating-radial-gradient(circle at 84% 12%, rgba(35, 157, 221, 0.06) 0 2px, transparent 2px 34px);
  opacity: 0.7;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(249, 253, 255, 0.82);
  border-bottom: 1px solid rgba(8, 38, 58, 0.06);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 180px;
  height: auto;
}

.brand-copy {
  display: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
  border-radius: 999px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-footer {
  display: none;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-link,
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-link:hover,
.nav-button:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(8, 38, 58, 0.07);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
}

.dropdown a strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.96rem;
}

.dropdown a span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.dropdown a:hover {
  background: linear-gradient(135deg, rgba(135, 220, 255, 0.18), rgba(29, 156, 229, 0.08));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 156, 229, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  box-shadow: 0 0 18px rgba(29, 156, 229, 0.5);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 18px 40px rgba(23, 95, 179, 0.24);
  border: 0px;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(8, 38, 58, 0.09);
  color: var(--ink);
}

.page-hero,
.hero {
  padding: 24px 0 36px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-copy h1,
.page-hero-copy h1 {
  margin: 18px 0 18px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-keyword {
  display: block;
  font-size: 1.4em;
  line-height: 1;
  color: var(--ink);
}

.hero-copy p,
.page-hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.hero-points,
.proof-row,
.page-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-points,
.page-hero-points {
  margin-top: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(29, 156, 229, 0.22);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(29, 156, 229, 0.7);
}

.hero-visual,
.page-hero-visual {
  position: relative;
  padding: 22px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.54));
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hero-visual.info-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(8, 38, 58, 0.14);
}

.hero-visual::before,
.page-hero-visual::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(135, 220, 255, 0.42), transparent 68%);
}

.hero-dashboard {
  position: relative;
  display: grid;
  gap: 18px;
}

.grid-canvas-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#gridCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 28px;
}

.dashboard-image {
  position: relative;
  min-height: 440px;
  border-radius: 28px;
  overflow: hidden;
}

.dashboard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(8, 38, 58, 0.2) 100%),
    radial-gradient(circle at 78% 70%, rgba(100, 201, 255, 0.28), transparent 26%);
}

.floating-card,
.metric-card,
.audience-card,
.pillar-card,
.outcome-card,
.timeline-step,
.stack-layer,
.support-card,
.team-card,
.signal-card,
.scan-card,
.contact-panel,
.info-panel {
  position: relative;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: var(--shadow);
}

.team-headshot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.floating-card {
  position: absolute;
  padding: 16px 18px;
  backdrop-filter: blur(14px);
}

.floating-card strong,
.metric-card strong,
.outcome-card strong,
.signal-card strong,
.scan-card strong,
.team-card strong {
  display: block;
  font-size: 1.6rem;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.04em;
}

.floating-card span,
.metric-card span,
.outcome-card span,
.signal-card span,
.scan-card span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.card-top-left {
  top: 20px;
  left: 20px;
}

.card-bottom-right {
  right: 20px;
  bottom: 22px;
}

.hero-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-flow-step {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(8, 38, 58, 0.08);
}

.hero-flow-step small,
.section-intro small,
.stack-layer small,
.panel-kicker,
.form-note {
  display: block;
  color: var(--blue-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.hero-flow-step h3,
.pillar-card h3,
.audience-card h3,
.stack-layer h3,
.scan-card h3,
.support-card h3,
.team-card h3,
.info-panel h3 {
  margin: 10px 0 10px;
  font-size: 1.05rem;
}

.hero-flow-step p,
.pillar-card p,
.audience-card p,
.timeline-step p,
.stack-layer p,
.support-card p,
.team-card p,
.scan-card p,
.contact-panel p,
.info-panel p,
.page-copy p,
.section-intro p,
.list-check li,
.list-dash li {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 38px 0;
}

section[id] {
  scroll-margin-top: 112px;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 26px;
}

.section-intro h2 {
  margin: 12px 0 12px;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.proof-strip {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.proof-row {
  align-items: stretch;
  justify-content: space-between;
}

.proof-chip {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 38, 58, 0.06);
  box-shadow: 0 12px 28px rgba(8, 38, 58, 0.05);
}

.proof-icon,
.device-dot,
.network-dot {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 156, 229, 0.18), rgba(23, 95, 179, 0.18));
  border: 1px solid rgba(29, 156, 229, 0.18);
}

.proof-icon {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(29, 156, 229, 0.95), rgba(23, 95, 179, 0.95));
  border: 0;
}

.proof-chip strong,
.metric-card h3,
.outcome-card h3 {
  display: block;
  margin-bottom: 2px;
  font-size: 0.98rem;
}

.proof-chip span,
.metric-card p,
.outcome-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar-card,
.audience-card,
.outcome-card,
.support-card,
.team-card,
.info-panel {
  padding: 24px;
}

.loop-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 780px;
  margin: 0 auto;
  border-radius: 34px;
  padding: 44px 32px;
  background:
    radial-gradient(circle at center, rgba(135, 220, 255, 0.2), transparent 24%),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: var(--shadow);
}

.loop-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  background: linear-gradient(180deg, rgba(23, 95, 179, 0.96), rgba(29, 156, 229, 0.92));
  color: #fff;
  box-shadow: 0 24px 60px rgba(23, 95, 179, 0.3);
}

.loop-core strong {
  display: block;
  font-size: 1.6rem;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.loop-core span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  line-height: 1.6;
}

.loop-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 999px;
  border: 2px dashed rgba(23, 95, 179, 0.2);
  animation: spin 24s linear infinite;
}

.loop-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.loop-step {
  position: absolute;
  z-index: 2;
  width: 210px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: 0 16px 40px rgba(8, 38, 58, 0.1);
}

/* Position 5 steps evenly around the ring (clockwise from top) */
.loop-step:nth-child(1) {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.loop-step:nth-child(2) {
  top: 22%;
  right: 2%;
  transform: none;
}

.loop-step:nth-child(3) {
  bottom: 8%;
  right: 6%;
  transform: none;
}

.loop-step:nth-child(4) {
  bottom: 8%;
  left: 6%;
  transform: none;
}

.loop-step:nth-child(5) {
  top: 22%;
  left: 2%;
  transform: none;
}

.loop-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.loop-step .muted {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
}

.metric-card {
  padding: 24px;
  overflow: hidden;
}

.metric-card::after,
.outcome-card::after,
.support-card::after,
.info-panel::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(135, 220, 255, 0.35), transparent 70%);
}

.audience-card ul,
.list-check,
.list-dash {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.list-check li,
.list-dash li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
}

.list-check li::before,
.list-dash li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-form {
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: var(--shadow);
}

/* Honeypot — keep off-screen; bots may still fill the field. */
.contact-form .hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(8, 38, 58, 0.1);
  border-radius: 16px;
  background: rgba(248, 252, 255, 0.92);
  color: var(--ink);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.contact-success {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(35, 157, 221, 0.1);
  color: var(--blue-deep);
  font-weight: 700;
}

.contact-success.contact-success--error {
  background: rgba(197, 48, 48, 0.08);
  color: #9b2c2c;
}

.contact-success[hidden] {
  display: none;
}

.site-footer {
  padding: 30px 0 50px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(8, 38, 58, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  color: var(--blue);
  font-weight: 700;
}

.footer-social a:hover {
  color: var(--ink);
}

.footer-social .muted {
  font-size: 0.85rem;
}

.button-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  font-weight: 600;
}

.button-ghost:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-shell {
  display: grid;
  gap: 20px;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.visual-panel {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: var(--shadow);
}

.map-visual,
.dispatch-visual,
.settlement-visual,
.fleet-visual,
.blueprint-visual,
.phone-visuals,
.scan-grid {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(135, 220, 255, 0.22), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(8, 38, 58, 0.08);
}

.map-visual::before,
.fleet-visual::before,
.scan-grid::before {
  content: "";
  position: absolute;
  inset: 10% 12%;
  background:
    radial-gradient(circle at 15% 35%, rgba(29, 156, 229, 0.18), transparent 16%),
    radial-gradient(circle at 48% 46%, rgba(23, 95, 179, 0.22), transparent 13%),
    radial-gradient(circle at 76% 62%, rgba(29, 156, 229, 0.22), transparent 14%),
    radial-gradient(circle at 58% 20%, rgba(100, 201, 255, 0.24), transparent 10%);
  border-radius: 26px;
}

.map-visual::after,
.fleet-visual::after,
.scan-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 95, 179, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 95, 179, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.network-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  box-shadow: 0 0 0 10px rgba(29, 156, 229, 0.12);
  animation: pulse 2.8s ease-in-out infinite;
}

.dispatch-visual {
  padding: 24px;
}

.dispatch-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(135, 220, 255, 0.4), rgba(23, 95, 179, 0.8));
}

.dispatch-node {
  position: absolute;
  top: 50%;
  width: 78px;
  height: 78px;
  margin-top: -39px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 38, 58, 0.08);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.dispatch-node:nth-of-type(1) { left: 10%; }
.dispatch-node:nth-of-type(2) { left: calc(50% - 39px); }
.dispatch-node:nth-of-type(3) { right: 10%; }

.dispatch-tag {
  position: absolute;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--blue-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settlement-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.incentive-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  border: 2px dashed rgba(23, 95, 179, 0.16);
  animation: spin 18s linear infinite;
}

.incentive-core,
.incentive-pulse,
.incentive-pulse::before,
.incentive-pulse::after {
  position: absolute;
  border-radius: 999px;
}

.incentive-core {
  inset: 50%;
  width: 124px;
  height: 124px;
  margin: -62px 0 0 -62px;
  background: linear-gradient(135deg, #ffffff, #dff4ff);
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 40px rgba(29, 156, 229, 0.18);
}

.incentive-pulse {
  inset: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 98px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
}

.incentive-pulse::before,
.incentive-pulse::after {
  content: "";
  inset: 0;
  background: rgba(29, 156, 229, 0.22);
  animation: ping 2s ease-out infinite;
}

.incentive-pulse::after {
  animation-delay: 700ms;
}

/* ── Fleetview Visual (Awareness) ── */
.fleetview-visual {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(248,252,255,0.98), rgba(236,246,254,0.95));
  border: 1px solid rgba(8,38,58,0.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fv-stats-row {
  display: flex;
  gap: 12px;
}
.fv-stat {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(8,38,58,0.06);
  box-shadow: 0 4px 12px rgba(7,43,79,0.04);
}
.fv-stat-value {
  display: block;
  font-family: 'Space Grotesk', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.fv-stat-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.fv-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fv-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fv-row-label {
  width: 52px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.fv-bar-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(8,38,58,0.06);
  overflow: hidden;
}
.fv-bar {
  height: 100%;
  border-radius: 999px;
  animation: barGrow 1.2s ease-out forwards;
}
@keyframes barGrow { from { width: 0 !important; } }
.fv-row-val {
  width: 48px;
  text-align: right;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.fv-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}
.fv-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50c878;
  box-shadow: 0 0 6px rgba(80,200,120,0.4);
}

/* ── Control Visual ── */
.control-visual {
  position: relative;
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(248,252,255,0.98), rgba(236,246,254,0.95));
  border: 1px solid rgba(8,38,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctrl-signal-hub {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.ctrl-signal-hub span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.ctrl-signal-hub svg circle { stroke: var(--blue); }
.ctrl-signal-hub svg path { stroke: var(--blue-deep); }

.ctrl-beam {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, var(--blue), transparent);
  opacity: 0.25;
  transform-origin: top center;
  animation: beamPulse 2s ease-in-out infinite;
}
.ctrl-beam-1 { transform: translateX(-50%) rotate(-30deg); animation-delay: 0s; }
.ctrl-beam-2 { transform: translateX(-50%) rotate(0deg); animation-delay: 0.3s; }
.ctrl-beam-3 { transform: translateX(-50%) rotate(30deg); animation-delay: 0.6s; }

@keyframes beamPulse {
  0%, 100% { opacity: 0.15; height: 70px; }
  50% { opacity: 0.35; height: 90px; }
}

.ctrl-device {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(8,38,58,0.06);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(7,43,79,0.06);
  z-index: 2;
}
.ctrl-device-1 { bottom: 80px; left: 12%; }
.ctrl-device-2 { bottom: 80px; left: calc(50% - 48px); }
.ctrl-device-3 { bottom: 80px; right: 12%; }

.ctrl-device-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.ctrl-device-status {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 999px;
}
.ctrl-device-status.paused {
  background: rgba(255,180,50,0.12);
  color: #b8800a;
}
.ctrl-device-status.reduced {
  background: rgba(35,157,221,0.1);
  color: var(--blue);
}

.ctrl-load-bar {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ctrl-load-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(8,38,58,0.06);
  overflow: hidden;
}
.ctrl-load-fill {
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
  animation: loadGrow 2.5s ease-out forwards;
}
@keyframes loadGrow {
  from { width: 0%; }
  to { width: 42%; }
}
.ctrl-load-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* ── Demand Response Visual ── */
.dr-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  padding: 28px 20px;
}

.dr-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(8, 38, 58, 0.07);
  box-shadow: 0 6px 20px rgba(8, 38, 58, 0.05);
}

.dr-phase-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 18px;
  border-radius: 10px;
  text-align: center;
  line-height: 1.4;
}

.dr-phase-label small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.75;
  text-transform: none;
  letter-spacing: 0.02em;
}

.dr-label-red { background: #fff5f5; color: #c53030; border: 1px solid rgba(197, 48, 48, 0.18); }
.dr-label-green { background: #f0fff4; color: #276749; border: 1px solid rgba(39, 103, 73, 0.18); }
.dr-label-blue { background: #ebf8ff; color: #2b6cb0; border: 1px solid rgba(43, 108, 176, 0.18); }

/* Chart panels */
.dr-chart-panel {
  width: 100%;
  padding: 12px 10px 8px;
  border-radius: 14px;
  background: #fbfdff;
  border: 1px solid rgba(8, 38, 58, 0.05);
}

.dr-chart-svg {
  display: block;
  width: 100%;
  height: 80px;
}

.dr-chart-label {
  display: block;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.dr-text-red { color: #e53e3e; }
.dr-text-green { color: #38a169; }
.dr-text-blue { color: #3182ce; }

/* Gauge meters */
.dr-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.dr-gauge-svg {
  width: 110px;
  height: auto;
}

.dr-gauge-fill {
  transition: stroke-dashoffset 1.5s ease-out;
}

.dr-gauge-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* Fleet icons row — overlapping */
.dr-fleet {
  width: 100%;
  display: flex;
  justify-content: center;
}

.dr-fleet-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.dr-ev-icon {
  width: 38px;
  height: auto;
  margin-left: -4px;
  filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.15));
  transition: transform 0.2s ease;
}

.dr-ev-icon:first-child {
  margin-left: 0;
}

.dr-ev-icon:hover {
  transform: translateY(-2px);
  z-index: 2;
}

/* Badges */
.dr-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 12px;
  text-align: center;
  width: 100%;
}

.dr-badge-value {
  display: block;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dr-badge span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.dr-badge-red { background: #fff5f5; color: #c53030; border: 1px solid rgba(197, 48, 48, 0.12); }
.dr-badge-green { background: #f0fff4; color: #276749; border: 1px solid rgba(39, 103, 73, 0.12); }
.dr-badge-blue { background: #ebf8ff; color: #2b6cb0; border: 1px solid rgba(43, 108, 176, 0.12); }

/* Flow arrows */
.dr-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 0 8px;
  opacity: 0.3;
}

/* ── Wallet Visual (Settlement) ── */
.wallet-visual {
  position: relative;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(248,252,255,0.98), rgba(236,246,254,0.95));
  border: 1px solid rgba(8,38,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wallet-phone {
  width: 240px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(8,38,58,0.08);
  border-radius: 24px;
  padding: 16px;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(7,43,79,0.08);
}

.wallet-notch {
  width: 80px;
  height: 6px;
  border-radius: 999px;
  background: rgba(8,38,58,0.06);
  margin: 0 auto 14px;
}

.wallet-header {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(8,38,58,0.06);
}
.wallet-greeting {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.wallet-balance-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 2px;
}
.wallet-balance {
  display: block;
  font-family: 'Space Grotesk', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.wallet-txn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-txn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(241,248,254,0.7);
}
.wallet-txn-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.wallet-txn-icon.earned {
  background: rgba(80,200,120,0.12);
  color: #2d9e50;
}
.wallet-txn-info {
  flex: 1;
  min-width: 0;
}
.wallet-txn-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}
.wallet-txn-sub {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
}
.wallet-txn-amount {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.wallet-txn-amount.earned { color: #2d9e50; }

.wallet-cta {
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.wallet-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  border: 1px solid rgba(29,156,229,0.06);
  animation: walletPing 3s ease-out infinite;
}
@keyframes walletPing {
  0% { transform: scale(0.8); opacity: 0.3; }
  100% { transform: scale(1.3); opacity: 0; }
}

.stack-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stack-layer {
  padding: 22px 24px;
}

.stack-layer:first-child {
  grid-column: 1 / -1;
}

.stack-layer.highlight {
  background: linear-gradient(135deg, rgba(29, 156, 229, 0.14), rgba(23, 95, 179, 0.12));
}

.stack-layer ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-layer li {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(8, 38, 58, 0.08);
  font-weight: 700;
  color: var(--muted);
}

/* ── Architecture Diagram ── */
.architecture-diagram {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-layer {
  border-radius: 14px;
  border: 1px solid rgba(8, 38, 58, 0.1);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(7, 43, 79, 0.05);
}

.arch-layer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--ink);
}

.arch-layer-items {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.arch-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(8, 38, 58, 0.08);
  background: #f7fafc;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.arch-item svg { flex-shrink: 0; color: var(--muted); }

/* Core platform */
.arch-layer-core {
  background: linear-gradient(135deg, #edf5ff, #dbeafe);
  border: 2px solid rgba(29, 156, 229, 0.3);
  padding: 18px 20px;
}
.arch-layer-core > .arch-layer-title {
  font-size: 0.95rem;
}

.arch-engine-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.arch-engine-card {
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1px solid rgba(8, 38, 58, 0.08);
  background: rgba(255, 255, 255, 0.95);
}
.arch-engine-card svg { margin-bottom: 6px; }
.arch-engine-card strong {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 3px;
  color: var(--ink);
}
.arch-engine-card span {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}

.arch-ingestion-bar {
  border-radius: 10px;
  border: 1px solid rgba(8, 38, 58, 0.08);
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 14px;
}
.arch-ingestion-bar .arch-layer-title {
  font-size: 0.8rem;
  margin-bottom: 6px;
}

/* Devices bar */
.arch-layer-devices {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  border-color: transparent;
  padding: 10px 18px;
}
.arch-layer-devices .arch-layer-title {
  color: #fff;
  margin-bottom: 0;
}

/* Flow labels */
.arch-flow-labels {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 2px 0;
}
.arch-flow-tag {
  font-size: 0.78rem;
  font-weight: 700;
  font-style: italic;
}
.arch-flow-upstream { color: #2b6cb0; }
.arch-flow-downstream { color: #38a169; }

/* Device cards */
.arch-device-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.arch-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.arch-device svg { color: var(--muted); }
.arch-device span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.architecture-panel {
  display: none;
}

.architecture-panel.is-active {
  display: block;
}

.architecture-panel > p {
  margin-bottom: 20px;
}

.architecture-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.architecture-columns > div,
.architecture-engine-grid section {
  padding: 18px;
  border-radius: 20px;
  background: rgba(246, 250, 254, 0.94);
  border: 1px solid rgba(8, 38, 58, 0.06);
}

.architecture-columns h4,
.architecture-engine-grid h4 {
  margin-bottom: 10px;
}

.architecture-engine-grid {
  display: grid;
  gap: 14px;
}

.architecture-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fleet-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.fleet-visual {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.fleet-panel {
  position: relative;
  z-index: 1;
  margin: 18px 18px 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: var(--shadow);
}

.fleet-bottom {
  position: relative;
  z-index: 1;
  margin: auto 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fleet-stat {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 38, 58, 0.08);
}

.fleet-stat strong {
  display: block;
  font-size: 1.55rem;
}

.scan-grid {
  min-height: 360px;
}

.scan-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(29, 156, 229, 0.1) 45%, rgba(29, 156, 229, 0.25) 50%, rgba(29, 156, 229, 0.1) 55%, transparent 100%);
  animation: sweep 5s ease-in-out infinite;
}

.scan-card {
  position: absolute;
  z-index: 1;
  width: 180px;
  padding: 16px;
  backdrop-filter: blur(12px);
}

.scan-card-status {
  top: 22px;
  right: 18px;
}

.scan-card-scope {
  left: 18px;
  bottom: 22px;
}

.phone-visuals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px;
  align-items: start;
}

.phone-card {
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #eef8ff);
  border: 1px solid rgba(8, 38, 58, 0.08);
  box-shadow: 0 14px 30px rgba(8, 38, 58, 0.08);
}

.phone-card .screen-top {
  width: 52px;
  height: 6px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: rgba(8, 38, 58, 0.12);
}

.phone-card h4 {
  margin: 0 0 10px;
}

.phone-card .mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(29, 156, 229, 0.16);
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-card .mini-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.phone-card .muted {
  flex: 1;
}

.participant-line {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 156, 229, 0.08), rgba(23, 95, 179, 0.06));
  border: 1px solid rgba(29, 156, 229, 0.14);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.5;
}

.page-copy {
  display: grid;
  gap: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(29, 156, 229, 0.22);
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.muted {
  color: var(--muted);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(4.2); opacity: 0; }
}

@keyframes sweep {
  0%, 100% { transform: translateY(-30%); }
  50% { transform: translateY(30%); }
}

/* Platform page: tighter spacing and section separators */
[data-page="platform"] .page-hero {
  padding: 36px 0 24px;
}

[data-page="platform"] .split-panel {
  align-items: start;
  gap: 28px;
}

[data-page="platform"] .section {
  padding: 32px 0;
  border-top: 1px solid rgba(8, 38, 58, 0.06);
}

[data-page="platform"] .section:first-of-type {
  border-top: none;
}

[data-page="platform"] .section-intro {
  margin-bottom: 14px;
}

[data-page="platform"] .list-check {
  margin-top: 8px;
  max-width: 700px;
}

[data-page="platform"] .list-check li {
  margin-top: 6px;
}

@media (max-width: 1080px) {
  body.nav-open {
    overflow: hidden;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-wrap,
  .fleet-shell,
  .split-panel,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2,
  .architecture-notes {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 38, 58, 0.08);
    box-shadow: var(--shadow);
    gap: 8px;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .nav-button {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: block;
    box-shadow: none;
    background: rgba(248, 252, 255, 0.96);
  }

  .header-actions .button-secondary {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .mobile-nav-footer {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(8, 38, 58, 0.08);
  }

  .mobile-nav-footer .button {
    width: 100%;
  }

  .mobile-nav-meta {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 24px);
  }

  .site-nav {
    top: 72px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 88px);
    border-radius: 20px;
  }

  .hero,
  .page-hero {
    padding: 42px 0 22px;
  }

  .dr-visual {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dr-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .dr-arrow svg {
    transform: rotate(90deg);
  }

  .eyebrow {
    max-width: 100%;
    gap: 8px;
    padding: 6px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    white-space: normal;
    line-height: 1.4;
  }

  .button {
    min-height: 50px;
    padding: 13px 18px;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    margin: 14px 0 14px;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    line-height: 1;
  }

  .hero-copy p,
  .page-hero-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .section {
    padding: 28px 0;
  }

  .section-intro {
    margin-bottom: 20px;
  }

  .section-intro h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-actions,
  .hero-points,
  .page-hero-points {
    display: grid;
    gap: 10px;
  }

  .hero-points,
  .page-hero-points {
    margin-top: 18px;
  }

  .hero-actions .button,
  .header-actions .button {
    width: 100%;
  }

  .header-actions {
    display: none;
  }

  .hero-visual,
  .page-hero-visual,
  .visual-panel,
  .contact-panel,
  .contact-form,
  .site-nav {
    padding: 18px;
  }

  .nav-link,
  .nav-button {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .dropdown a {
    padding: 12px;
  }

  .floating-card,
  .metric-card,
  .audience-card,
  .pillar-card,
  .outcome-card,
  .timeline-step,
  .stack-layer,
  .support-card,
  .team-card,
  .signal-card,
  .scan-card,
  .info-panel {
    border-radius: 22px;
  }

  .pillar-card,
  .audience-card,
  .outcome-card,
  .support-card,
  .team-card,
  .stack-layer,
  .info-panel,
  .contact-panel {
    padding: 20px;
  }

  .stack-diagram {
    grid-template-columns: 1fr;
  }

  .stack-layer:first-child {
    grid-column: auto;
  }

  .hero-flow-step,
  .fleet-stat,
  .phone-card {
    padding: 16px;
  }

  .arch-engine-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .arch-flow-labels {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .header-shell {
    padding: 12px 0;
    gap: 12px;
  }

  .brand img {
    width: 138px;
  }

  .dashboard-image {
    min-height: 240px;
    max-width: 100%;
    overflow: hidden;
  }

  .dashboard-image::after,
  .hero-visual::before,
  .page-hero-visual::before,
  .support-card::after,
  .info-panel::after,
  .metric-card::after,
  .outcome-card::after {
    display: none;
  }

  .hero-flow {
    grid-template-columns: 1fr;
  }

  .proof-row,
  .fleet-bottom,
  .form-grid,
  .phone-visuals {
    grid-template-columns: 1fr;
  }

  .proof-row {
    display: grid;
  }

  .proof-chip {
    padding: 16px;
    grid-template-columns: 8px 1fr;
  }

  .tag,
  .status-pill {
    padding-left: 12px;
  }

  .hero-flow-step h3,
  .pillar-card h3,
  .audience-card h3,
  .stack-layer h3,
  .scan-card h3,
  .support-card h3,
  .team-card h3,
  .info-panel h3 {
    font-size: 1.08rem;
  }

  .outcome-card h3,
  .metric-card h3 {
    font-size: 1rem;
  }

  .loop-diagram {
    min-height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    max-width: 100%;
    overflow: hidden;
  }

  .loop-core,
  .loop-ring,
  .loop-step {
    position: static;
    margin: 0;
    width: 100%;
    height: auto;
    transform: none;
  }

  .loop-core {
    order: -1;
    min-height: auto;
    padding: 22px 18px;
    border-radius: 22px;
    width: 100%;
  }

  .loop-core strong {
    font-size: 1.4rem;
  }

  .loop-step {
    min-height: 0;
    padding: 18px;
    width: 100%;
  }

  .loop-step:nth-child(1),
  .loop-step:nth-child(2),
  .loop-step:nth-child(3),
  .loop-step:nth-child(4),
  .loop-step:nth-child(5) {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .loop-ring {
    display: none;
  }

  .floating-card {
    position: static;
    margin-top: 12px;
  }

  .map-visual,
  .dispatch-visual,
  .settlement-visual,
  .fleet-visual,
  .blueprint-visual,
  .phone-visuals,
  .scan-grid {
    min-height: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .fleet-visual {
    min-height: 360px;
  }

  .scan-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  .scan-beam {
    display: none;
  }

  .scan-card {
    position: static;
    width: 100%;
    backdrop-filter: none;
  }

  .dispatch-visual {
    display: grid;
    gap: 14px;
    padding: 18px;
    min-height: 0;
  }

  .dispatch-line {
    position: absolute;
    left: 50%;
    top: 24px;
    bottom: 24px;
    width: 2px;
    transform: translateX(-50%);
  }

  .dispatch-node {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    margin: 0 auto;
    width: min(100%, 220px);
    height: 64px;
    border-radius: 18px;
    z-index: 1;
  }

  .dispatch-node:nth-of-type(1),
  .dispatch-node:nth-of-type(2),
  .dispatch-node:nth-of-type(3) {
    left: auto;
    right: auto;
  }

  .dispatch-tag {
    position: static;
    justify-self: center;
    text-align: center;
  }

  .settlement-visual {
    min-height: 260px;
    max-width: 100%;
    overflow: hidden;
  }

  .incentive-orbit {
    width: 220px;
    height: 220px;
  }

  .incentive-pulse {
    margin-left: 82px;
  }

  .fleet-bottom {
    padding: 18px;
    margin: auto 0 0;
  }

  .fleet-panel {
    margin: 18px;
  }

  .contact-panel,
  .contact-form {
    padding: 20px;
  }

  .contact-wrap {
    gap: 16px;
  }

  .form-grid {
    gap: 12px;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .form-note {
    text-align: center;
  }

  .footer-shell {
    padding: 18px;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }

  .hero-dashboard {
    gap: 14px;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  
  .loop-step:nth-child(1) {
    transform: translateX(-0%);
  }

}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 20px);
  }

  .hero,
  .page-hero {
    padding-top: 34px;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .site-nav,
  .hero-visual,
  .page-hero-visual,
  .visual-panel,
  .contact-panel,
  .contact-form {
    padding: 16px;
  }

  .brand img {
    width: 128px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .proof-chip,
  .pillar-card,
  .audience-card,
  .outcome-card,
  .support-card,
  .team-card,
  .stack-layer,
  .contact-panel,
  .contact-form,
  .info-panel,
  .phone-card {
    padding: 16px;
  }

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

  .incentive-orbit {
    width: 196px;
    height: 196px;
  }

  .incentive-core {
    width: 108px;
    height: 108px;
    margin: -54px 0 0 -54px;
    font-size: 1.45rem;
  }

  .incentive-pulse {
    margin-left: 72px;
  }
}