:root {
  --home-hero-min-height: 790px;
  --home-route-line-soft: rgba(239, 227, 211, 0.24);
  --home-route-line-strong: rgba(239, 227, 211, 0.82);
  --home-route-glow: rgba(111, 161, 255, 0.34);
  --home-route-node: rgba(239, 227, 211, 0.72);
  --home-wine-layer: rgba(122, 59, 71, 0.5);
  --home-panel-glass: rgba(41, 26, 17, 0.86);
  --home-panel-deep: rgba(30, 19, 12, 0.78);
  --home-cutout: #291a11;
  --home-scene-size: 330px;
  --home-icon-size: 17px;
}

.home-hero {
  position: relative;
  min-height: var(--home-hero-min-height);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg);
  background-image:
    repeating-linear-gradient(to right, var(--color-cream-grid) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(to bottom, var(--color-cream-grid-soft) 0 1px, transparent 1px 88px),
    radial-gradient(circle, var(--color-cream-dot) 1px, transparent 1.5px);
  background-size: auto, auto, 52px 88px;
}

.home-hero::after {
  position: absolute;
  right: -18%;
  bottom: -62%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid var(--home-route-line-soft);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 46px;
  padding-bottom: 34px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  gap: 54px;
  align-items: center;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-hero-copy h1 {
  max-width: 9em;
  margin-bottom: 24px;
  font-size: clamp(52px, 5vw, 70px);
}

.hero-button-row {
  margin-bottom: 20px;
}

.hero-summary {
  max-width: 39em;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 16.5px;
  line-height: 1.72;
}

.hero-summary strong {
  color: var(--color-cream);
}

.hero-compatibility {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.hero-fact-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.hero-fact-label {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-platforms,
.hero-flags {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 9px 14px;
  align-items: center;
}

.hero-platform,
.hero-flag {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.hero-platform svg {
  width: var(--home-icon-size);
  height: var(--home-icon-size);
  color: var(--color-cream);
}

.hero-flag svg {
  width: 24px;
  height: 16px;
}

.linux-cut {
  fill: var(--home-cutout);
}

.hero-route-stage {
  position: relative;
  min-height: 548px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-panel);
  background-image:
    linear-gradient(var(--color-cream-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-cream-grid) 1px, transparent 1px);
  background-size: 52px 52px;
  box-shadow: var(--shadow-panel);
}

.hero-route-stage::before {
  position: absolute;
  inset: 20px;
  border: 1px solid var(--home-route-line-soft);
  border-radius: var(--radius-sm);
  content: "";
  pointer-events: none;
}

.route-coordinate {
  position: absolute;
  top: 74px;
  left: 36px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--color-panel-raised);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.route-stage-heading,
.route-stage-foot {
  position: absolute;
  right: 36px;
  left: 36px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.route-stage-heading {
  top: 34px;
}

.route-stage-foot {
  bottom: 34px;
}

.home-route-map {
  position: absolute;
  inset: 28px 10px 10px;
  width: calc(100% - 20px);
  height: calc(100% - 38px);
}

.home-graticule {
  fill: none;
  stroke: var(--color-cream);
  stroke-opacity: 0.08;
  stroke-width: 1;
}

.home-graticule .home-dot-latitude {
  stroke-dasharray: 2 7;
  stroke-opacity: 0.12;
}

.home-route-main {
  fill: none;
  stroke: var(--color-cream);
  stroke-linecap: round;
  stroke-opacity: 0.88;
  stroke-width: 2;
}

.home-route-backup {
  fill: none;
  stroke: var(--color-cream);
  stroke-dasharray: 4 8;
  stroke-linecap: round;
  stroke-opacity: 0.28;
  stroke-width: 1;
}

.home-city-node text {
  fill: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.home-node-ring {
  fill: none;
  stroke: var(--color-cream);
  stroke-opacity: 0.58;
  transform-box: fill-box;
  transform-origin: center;
  animation: home-node-breathe 4.4s ease-in-out infinite;
}

.home-node-core {
  fill: var(--color-cream);
}

.node-singapore .home-node-ring {
  animation-delay: 0.6s;
}

.node-tokyo .home-node-ring {
  animation-delay: 1.2s;
}

.node-frankfurt .home-node-ring {
  animation-delay: 1.8s;
}

.node-losangeles .home-node-ring {
  animation-delay: 2.4s;
}

.home-moving-beacon {
  offset-path: path("M54 350 C174 266 276 242 382 250 C496 258 582 292 670 350");
  offset-distance: 0%;
  animation: home-route-sail 12s linear infinite;
}

.home-beacon-glow {
  fill: var(--color-accent);
  opacity: 0.5;
}

.home-beacon-core {
  fill: var(--color-accent);
}

@keyframes home-node-breathe {
  0%,
  100% {
    transform: scale(1);
    stroke-opacity: 0.42;
  }

  50% {
    transform: scale(1.35);
    stroke-opacity: 0.9;
  }
}

@keyframes home-route-sail {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  7%,
  93% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

.home-section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.home-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}

.home-heading-split h2,
.home-heading-split .lead {
  margin-bottom: 0;
}

.home-feature-browser {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.95fr);
}

.home-feature-browser .feature-detail p {
  margin-bottom: 14px;
}

.home-feature-browser .feature-detail a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  color: var(--color-text);
  font-weight: 700;
}

.home-feature-browser .feature-item[open] .feature-detail a:hover {
  color: var(--color-cream);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.feature-inline-chart,
.feature-inline-shield,
.feature-inline-devices,
.feature-inline-code,
.feature-inline-media,
.feature-inline-refund {
  display: none;
}

.home-feature-visual {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-height: 560px;
}

.feature-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.feature-scene.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scene-caption {
  position: absolute;
  top: 28px;
  left: 30px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.feature-scene svg {
  width: 88%;
  height: 82%;
}

.scene-grid-line {
  fill: none;
  stroke: var(--color-cream);
  stroke-opacity: 0.08;
}

.scene-route-line,
.scene-route-dash {
  fill: none;
  stroke: var(--color-cream);
  stroke-linecap: round;
}

.scene-route-line {
  stroke-opacity: 0.78;
  stroke-width: 2;
}

.scene-route-dash {
  stroke-dasharray: 4 8;
  stroke-opacity: 0.28;
}

.scene-route-node {
  fill: var(--color-accent);
  stroke: var(--color-cream);
  stroke-width: 3;
}

.scene-shield {
  position: relative;
  display: grid;
  width: 180px;
  height: 210px;
  place-items: center;
  clip-path: polygon(50% 0, 92% 18%, 84% 72%, 50% 100%, 16% 72%, 8% 18%);
  background: var(--color-wine);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
}

.scene-shield::after {
  position: absolute;
  inset: 12px;
  border: 1px solid var(--color-cream);
  clip-path: polygon(50% 0, 92% 18%, 84% 72%, 50% 100%, 16% 72%, 8% 18%);
  content: "";
  opacity: 0.5;
}

.scene-orbit {
  position: absolute;
  border: 1px solid var(--home-route-line-soft);
  border-radius: 50%;
}

.scene-orbit-one {
  width: 300px;
  height: 300px;
}

.scene-orbit-two {
  width: 390px;
  height: 210px;
  transform: rotate(-18deg);
}

.scene-device {
  position: absolute;
  border: 2px solid var(--color-cream);
  border-radius: var(--radius-sm);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-lift);
}

.scene-laptop {
  width: 280px;
  height: 170px;
  transform: translate(-30px, -20px);
}

.scene-laptop::after {
  position: absolute;
  right: -24px;
  bottom: -16px;
  left: -24px;
  height: 12px;
  border: 2px solid var(--color-cream);
  border-radius: var(--radius-xs);
  content: "";
}

.scene-tablet {
  width: 112px;
  height: 154px;
  transform: translate(142px, 34px);
}

.scene-mobile {
  width: 68px;
  height: 122px;
  transform: translate(84px, 76px);
  background: var(--color-wine);
}

.scene-terminal {
  display: grid;
  width: min(82%, 410px);
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-panel);
}

.scene-terminal span {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 15px;
}

.scene-media-grid {
  display: grid;
  width: min(78%, 390px);
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: rotate(-4deg);
}

.scene-media-grid i {
  aspect-ratio: 1.2;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-lift);
}

.scene-media-grid i:nth-child(2),
.scene-media-grid i:nth-child(5) {
  background: var(--color-wine);
}

.scene-refund-mark {
  display: flex;
  width: 230px;
  height: 230px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 16px var(--color-highlight);
}

.scene-refund-mark strong {
  font-family: var(--font-display);
  font-size: 82px;
  line-height: 1;
}

.scene-refund-mark span {
  align-self: flex-end;
  margin-bottom: 62px;
  color: var(--color-muted);
  font-size: 18px;
}

.route-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border-block: 1px solid var(--color-border);
}

.route-notes article {
  min-width: 0;
  padding: 26px;
}

.route-notes article + article {
  border-left: 1px solid var(--color-border);
}

.route-notes .mono {
  color: var(--color-accent);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.route-notes h3 {
  margin-top: 10px;
  font-size: 19px;
}

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

.section-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 28px;
  color: var(--color-accent);
  font-weight: 750;
}

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

.server-status-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel-raised);
}

