header nav a[aria-current="page"] {
  color: var(--foreground);
}

header nav a:focus-visible,
header nav button:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 5px;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid #252525;
  background: #0a0a0a;
}
.nav-bar { position: relative; display: flex; align-items: center; gap: 24px; min-height: 48px; padding: 0 24px; }
.nav-logo { display: inline-flex; flex-shrink: 0; }
.nav-logo img { height: 21px; width: auto; }
.nav-content { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-items { display: flex; align-items: center; gap: 14px; padding: 0; margin: 0; list-style: none; }
.nav-item { position: relative; }
.nav-entry { display: flex; align-items: center; height: 48px; }
.nav-top-link { padding: 10px 0 10px 4px; color: #a5a5a5; font-size: 13px; white-space: nowrap; transition: color 150ms; }
.nav-top-link:not([aria-disabled="true"]):hover, .nav-item[data-open="true"] .nav-top-link { color: var(--foreground); }
.nav-upcoming .nav-entry { gap: 6px; }
.nav-upcoming .nav-top-link { color: #b9b9b9; opacity: .65; cursor: default; }
.nav-soon, .footer-soon { padding: 2px 5px; border: 1px solid #303030; border-radius: 4px; color: #959595; font-size: 9px; line-height: 1.4; }
.nav-disclosure { display: grid; place-items: center; padding: 0; width: 20px; height: 32px; color: #8e8e8e; background: transparent; border: 0; cursor: pointer; }
.nav-disclosure svg { transition: transform 160ms; }
.nav-item[data-open="true"] .nav-disclosure svg { transform: rotate(180deg); }
/* The transparent top padding belongs to the full-width menu hit area. */
.nav-dropdown { position: absolute; top: 100%; left: 0; width: 276px; padding: 6px 0 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 140ms; }
.nav-item:nth-last-child(-n+2) .nav-dropdown { left: auto; right: 0; }
.nav-item[data-open="true"] .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-dropdown ul { margin: 0; padding: 6px; list-style: none; background: #111; border: 1px solid #2d2d2d; border-radius: 8px; box-shadow: 0 12px 30px rgb(0 0 0 / 30%); }
.nav-dropdown-link { display: flex; flex-direction: column; gap: 4px; padding: 11px 12px; border-radius: 5px; transition: background 140ms; }
.nav-dropdown-link:hover, .nav-dropdown-link:focus-visible { background: #202020; }
.nav-dropdown-link span { color: #ededed; font-size: 13px; font-weight: 500; }
.nav-dropdown-link small { color: #a0a0a0; font-size: 12px; line-height: 1.45; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-sign-in, .nav-try { display: inline-flex; justify-content: center; align-items: center; height: 32px; border-radius: 5px; font-size: 12px; padding: 0 14px; white-space: nowrap; }
.nav-sign-in { background: #fff; border: 1px solid #e5e5e5; color: #303030; }
.nav-try { background: #090909; color: #eee; border: 1px solid #414141; }
.nav-sign-in:hover { background: #e8e8e8; }
.nav-try:hover { border-color: #777; }
.nav-mobile-toggle { display: none; }

@media (max-width: 1023px) {
  .nav-bar { flex-wrap: wrap; gap: 0; padding: 2px 16px; min-height: 48px; }
  .nav-mobile-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 6px; margin: 0 -6px 0 auto; cursor: pointer; background: transparent; border: 0; color: var(--foreground); }
  .nav-mobile-toggle span { display: block; height: 1.5px; width: 18px; background: currentColor; transition: transform 160ms; }
  .site-nav[data-menu-open="true"] .nav-mobile-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .site-nav[data-menu-open="true"] .nav-mobile-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-content { display: none; width: 100%; margin-left: 0; padding-top: 16px; }
  .site-nav[data-menu-open="true"] { bottom: 0; overflow-y: auto; overscroll-behavior: contain; }
  .site-nav[data-menu-open="true"] .nav-content { display: block; }
  .nav-items { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-entry { justify-content: space-between; height: auto; min-height: 52px; }
  .nav-top-link { padding: 12px 0; font-size: 18px; }
  .nav-upcoming .nav-entry { justify-content: flex-start; gap: 12px; }
  .nav-soon { font-size: 10px; }
  .nav-disclosure { width: 44px; height: 44px; }
  .nav-disclosure svg { width: 16px; height: 16px; }
  .nav-dropdown { display: none; position: static; width: auto; margin: 0 0 12px; padding: 0; }
  .nav-dropdown ul { padding: 4px; box-shadow: none; }
  .nav-item[data-open="true"] .nav-dropdown { display: block; }
  .nav-actions { flex-wrap: wrap; padding: 24px 0; }
  .nav-sign-in { width: 100%; height: 44px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav, .site-nav * { transition: none !important; }
}

.route-page {
  min-height: 72vh;
  margin-inline: 30px;
  border-inline: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0, rgb(255 255 255 / 3%), transparent 65%);
}

.route-intro {
  max-width: 1152px;
  margin: 0 auto;
  padding: clamp(150px, 20vh, 220px) 24px 100px;
}

.route-eyebrow {
  margin: 0 0 24px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.route-intro h1 {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.route-description {
  max-width: 560px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.route-sections { max-width: 1152px; margin: 0 auto; padding: 0 24px 80px; }
.route-section { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 52px 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.section-number { font-size: 13px; color: var(--muted-foreground); padding-top: 8px; }
.section-content h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 18px; }
.section-content > p { max-width: 670px; font-size: 17px; line-height: 1.7; color: var(--muted-foreground); }
.product-details { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 40px; }
.product-details h3 { margin-bottom: 12px; font-size: 17px; font-weight: 500; }
.product-details p { color: var(--muted-foreground); font-size: 14px; line-height: 1.7; max-width: 320px; }
.channel-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.channel-list li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; }
.channel-list img { width: 24px; height: 24px; object-fit: contain; }

@media (max-width: 600px) {
  .route-page { min-height: 65vh; }
  .route-intro { padding-inline: 20px; }
  .route-description { font-size: 16px; }
  .route-section { grid-template-columns: 1fr; gap: 18px; padding-block: 36px; }
  .route-sections { padding-inline: 20px; }
  .product-details { grid-template-columns: 1fr; gap: 28px; }
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 28px;
}

.site-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.site-footer-brand { max-width: 384px; }
.site-footer-logo { display: inline-flex; }
.site-footer-logo img { width: auto; height: 28px; }
.site-footer-brand p {
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer-nav a {
  display: block;
  padding-block: 6px;
  color: var(--muted-foreground);
  font-size: 14px;
  transition: color 150ms;
}
.site-footer-nav .footer-upcoming { color: #b9b9b9; opacity: .65; display: flex; align-items: center; gap: 7px; }
.site-footer-nav .footer-upcoming:hover, .site-footer-nav .footer-upcoming:focus-visible { opacity: 1; }

.site-footer-nav a:hover,
.site-footer-nav a[aria-current="page"] { color: var(--foreground); }
.site-footer a:focus-visible { outline: 2px solid var(--foreground); outline-offset: 5px; }

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted-foreground);
}
.site-footer-bottom small { font-size: 13px; }
.site-footer-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-foreground);
  font-size: 13px;
  text-underline-offset: 4px;
  transition: color 150ms;
}
.site-footer-contact:hover { color: var(--foreground); text-decoration: underline; }

@media (max-width: 800px) {
  .site-footer-main { flex-direction: column; gap: 28px; }
  .site-footer-inner { padding-top: 40px; }
  .site-footer-nav ul { gap: 8px 24px; }
}
