.home-hero {
  overflow-x: clip;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-canvas);
}

.home-hero-inner {
  width: 100%;
  max-width: var(--content-wide);
  min-height: calc(100svh - var(--header-height));
  margin-inline: auto;
  padding: clamp(48px, 6vw, 86px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.home-hero .hero-title {
  max-width: 10em;
  margin-top: 22px;
}

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

.hero-platforms {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  align-items: center;
}

.hero-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-platform svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  color: var(--color-ink);
}

.hero-routes {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-routes .route-chip {
  padding: 4px 8px;
  background: var(--color-canvas);
  font-size: 11px;
}

.hero-routes .route-chip svg {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xs);
}

.hero-visual {
  min-width: 0;
}

.console-wrap {
  width: 100%;
}

.console-panel {
  width: 100%;
  height: auto;
}

.console-bg {
  fill: var(--color-console);
  stroke: var(--color-console-line);
  stroke-width: 2;
}

.console-top,
.track-cell,
.meter-bed {
  fill: var(--color-console-raised);
  stroke: var(--color-console-line);
  stroke-width: 1;
}

.console-led,
.console-footer-dot {
  fill: var(--color-accent);
}

.console-brand-text,
.track-label,
.meter-title,
.console-footer-text {
  fill: var(--color-console-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .08em;
}

.console-brand-text {
  font-size: 12px;
}

.track-label,
.meter-title {
  font-size: 9px;
}

.console-footer-text {
  font-size: 9px;
}

.console-badge {
  fill: var(--color-warning);
}

.console-badge-text,
.track-chip-text {
  fill: var(--color-ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
}

.track-groove {
  fill: var(--color-console-groove);
}

.fader {
  fill: var(--color-accent);
  stroke: var(--color-accent-dark);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
}

.console-badge-small {
  fill: var(--color-warning);
}

.meter-fill {
  fill: url("#meter-gradient");
}

.meter-fill-alt {
  opacity: .7;
}

.meter-stop-low {
  stop-color: var(--color-console-line);
}

.meter-stop-mid {
  stop-color: var(--color-warning);
}

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

.meter-ticks,
.console-footer-line {
  fill: none;
  stroke: var(--color-console-line);
  stroke-width: 1;
}

.console-footer-dot-muted {
  fill: var(--color-console-line);
}

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

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

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

.fader-a {
  animation: fader-a 6.8s var(--ease-standard) infinite alternate;
}

.fader-b {
  animation: fader-b 7.4s var(--ease-standard) infinite alternate;
}

.fader-c {
  animation: fader-c 8.2s var(--ease-standard) infinite alternate;
}

.fader-d {
  animation: fader-d 7.8s var(--ease-standard) infinite alternate;
}

.fader-e {
  animation: fader-e 8.6s var(--ease-standard) infinite alternate;
}

.fader-f {
  animation: fader-f 7.1s var(--ease-standard) infinite alternate;
}

.fader-g {
  animation: fader-g 8.9s var(--ease-standard) infinite alternate;
}

.fader-h {
  animation: fader-h 7.6s var(--ease-standard) infinite alternate;
}

.fader-i {
  animation: fader-i 8.4s var(--ease-standard) infinite alternate;
}

@keyframes fader-a {
  to { transform: translateY(18px); }
}

@keyframes fader-b {
  to { transform: translateY(-14px); }
}

@keyframes fader-c {
  to { transform: translateY(22px); }
}

@keyframes fader-d {
  to { transform: translateY(-18px); }
}

@keyframes fader-e {
  to { transform: translateY(16px); }
}

@keyframes fader-f {
  to { transform: translateY(-12px); }
}

@keyframes fader-g {
  to { transform: translateY(20px); }
}

@keyframes fader-h {
  to { transform: translateY(-16px); }
}

@keyframes fader-i {
  to { transform: translateY(14px); }
}

.home-channel-console {
  min-width: 0;
}

.home-channel-list {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  grid-template-rows: repeat(6, auto);
  gap: 1px 28px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}

.home-channel-list .channel-tab {
  grid-column: 1;
}

.home-channel-list .channel-tab:nth-of-type(1) {
  grid-row: 1;
}

.home-channel-list .channel-tab:nth-of-type(2) {
  grid-row: 2;
}

.home-channel-list .channel-tab:nth-of-type(3) {
  grid-row: 3;
}

.home-channel-list .channel-tab:nth-of-type(4) {
  grid-row: 4;
}

.home-channel-list .channel-tab:nth-of-type(5) {
  grid-row: 5;
}

.home-channel-list .channel-tab:nth-of-type(6) {
  grid-row: 6;
}

.home-channel-detail {
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / 7;
  padding: clamp(30px, 5vw, 58px);
  background: var(--color-panel);
}

.home-channel-detail[hidden] {
  display: none;
}

.home-channel-detail h3 {
  max-width: 18em;
}

.home-channel-detail p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.9;
}

.route-section-head,
.pricing-heading,
.journal-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
}

.route-section-head .text-link,
.pricing-heading .text-link,
.journal-heading .text-link {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.text-link {
  color: var(--color-accent-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.route-guidance {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}

.route-guidance article {
  min-width: 0;
  padding: 26px;
  background: var(--color-canvas);
}

.route-guidance .mono,
.difference-side .mono {
  margin-bottom: 18px;
  color: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.route-guidance h3 {
  font-size: 21px;
}

.route-guidance p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.status-head {
  margin-top: 58px;
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: 30px;
  align-items: end;
}

.status-head h3,
.status-head p {
  margin-bottom: 0;
}

.status-head > p {
  color: var(--color-muted);
  font-size: 14px;
}

.server-status {
  min-width: 0;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-line);
}

.srv-row {
  min-width: 0;
  min-height: 58px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 9px 28px minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  background: var(--color-canvas);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.srv-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  animation: srv-breathe 2.4s ease-in-out infinite;
}

.srv-flag {
  width: 28px;
  height: 18px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xs);
}

.srv-name {
  min-width: 0;
  overflow: hidden;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-type {
  max-width: 100%;
  overflow: hidden;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: var(--color-warning);
  color: var(--color-ink);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  color: var(--color-muted);
  white-space: nowrap;
}

@keyframes srv-breathe {
  50% { opacity: .35; }
}

.home-pricing {
  background: var(--color-panel);
}

.plan-audience {
  min-height: 118px;
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 14px;
}

.plan-card .btn-primary,
.plan-card .btn-secondary {
  width: 100%;
}

.traffic-pack-note {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-canvas);
}

.traffic-pack-note h3,
.traffic-pack-note p {
  margin-bottom: 0;
}

.traffic-pack-note > p {
  color: var(--color-muted);
}

.difference-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}

.difference-main {
  min-width: 0;
  padding: clamp(30px, 5vw, 56px);
  background: var(--color-panel);
}

.difference-main h3 {
  margin-top: 24px;
}

.difference-main p {
  color: var(--color-muted);
  line-height: 1.9;
}

.difference-side {
  display: grid;
  gap: 1px;
  background: var(--color-line);
}

.difference-side article {
  min-width: 0;
  padding: 27px;
  background: var(--color-canvas);
}

.difference-side h3 {
  font-size: 21px;
}

.difference-side p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.faq-layout .section-head {
  position: sticky;
  top: var(--toc-offset);
  margin-bottom: 0;
}

.faq-layout .text-link {
  display: inline-block;
  margin-top: 8px;
}

.home-cta-band {
  min-width: 0;
  padding: clamp(30px, 5vw, 52px);
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: center;
  border-radius: var(--radius-md);
  background: var(--color-console);
  color: var(--color-console-text);
}

.home-cta-band h2 {
  margin-bottom: 12px;
  color: var(--color-console-text);
}

.home-cta-band p:not(.promo-brand) {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--color-console-muted);
}

.home-cta-band .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .home-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: 100%;
    max-width: 780px;
    margin-inline: auto;
  }

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

