.landing-goals .card,
.sector-cards .card {
  display: grid;
  gap: 10px;
}

.page-home .page-stack.home-shell {
  gap: 28px;
  padding-top: 30px;
}

.page-home .brand-mark-atlas {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.page-home #profileOnboarding,
.page-home #worldMapZone {
  scroll-margin-top: 104px;
}

.page-home .routefinder-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 12% 18%, rgba(102, 170, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(243, 199, 74, 0.08), transparent 26%),
    radial-gradient(circle at 76% 82%, rgba(44, 211, 154, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #111926;
}

.page-home .routefinder-hero::before,
.page-home .routefinder-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-home .routefinder-hero::before {
  inset: auto auto -100px -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 125, 48, 0.18), transparent 68%);
  filter: blur(6px);
}

.page-home .routefinder-hero::after {
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0%, rgba(102, 170, 255, 0.04) 46%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%);
  opacity: 0.9;
}

.page-home .routefinder-grid {
  position: relative;
  z-index: 1;
  gap: 18px;
  align-items: start;
}

.page-home .routefinder-copy {
  gap: 20px;
}

.page-home .hero-copy-stack {
  display: grid;
  gap: 14px;
}

.page-home .hero-kicker {
  margin: 0;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .routefinder-copy .hero-title {
  max-width: 8ch;
}

.page-home .routefinder-copy .hero-copy {
  max-width: 56ch;
  font-size: 1.05rem;
}

.page-home .hero-sequence,
.page-home .control-grid,
.page-home .feature-layout,
.page-home .onboarding-grid,
.page-home .atlas-grid,
.page-home .country-stack,
.page-home .focus-list {
  display: grid;
  gap: 14px;
}

.page-home .sequence-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(9, 14, 24, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-home .sequence-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.page-home .sequence-card p,
.page-home .hook-card p,
.page-home .country-card p,
.page-home .focus-item p {
  margin: 0;
}

.page-home .sequence-index {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .routefinder-console {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .console-head,
.page-home .panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-home .console-title {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.page-home .console-screen {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(5, 12, 24, 0.96), rgba(16, 22, 36, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .console-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent);
  pointer-events: none;
}

.page-home .console-lines,
.page-home .aside-pill-grid {
  display: grid;
  gap: 10px;
}

.page-home .console-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.page-home .console-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .console-key {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .console-value {
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-align: right;
}

.page-home .routefinder-metrics {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .routefinder-metrics .metric-card {
  min-height: 132px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.page-home .console-note,
.page-home .hook-card,
.page-home .country-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(9, 14, 24, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .console-note {
  padding: 14px 16px;
  border-style: dashed;
}

.page-home .console-note p {
  margin: 0;
}

.page-home .onboarding-panel {
  background:
    radial-gradient(circle at top left, rgba(102, 170, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
}

.page-home .atlas-panel {
  background:
    radial-gradient(circle at top right, rgba(44, 211, 154, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
}

.page-home .hook-card h4,
.page-home .country-card h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.page-home .selector-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .selector-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.page-home .selector-chip:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.page-home .selector-chip:focus-visible,
.page-home .map-node:focus-visible {
  outline: 2px solid rgba(255, 125, 48, 0.82);
  outline-offset: 2px;
}

.page-home .selector-chip.is-current {
  background: linear-gradient(135deg, rgba(255, 125, 48, 0.22), rgba(255, 125, 48, 0.08));
  border-color: rgba(255, 125, 48, 0.4);
  color: #ffd8c0;
}

.page-home .selector-chip.is-beta {
  background: linear-gradient(135deg, rgba(102, 170, 255, 0.2), rgba(102, 170, 255, 0.08));
  border-color: rgba(102, 170, 255, 0.38);
  color: #cfe6ff;
}

.page-home .selector-chip.is-roadmap {
  background: linear-gradient(135deg, rgba(243, 199, 74, 0.18), rgba(243, 199, 74, 0.06));
  border-color: rgba(243, 199, 74, 0.32);
  color: #ffe8a3;
}

.page-home .world-map-frame {
  position: relative;
  min-height: 340px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(102, 170, 255, 0.18), transparent 24%),
    radial-gradient(circle at 65% 60%, rgba(44, 211, 154, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #0c1320;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .world-map-frame::before,
.page-home .world-map-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-home .world-map-frame::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 100%);
  opacity: 0.65;
}

.page-home .world-map-frame::after {
  inset: 16% 18% 16% 14%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 46% 54% 58% 42% / 54% 43% 57% 46%;
  opacity: 0.55;
  transform: rotate(-6deg);
}

.page-home .map-rings {
  position: absolute;
  inset: 18% 10%;
  background:
    radial-gradient(circle, transparent 0 48%, rgba(255, 255, 255, 0.07) 48.5% 49.5%, transparent 50%),
    radial-gradient(circle, transparent 0 62%, rgba(255, 255, 255, 0.05) 62.5% 63.2%, transparent 64%);
  opacity: 0.9;
}

.page-home .map-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.page-home .map-orbit-a {
  inset: 22% 20% 24% 18%;
}

.page-home .map-orbit-b {
  inset: 30% 28% 34% 26%;
  border-style: dashed;
}

.page-home .map-node {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 88px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(9, 11, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.24);
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.page-home .map-node:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.page-home .map-node.is-live {
  background: linear-gradient(135deg, rgba(255, 125, 48, 0.18), rgba(255, 125, 48, 0.08));
  border-color: rgba(255, 125, 48, 0.45);
}

.page-home .map-node.is-beta {
  background: linear-gradient(135deg, rgba(102, 170, 255, 0.2), rgba(102, 170, 255, 0.08));
  border-color: rgba(102, 170, 255, 0.4);
}

.page-home .map-node.is-roadmap {
  background: linear-gradient(135deg, rgba(243, 199, 74, 0.18), rgba(243, 199, 74, 0.06));
  border-color: rgba(243, 199, 74, 0.34);
  border-style: dashed;
}

.page-home .map-node-code,
.page-home .map-grid-label {
  color: rgba(237, 244, 255, 0.72);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .map-node-name {
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.page-home .map-node-fr {
  top: 28%;
  left: 21%;
}

.page-home .map-node-au {
  top: 62%;
  left: 63%;
}

.page-home .map-node-world {
  top: 16%;
  right: 11%;
  min-width: 132px;
}

.page-home .map-grid-label {
  position: absolute;
}

.page-home .map-grid-label-north {
  top: 18px;
  left: 18px;
}

.page-home .map-grid-label-focus {
  right: 18px;
  bottom: 18px;
}

.page-home .country-card.is-current {
  border-color: rgba(44, 211, 154, 0.34);
  box-shadow: inset 0 0 0 1px rgba(44, 211, 154, 0.16);
}

.page-home .country-card.is-beta {
  border-color: rgba(102, 170, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(102, 170, 255, 0.14);
}

.page-home .country-card.is-roadmap {
  border-color: rgba(243, 199, 74, 0.28);
  box-shadow: inset 0 0 0 1px rgba(243, 199, 74, 0.12);
}

.page-home .section-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .focus-list.compact {
  gap: 10px;
}

.page-home .focus-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.page-home .focus-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 125, 48, 0.12);
  border: 1px solid rgba(255, 125, 48, 0.22);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.page-home .aside-pill-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-home .landing-goals .card,
.page-home .sector-cards .card,
.page-home .featured-routes-grid .result-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: grid;
  gap: 12px;
}

.page-home .landing-goals .card::before,
.page-home .sector-cards .card::before,
.page-home .featured-routes-grid .result-card::before {
  content: "";
  position: absolute;
  inset: auto -30px 70% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 72%);
  opacity: 0.5;
  pointer-events: none;
}

.page-home .landing-goals .card {
  background:
    linear-gradient(155deg, rgba(255, 125, 48, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
}

.page-home .sector-cards .card {
  background:
    linear-gradient(155deg, rgba(102, 170, 255, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
}

.page-home .featured-routes-grid .result-card {
  background:
    linear-gradient(155deg, rgba(243, 199, 74, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
}

.landing-goals .card h3,
.sector-cards .card h3,
.detail-column h3,
.filter-panel h3,
.panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 0.96;
}

.routes-layout {
  display: grid;
  gap: 16px;
}

.sticky-column {
  display: grid;
  gap: 16px;
}

.top-results,
.all-results,
.ticket-grid,
.employer-grid,
.source-grid {
  display: grid;
  gap: 14px;
}

.top-results .result-card {
  border-color: rgba(255, 125, 48, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 125, 48, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.detail-layout {
  display: grid;
  gap: 16px;
}

.detail-column {
  display: grid;
  gap: 14px;
}

.scenario-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-header {
  display: grid;
  gap: 16px;
}

.ticket-card,
.employer-card,
.source-card {
  display: grid;
  gap: 12px;
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.filter-bar {
  display: grid;
  gap: 14px;
}

.method-grid {
  display: grid;
  gap: 14px;
}

.trust-strip .card,
.decision-hero-panel,
.decision-grid,
.guide-grid {
  display: grid;
  gap: 14px;
}

.trust-strip .card {
  min-height: 100%;
}

.page-inline-summary {
  margin: 0;
}

.decision-hero-panel {
  align-content: start;
  padding: 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 125, 48, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.decision-grid,
.guide-grid {
  margin-top: 2px;
}

.decision-note,
.decision-meta-card,
.comparison-panel,
.page-australia .source-card {
  min-width: 0;
}

.decision-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.decision-note p {
  margin: 0;
}

.decision-meta-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.decision-meta-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.decision-meta-card strong,
.comparison-table strong {
  overflow-wrap: anywhere;
}

.comparison-panel {
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  text-align: left;
}

.comparison-table thead th {
  border-top: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .trust-strip .card {
  background:
    linear-gradient(155deg, rgba(255, 125, 48, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
}

.page-home .trust-strip .card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 0.96;
}

.page-routes .decision-grid .panel,
.page-tickets .guide-grid .panel,
.page-employers .guide-grid .panel,
.page-sources .guide-grid .panel,
.page-australia .guide-grid .panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(8, 12, 20, 0.5);
}

.page-tickets .ticket-detail-panel,
.page-employers .employer-card,
.page-sources .source-card,
.page-australia .source-card {
  overflow: hidden;
}

.page-australia .source-card {
  background:
    linear-gradient(155deg, rgba(102, 170, 255, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
}

@media (min-width: 900px) {
  .page-home .hero-sequence {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .control-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .feature-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
  }

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

  .page-home .atlas-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    align-items: start;
  }

  .routes-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .sticky-column {
    position: sticky;
    top: 92px;
  }

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

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

  .ticket-grid,
  .employer-grid,
  .source-grid,
  .method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .comparison-panel {
    grid-column: 1 / -1;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  }

  .detail-layout.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-home .routefinder-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  }
}

@media (max-width: 719px) {
  .page-home .hero-actions {
    display: grid;
  }

  .page-home .hero-actions .button {
    width: 100%;
    text-align: center;
  }

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

  .page-home .world-map-frame {
    min-height: 300px;
  }

  .page-home .map-node {
    min-width: 76px;
    padding: 8px 10px;
  }

  .page-home .map-node-world {
    min-width: 112px;
    right: 8%;
  }

  .comparison-table {
    min-width: 560px;
  }
}

/* Home rebuild v2 */

.page-home #profileLab,
.page-home #worldMap,
.page-home #marketHeatGrid,
.page-home #missionBoard {
  scroll-margin-top: 108px;
}

.page-home .home-shell {
  width: min(1480px, calc(100% - 28px));
  max-width: calc(100vw - 28px);
}

.page-home .home-map-section {
  order: -1;
  min-height: calc(100svh - 106px);
}

.page-home .mission-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 125, 48, 0.12), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(102, 170, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #101725;
}

.page-home .mission-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 92%);
  pointer-events: none;
}

.page-home .mission-hero-grid,
.page-home .mission-layout,
.page-home .world-panel-grid,
.page-home .mission-launch-grid {
  display: grid;
  gap: 16px;
}

.page-home .mission-copy {
  position: relative;
  z-index: 1;
  gap: 18px;
}

.page-home .mission-console {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(170deg, rgba(7, 11, 20, 0.96), rgba(19, 25, 40, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .mission-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  opacity: 0.56;
}

.page-home .mission-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .mission-step.is-active,
.page-home .mission-step.is-complete {
  opacity: 1;
}

.page-home .mission-step.is-active strong,
.page-home .mission-step.is-complete strong {
  color: var(--text);
}

.page-home .mission-step-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.page-home .mission-step.is-active .mission-step-index {
  background: rgba(255, 125, 48, 0.12);
  border-color: rgba(255, 125, 48, 0.28);
  color: var(--orange);
}

.page-home .mission-step.is-complete .mission-step-index {
  background: rgba(44, 211, 154, 0.12);
  border-color: rgba(44, 211, 154, 0.22);
  color: var(--green);
}

.page-home .profile-lab-panel,
.page-home .world-panel,
.page-home .market-drawer,
.page-home .mission-board,
.page-home .launchpad-panel {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 18, 0.54);
}

.page-home .world-panel-prime {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(14px, 2vw, 22px);
  min-height: calc(100svh - 126px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.page-home .world-panel-head {
  align-items: start;
}

.page-home .world-panel-head > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.page-home .world-panel-head .mini-label,
.page-home .world-panel-head .section-title,
.page-home .world-panel-head .section-copy {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.page-home .profile-progress {
  display: grid;
  gap: 10px;
}

.page-home .profile-progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.page-home .profile-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.page-home .profile-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-profile-groups,
.page-home .profile-group-fields,
.page-home .playbook-sections,
.page-australia .playbook-sections {
  display: grid;
  gap: 14px;
}

.page-home .profile-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.page-home .home-field {
  display: grid;
  gap: 10px;
}

.page-home .home-field-head {
  display: grid;
  gap: 6px;
}

.page-home .home-field-head p,
.page-home .profile-group-head p {
  margin: 0;
}

.page-home .home-field-count {
  color: var(--muted);
  font-size: 0.84rem;
}

.page-home .world-map-shell {
  position: relative;
  min-height: clamp(560px, 68svh, 820px);
  padding: 12px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    #0b121f;
  background-size: 28px 28px, 28px 28px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .world-map-stage {
  display: grid;
  gap: 12px;
  height: 100%;
}

.page-home .world-map-canvas {
  position: relative;
  min-height: clamp(500px, 60svh, 740px);
  aspect-ratio: 1.95 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.74), rgba(8, 13, 23, 0.9)),
    #08101d;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.page-home .world-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.page-home .world-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.page-home .world-land path {
  fill: rgba(255, 255, 255, 0.075);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.page-home .world-country {
  fill: rgba(241, 245, 249, 0.055);
  stroke: rgba(241, 245, 249, 0.18);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}

.page-home .world-country.is-market {
  fill: rgba(255, 125, 48, 0.11);
  stroke: rgba(255, 125, 48, 0.38);
  stroke-width: 1.2;
}

.page-home .world-country.is-live {
  fill: rgba(44, 211, 154, 0.13);
  stroke: rgba(44, 211, 154, 0.42);
}

.page-home .world-country.is-beta {
  fill: rgba(102, 170, 255, 0.13);
  stroke: rgba(102, 170, 255, 0.42);
}

.page-home .world-country.is-locked {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.18);
}

.page-home .world-routes path {
  fill: none;
  stroke: rgba(255, 125, 48, 0.22);
  stroke-width: 2;
  stroke-dasharray: 8 12;
  vector-effect: non-scaling-stroke;
}

.page-home .world-map-legend {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-home .atlas-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 11, 18, 0.92);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.page-home .atlas-pin:hover,
.page-home .atlas-pin:focus-visible,
.page-home .atlas-pin.is-focused {
  z-index: 4;
  transform: translate(-50%, -50%) scale(1.14);
  border-color: rgba(255, 125, 48, 0.42);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 125, 48, 0.18);
}

.page-home .atlas-pin.is-watched::after {
  content: "";
  position: absolute;
  inset: -4px -4px auto auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.page-home .atlas-pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.page-home .atlas-pin-live .atlas-pin-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(44, 211, 154, 0.14);
}

.page-home .atlas-pin-beta .atlas-pin-dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(102, 170, 255, 0.14);
}

.page-home .atlas-pin-locked .atlas-pin-dot {
  background: var(--muted);
}

.page-home .atlas-pin-live {
  background: linear-gradient(135deg, rgba(44, 211, 154, 0.14), rgba(7, 11, 18, 0.92));
}

.page-home .atlas-pin-beta {
  background: linear-gradient(135deg, rgba(102, 170, 255, 0.16), rgba(7, 11, 18, 0.92));
}

.page-home .atlas-pin-locked {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(7, 11, 18, 0.92));
  border-style: dashed;
}

.page-home .atlas-band-peak {
  border-color: rgba(44, 211, 154, 0.36);
}

.page-home .atlas-band-hot {
  border-color: rgba(243, 199, 74, 0.32);
}

.page-home .atlas-band-cold {
  border-color: rgba(255, 98, 98, 0.32);
}

.page-home .atlas-pin-meta {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  display: none;
  min-width: max-content;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 18, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
}

.page-home .atlas-pin:hover .atlas-pin-meta,
.page-home .atlas-pin:focus-visible .atlas-pin-meta,
.page-home .atlas-pin.is-focused .atlas-pin-meta {
  display: inline-flex;
}

.page-home .atlas-pin-code,
.page-home .atlas-pin-score {
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.page-home .atlas-pin-code {
  font-size: 0.62rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .atlas-pin-score {
  font-size: 0.78rem;
  color: var(--text);
}

.page-home .world-map-dock {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.page-home .world-dock-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.page-home .world-dock-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .world-dock-item strong {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--orange);
}

.page-home .world-dock-item.is-active {
  border-color: rgba(255, 125, 48, 0.34);
  background: rgba(255, 125, 48, 0.08);
}

.page-home .mission-launch-grid-single {
  grid-template-columns: 1fr;
}

.page-home .market-heat-grid,
.page-home .heat-metrics {
  display: grid;
  gap: 12px;
}

.page-home .heat-card {
  display: grid;
  gap: 14px;
}

.page-home .heat-card.is-active {
  border-color: rgba(255, 125, 48, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 125, 48, 0.18);
}

.page-home .heat-card.is-locked {
  border-style: dashed;
}

.page-home .heat-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .heat-metrics div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .heat-metrics strong {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 0.94;
}

.page-home .featured-routes-grid,
.page-australia .source-grid {
  align-items: start;
}

.page-australia .au-playbook-card {
  gap: 16px;
}

.page-australia .playbook-section {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.page-australia .playbook-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-australia .route-timeline {
  display: grid;
  gap: 10px;
}

.page-australia .timeline-step {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-australia .timeline-step p {
  margin: 0;
  color: var(--muted);
}

.page-australia .ticket-stack {
  display: grid;
  gap: 10px;
}

.page-australia .salary-ladder {
  display: grid;
  gap: 8px;
}

.page-australia .salary-ladder-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.page-australia .salary-ladder-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-australia .salary-ladder-row span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-australia .salary-ladder-row strong {
  overflow-wrap: anywhere;
}

.page-australia .au-mission-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-australia .au-mission-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 125, 48, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
}

.page-australia .au-mission-card.is-primary {
  border-color: rgba(255, 125, 48, 0.28);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 125, 48, 0.12);
}

.page-australia .au-mission-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.money-box-au .money-value {
  font-size: clamp(1.28rem, 3vw, 1.82rem);
  letter-spacing: 0;
}

.detail-facts-cadence {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.detail-facts-cadence .detail-fact {
  border-color: rgba(255, 125, 48, 0.12);
  background: rgba(255, 125, 48, 0.045);
}

.detail-facts-cadence .detail-fact div {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.2;
}

@media (min-width: 900px) {
  .page-home .mission-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  }

  .page-home .mission-layout {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .page-home .world-panel-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: start;
  }

  .page-home .world-panel-prime .world-panel-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  }

  .page-home .market-heat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 719px) {
  .page-home main.home-shell {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-inline: auto;
    overflow-x: hidden;
  }

  .page-home .home-map-section,
  .page-home .world-panel-prime {
    min-height: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-home .world-panel-head .section-title {
    font-size: clamp(1.42rem, 6.5vw, 1.82rem);
    line-height: 1;
  }

  .page-home .world-panel-grid,
  .page-home .world-map-stage,
  .page-home .world-map-canvas,
  .page-home .world-map-dock,
  .page-home .market-drawer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-home .world-map-shell {
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    min-width: 0;
    box-sizing: border-box;
  }

  .page-home .mission-console,
  .page-home .profile-lab-panel,
  .page-home .world-panel {
    padding: 16px;
  }

  .page-home .hero-actions {
    display: grid;
  }

  .page-home .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .page-home .world-map-shell {
    min-height: 390px;
    padding: 10px;
  }

  .page-home .world-map-canvas {
    min-height: 330px;
    aspect-ratio: 1 / 1;
  }

  .page-home .world-map-dock {
    grid-template-columns: 1fr;
  }

  .page-home .world-dock-item {
    display: grid;
    justify-content: start;
  }

  .page-home .world-dock-item strong {
    justify-self: start;
  }

  .page-home .world-map-legend {
    position: static;
    padding: 8px 0 0;
  }

  .page-home .atlas-pin {
    width: 24px;
    height: 24px;
    padding: 0;
  }

  .page-home .atlas-pin-dot {
    width: 9px;
    height: 9px;
  }

  .page-home .atlas-pin-code {
    font-size: 0.52rem;
  }

  .page-home .atlas-pin-score {
    font-size: 0.68rem;
  }

  .page-home .heat-metrics {
    grid-template-columns: 1fr;
  }

  .page-australia .au-mission-grid {
    grid-template-columns: 1fr;
  }

  .page-australia .salary-ladder-row {
    grid-template-columns: 1fr;
  }

  .page-australia {
    overflow-x: hidden;
  }

  .page-australia .shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .page-australia .page-hero,
  .page-australia .hero-grid,
  .page-australia .content-grid,
  .page-australia .panel,
  .page-australia .card,
  .page-australia .source-card,
  .page-australia .decision-hero-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .page-australia p,
  .page-australia h1,
  .page-australia h2,
  .page-australia h3,
  .page-australia .hero-copy,
  .page-australia .list-item div {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .page-australia .display-title {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.05rem);
    overflow-wrap: anywhere;
  }

  .page-australia .display-title .accent {
    display: block;
  }

  .page-australia .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-australia .button-row .button {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .page-australia .money-row,
  .page-australia .detail-facts {
    grid-template-columns: 1fr;
  }
}
