:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --surface-muted: #f2f4f1;
  --sky-1: #dbe8f3;
  --sky-2: #eaf1f7;
  --sky-3: #f6f3ec;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --ink: #0f1218;
  --ink-2: #475467;
  --ink-3: #667085;
  --cobalt: #2563eb;
  --cobalt-dark: #1d4ed8;
  --cobalt-soft: rgba(37, 99, 235, 0.1);
  --teal: #0f766e;
  --teal-soft: rgba(15, 118, 110, 0.1);
  --amber: #b45309;
  --amber-soft: rgba(217, 119, 6, 0.12);
  --trail: rgba(37, 99, 235, 0.38);
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 40px 90px -20px rgba(30, 58, 110, 0.28), 0 8px 24px rgba(15, 23, 42, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

main {
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.mono {
  font-family: var(--font-mono);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 90;
  background: linear-gradient(90deg, var(--cobalt), var(--teal));
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 28px;
}

section[id] {
  scroll-margin-top: 86px;
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}

.nav-wrap.is-scrolled {
  background: rgba(251, 251, 249, 0.8);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 17px;
  color: var(--ink);
}

.brand-icon {
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14);
}

.brand-badge {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-3);
  padding-left: 10px;
  border-left: 1px solid var(--border-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 180ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn:focus-visible,
.route-pill:focus-visible,
.channel-tab:focus-visible,
.stage-dot:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.btn--sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn--lg {
  height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

.btn--full {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(15, 18, 24, 0.45);
}

.btn--primary:hover {
  background: #232834;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -8px rgba(15, 18, 24, 0.5);
}

.btn--surface {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn--surface:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.3);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
}

.btn--ghost:hover {
  color: var(--ink);
}

.btn-sub-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
}

.btn-os-icon {
  display: inline-flex;
  align-items: center;
}

.btn-size {
  font-size: 11.5px;
  opacity: 0.75;
}

/* ---------- Hero: open sky + contour lines + free globe ---------- */
.hero-band {
  --globe: clamp(460px, min(52vw, calc(100vh - 220px)), 720px);
  position: relative;
  padding-top: 92px;
  padding-bottom: 130px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 78% 42%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--sky-3) 82%, var(--bg) 100%);
}

.contour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, #000 55%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, #000 55%), linear-gradient(180deg, #000 70%, transparent 100%);
  mask-composite: intersect;
}

.hero-globe {
  position: absolute;
  z-index: 1;
  top: 92px;
  right: max(0px, calc((100vw - 1200px) / 2 - 40px));
  width: var(--globe);
  aspect-ratio: 1;
  touch-action: pan-y;
}

.hero-globe-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  cursor: grab;
}

.hero-globe-canvas:active {
  cursor: grabbing;
}

.globe-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  text-align: center;
}

.globe-hud-route {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.route-switcher {
  justify-content: center;
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.route-pill {
  position: relative;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 160ms ease;
}

.route-pill::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.route-pill:hover {
  color: var(--ink);
}

.route-pill.is-active {
  color: var(--ink);
}

.route-pill.is-active::after {
  transform: scaleX(1);
}

.hero-inner {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.hero-inner a,
.hero-inner button {
  pointer-events: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  align-content: center;
  min-height: var(--globe);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.eyebrow:hover {
  color: var(--ink);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.hero-title {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 800;
  color: var(--ink);
}

.hero-sub {
  margin: 26px 0 0;
  max-width: 500px;
  font-size: clamp(1.02rem, 1.35vw, 1.13rem);
  line-height: 1.65;
  color: var(--ink-2);
}

.hero-cta-group {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
  color: var(--ink-3);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--teal);
  opacity: 0.7;
}

.hero-trail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 110px;
  z-index: 1;
  pointer-events: none;
}

.hero-trail path {
  fill: none;
  stroke: var(--trail);
  stroke-width: 1.6;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: trail-march 2.4s linear infinite;
}

@keyframes trail-march {
  to {
    stroke-dashoffset: -28;
  }
}

/* ---------- Floating product shot ---------- */
.showcase {
  position: relative;
  padding-bottom: 40px;
  z-index: 3;
}

.showcase-stage {
  position: relative;
  perspective: 1600px;
}

.showcase-glow {
  position: absolute;
  inset: 8% 6% -6%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(96, 165, 250, 0.45), transparent 60%),
    radial-gradient(ellipse at 75% 60%, rgba(45, 212, 191, 0.32), transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(251, 191, 36, 0.22), transparent 60%);
  filter: blur(60px);
}

.showcase-bezel {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}

.showcase-media {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  outline: 1px solid rgba(15, 23, 42, 0.06);
}

.showcase-media img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-caption {
  margin: 22px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 640px;
}

/* ---------- Section Headings ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cobalt-dark);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  border-top: 1.5px dashed var(--trail);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 800;
  color: var(--ink);
}

.section-sub {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 600px;
}

.inline-link {
  color: var(--cobalt-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 6-Step Workflow ---------- */
.workflow {
  padding-top: 110px;
  padding-bottom: 120px;
}

.scrolly-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.scrolly-visual-col {
  position: sticky;
  top: 110px;
}

.stage-viewport {
  position: relative;
  min-height: 420px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stage-viewport::before {
  content: "";
  position: absolute;
  inset: -10% -14%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 35% 45%, rgba(147, 197, 253, 0.42), transparent 62%),
    radial-gradient(ellipse at 70% 70%, rgba(153, 246, 228, 0.32), transparent 60%);
  filter: blur(40px);
}

.stage-viewport-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stage-counter {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cobalt-dark);
}

.stage-dots {
  display: flex;
  gap: 6px;
}

.stage-dot {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.14);
  padding: 0;
  transition: background 180ms ease, width 180ms ease;
}