.server-status-copy p {
  margin-bottom: 0;
  color: var(--color-muted);
}

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

.srv-row {
  display: grid;
  min-width: 0;
  min-height: 48px;
  grid-template-columns: 8px 24px minmax(70px, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--color-panel);
  color: var(--color-muted);
  font-size: 11px;
}

.srv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px var(--color-success-soft);
  animation: srv-pulse 3.4s ease-in-out infinite;
}

.srv-flag {
  display: inline-flex;
  width: 24px;
  height: 16px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2px;
}

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

.srv-type {
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--color-wine);
  color: var(--color-text);
  white-space: nowrap;
}

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

@keyframes srv-pulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.plan-audience {
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 14px;
}

.traffic-pack-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-wine);
}

.traffic-pack-strip .eyebrow {
  color: var(--color-cream);
}

.traffic-pack-strip .eyebrow::before {
  background: var(--color-cream);
}

.traffic-pack-strip h3 {
  margin-bottom: 8px;
}

.traffic-pack-strip p {
  margin-bottom: 0;
  color: var(--color-cream);
}

.traffic-pack-strip .btn-secondary {
  border-color: var(--color-cream);
}

.plan-guidance {
  max-width: 880px;
  margin-top: 38px;
}

.plan-guidance p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 16px;
}

