:root {
  --ink: #071412;
  --ink-soft: #10211e;
  --paper: #f3f7ec;
  --paper-muted: #dfe8d8;
  --acid: #cbff3d;
  --mint: #72e6c0;
  --line-dark: rgba(243, 247, 236, 0.18);
  --line-light: rgba(7, 20, 18, 0.18);
  --display: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
  --shell: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.site-header {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand > span:last-child > span {
  color: var(--acid);
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 7px 6px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.brand-mark span {
  width: 3px;
  background: var(--acid);
  border-radius: 2px;
}

.brand-mark span:nth-child(1) { height: 5px; }
.brand-mark span:nth-child(2) { height: 9px; }
.brand-mark span:nth-child(3) { height: 14px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(243, 247, 236, 0.7);
  font-size: 14px;
}

.main-nav a,
.header-link {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible {
  color: var(--acid);
}

.header-link {
  justify-self: end;
  font-size: 14px;
  font-weight: 700;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
}

.hero {
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  padding-block: clamp(70px, 10vw, 132px);
}

.hero-copy,
.signal-panel {
  min-width: 0;
}

.mobile-break {
  display: none;
}

.eyebrow,
.section-index,
.card-tag,
.result-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(114, 230, 192, 0.12);
}

.hero h1,
.section-heading h2,
.selector-intro h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.91;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin-top: 25px;
  font-size: clamp(58px, 8.6vw, 126px);
}

.hero h1 em {
  color: var(--acid);
  font-style: normal;
}

.hero-text {
  max-width: 570px;
  margin: 34px 0 0;
  color: rgba(243, 247, 236, 0.7);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 2px;
}

.button-primary {
  color: var(--ink);
  background: var(--acid);
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #deff78;
  transform: translateY(-2px);
}

.hero-actions p {
  margin: 0;
  color: rgba(243, 247, 236, 0.48);
  font-size: 13px;
}

.hero-actions strong {
  color: var(--paper);
  font-size: 15px;
}

.signal-panel {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(rgba(203, 255, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 255, 61, 0.035) 1px, transparent 1px),
    var(--ink-soft);
  background-size: 28px 28px;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(243, 247, 236, 0.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.live-status {
  color: var(--acid);
}

.live-status i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 6px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(203, 255, 61, 0.1);
  animation: pulse 2.2s ease-in-out infinite;
}

.network-map {
  position: relative;
  flex: 1;
  min-height: 430px;
}

.coverage-ring,
.router-node,
.device-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.coverage-ring {
  border: 1px solid rgba(203, 255, 61, 0.17);
  border-radius: 50%;
}

.ring-one { width: 150px; height: 150px; }
.ring-two { width: 275px; height: 275px; }
.ring-three { width: 400px; height: 400px; }

.router-node {
  z-index: 2;
  width: 106px;
  height: 106px;
  display: grid;
  place-content: center;
  gap: 7px;
  text-align: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(203, 255, 61, 0.16);
}

.router-signal {
  display: block;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.17em;
  transform: rotate(-90deg);
}

.router-node strong {
  font-size: 13px;
}

.device-node {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: var(--ink-soft);
  border: 1px solid rgba(114, 230, 192, 0.55);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.device-one { transform: translate(115px, -115px); }
.device-two { transform: translate(-190px, 48px); }
.device-three { transform: translate(105px, 90px); }

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}

.panel-metrics div {
  padding: 19px 17px;
}

.panel-metrics div + div {
  border-left: 1px solid var(--line-dark);
}

.panel-metrics span,
.panel-metrics strong {
  display: block;
}

.panel-metrics span {
  margin-bottom: 5px;
  color: rgba(243, 247, 236, 0.43);
  font-size: 11px;
}

.panel-metrics strong {
  font-size: 13px;
}

.types {
  padding-block: clamp(100px, 13vw, 180px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.1fr 0.7fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 70px;
}

.section-index {
  align-self: start;
  color: var(--mint);
}

.section-heading h2,
.selector-intro h2,
.closing h2 {
  font-size: clamp(44px, 6.5vw, 86px);
}

.section-heading > p:last-child,
.selector-intro > p:last-child {
  margin: 0;
  color: rgba(243, 247, 236, 0.56);
  line-height: 1.7;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.type-card {
  position: relative;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 220ms ease, color 220ms ease;
}

.type-card:hover {
  background: rgba(243, 247, 236, 0.045);
}

.type-card-featured {
  color: var(--ink);
  background: var(--acid);
}

.type-card-featured:hover {
  background: #d7ff67;
}

.card-number {
  color: rgba(243, 247, 236, 0.42);
  font-size: 12px;
  font-weight: 800;
}

.type-card-featured .card-number {
  color: rgba(7, 20, 18, 0.5);
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 52px 0 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 27px;
}

.card-tag {
  color: var(--mint);
}

.type-card-featured .card-tag {
  color: rgba(7, 20, 18, 0.65);
}

.type-card h3 {
  max-width: 530px;
  margin: 10px 0 18px;
  font-family: var(--display);
  font-size: clamp(30px, 3.1vw, 45px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.type-card > p:not(.card-tag) {
  max-width: 520px;
  margin: 0;
  color: rgba(243, 247, 236, 0.58);
  line-height: 1.7;
}

.type-card-featured > p:not(.card-tag) {
  color: rgba(7, 20, 18, 0.68);
}

.type-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid currentColor;
  list-style: none;
  font-size: 14px;
}

.type-card li::before {
  content: "+";
  margin-right: 10px;
  color: var(--mint);
  font-weight: 800;
}

.type-card-featured li::before {
  color: var(--ink);
}

.selector {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 8vw, 130px);
  padding-block: clamp(100px, 13vw, 180px);
  border-top: 1px solid var(--line-dark);
}

.selector-intro h2 {
  margin: 24px 0 30px;
}

.selector-intro > p:last-child {
  max-width: 410px;
}

.selector-tool {
  align-self: center;
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-dark);
}

.scenario-tabs button {
  position: relative;
  padding: 17px 8px;
  color: rgba(243, 247, 236, 0.48);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.scenario-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--acid);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.scenario-tabs button[aria-selected="true"] {
  color: var(--paper);
}

.scenario-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.scenario-tabs button:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -4px;
}

.scenario-result {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 62px);
  color: var(--ink);
  background: var(--paper);
}

.result-label {
  color: #577168;
}

.result-main h3 {
  max-width: 650px;
  margin: 16px 0 22px;
  font-family: var(--display);
  font-size: clamp(35px, 4.3vw, 59px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.result-main > p {
  max-width: 590px;
  margin: 0;
  color: #48605a;
  line-height: 1.7;
}

.result-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
  border-top: 1px solid var(--line-light);
}

.result-specs div {
  padding-top: 17px;
}

.result-specs span,
.result-specs strong {
  display: block;
}

.result-specs span {
  margin-bottom: 4px;
  color: #6d7f79;
  font-size: 12px;
}

.result-specs strong {
  font-size: 14px;
}

.result-main,
.result-specs {
  animation: contentIn 320ms ease both;
}

.guide {
  padding-block: clamp(100px, 13vw, 180px);
}

.guide .section-heading {
  grid-template-columns: 0.55fr 1.8fr;
}

.guide-list {
  border-top: 1px solid var(--line-dark);
}

.guide-row {
  display: grid;
  grid-template-columns: 0.3fr 0.9fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.guide-row > span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.guide-row h3,
.guide-row p {
  margin: 0;
}

.guide-row h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 35px);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.guide-row p {
  max-width: 600px;
  color: rgba(243, 247, 236, 0.56);
  line-height: 1.7;
}

.closing {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-block: clamp(90px, 12vw, 160px);
  border-top: 1px solid var(--line-dark);
}

.closing h2 {
  margin-top: 27px;
  color: var(--acid);
}

.round-link {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-size: 25px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.round-link:hover,
.round-link:focus-visible {
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-4px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 38px;
  align-items: center;
  padding-block: 35px;
  border-top: 1px solid var(--line-dark);
  color: rgba(243, 247, 236, 0.42);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--paper);
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 0 4px rgba(203, 255, 61, 0.08); }
  50% { opacity: 1; box-shadow: 0 0 0 8px rgba(203, 255, 61, 0.02); }
}

@keyframes contentIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

  .signal-panel {
    min-height: 560px;
  }

  .section-heading {
    grid-template-columns: 0.45fr 1.3fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
    max-width: 540px;
  }

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

  .selector-intro {
    display: grid;
    grid-template-columns: 0.45fr 1.3fr;
    gap: 36px;
  }

  .selector-intro h2 {
    margin: 0;
  }

  .selector-intro > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .site-header {
    position: relative;
    min-height: 74px;
  }

  .header-link {
    display: none;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 7px;
    justify-self: end;
    cursor: pointer;
  }

  .menu-button > span:not(.sr-only) {
    width: 24px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: -16px;
    left: -16px;
    z-index: 10;
    display: none;
    padding: 22px 16px 28px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }

  .main-nav.is-open {
    display: grid;
    gap: 18px;
  }

  .hero {
    min-height: auto;
    padding-block: 68px 100px;
  }

  .hero h1 {
    font-size: clamp(46px, 12vw, 58px);
  }

  .mobile-break {
    display: initial;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-panel {
    min-height: 480px;
  }

  .network-map {
    min-height: 340px;
    transform: scale(0.82);
  }

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

  .panel-metrics div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
  }

  .panel-metrics div + div {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .panel-metrics span {
    margin: 0;
  }

  .section-heading,
  .selector-intro {
    display: block;
  }

  .section-heading .section-index,
  .selector-intro .section-index {
    display: block;
    margin-bottom: 22px;
  }

  .section-heading > p:last-child,
  .selector-intro > p:last-child {
    margin-top: 24px;
  }

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

  .type-card {
    min-height: 470px;
  }

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

  .scenario-tabs button {
    border-bottom: 1px solid var(--line-dark);
  }

  .scenario-result {
    min-height: 520px;
  }

  .result-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .result-specs div {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line-light);
  }

  .result-specs span {
    margin: 0;
  }

  .guide .section-heading {
    display: block;
  }

  .guide-row {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .guide-row p {
    grid-column: 2;
  }

  .closing {
    gap: 40px;
    align-items: flex-start;
    flex-direction: column;
  }

  .round-link {
    align-self: flex-end;
  }

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

  .site-footer > p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
