@charset "UTF-8";

/* 作者：搭客佬
   链接：https://www.tuntunjugw.cn/ */

:root {
  --navy: #0a1730;
  --navy-soft: #142443;
  --blue: #367ff4;
  --blue-deep: #1766e6;
  --coral: #ff5e65;
  --coral-dark: #ee454f;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --mist: #edf4ff;
  --text: #0b1d3b;
  --muted: #60708b;
  --line: #dce4ef;
  --header-height: 78px;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--text);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

.container {
  width: min(calc(100% - 40px), var(--content-width));
  margin-right: auto;
  margin-left: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-menu {
  background-image: url("../icons/menu.svg");
}

.icon-download {
  background-image: url("../icons/download.svg");
}

.icon-search {
  background-image: url("../icons/search.svg");
}

.icon-list {
  background-image: url("../icons/list.svg");
}

.icon-bell {
  background-image: url("../icons/bell.svg");
}

.icon-phone {
  background-image: url("../icons/phone.svg");
}

.icon-code {
  background-image: url("../icons/code.svg");
}

.icon-lock {
  background-image: url("../icons/lock.svg");
}

.icon-eye {
  background-image: url("../icons/eye.svg");
}

.icon-play {
  background-image: url("../icons/play.svg");
}

.icon-clock {
  background-image: url("../icons/clock.svg");
}

.icon-check {
  background-image: url("../icons/check.svg");
}

.icon-heart {
  background-image: url("../icons/heart.svg");
}

.icon-globe {
  background-image: url("../icons/globe.svg");
}

.icon-avatar {
  background-image: url("../icons/avatar.svg");
}

.icon-up {
  background-image: url("../icons/up.svg");
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  min-width: 0;
  margin-left: 12px;
  flex-direction: column;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.25;
}

.brand-copy span {
  color: #9bb0cf;
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 38px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 28px 0 25px;
  color: #dce6f6;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #ffffff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--coral);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(10, 23, 48, 0.032) 1px, transparent 1px),
    linear-gradient(rgba(10, 23, 48, 0.032) 1px, transparent 1px),
    var(--cream);
  background-size: 52px 52px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  min-height: 720px;
  gap: 78px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-index,
.ticket-copy > span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 100%;
  color: var(--blue-deep);
  font-size: clamp(76px, 8vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-copy > h2 {
  margin-top: 30px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 45px);
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.hero-intro {
  max-width: 720px;
  margin-top: 22px;
  color: #52647f;
  font-size: 17px;
  line-height: 1.95;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 28px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.hero-features .icon {
  width: 24px;
  height: 24px;
}

.hero-action {
  display: flex;
  align-items: flex-start;
  margin-top: 34px;
  flex-direction: column;
  gap: 12px;
}

.primary-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  min-height: 58px;
  padding: 0 28px;
  color: #ffffff;
  background: var(--coral);
  border: 1px solid var(--coral);
  font-size: 17px;
  font-weight: 800;
  gap: 12px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.primary-download .icon {
  background-image: url("../icons/download-white.svg");
}

.primary-download:hover,
.primary-download:focus-visible {
  color: var(--coral);
  background: #ffffff;
}

.primary-download:hover .icon,
.primary-download:focus-visible .icon {
  background-image: url("../icons/download-coral.svg");
}

.age-label {
  color: var(--muted);
  font-size: 13px;
}

.phone-stage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.phone-shell {
  width: 300px;
  padding: 13px;
  background: #0d1118;
  border: 1px solid #000000;
  border-radius: 42px;
}

.phone-screen {
  min-height: 584px;
  overflow: hidden;
  background: #f8faff;
  border-radius: 31px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 18px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.status-symbols {
  letter-spacing: 0.12em;
}

.phone-login {
  padding: 18px 21px 22px;
}

.phone-login > img {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 15px;
  object-fit: contain;
}

.phone-login > strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 16px;
  text-align: center;
}

.phone-login > h3 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.25;
}

.phone-login > p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  position: relative;
  height: 42px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
}

.auth-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
}

.auth-tab.is-active {
  color: var(--coral);
  font-weight: 800;
}

.auth-tab.is-active::after {
  transform: scaleX(1);
}

.auth-form {
  margin-top: 16px;
}

.auth-form > label:not(.remember-row) {
  display: block;
  margin-bottom: 12px;
}

.auth-form > label > span:first-child {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.field-wrap {
  display: flex;
  align-items: center;
  height: 43px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  gap: 8px;
}

.field-wrap .icon {
  width: 17px;
  height: 17px;
}

.field-wrap input {
  min-width: 0;
  flex: 1;
  color: var(--navy);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.field-code button,
.password-toggle {
  padding: 0;
  color: var(--blue-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}

.password-toggle {
  display: inline-flex;
}

.remember-row {
  display: flex;
  align-items: center;
  margin: 7px 0 12px;
  color: var(--muted);
  font-size: 12px;
  gap: 7px;
}

.remember-row input {
  accent-color: var(--coral);
}

.auth-submit,
.auth-secondary {
  width: 100%;
  min-height: 43px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.auth-submit {
  color: #ffffff;
  background: var(--blue-deep);
  border: 1px solid var(--blue-deep);
}

.auth-secondary {
  margin-top: 9px;
  color: var(--blue-deep);
  background: #ffffff;
  border: 1px solid var(--blue-deep);
}

.section {
  padding: 100px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: end;
  margin-bottom: 44px;
  column-gap: 50px;
}

.section-heading .section-index {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading p {
  color: var(--muted);
  font-size: 15px;
  text-align: right;
}

.watchlist-section {
  background: var(--mist);
}

.watchlist-console {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ccdaf0;
}

.watchlist-rail {
  padding: 24px 0;
  background: var(--navy);
}

.rail-tab {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  color: #aebbd0;
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  text-align: left;
}

.rail-tab:nth-child(4) {
  margin-top: 28px;
}

.rail-tab.is-active,
.rail-tab:hover,
.rail-tab:focus-visible {
  color: #ffffff;
  background: rgba(54, 127, 244, 0.19);
  border-left-color: var(--coral);
}

.watchlist-board {
  padding: 28px 34px 34px;
}

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.board-toolbar span {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.board-toolbar h3 {
  margin-top: 4px;
  font-size: 28px;
}

.board-toolbar button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--blue-deep);
  background: #ffffff;
  border: 1px solid #a9c5f5;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.board-filters {
  display: flex;
  margin-top: 24px;
  gap: 8px;
}

.board-filters button {
  min-height: 38px;
  padding: 0 18px;
  color: var(--muted);
  background: #f3f6fa;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
}

.board-filters button.is-active {
  color: var(--blue-deep);
  background: #ffffff;
  border-color: var(--blue);
  font-weight: 800;
}

.watchlist-items {
  margin-top: 18px;
}

.watchlist-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 84px;
  padding: 10px 4px;
  border-top: 1px solid var(--line);
  gap: 16px;
}

.watchlist-item figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: var(--mist);
  overflow: hidden;
}

.watchlist-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.watchlist-item h4 {
  font-size: 16px;
}

.watchlist-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.item-status {
  padding: 6px 11px;
  color: var(--blue-deep);
  background: #eaf2ff;
  font-size: 12px;
  font-weight: 700;
}

.route-section {
  background: var(--cream);
}

.route-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}

.route-step {
  min-height: 360px;
  padding: 32px;
  background: #ffffff;
  border-right: 1px solid var(--line);
}

.route-step:last-child {
  border-right: 0;
}

.route-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--blue-deep);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.route-step h3 {
  margin-top: 22px;
  font-size: 25px;
}

.route-step > p {
  min-height: 50px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.mini-search {
  display: flex;
  align-items: center;
  height: 44px;
  margin-top: 26px;
  padding: 0 14px;
  color: #77849a;
  background: #f2f5fa;
  gap: 9px;
  font-size: 12px;
}

.mini-search .icon {
  width: 17px;
  height: 17px;
}

.mini-tags {
  display: flex;
  margin-top: 12px;
  gap: 8px;
}

.mini-tags button {
  padding: 6px 11px;
  color: var(--blue-deep);
  background: #ffffff;
  border: 1px solid #bbcff2;
  cursor: pointer;
  font-size: 12px;
}

.route-step-dark {
  color: #ffffff;
  background: var(--navy);
}

.route-step-dark h3,
.route-step-dark > p {
  color: #ffffff;
}

.route-step-dark > p {
  opacity: 0.7;
}

.mini-ranking {
  margin-top: 19px;
}

.mini-ranking li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 49px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  gap: 8px;
}

.mini-ranking li > span {
  color: var(--coral);
  font-weight: 800;
}

.mini-ranking strong {
  font-size: 13px;
}

.mini-ranking small {
  color: #98aac5;
  font-size: 12px;
}

.route-step-reminder {
  background: #edf5ff;
}

.reminder-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 82px;
  margin-top: 25px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #cbdcf5;
  gap: 11px;
}