.stage-dot.is-active {
  width: 34px;
  background: var(--ink);
}

.stage-panels {
  position: relative;
  flex: 1;
  display: grid;
}

.stage-panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  pointer-events: none;
  transition: opacity 280ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: stretch;
}

.stage-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mock-card {
  width: 100%;
  border-radius: 20px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -24px rgba(30, 58, 110, 0.28), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.mock-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.mock-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.mock-sub {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.mock-dim {
  color: var(--ink-3);
  font-size: 11.5px;
}

.mock-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mock-pills,
.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mpill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--surface-muted);
}

.mpill--ink {
  background: var(--ink);
  color: #ffffff;
}

.mpill--cobalt {
  color: var(--cobalt-dark);
  background: var(--cobalt-soft);
}

.mpill--teal {
  color: var(--teal);
  background: var(--teal-soft);
}

.mpill--amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.mock-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mini-tile {
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-tile span {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}

.mini-tile small {
  color: var(--ink-3);
  font-size: 11px;
}

.mock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 4px;
}

.mbtn {
  text-align: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface-muted);
  color: var(--ink-2);
}

.mbtn--solid {
  background: var(--ink);
  color: #ffffff;
}

.hub-row,
.flight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--border);
}

.hub-row:last-child,
.flight-row:last-child {
  border-bottom: 0;
}

.flight-row--best .flight-price {
  color: var(--cobalt-dark);
}

.flight-route {
  margin-top: 5px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.flight-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.route-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rnode {
  display: inline-flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface-muted);
  font-size: 12.5px;
}

.rnode small {
  font-family: var(--font-mono);
  color: var(--cobalt-dark);
  font-size: 10.5px;
}

.rarrow {
  color: var(--ink-3);
}

.hotel-map-sim {
  position: relative;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 46% 52%, rgba(37, 99, 235, 0.08), rgba(241, 245, 249, 0.92)),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.05) 0 1px, transparent 1px 28px);
}

.hdot {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.hdot--sight {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
}

.hdot--hotel {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--cobalt);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.45);
}

.hdot--picked {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.24);
}

/* Right steps column: open list on a dashed trail */
.scrolly-steps {
  position: relative;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scrolly-rail {
  position: absolute;
  left: 8px;
  top: 30px;
  bottom: 30px;
  width: 0;
  border-left: 1.5px dashed rgba(15, 23, 42, 0.18);
}

.scrolly-rail-fill {
  position: absolute;
  left: -1.5px;
  top: 0;
  width: 1.5px;
  height: 16.6%;
  background: linear-gradient(180deg, var(--cobalt), var(--teal));
  transition: height 260ms ease;
}

.step-card {
  position: relative;
  padding: 18px 0 22px;
  opacity: 0.42;
  transition: opacity 240ms ease, transform 240ms ease;
  cursor: pointer;
}

.step-card:hover {
  opacity: 0.7;
}

.step-card::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1.5px solid rgba(15, 23, 42, 0.3);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.step-card.is-active {
  opacity: 1;
}

.step-card.is-active::before {
  background: var(--cobalt);
  border-color: var(--cobalt);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15);
}

