.hex-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 78% 70% at 58% 45%, var(--color-bg) 30%, transparent 100%);
}

.hex-line {
  fill: none;
  stroke: var(--color-grid);
  stroke-width: 1;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -160px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow), transparent 64%);
  pointer-events: none;
}

.kw-gold {
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-deep));
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hero-sub {
  max-width: 520px;
  margin-top: 24px;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-sub strong {
  color: var(--color-text);
  font-weight: 650;
}

.plat-list,
.flag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.plat,
.flag-item {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.plat svg {
  width: 17px;
  height: 17px;
  color: var(--color-text-muted);
}

.flag-item svg {
  flex: none;
  overflow: hidden;
  border-radius: 3px;
}

.flag-red {
  fill: var(--color-flag-red);
}

.flag-blue {
  fill: var(--color-flag-blue);
}

.flag-white {
  fill: var(--color-flag-white);
}

.flag-black {
  fill: var(--color-flag-black);
}

.flag-gold {
  fill: var(--color-flag-gold);
}

.fact-pill {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 14px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: var(--shadow-pill);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 650;
}

.fact-pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--color-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fact-pill--tr {
  top: -24px;
  right: -26px;
}

.fact-pill--bl {
  bottom: -4px;
  left: -30px;
}

.gw-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, var(--color-panel-raised), var(--color-panel));
  box-shadow: var(--shadow-window);
  transform: translateY(-10px);
}

.gw-chrome {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 22px;
  padding-inline: 18px;
  border-bottom: 1px solid var(--color-border-soft);
}

.gw-dots {
  display: flex;
  gap: 7px;
}

.gw-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.gw-dots span:nth-child(1) {
  background: var(--color-error);
}

.gw-dots span:nth-child(2) {
  background: var(--color-warning);
}

.gw-dots span:nth-child(3) {
  background: var(--color-success);
}

.gw-tabs {
  display: flex;
  gap: 4px;
}

.gw-tab {
  padding: 5px 14px;
  border-radius: 8px;
  color: var(--color-text-dim);
  font-size: 13px;
}

.gw-tab.is-on {
  background: var(--color-panel-high);
  color: var(--color-text);
}

.gw-chrome-title {
  margin-left: auto;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.gw-body {
  display: grid;
  grid-template-columns: 212px 1fr;
}

.gw-routes {
  padding: 14px 12px;
  border-right: 1px solid var(--color-border-soft);
  background: var(--color-panel);
}

.gw-routes-head {
  padding: 2px 10px 10px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.route {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.route + .route {
  margin-top: 4px;
}

.route-flag {
  display: flex;
  width: 20px;
  flex: none;
  justify-content: center;
}

.route-flag svg {
  overflow: hidden;
  border-radius: 3px;
}

.route-name {
  flex: 1;
  font-weight: 550;
}

.route-kind {
  padding: 1px 7px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.route.is-live {
  border-color: var(--color-accent);
  background: var(--color-panel-raised);
  color: var(--color-text);
}

.gw-core {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 26px 24px 24px;
}

.gw-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ok-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px var(--color-success-halo);
}

.gw-tile {
  filter: drop-shadow(var(--shadow-tile));
}

.stop-panel-high {
  stop-color: var(--color-panel-high);
}

.stop-panel {
  stop-color: var(--color-panel);
}

.tile-face {
  stroke: var(--color-border-strong);
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.tile-inner {
  fill: none;
  stroke: var(--color-border-strong);
  stroke-dasharray: 3 5;
  stroke-width: 1;
  opacity: 0.7;
}

.tile-hex {
  fill: none;
  stroke: var(--color-text);
  stroke-linejoin: round;
  stroke-width: 1.6;
  opacity: 0.9;
}

.tile-spoke {
  stroke: var(--color-text);
  stroke-width: 1;
  opacity: 0.55;
}

.tile-node,
.tile-core {
  fill: var(--color-text);
}

.tile-core-ring {
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1;
  opacity: 0.4;
}

.gw-switch {
  position: relative;
  width: 66px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-success);
}

.gw-knob {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-text);
}

.gw-hint {
  color: var(--color-text-dim);
  font-size: 12px;
}

.gw-hint b {
  color: var(--color-text-muted);
  font-weight: 650;
}

.gw-foot {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-top: 1px solid var(--color-border-soft);
  color: var(--color-text-muted);
  font-size: 13px;
}

.gw-foot-tag {
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.gw-foot-more {
  margin-left: auto;
  color: var(--color-text-dim);
  font-size: 12px;
}

.feature-section,
.client-section,
.blog-preview {
  border-top: 1px solid var(--color-border-soft);
}

.feature-section,
.blog-preview {
  background:
    linear-gradient(30deg, transparent 48%, var(--color-grid) 49%, var(--color-grid) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, var(--color-grid) 49%, var(--color-grid) 51%, transparent 52%),
    var(--color-panel);
  background-size: 46px 80px;
}

.feature-browser {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 30px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-tab {
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
  color: var(--color-text-muted);
  text-align: left;
}

.feature-tab:hover {
  border-color: var(--color-border-strong);
  background: var(--color-panel-raised);
}

.feature-tab.is-current {
  border-color: var(--color-accent);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-pill);
}

.feature-index {
  display: inline-flex;
  width: 38px;
  height: 42px;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  background: var(--color-panel-high);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.feature-copy {
  display: grid;
  gap: 8px;
}

.feature-copy strong {
  font-size: 18px;
}

.feature-copy > span {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-screen {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-height: 620px;
  padding: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-window);
}

.feature-screen::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow), transparent 68%);
  content: "";
  pointer-events: none;
}

.feature-panel {
  position: relative;
  z-index: 1;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel h3 {
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 38px);
}

.feature-panel > p:not(.screen-label) {
  margin-top: 28px;
  color: var(--color-text-muted);
}

.screen-label {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.screen-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 22px;
  color: var(--color-accent);
  font-weight: 700;
}

.route-diagram {
  display: grid;
  grid-template-columns: auto minmax(30px, 1fr) 80px minmax(30px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 70px;
}

.diagram-node {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  color: var(--color-text-muted);
  font-size: 13px;
}

.diagram-line {
  height: 1px;
  border-top: 1px dashed var(--color-accent);
}

.diagram-gateway {
  display: inline-flex;
  width: 76px;
  height: 84px;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-deep));
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.screen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.privacy-sheet,
.refund-sheet {
  display: grid;
  gap: 12px;
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
}

.privacy-sheet > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-soft);
}

