@charset "UTF-8";

:root {
  --ink: #132014;
  --muted: #60705f;
  --paper: #fbfaf3;
  --paper-deep: #f0f4df;
  --green: #1f5a36;
  --green-dark: #123c27;
  --lime: #b8df32;
  --yellow: #f5d84f;
  --line: #cbd5b9;
  --white: #ffffff;
  --header-height: 76px;
  --container: 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);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 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;
}

[class^="i-"],
[class*=" i-"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

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

.i-grid {
  background-image: url("../icons/grid.svg");
}

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

.i-bookmark {
  background-image: url("../icons/bookmark.svg");
}

.i-user {
  background-image: url("../icons/user.svg");
}

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

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

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

.i-star {
  background-image: url("../icons/star.svg");
}

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

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
  will-change: transform;
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
  gap: 11px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.brand__copy strong {
  font-size: 19px;
  white-space: nowrap;
}

.brand__copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: stretch;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 75px;
  padding: 0 17px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 17px;
  bottom: 0;
  left: 17px;
  height: 3px;
  content: "";
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: center;
}

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

.header-download,
.mobile-download,
.primary-download,
.download-pass > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  white-space: nowrap;
}

.header-download {
  min-width: 160px;
  min-height: 44px;
  padding: 0 20px;
  gap: 9px;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 5px;
}

.header-download .i-download,
.primary-download .i-download,
.download-pass > a .i-download {
  filter: brightness(0) invert(1);
}

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

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  cursor: pointer;
}

.menu-toggle span:first-child,
.menu-toggle span:first-child::before,
.menu-toggle span:first-child::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--green-dark);
}

.menu-toggle span:first-child {
  top: 20px;
}

.menu-toggle span:first-child::before {
  top: -6px;
  left: 0;
}