.step-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cobalt-dark);
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--ink);
}

.step-card p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- Workspace features (open grid) ---------- */
.features {
  padding-top: 40px;
  padding-bottom: 120px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 72px;
}

.bento-card {
  padding-top: 28px;
  border-top: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt-dark);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.14), rgba(15, 118, 110, 0.1));
}

.bento-card h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 520px;
}

.bento-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 11.5px;
  color: var(--ink-3);
}

.bento-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.bento-tags span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--cobalt);
  opacity: 0.6;
}

/* ---------- Local Storage ---------- */
.arch {
  padding-bottom: 130px;
}

.arch-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.arch-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink);
}

.arch-copy p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-2);
}

.arch-tree {
  position: relative;
  padding: 6px 0 6px 28px;
  border-left: 1.5px dashed var(--trail);
  font-size: 13px;
  line-height: 2.2;
  overflow-x: auto;
  color: var(--ink-2);
}

.tree-dir {
  color: var(--cobalt-dark);
  font-weight: 600;
}

.tree-file {
  color: var(--ink);
  font-weight: 500;
}

.tree-note {
  color: var(--ink-3);
}

/* ---------- Download ---------- */
.download {
  padding-bottom: 40px;
}

.channel-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  margin-bottom: 26px;
}

.channel-tab {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.channel-tab:hover {
  color: var(--ink);
}

.channel-tab.is-active {
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.release-status {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 36px;
}

.release-status-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--cobalt-dark);
  background: var(--cobalt-soft);
}

.channel-badge--alpha {
  color: var(--amber);
  background: var(--amber-soft);
}

.channel-badge--beta {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
}

.channel-badge--stable {
  color: var(--teal);
  background: var(--teal-soft);
}

.release-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.release-date {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--ink-3);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.os-card {
  padding: 8px 56px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.os-card + .os-card {
  padding: 8px 0 8px 56px;
  border-left: 1px solid var(--border);
}

.os-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.os-logo {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  flex-shrink: 0;
}

.os-card.is-recommended .os-logo {
  color: var(--cobalt-dark);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12), var(--shadow-md);
}

.os-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.os-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.detected-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--teal-soft);
}

.os-req {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.os-actions {
  display: grid;
  gap: 10px;
}

.os-actions--dual {
  grid-template-columns: 1fr 1fr;
}

.os-note {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

.os-note strong,
.os-note span {
  color: var(--ink-2);
}

.cmd-chip {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
}

/* ---------- Closing landscape ---------- */
.landscape {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1440 / 360;
  min-height: 200px;
  margin-top: 40px;
  background: linear-gradient(180deg, var(--bg) 0%, #eef3f7 100%);
}

.landscape svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.landscape-trail {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
  animation: trail-march 2.4s linear infinite;
}

.landscape-pin {
  fill: var(--cobalt);
  stroke: #ffffff;
  stroke-width: 3;
}

.landscape-label {
  position: absolute;
  left: calc(64.6% + 16px);
  top: calc(32.8% - 26px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 19px);
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer-band {
  background: #eef3f7;
}

.footer {
  padding-bottom: 40px;
}

.footer-inner {
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-3);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 600;
}

.footer-domain {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 400;
  padding-left: 8px;
  border-left: 1px solid var(--border-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-band {
    padding-top: 120px;
    padding-bottom: 90px;
    display: flex;
    flex-direction: column;
  }

  .hero-inner {
    order: 0;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-trail {
    display: none;
  }

  .hero-globe {
    order: 1;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    align-self: center;
    aspect-ratio: auto;
    width: min(620px, 100vw);
    margin: 10px 0 -40px;
  }

  .globe-caption {
    position: static;
    margin-top: -12px;
    padding-inline: 20px;
  }

  .scrolly-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .scrolly-visual-col {
    position: relative;
    top: 0;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .arch-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .os-card,
  .os-card + .os-card {
    padding: 0;
    border-left: 0;
  }

  .os-card + .os-card {
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }

  .landscape-label {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: 20px;
  }

  .os-actions--dual {
    grid-template-columns: 1fr;
  }

  .brand-badge,
  .nav-actions .btn--ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .showcase-bezel {
    transform: none !important;
  }
  .hero-trail path,
  .landscape-trail {
    animation: none;
  }
}