.reminder-card > .icon {
  width: 32px;
  height: 32px;
}

.reminder-card div {
  display: flex;
  flex-direction: column;
}

.reminder-card strong {
  font-size: 13px;
}

.reminder-card div span {
  color: var(--muted);
  font-size: 12px;
}

.switch {
  display: flex;
  align-items: center;
  width: 45px;
  height: 24px;
  padding: 3px;
  background: #aab6c8;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
}

.switch span {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
}

.switch.is-on {
  justify-content: flex-end;
  background: var(--blue-deep);
}

.screenshot-section {
  background: #ffffff;
}

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

.screenshot-grid figure {
  display: flex;
  min-width: 0;
  background: var(--cream);
  border: 1px solid #cbd6e5;
  flex-direction: column;
}

.screenshot-view {
  display: flex;
  aspect-ratio: 9 / 16;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #ffffff;
  overflow: hidden;
}

.screenshot-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screenshot-grid figcaption {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin-top: auto;
  padding: 0 20px;
  background: var(--cream);
  border-top: 1px solid #cbd6e5;
  gap: 14px;
}

.screenshot-grid figcaption span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.screenshot-grid figcaption strong {
  font-size: 16px;
}

.faq-section {
  background: var(--cream);
}

.faq-list {
  border-top: 1px solid var(--navy);
}