.menu-toggle span:first-child::after {
  top: 6px;
  left: 0;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span:first-child::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:first-child::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(31, 90, 54, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 90, 54, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  content: "";
  background: var(--paper-deep);
  border-left: 1px solid var(--line);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 80px;
}

.hero__copy {
  max-width: 680px;
  padding: 72px 0;
}

.eyebrow,
.section-index {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(72px, 7.2vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero h1::first-letter {
  color: var(--green);
}

.hero h2 {
  margin-top: 28px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
}

.hero__intro {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 10px;
}

.hero__features span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  gap: 8px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.hero__action {
  display: flex;
  align-items: flex-start;
  margin-top: 28px;
  flex-direction: column;
  gap: 10px;
}

.primary-download {
  min-width: 230px;
  min-height: 56px;
  padding: 0 24px;
  gap: 10px;
  color: var(--white);
  background: var(--green-dark);
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  font-size: 16px;
}

.primary-download:hover,
.header-download:hover {
  color: var(--green-dark);
  background: var(--lime);
  border-color: var(--lime);
}

.primary-download:hover .i-download,
.header-download:hover .i-download {
  filter: none;
}

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

.hero__device {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 38px 0;
}

.phone {
  position: relative;
  width: 330px;
  padding: 14px;
  overflow: hidden;
  background: #101511;
  border: 1px solid #101511;
  border-radius: 42px;
}

.phone::before {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  width: 94px;
  height: 25px;
  content: "";
  background: #101511;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.phone__screen {
  position: relative;
  min-height: 596px;
  overflow: hidden;
  background: var(--white);
  border-radius: 31px;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
}

.phone__signals {
  letter-spacing: 0.1em;
}

.phone__brand {
  display: grid;
  padding: 9px 14px 11px;
  grid-template-columns: 30px 1fr 20px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e4eadc;
}

.phone__brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.phone__brand strong {
  font-size: 15px;
}

.phone__brand .i-search {
  width: 17px;
  height: 17px;
}

.phone__search {
  display: grid;
  margin: 12px 14px 0;
  padding: 5px 6px 5px 11px;
  grid-template-columns: 17px 1fr auto;
  align-items: center;
  gap: 7px;
  background: #eef3e8;
  border: 1px solid #dbe5cf;
  border-radius: 5px;
}

.phone__search .i-search {
  width: 15px;
  height: 15px;
}

.phone__search input {
  min-width: 0;
  padding: 5px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.phone__search button {
  padding: 6px 9px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.phone__tabs {
  display: grid;
  margin: 8px 14px 0;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #dfe7d6;
}

.phone__tabs button {
  position: relative;
  padding: 9px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.phone__tabs button::after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
}

.phone__tabs button.is-active::after {
  transform: scaleX(1);
}

.phone-feature {
  display: grid;
  margin: 12px 14px 0;
  padding: 9px;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 5px;
}

.phone-feature img {
  width: 72px;
  height: 88px;
  object-fit: contain;
  background: #eef4e4;
  border-radius: 5px;
}

.phone-feature div {
  display: flex;
  flex-direction: column;
}

.phone-feature span,
.phone-feature small {
  font-size: 12px;
}

.phone-feature strong {
  margin: 5px 0;
  font-size: 18px;
}

.phone__section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px 7px;
}

.phone__section-title span {
  color: var(--muted);
  font-size: 12px;
}

.phone-list {
  padding: 0 14px 64px;
}

.phone-list article {
  display: grid;
  padding: 8px 0;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #e4eadc;
}

.phone-list article[hidden],
.phone-feature[hidden] {
  display: none;
}

.phone-list img {
  width: 42px;
  height: 48px;
  object-fit: contain;
  background: #f4f5ef;
  border-radius: 5px;
}

.phone-list article div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.phone-list article strong,
.phone-list article span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-list article strong {
  font-size: 13px;
}

.phone-list article span {
  color: var(--muted);
  font-size: 12px;
}

.phone-list article button {
  padding: 5px 7px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
}

.phone-list article button.is-saved {
  color: var(--white);
  background: var(--green);
}

.phone__nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 7px 6px 9px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid #dbe3d2;
}

.phone__nav span {
  display: flex;
  align-items: center;
  color: var(--muted);
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.phone__nav span.is-active {
  color: var(--green);
  font-weight: 800;
}

.phone__nav i {
  width: 16px;
  height: 16px;
}

.section {
  padding: 100px 0;
}

.section-heading {
  display: grid;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  align-items: end;
  gap: 30px;
}

.section-heading > p {
  color: var(--muted);
  text-align: right;
}

.section-heading h2,
.shelf-intro h2 {
  margin-top: 8px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

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

.route-filter {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 14px;
  gap: 8px;
}

.route-filter button {
  min-height: 44px;
  padding: 0 20px;
  background: var(--white);
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
}

.route-filter button.is-active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.route-guide {
  display: flex;
  min-height: 64px;
  margin-bottom: 18px;
  padding: 12px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.route-guide__steps {
  display: flex;
  align-items: center;
  gap: 16px;
}

.route-guide__steps span {
  color: var(--green-dark);
  font-weight: 700;
}

.route-guide__steps b {
  margin-right: 5px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.route-guide__steps i {
  color: var(--green);
  font-style: normal;
}

.route-guide > strong {
  color: var(--green);
  white-space: nowrap;
}

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

.route-card {
  display: flex;
  min-width: 0;
  min-height: 480px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  flex-direction: column;
}

.route-card[hidden] {
  display: none;
}

.route-card figure {
  display: flex;
  height: 300px;
  min-height: 300px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper-deep);
}

.route-card figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.route-card__body {
  display: flex;
  min-height: 178px;
  padding: 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
  flex: 1;
  flex-direction: column;
}

.route-card__meta,
.route-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.route-card__meta span,
.route-card__meta b,
.route-card__foot strong,
.route-card__foot span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.route-card__meta b {
  padding: 4px 7px;
  color: var(--green-dark);
  background: var(--paper-deep);
  border-radius: 3px;
}

.route-card__body h3 {
  margin-top: 12px;
  font-size: 22px;
}

.route-card__body p {
  margin: 8px 0 18px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.route-card__foot {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.route-card__foot span {
  color: var(--muted);
  letter-spacing: 0.12em;
}

.shelf-section {
  color: var(--white);
  background: var(--green-dark);
}

.shelf-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 64px;
}

.shelf-intro .section-index {
  color: var(--lime);
}

.shelf-intro > p:last-of-type {
  margin-top: 20px;
  color: #c6d4c6;
}

.shelf-stats {
  display: grid;
  margin-top: 35px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.shelf-stats span {
  display: flex;
  min-height: 92px;
  padding: 14px;
  justify-content: center;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-size: 12px;
}

.shelf-stats strong {
  color: var(--lime);
  font-size: 28px;
}

.shelf-board {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #6b866d;
  border-radius: 5px;
}

.shelf-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper-deep);
}

.shelf-tabs button {
  min-height: 62px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}

.shelf-tabs button:last-child {
  border-right: 0;
}

.shelf-tabs button.is-active {
  color: var(--white);
  background: var(--green);
}

.shelf-panel {
  display: none;
  padding: 8px 26px 24px;
  color: var(--ink);
}

.shelf-panel.is-active {
  display: block;
}

.shelf-panel article {
  display: grid;
  min-height: 88px;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.shelf-panel article > span {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--green-dark);
  background: var(--lime);
  border-radius: 50%;
  place-items: center;
  font-weight: 900;
}

.shelf-panel article div {
  display: flex;
  flex-direction: column;
}

.shelf-panel article small {
  margin-top: 4px;
  color: var(--muted);
}

.shelf-panel article b {
  color: var(--green);
}

.screenshot-section {
  background: #f7f5ea;
}

.screenshot-track {
  display: grid;
  padding: 4px 2px 14px;
  overflow-x: auto;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 14px;
  scrollbar-color: var(--green) #e1e6d3;
  scrollbar-width: thin;
}

.screenshot-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--green-dark);
  border-radius: 5px;
}

.screenshot-card__image {
  display: flex;
  width: 250px;
  height: 450px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.screenshot-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screenshot-card figcaption {
  display: grid;
  min-height: 92px;
  padding: 16px;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.screenshot-card figcaption > span {
  color: var(--green);
  font-weight: 900;
}

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

.screenshot-card figcaption strong {
  font-size: 17px;
}

.screenshot-card figcaption small {
  margin-top: 3px;
  color: var(--muted);
}

.faq-section {
  color: var(--white);
  background: #101713;
}

.section-heading--light .section-index {
  color: var(--lime);
}

.section-heading--light > p {
  color: #b7c6ba;
}

.faq-list {
  border-top: 1px solid #708074;
}

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

.faq-item > button {
  display: grid;
  width: 100%;
  min-height: 82px;
  padding: 0 20px;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-item > button span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.faq-item > button strong {
  font-size: 17px;
}

.faq-item > button i,
.official-site__mark {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item > button i::before,
.faq-item > button i::after,
.official-site__mark::before,
.official-site__mark::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  content: "";
  background: currentColor;
}

.faq-item > button i::after,
.official-site__mark::after {
  transform: rotate(90deg);
}

.faq-item > button[aria-expanded="true"] i::after,
.official-site > button[aria-expanded="true"] .official-site__mark::after {
  transform: rotate(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
}

.faq-answer p {
  min-height: 0;
  padding: 0 76px;
  overflow: hidden;
  color: #bdc9bf;
}

.faq-item > button[aria-expanded="true"] + .faq-answer {
  padding-bottom: 22px;
  grid-template-rows: 1fr;
}

.official-site {
  margin-top: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--lime);
  border-radius: 5px;
}

.official-site > button {
  display: flex;
  width: 100%;
  min-height: 72px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.official-site > button span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.official-site__answer {
  display: none;
  padding: 0 54px 22px;
}

.official-site > button[aria-expanded="true"] + .official-site__answer {
  display: block;
}

.official-site__answer a {
  color: var(--green);
  text-decoration: underline;
}

.review-section {
  background: var(--paper-deep);
}

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

.review-card {
  display: flex;
  min-height: 310px;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 5px;
  flex-direction: column;
}

.review-card__head {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
}

.review-card__head .i-avatar {
  width: 38px;
  height: 38px;
}

.review-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-weight: 800;
}

.review-card__rating .i-star {
  width: 15px;
  height: 15px;
}

.review-card > p {
  margin-top: 25px;
  line-height: 2;
}

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

.download-section {
  padding: 80px 0;
  background: var(--green-dark);
}

.download-pass {
  display: grid;
  min-height: 176px;
  overflow: hidden;
  grid-template-columns: 190px 1fr 250px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--lime);
  border-radius: 5px;
}

.download-pass__number {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  background: var(--yellow);
  flex-direction: column;
  border-right: 1px dashed var(--green-dark);
}

.download-pass__number span {
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.download-pass__number small {
  margin-top: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.download-pass__copy {
  display: flex;
  padding: 28px 36px;
  justify-content: center;
  flex-direction: column;
}

.download-pass__copy p {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.download-pass__copy h2 {
  margin: 8px 0 5px;
  font-size: 28px;
}

.download-pass__copy > span {
  color: var(--muted);
}

.download-pass > a {
  gap: 10px;
  color: var(--green-dark);
  background: var(--lime);
  border-left: 1px solid var(--green-dark);
  font-size: 17px;
}

.download-pass > a .i-download {
  filter: none;
}

.download-pass > a:hover {
  color: var(--white);
  background: var(--green);
}

.download-pass > a:hover .i-download {
  filter: brightness(0) invert(1);
}

.site-footer {
  color: var(--white);
  background: #0d160f;
}

.site-footer__main {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3e4b40;
}

.brand--footer {
  min-width: auto;
}

.brand--footer .brand__copy span {
  color: #acb8ae;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
}

.site-footer nav a:hover {
  color: var(--lime);
}

.site-footer__copyright {
  padding: 18px 0 25px;
  color: #acb8ae;
  text-align: center;
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  background: var(--lime);
  border: 1px solid var(--green-dark);
  border-radius: 50%;
  place-items: center;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
}

.back-to-top .i-arrow-up {
  width: 19px;
  height: 19px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (min-width: 1025px) {
  .screenshot-track {
    grid-template-columns: repeat(4, 250px);
    justify-content: space-between;
  }
}

@media (max-width: 1120px) {
  .main-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .main-nav a::after {
    right: 10px;
    left: 10px;
  }

  .header-download {
    min-width: 138px;
    padding: 0 14px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
  }

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

}

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

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

  .brand {
    min-width: 0;
    margin-right: auto;
  }

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

  .brand__copy strong {
    font-size: 16px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

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

  .main-nav ul {
    display: grid;
    width: min(calc(100% - 28px), var(--container));
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .main-nav a {
    min-height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid #e8ecdf;
  }

  .main-nav a::after {
    right: auto;
    left: 0;
    width: 40px;
  }

  .header-download {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .mobile-download {
    min-height: 44px;
    padding: 0 15px;
    color: var(--white);
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 5px;
  }

  .hero::before {
    top: auto;
    width: 100%;
    height: 50%;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__copy {
    max-width: none;
    padding: 64px 0 50px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(58px, 15vw, 88px);
    white-space: normal;
  }

  .hero__intro {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__features,
  .hero__action {
    align-items: center;
    justify-content: center;
  }

  .hero__device {
    justify-content: center;
    padding: 48px 0 60px;
  }

  .phone {
    width: min(330px, 100%);
  }

  .section {
    padding: 76px 0;
  }

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

  .section-heading > p {
    text-align: left;
  }

  .shelf-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .download-pass {
    grid-template-columns: 150px 1fr;
  }

  .download-pass > a {
    min-height: 70px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--green-dark);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header__inner {
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

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

  .brand__copy strong {
    font-size: 15px;
  }

  .brand__copy span {
    margin-top: 2px;
    font-size: 12px;
  }

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

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

  .menu-toggle span:first-child,
  .menu-toggle span:first-child::before,
  .menu-toggle span:first-child::after {
    left: 10px;
  }

  .menu-toggle span:first-child {
    top: 18px;
  }

  .hero__copy {
    padding-top: 52px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero__intro {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero__features {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero__features span {
    min-width: 0;
    padding: 0 7px;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
  }

  .hero__features i {
    width: 15px;
    height: 15px;
  }

  .primary-download {
    width: 100%;
  }

  .phone {
    width: min(318px, 100%);
    padding: 12px;
    border-radius: 38px;
  }

  .phone::before {
    top: 12px;
  }

  .phone__screen {
    min-height: 588px;
    border-radius: 28px;
  }

  .section-heading h2,
  .shelf-intro h2 {
    font-size: 42px;
  }

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

  .route-guide {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .route-guide__steps {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .route-card {
    min-height: 0;
    flex-direction: row;
  }

  .route-card figure {
    width: 42%;
    min-width: 42%;
    height: auto;
    min-height: 230px;
  }

  .route-card__body {
    min-height: 230px;
    padding: 16px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .shelf-stats {
    grid-template-columns: 1fr 1fr;
  }

  .shelf-tabs button {
    min-height: 54px;
    padding: 0 5px;
    font-size: 12px;
  }

  .shelf-panel {
    padding-right: 14px;
    padding-left: 14px;
  }

  .shelf-panel article {
    grid-template-columns: 35px 1fr auto;
    gap: 9px;
  }

  .shelf-panel article > span {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .screenshot-track {
    width: calc(100% + 12px);
    margin-right: -12px;
    grid-auto-columns: min(250px, calc(100vw - 52px));
    gap: 10px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-card {
    scroll-snap-align: start;
  }

  .screenshot-card__image {
    width: 100%;
    height: 450px;
  }

  .faq-item > button {
    min-height: 76px;
    padding: 0 8px;
    grid-template-columns: 30px 1fr 20px;
    gap: 6px;
  }

  .faq-item > button strong {
    font-size: 15px;
  }

  .faq-answer p {
    padding: 0 44px;
  }

  .official-site > button {
    padding: 0 14px;
  }

  .official-site__answer {
    padding-right: 44px;
    padding-left: 44px;
    overflow-wrap: anywhere;
  }

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

  .review-card {
    min-height: 0;
  }

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

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

  .download-pass__number {
    min-height: 110px;
    border-right: 0;
    border-bottom: 1px dashed var(--green-dark);
  }

  .download-pass__number span {
    font-size: 48px;
  }

  .download-pass__copy {
    padding: 26px 22px;
    text-align: center;
  }

  .download-pass__copy h2 {
    font-size: 23px;
  }

  .download-pass > a {
    width: 100%;
    min-height: 64px;
  }

  .site-footer__main {
    padding: 34px 0 28px;
    flex-direction: column;
    gap: 28px;
  }

  .brand--footer {
    margin: 0;
    text-align: left;
  }

  .site-footer nav ul {
    justify-content: center;
    gap: 14px 22px;
  }

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

  a,
  button,
  summary {
    -webkit-tap-highlight-color: transparent;
    transition: none !important;
  }

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

@media (max-width: 360px) {
  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand__copy strong {
    font-size: 14px;
  }

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

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

  .hero__features span {
    flex-direction: column;
    min-height: 58px;
  }

  .phone-list article {
    grid-template-columns: 40px 1fr auto;
    gap: 6px;
  }

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

  .route-guide__steps i {
    display: none;
  }

  .route-guide__steps {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-card {
    flex-direction: row;
  }

  .route-card figure {
    width: 42%;
    min-width: 42%;
    height: auto;
    min-height: 230px;
  }

  .route-card__body {
    min-height: 230px;
    padding: 16px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .route-section {
    overflow: hidden;
  }

  .route-section .container {
    width: min(calc(100% - 24px), var(--container));
    max-width: var(--container);
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .route-grid,
  .route-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .route-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }

  .route-filter {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .route-filter button {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
  }

  .route-guide {
    width: 100%;
    padding: 12px;
  }

  .route-guide__steps {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .route-guide__steps span {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    white-space: nowrap;
  }

  .route-guide__steps b {
    margin-right: 0;
  }

  .route-guide__steps i {
    display: none;
  }

  .route-guide > strong {
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    text-align: center;
  }

  .route-card {
    min-height: 0;
    align-items: stretch;
    flex-direction: row !important;
  }

  .route-card figure {
    width: 38% !important;
    min-width: 38% !important;
    height: auto !important;
    min-height: 270px !important;
    padding: 10px;
  }

  .route-card figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .route-card__body {
    width: 62%;
    min-width: 0;
    min-height: 270px !important;
    padding: 16px;
    border-top: 0 !important;
    border-left: 1px solid var(--line) !important;
  }

  .route-card__meta,
  .route-card__foot {
    flex-wrap: wrap;
  }

  .route-card__body h3 {
    margin-top: 10px;
    font-size: 20px;
  }

  .route-card__body p {
    margin: 7px 0 14px;
    line-height: 1.65;
  }

  .route-card__body h3,
  .route-card__body p,
  .route-card__meta,
  .route-card__foot {
    writing-mode: horizontal-tb;
    word-break: normal;
    overflow-wrap: break-word;
  }
}