.principle-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 72px;
}

.principle-heading {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
}

.principle-copy {
  border-top: 1px solid var(--color-border);
}

.principle-copy article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 20px;
  padding-block: 30px;
  border-bottom: 1px solid var(--color-border);
}

.principle-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-accent);
}

.principle-copy h3 {
  font-size: 20px;
}

.principle-copy p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.faq-home-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 68px;
  align-items: start;
}

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

.home-article-grid .article-card {
  min-height: 330px;
}

.home-article-grid .article-card h3 {
  font-size: 19px;
}

@media (max-width: 1120px) {
  :root {
    --home-hero-min-height: 0px;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr);
    gap: 34px;
  }

  .hero-route-stage {
    min-height: 510px;
  }

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

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

@media (max-width: 900px) {
  .home-hero-inner {
    padding-top: 34px;
  }

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

  .home-hero-copy {
    order: 1;
  }

  .hero-route-stage {
    order: 2;
    min-height: 460px;
  }

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

  .home-feature-visual {
    display: none;
  }

  .feature-inline-chart,
  .feature-inline-shield,
  .feature-inline-devices,
  .feature-inline-code,
  .feature-inline-media,
  .feature-inline-refund {
    margin-top: 18px;
  }

  .feature-item[open] .feature-inline-chart,
  .feature-item[open] .feature-inline-devices,
  .feature-item[open] .feature-inline-media {
    display: flex;
  }

  .feature-item[open] .feature-inline-shield,
  .feature-item[open] .feature-inline-code,
  .feature-item[open] .feature-inline-refund {
    display: inline-flex;
  }

  .feature-inline-chart {
    height: 50px;
    align-items: flex-end;
    gap: 8px;
  }

  .feature-inline-chart i {
    width: 34px;
    border-radius: var(--radius-xs) var(--radius-xs) 0 0;
    background: var(--color-accent);
  }

  .feature-inline-chart i:nth-child(1) {
    height: 24px;
  }

  .feature-inline-chart i:nth-child(2) {
    height: 42px;
  }

  .feature-inline-chart i:nth-child(3) {
    height: 33px;
  }

  .feature-inline-shield,
  .feature-inline-code,
  .feature-inline-refund {
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-cream);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-weight: 800;
  }

  .feature-inline-devices {
    align-items: flex-end;
    gap: 9px;
  }

  .feature-inline-devices i {
    display: block;
    border: 1px solid var(--color-cream);
    border-radius: var(--radius-xs);
  }

  .feature-inline-devices i:nth-child(1) {
    width: 66px;
    height: 40px;
  }

  .feature-inline-devices i:nth-child(2) {
    width: 34px;
    height: 48px;
  }

  .feature-inline-devices i:nth-child(3) {
    width: 22px;
    height: 38px;
  }

  .feature-inline-media {
    flex-wrap: wrap;
    gap: 7px;
    max-width: 140px;
  }

  .feature-inline-media i {
    width: 54px;
    height: 32px;
    border: 1px solid var(--color-cream);
    border-radius: var(--radius-xs);
  }

  .home-heading-split,
  .principle-layout,
  .faq-home-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .principle-heading {
    position: static;
  }

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

  .route-notes article + article {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }
}

@media (max-width: 768px) {
  .home-hero::after {
    display: none;
  }

  .home-hero-copy h1 {
    font-size: clamp(32px, 9.6vw, 40px);
  }

  .hero-route-stage {
    min-height: 350px;
  }

  .route-coordinate,
  .route-stage-heading,
  .route-stage-foot,
  .home-city-node text,
  .home-route-backup {
    display: none;
  }

  .home-route-map {
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .home-heading-split {
    margin-bottom: 32px;
  }

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

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

  .home-article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-hero-inner {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-fact-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

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

  .hero-route-stage {
    min-height: 300px;
  }

  .home-section-heading {
    margin-bottom: 30px;
  }

  .server-status-shell,
  .traffic-pack-strip {
    padding: 20px;
  }

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

  .srv-bw {
    display: none;
  }

  .principle-copy article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .route-notes article {
    padding-inline: 4px;
  }
}

@media (max-width: 380px) {
  .hero-platform,
  .hero-flag {
    font-size: 10.5px;
  }

  .srv-type {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .home-moving-beacon {
    offset-distance: 50%;
    animation: none;
    opacity: 1;
  }

  .home-node-ring,
  .srv-dot {
    animation: none;
  }

  .feature-scene {
    transition: none;
  }
}