.faq-item {
  border-bottom: 1px solid #cfd5df;
}

.faq-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 0 24px;
  color: var(--navy);
  background: #ffffff;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.faq-item > button span {
  display: flex;
  align-items: center;
  gap: 30px;
}

.faq-item em {
  color: var(--coral);
  font-size: 12px;
  font-style: normal;
}

.faq-item > button > i {
  color: var(--blue-deep);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
}

.faq-answer {
  padding: 0 78px 24px;
  color: var(--muted);
  background: #ffffff;
  font-size: 14px;
}

.official-site {
  width: 100%;
  margin-top: 26px;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.official-site summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 24px;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary span {
  display: flex;
  align-items: center;
  gap: 13px;
}

.official-site .icon-globe {
  background-image: url("../icons/globe-white.svg");
}

.site-symbol {
  color: var(--coral);
  font-size: 24px;
  font-style: normal;
}

.official-site[open] .site-symbol {
  transform: rotate(45deg);
}

.official-site > div {
  padding: 0 58px 25px;
}

.official-site > div a {
  color: #b9d0f7;
  font-size: 14px;
  word-break: break-all;
}

.review-section {
  background: #eff5ff;
}

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

.review-card {
  display: flex;
  min-height: 250px;
  padding: 26px;
  background: #ffffff;
  border-top: 4px solid var(--blue-deep);
  flex-direction: column;
}

.review-card:nth-child(even) {
  border-top-color: var(--coral);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-user {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.review-user .icon-avatar {
  width: 40px;
  height: 40px;
}

.review-user strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-rating {
  display: inline-flex;
  color: #ff9b1a;
  font-size: 14px;
  gap: 2px;
  white-space: nowrap;
}

.review-rating .fa {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.review-rating .fa-star {
  background-image: url("../icons/rating-full.svg");
}

.review-rating .fa-star-o {
  background-image: url("../icons/rating-empty.svg");
}

.review-card > p {
  margin-top: 22px;
  color: #34445e;
  font-size: 14px;
  line-height: 1.9;
}

.review-card time {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 82px 0;
  background: var(--cream);
}

.download-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px 280px;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  background: var(--blue-deep);
}

.ticket-copy {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 34px 48px;
  color: #ffffff;
  flex-direction: column;
}

.ticket-copy::after {
  position: absolute;
  right: 32px;
  bottom: -38px;
  width: 154px;
  height: 154px;
  content: "";
  border: 22px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.ticket-copy > span {
  margin-bottom: 6px;
  color: #cfe0ff;
}

.ticket-copy h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  white-space: nowrap;
}

.ticket-copy p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #e0eaff;
  font-size: 14px;
}

.ticket-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--cream);
  flex-direction: column;
}