@media (max-width: 900px) {
  .home-channel-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 1px;
  }

  .home-channel-list .channel-tab,
  .home-channel-detail {
    grid-column: 1;
    grid-row: auto;
  }

  .home-channel-list .channel-tab:nth-of-type(1),
  .home-channel-list .channel-tab:nth-of-type(2),
  .home-channel-list .channel-tab:nth-of-type(3),
  .home-channel-list .channel-tab:nth-of-type(4),
  .home-channel-list .channel-tab:nth-of-type(5),
  .home-channel-list .channel-tab:nth-of-type(6) {
    grid-row: auto;
  }

  .home-channel-detail {
    padding: 26px;
  }

  .status-head,
  .traffic-pack-note,
  .difference-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-head {
    position: static;
  }
}

@media (max-width: 760px) {
  .home-hero-inner {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .home-hero .hero-title {
    margin-top: 18px;
  }

  .home-hero .nowrap-term {
    white-space: normal;
  }

  .hero-platforms {
    gap: 9px 12px;
  }

  .hero-routes {
    align-items: flex-start;
  }

  .hero-routes .route-label {
    width: 100%;
  }

  .route-section-head,
  .pricing-heading,
  .journal-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-section-head .text-link,
  .pricing-heading .text-link,
  .journal-heading .text-link {
    margin-top: -20px;
    margin-bottom: 30px;
  }

  .server-status {
    grid-template-columns: 1fr;
  }

  .srv-row {
    grid-template-columns: 9px 25px minmax(0, 1fr) auto auto;
  }

  .srv-type {
    display: none;
  }

  .plan-audience {
    min-height: 0;
  }

  .home-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-platform {
    width: calc(50% - 8px);
  }

  .hero-routes .route-chip {
    width: calc(50% - 4px);
  }

  .console-panel {
    min-width: 0;
  }

  .channel-tab {
    grid-template-columns: 38px minmax(0, 1fr) 36px;
    padding-inline: 13px;
  }

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

  .srv-bw {
    display: none;
  }

  .route-guidance article,
  .difference-side article {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fader,
  .srv-dot {
    animation: none;
  }
}