:root {
  --route-stage-height: 560px;
  --table-min: 760px;
  --price-card-min: 250px;
  --preview-swatch-height: 92px;
}

.hero-preview {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow-x: clip;
}

.hero-preview-inner {
  display: grid;
  width: 100%;
  grid-template-columns: 508px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 34px;
  padding-bottom: 30px;
}

.hero-preview-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero-preview .eyebrow {
  margin-bottom: 22px;
  box-shadow: var(--shadow-chip);
}

.hero-title {
  margin-bottom: 20px;
  font-size: 62px;
}

.hero-title-line {
  display: block;
}

.hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-word-rise 500ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.hero-word-one {
  animation-delay: 50ms;
}

.hero-word-two {
  animation-delay: 220ms;
}

.hero-word-three {
  animation-delay: 400ms;
}

.hero-highlight {
  position: relative;
  z-index: 1;
}

.hero-highlight::after {
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: 7%;
  left: -3%;
  height: 32%;
  border-radius: 6px;
  content: "";
  background: var(--color-accent-soft);
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-mark-grow 450ms cubic-bezier(0.2, 0.75, 0.25, 1) 820ms forwards;
}

.hero-lead {
  max-width: 34em;
  margin-bottom: 26px;
  color: var(--color-muted);
  font-size: 16.5px;
}

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 0 0 24px;
  padding: 0;
  color: var(--color-muted);
  font-size: 13px;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-check {
  width: 12px;
  height: 12px;
  color: var(--color-success);
}

.hero-meta {
  display: grid;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px dashed var(--color-border);
}

.meta-row,
.platform-chip-row,
.flag-chip-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.meta-label {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-panel-alt);
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.11em;
}

.platform-chip,
.flag-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  color: var(--color-muted);
  font-size: 12px;
}

.platform-chip svg {
  width: 16px;
  height: 16px;
}

.flag-chip svg {
  width: 24px;
  height: 16px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 1px 3px var(--color-shadow-light);
}

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

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

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

.flag-edge {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1;
}

.route-stage {
  position: relative;
  z-index: 1;
  height: var(--route-stage-height);
  min-width: 0;
  overflow: visible;
}

.route-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-contour {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1;
  opacity: 0.55;
}

.route-line {
  fill: none;
  stroke: var(--color-accent-line);
  stroke-linecap: round;
  stroke-width: 2.5;
}

.route-line-alt {
  fill: none;
  stroke: var(--color-border);
  stroke-dasharray: 5 7;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.route-node {
  fill: var(--color-panel);
  stroke: var(--color-accent);
  stroke-width: 2;
}

.route-glow {
  fill: var(--color-accent);
  animation: route-flow 7.5s linear infinite;
}

.route-glow-two {
  animation-delay: -2.5s;
}

.route-glow-three {
  animation-delay: -5s;
}

.city-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: var(--shadow-chip);
  color: var(--color-text);
  font-size: 13px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.city-label::before {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  content: "";
  background: var(--color-accent);
}

.city-hk {
  top: 76%;
  left: 12%;
}

.city-tokyo {
  top: 51%;
  left: 24%;
}

.city-singapore {
  top: 65%;
  left: 43%;
}

.city-la {
  top: 62%;
  left: 63%;
}

.city-frankfurt {
  top: 43%;
  left: 86%;
}

.balloon-rig {
  position: absolute;
  top: 0;
  left: 57%;
  width: 150px;
  height: 212px;
  animation: balloon-breathe 6s ease-in-out infinite alternate;
}

.balloon-rig svg {
  width: 150px;
  height: 212px;
}

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

.balloon-shine {
  fill: none;
  stroke: var(--color-flag-white);
  stroke-linecap: round;
  stroke-width: 6;
  opacity: 0.32;
}

.balloon-line {
  stroke: var(--color-accent-dark);
  stroke-width: 1.2;
  opacity: 0.75;
}

.balloon-pod {
  fill: var(--color-panel);
  stroke: var(--color-border);
  stroke-width: 1.2;
}

.balloon-window {
  fill: var(--color-accent);
}

.balloon-neck {
  fill: var(--color-accent-dark);
}

.map-tag {
  position: absolute;
  right: 2%;
  bottom: 4%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--color-border);
  border-radius: 10px 14px 14px 10px;
  background: var(--color-panel-alt);
  color: var(--color-muted);
  font-size: 12px;
}

