.home-hero-shell {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 14px 16px 0;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1.18fr);
  min-height: 650px;
  gap: 14px;
  padding: 14px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse at 80% 18%, var(--color-cyan-glow), var(--color-transparent)),
    radial-gradient(ellipse at 92% 88%, var(--color-pink-glow), var(--color-transparent)),
    var(--color-deep);
}

.hero-primary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--color-deep-line);
  border-radius: var(--radius-lg);
  background: var(--color-deep-raised);
}

.hero-primary h1 {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--color-hero-text);
  font-size: clamp(52px, 4.8vw, 68px);
}

.hero-primary .hero-sub {
  max-width: 520px;
}

.hero-primary .status-dot {
  flex-shrink: 0;
}

.hero-primary .hero-trust {
  margin-top: 24px;
}

.hero-bento-visual {
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 12px;
}

.hero-bento-top {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 12px;
}

.hero-bento-visual .bento-cell {
  overflow: hidden;
}

.hero-bento-visual .bento-cell p {
  margin-bottom: 0;
}

.bento-route-cell {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 75% 25%, var(--color-cyan-glow), var(--color-transparent)),
    var(--color-deep-raised);
}

.bento-route-cell strong,
.bento-refund-cell strong {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.08;
}

.bento-route-cell p,
.bento-refund-cell p {
  max-width: 330px;
  font-size: 12px;
  line-height: 1.55;
}

.bento-mono,
.bento-side-note,
.bento-stamp {
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.route-sketch {
  width: 100%;
  margin-top: 14px;
}

.route-grid-line {
  fill: none;
  stroke: var(--color-deep-line);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}

.route-main-line {
  fill: none;
  stroke: url("#homeRouteTrail");
  stroke-linecap: round;
  stroke-width: 4;
}

.route-node {
  fill: var(--color-cyan);
  stroke: var(--color-deep);
  stroke-width: 3;
}

.route-node-start {
  fill: var(--color-accent);
}

.route-node-end {
  fill: var(--color-accent-end);
}

.bento-refund-cell {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 80% 18%, var(--color-pink-glow), var(--color-transparent)),
    var(--color-screen);
}

.bento-refund-cell strong {
  color: var(--color-white);
}

.bento-stamp {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 6px 10px;
  overflow: hidden;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-xs);
  color: var(--color-accent);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bento-platform-cell,
.bento-flags-cell {
  background: var(--color-deep-raised);
}

.bento-cell-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.bento-cell-head strong {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 15px;
}

.bento-side-note {
  flex-shrink: 0;
  padding: 4px 8px;
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-pill);
}

.hero-platforms,
.hero-flags {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-platforms {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.hero-platforms li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--color-deep-line);
  border-radius: var(--radius-sm);
  background: var(--color-screen);
  color: var(--color-hero-muted);
  font-size: 10px;
  white-space: nowrap;
}

.hero-platforms svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--color-cyan);
}

.hero-flags {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.hero-flags li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--color-deep-line);
  border-radius: var(--radius-sm);
  background: var(--color-screen);
  color: var(--color-hero-muted);
  font-size: 10px;
  white-space: nowrap;
}

.hero-flags svg {
  width: 25px;
  height: auto;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
}

.home-fact-band {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-page);
}

.home-fact-band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 16px;
  padding-bottom: 16px;
}

.home-fact-band__inner span {
  min-width: 0;
  padding: 3px 20px;
  border-right: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}

.home-fact-band__inner span:last-child {
  border-right: 0;
}

.home-fact-band__inner b {
  margin-right: 7px;
  color: var(--color-text);
  font-size: 13px;
}

.home-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 14px;
  margin-top: 36px;
}

.home-decision-grid h3 {
  font-size: 22px;
}

.home-decision-grid p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

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

.route-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-page);
}

.route-guidance h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.route-guidance p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.price-card__summary {
  min-height: 104px;
  color: var(--color-text-muted);
  font-size: 13px;
}

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

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

.traffic-pack-panel p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.plan-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.plan-notes article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.plan-notes h3 {
  margin-top: 16px;
  margin-bottom: 7px;
  font-size: 20px;
}

.plan-notes p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.home-difference-section {
  background: var(--color-deep);
}

.home-difference-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.home-difference-section h2,
.home-difference-section h3 {
  color: var(--color-white);
}

.home-difference-section .section-heading p,
.difference-copy p {
  color: var(--color-hero-muted);
}

.home-difference-section .eyebrow {
  color: var(--color-hero-muted);
}

.difference-copy {
  display: grid;
}

.difference-copy article {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-deep-line);
}

.difference-copy article:first-child {
  padding-top: 0;
}

.difference-copy article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.difference-copy h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.difference-copy p {
  margin-bottom: 0;
}

.home-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head-link {
  flex-shrink: 0;
  margin-bottom: 34px;
}

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

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

.home-start-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 44px;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 14%, var(--color-pink-glow), var(--color-transparent)),
    var(--color-deep);
  color: var(--color-hero-muted);
}

.home-start-panel h2 {
  margin-bottom: 8px;
  color: var(--color-white);
  font-size: clamp(28px, 3vw, 38px);
}

.home-start-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.home-start-panel .eyebrow {
  color: var(--color-hero-muted);
}

@media (max-width: 1180px) {
  .home-hero {
    grid-template-columns: minmax(350px, 0.8fr) minmax(0, 1.2fr);
  }

  .hero-platforms li,
  .hero-flags li {
    justify-content: center;
  }

  .hero-platforms li span,
  .hero-flags li span {
    display: none;
  }

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

@media (max-width: 920px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-primary {
    min-height: 510px;
  }

  .hero-bento-visual {
    grid-template-rows: auto;
  }

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

  .home-difference-grid .section-heading {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .home-hero-shell {
    padding-inline: var(--gutter);
  }

  .home-hero {
    min-height: 0;
    padding: 10px;
    border-radius: var(--radius-lg);
  }

  .hero-primary {
    min-height: 0;
    padding: 28px 20px;
  }

  .hero-primary h1 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .hero-primary h1 .no-break {
    white-space: normal;
  }

  .hero-bento-top,
  .home-decision-grid,
  .plan-notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-route-cell,
  .bento-refund-cell {
    min-height: 190px;
  }

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

  .home-fact-band__inner span:nth-child(2) {
    border-right: 0;
  }

  .home-fact-band__inner span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }

  .route-guidance,
  .traffic-pack-panel,
  .home-start-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-section-head-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head-link {
    margin-top: -20px;
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .home-hero-shell {
    padding-top: 10px;
  }

  .hero-primary .hero-sub {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-bento-visual .bento-cell {
    padding: 16px;
  }

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

  .hero-platforms li,
  .hero-flags li {
    padding: 6px 3px;
  }

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

  .hero-flags svg {
    width: 22px;
  }

  .home-fact-band__inner span {
    padding-inline: 7px;
    font-size: 8px;
  }

  .home-fact-band__inner b {
    display: block;
    margin-right: 0;
    font-size: 12px;
  }

  .price-card__summary {
    min-height: 0;
  }

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

  .traffic-pack-panel,
  .home-start-panel {
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .hero-platforms svg {
    width: 14px;
    height: 14px;
  }

  .hero-flags svg {
    width: 19px;
  }

  .bento-side-note {
    display: none;
  }
}