.privacy-sheet > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-sheet span {
  color: var(--color-text-muted);
}

.device-orbit,
.tool-matrix,
.media-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.device-orbit span,
.tool-matrix span,
.media-matrix span {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-panel);
  color: var(--color-text);
  font-weight: 700;
  text-align: center;
}

.device-orbit span:last-child {
  grid-column: 1 / -1;
}

.refund-sheet p {
  color: var(--color-text-muted);
}

.route-preview,
.pricing-preview {
  background: var(--color-bg);
}

.route-guidance,
.plan-explainer,
.delivery-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.route-guidance article,
.plan-explainer article,
.delivery-notes article {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-panel);
}

.route-guidance h3,
.plan-explainer h3,
.delivery-notes h3 {
  font-size: 20px;
}

.route-guidance p,
.plan-explainer p,
.delivery-notes p {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
  margin-top: 30px;
}

.server-status:empty {
  display: none;
}

.srv-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 10px 24px minmax(80px, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-panel);
  color: var(--color-text-muted);
  font-size: 13px;
}

.srv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px var(--color-success-halo);
}

.srv-flag {
  width: 22px;
  height: 16px;
  overflow: hidden;
  border-radius: 3px;
}

.srv-name {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-type {
  padding: 2px 7px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
}

.srv-ms,
.srv-bw {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.section-link-row {
  margin-top: 30px;
  text-align: right;
}

.section-text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--color-accent);
  font-weight: 700;
}

.platform-card p {
  min-height: 96px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.platform-card .btn {
  width: 100%;
}

.delivery-notes {
  margin-top: 34px;
}

.delivery-step {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 3px 11px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.delivery-notes h3 {
  margin-top: 14px;
}

.plan-summary {
  margin-top: 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.traffic-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-panel);
  background: var(--color-panel-raised);
}

.traffic-pack-panel h3 {
  font-size: 26px;
}

.traffic-pack-panel p:not(.section-kicker) {
  margin-top: 12px;
  color: var(--color-text-muted);
}

.traffic-pack-list {
  display: grid;
  gap: 10px;
}

.traffic-pack-list span {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-panel);
  color: var(--color-accent);
  font-family: var(--font-mono);
}

.traffic-pack-list strong {
  font-family: var(--font-display);
}

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

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

.final-cta {
  border-top: 1px solid var(--color-border-soft);
  background: var(--color-bg);
}

@media (max-width: 1180px) {
  .gw-body {
    grid-template-columns: 192px 1fr;
  }

  .route-guidance,
  .delivery-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-glow {
    top: 38%;
    right: -260px;
  }

  .fact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  .fact-pill {
    position: static;
  }

  .gw-window {
    transform: none;
  }

  .feature-browser {
    grid-template-columns: 1fr;
  }

  .feature-screen {
    position: relative;
    top: auto;
    min-width: 0;
    min-height: 520px;
    overflow: hidden;
  }

  .server-status,
  .blog-preview .article-grid,
  .plan-explainer {
    grid-template-columns: 1fr;
  }

  .traffic-pack-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-sub {
    font-size: 15.5px;
  }

  .gw-body {
    grid-template-columns: 1fr;
  }

  .gw-routes {
    border-right: 0;
    border-bottom: 1px solid var(--color-border-soft);
  }

  .gw-chrome-title {
    display: none;
  }

  .feature-screen {
    min-height: 0;
    padding: 24px;
  }

  .route-diagram {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 40px;
  }

  .diagram-line {
    width: 1px;
    height: 28px;
    border-top: 0;
    border-left: 1px dashed var(--color-accent);
  }

  .device-orbit,
  .tool-matrix,
  .media-matrix {
    grid-template-columns: 1fr;
  }

  .device-orbit span:last-child {
    grid-column: auto;
  }

  .srv-row {
    grid-template-columns: 10px 24px minmax(70px, 1fr) auto;
  }

  .srv-ms,
  .srv-bw {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .hero-title .no-break {
    white-space: normal;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .plat-list,
  .flag-list {
    gap: 8px 14px;
  }

  .gw-tabs {
    gap: 0;
  }

  .gw-tab {
    padding-inline: 9px;
  }

  .gw-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .gw-foot-more {
    margin-left: 0;
  }

  .feature-tab {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 15px;
  }

  .feature-index {
    width: 34px;
    height: 38px;
  }

  .feature-copy > span {
    font-size: 13px;
  }

  .privacy-sheet > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .traffic-pack-panel {
    min-width: 0;
    padding: 22px;
  }

  .traffic-pack-list span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .srv-row {
    grid-template-columns: 10px 22px minmax(0, 1fr) auto;
    gap: 8px;
  }
}