.map-tag::before {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border: 2px solid var(--color-muted);
  border-radius: 50%;
  content: "";
  background: var(--color-bg);
}

@keyframes hero-word-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-mark-grow {
  to {
    transform: scaleX(1);
  }
}

@keyframes balloon-breathe {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-11px);
  }
}

@keyframes route-flow {
  0% {
    opacity: 0;
    transform: translate(12px, 386px);
  }

  7% {
    opacity: 1;
  }

  25% {
    transform: translate(162px, 330px);
  }

  50% {
    transform: translate(325px, 295px);
  }

  75% {
    transform: translate(496px, 282px);
  }

  93% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(668px, 296px);
  }
}

.tabs {
  min-width: 0;
}

.tab-list {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel-alt);
  -webkit-overflow-scrolling: touch;
}

.tab-button {
  min-width: max-content;
  min-height: 42px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-muted);
}

.tab-button[aria-selected="true"],
.tab-button.is-active {
  background: var(--color-panel);
  box-shadow: var(--shadow-chip);
  color: var(--color-accent-dark);
}

.tab-panel {
  margin-top: 24px;
}

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

.toc-tabs {
  position: sticky;
  z-index: 42;
  top: 12px;
  display: flex;
  max-width: 100%;
  gap: 8px;
  margin-bottom: 36px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: var(--shadow-chip);
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.toc-tabs a {
  display: inline-flex;
  min-width: max-content;
  min-height: 36px;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-size: 13px;
  text-decoration: none;
}

.toc-tabs a:hover,
.toc-tabs a.is-current,
.toc-tabs a[aria-current="location"] {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.toc-sticky-host {
  position: sticky;
  z-index: 41;
  top: var(--toc-host-top, 0);
}

body:has(.toc-tabs) section[id] {
  scroll-margin-top: var(--toc-offset);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.faq-item summary {
  position: relative;
  min-height: 58px;
  padding: 16px 52px 16px 20px;
  cursor: pointer;
  font-weight: 620;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  content: "+";
  background: var(--color-panel-alt);
  color: var(--color-accent-dark);
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--color-muted);
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(var(--price-card-min), 1fr));
  gap: 22px;
}

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.price-card.is-featured {
  border-color: var(--color-accent);
  background: var(--color-panel-alt);
  transform: translateY(-8px);
}

.price-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

.price-card-title {
  padding-right: 76px;
  font-size: 20px;
}

.price-value {
  margin: 20px 0 6px;
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  color: var(--color-muted);
  font-size: 13px;
}

.price-features {
  display: grid;
  gap: 9px;
  margin: 24px 0;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.price-features li {
  display: flex;
  gap: 8px;
}

.price-features li::before {
  flex-shrink: 0;
  content: "✓";
  color: var(--color-success);
}

.price-card .btn,
.price-card .btn-primary,
.price-card .btn-secondary {
  width: 100%;
  margin-top: auto;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  -webkit-overflow-scrolling: touch;
}

.data-table,
.route-table,
.compare-table {
  width: 100%;
  min-width: var(--table-min);
  border-collapse: collapse;
  color: var(--color-text);
}

.data-table th,
.data-table td,
.route-table th,
.route-table td,
.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}

.data-table th,
.route-table th,
.compare-table th {
  background: var(--color-panel-alt);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 680;
}

.data-table tbody tr:last-child td,
.route-table tbody tr:last-child td,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.route-group td {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-weight: 680;
}

.route-type {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--color-panel-alt);
  font-size: 12px;
}

.prose > .data-table {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.platform-card {
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-chip);
}

.platform-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.platform-icon svg {
  width: 24px;
  height: 24px;
}