.ticket-mark i {
  width: 12px;
  height: 12px;
  background: var(--cream);
  border: 2px solid var(--coral);
  border-radius: 50%;
}

.ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #ffffff;
  background: var(--coral);
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ticket-action .icon {
  width: 28px;
  height: 28px;
  background-image: url("../icons/download-white.svg");
}

.ticket-action strong {
  font-size: 24px;
}

.ticket-action:hover,
.ticket-action:focus-visible {
  color: var(--coral);
  background: #ffffff;
}

.ticket-action:hover .icon,
.ticket-action:focus-visible .icon {
  background-image: url("../icons/download-coral.svg");
}

.site-footer {
  color: #dce7fa;
  background: var(--navy);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  gap: 40px;
}

.footer-brand span {
  display: flex;
  margin-left: 12px;
  flex-direction: column;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.3;
}

.footer-brand small {
  color: #9bb0cf;
  font-size: 12px;
  white-space: nowrap;
}

.footer-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-nav a {
  font-size: 13px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--coral);
}

.footer-copy {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  text-align: center;
}

.footer-copy p {
  color: #9bb0cf;
  font-size: 12px;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #ffffff;
  background: var(--navy);
  border: 1px solid var(--coral);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top .icon {
  background-image: url("../icons/up-white.svg");
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(54, 127, 244, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 42px;
  }

  .hero h1 {
    font-size: 88px;
  }

  .hero-copy > h2 {
    font-size: 34px;
  }

  .watchlist-console {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .route-step {
    padding: 26px 22px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .site-header,
  .header-inner {
    height: var(--header-height);
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .brand-copy {
    margin-left: 9px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .site-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: block;
    width: min(calc(100% - 28px), var(--content-width));
    margin: 0 auto;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a {
    padding: 17px 4px;
  }

  .site-nav a::after {
    right: auto;
    width: 42px;
  }

  .mobile-actions {
    display: flex;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero {
    padding: 74px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy,
  .phone-stage {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(68px, 18vw, 92px);
  }

  .hero-copy > h2 {
    font-size: 32px;
  }

  .hero-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-features,
  .hero-action,
  .phone-stage {
    align-items: center;
    justify-content: center;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .section-heading p {
    margin-top: 12px;
    text-align: left;
  }

  .watchlist-console {
    grid-template-columns: 1fr;
  }

  .watchlist-rail {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
  }

  .rail-tab,
  .rail-tab:nth-child(4) {
    justify-content: center;
    min-height: 64px;
    margin-top: 0;
    padding: 0 8px;
    border-bottom: 3px solid transparent;
    border-left: 0;
  }

  .rail-tab.is-active,
  .rail-tab:hover,
  .rail-tab:focus-visible {
    border-bottom-color: var(--coral);
  }

  .route-line {
    grid-template-columns: 1fr;
  }

  .route-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-step:last-child {
    border-bottom: 0;
  }

  .route-step > p {
    min-height: 0;
  }

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

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

  .download-ticket {
    grid-template-columns: minmax(0, 1fr) 22px 230px;
  }

  .ticket-copy {
    padding: 32px;
  }

  .ticket-copy h2 {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-copy {
    margin-left: 7px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    max-width: none;
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
    white-space: nowrap;
  }

  .mobile-download {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 58px 0 60px;
    background-size: 38px 38px;
  }

  .hero-grid {
    gap: 44px;
  }

  .eyebrow,
  .section-index,
  .ticket-copy > span {
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(62px, 20vw, 82px);
  }

  .hero-copy > h2 {
    margin-top: 24px;
    font-size: 27px;
  }

  .hero-intro {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-features {
    justify-content: center;
    gap: 14px;
  }

  .hero-features li {
    font-size: 13px;
  }

  .primary-download {
    min-width: 190px;
  }

  .phone-shell {
    width: min(310px, 100%);
  }

  .phone-screen {
    min-height: 560px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .watchlist-rail {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(92px, 1fr));
  }

  .rail-tab {
    font-size: 12px;
  }

  .rail-tab .icon {
    width: 17px;
    height: 17px;
  }

  .watchlist-board {
    padding: 22px 16px 24px;
  }

  .board-toolbar {
    align-items: flex-start;
  }

  .board-toolbar h3 {
    font-size: 22px;
  }

  .board-toolbar button {
    padding: 0 11px;
  }

  .board-filters {
    overflow-x: auto;
  }

  .board-filters button {
    flex: 0 0 auto;
  }

  .watchlist-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }

  .watchlist-item figure {
    width: 54px;
    height: 54px;
  }

  .item-status {
    grid-column: 2;
    justify-self: start;
  }

  .route-step {
    padding: 26px 20px;
  }

  .screenshot-grid {
    gap: 10px;
  }

  .screenshot-view {
    padding: 5px;
  }

  .screenshot-grid figcaption {
    min-height: 60px;
    padding: 0 10px;
    gap: 7px;
  }

  .screenshot-grid figcaption strong {
    font-size: 13px;
  }

  .faq-item > button {
    min-height: 70px;
    padding: 0 16px;
    font-size: 14px;
  }

  .faq-item > button span {
    align-items: flex-start;
    gap: 12px;
  }

  .faq-answer {
    padding: 0 46px 20px;
    font-size: 13px;
  }

  .official-site summary {
    padding: 0 16px;
    font-size: 14px;
  }

  .official-site > div {
    padding: 0 46px 22px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 230px;
    padding: 22px;
  }

  .download-section {
    padding: 60px 0;
  }

  .download-ticket {
    grid-template-columns: 1fr;
  }

  .ticket-copy {
    padding: 30px 24px 36px;
    text-align: left;
  }

  .ticket-copy h2 {
    font-size: 28px;
  }

  .ticket-mark {
    display: flex;
    height: 18px;
    flex-direction: row;
  }

  .ticket-action {
    min-height: 76px;
  }

  .footer-main {
    justify-content: center;
    padding: 36px 0 28px;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px 20px;
  }

  .back-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 20px);
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .mobile-download {
    padding: 0 9px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-copy > h2 {
    font-size: 24px;
  }

  .hero-features {
    gap: 10px;
  }

  .hero-features li {
    gap: 6px;
  }

  .watchlist-item h4 {
    font-size: 14px;
  }

  .screenshot-grid figcaption span {
    font-size: 12px;
  }

  .screenshot-grid figcaption strong {
    font-size: 12px;
  }
}

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  summary {
    transition: none !important;
    animation: none !important;
  }

  a:active,
  button:active,
  summary:active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