.platform-card h3 {
  font-size: 18px;
}

.platform-card .btn-quiet {
  margin-top: auto;
  margin-left: -18px;
}

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

.article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-chip);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.article-card h3 {
  font-size: 23px;
}

.article-card p {
  color: var(--color-muted);
}

.article-card-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-top: auto;
  font-weight: 620;
}

.callout {
  position: relative;
  margin: 28px 0;
  padding: 22px 24px 22px 30px;
  border: 1px solid var(--color-border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-panel-alt);
}

.callout::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 5px;
  border-radius: var(--radius-pill);
  content: "";
  background: var(--color-accent);
}

.callout-title {
  display: block;
  margin-bottom: 6px;
  color: var(--color-accent-dark);
  font-weight: 680;
}

.promo-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 56px;
  padding: clamp(28px, 5vw, 50px);
  overflow-x: clip;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel-alt);
  box-shadow: var(--shadow-panel);
}

.promo-block h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.promo-block p {
  max-width: 46em;
  margin-bottom: 0;
  color: var(--color-muted);
}

.preview-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.preview-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.preview-section-head p {
  max-width: 42em;
  margin-bottom: 0;
  color: var(--color-muted);
}

.preview-swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.preview-swatch {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.preview-swatch-color {
  height: var(--preview-swatch-height);
  border-bottom: 1px solid var(--color-border);
}

.swatch-bg {
  background: var(--color-bg);
}

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

.swatch-panel-alt {
  background: var(--color-panel-alt);
}

.swatch-accent {
  background: var(--color-accent);
}

.swatch-accent-dark {
  background: var(--color-accent-dark);
}

.swatch-text {
  background: var(--color-text);
}

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

.swatch-success {
  background: var(--color-success);
}

.swatch-warn {
  background: var(--color-warn);
}

.swatch-error {
  background: var(--color-error);
}

.preview-swatch-label {
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.preview-type-stack {
  display: grid;
  gap: 28px;
}

.preview-type-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

.preview-type-label {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.preview-display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 520;
  line-height: 1.12;
}

.preview-heading {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.preview-body {
  max-width: 46em;
  margin: 0;
  color: var(--color-muted);
}

.preview-button-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.preview-component-stack {
  display: grid;
  gap: 60px;
}

.preview-subtitle {
  margin-bottom: 22px;
  font-size: 25px;
}

.preview-footer-note {
  max-width: 38em;
}

@media (max-width: 1160px) {
  .hero-preview {
    min-height: auto;
  }

  .hero-preview-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .route-stage {
    height: 460px;
  }

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

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

@media (max-width: 768px) {
  .hero-preview-inner {
    padding-top: 46px;
  }

  .route-stage {
    height: 390px;
  }

  .balloon-rig {
    left: 52%;
    transform: scale(0.86);
    transform-origin: top center;
  }

  .city-label {
    padding: 6px 10px;
    font-size: 11px;
  }

  .city-frankfurt {
    left: 82%;
  }

  .pricing-grid,
  .article-grid,
  .platform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-card.is-featured {
    transform: none;
  }

  .price-card-badge {
    display: none;
  }

  .price-card-title {
    padding-right: 0;
  }

  .platform-card {
    min-height: 180px;
  }

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

  .preview-section-head {
    display: block;
  }

  .preview-section-head p {
    margin-top: 12px;
  }

  .preview-type-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

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

  .route-stage {
    height: 330px;
  }

  .balloon-rig {
    top: 2px;
    left: 46%;
    transform: scale(0.7);
  }

  .city-hk {
    left: 16%;
  }

  .city-tokyo {
    left: 21%;
  }

  .city-singapore {
    left: 43%;
  }

  .city-la {
    left: 68%;
  }

  .city-frankfurt {
    top: 42%;
    left: 78%;
  }

  .map-tag {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-title-word {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-highlight::after {
    transform: scaleX(1);
    animation: none;
  }

  .route-glow {
    display: none;
    animation: none;
  }

  .balloon-rig {
    animation: none;
  }
}