@charset "UTF-8";

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

:root {
  --ink: #151515;
  --muted: #6e6a62;
  --paper: #fbf7ee;
  --paper-deep: #f3ead8;
  --white: #ffffff;
  --yellow: #ffc925;
  --yellow-deep: #edaf00;
  --red: #b94d35;
  --line: #d8cfbf;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  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: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
}

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

ul,
ol {
  list-style: none;
}

.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;
}

.container,
.header-inner,
.hero-inner,
.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
  transform: translateZ(0);
  backface-visibility: hidden;
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

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

.brand-copy,
.footer-brand > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 20px;
  font-weight: 800;
}

.brand-copy span,
.footer-brand small {
  max-width: 220px;
  margin-top: 3px;
  overflow: visible;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: clip;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 26px 0 23px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  height: 3px;
  background: var(--yellow);
  content: "";
}

.primary-nav a.is-active::after,
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  right: 0;
  left: 0;
}

.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;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(21, 21, 21, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  align-items: center;
  min-height: 690px;
  padding: 64px 0;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.section-index {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(68px, 7.2vw, 108px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.hero-copy > h2 {
  margin-top: 24px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.hero-description {
  max-width: 650px;
  margin-top: 24px;
  color: #4d4942;
  font-size: 17px;
}

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

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
}

.hero-features i {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

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

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 210px;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid var(--yellow);
  border-radius: 30px;
  background: var(--yellow);
  font-weight: 900;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--yellow);
}

.primary-button:hover .i-arrow-right,
.primary-button:focus-visible .i-arrow-right {
  filter: invert(81%) sepia(91%) saturate(1292%) hue-rotate(338deg) brightness(106%);
}

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

.hero-phone {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.phone-frame {
  width: 302px;
  padding: 12px;
  border: 4px solid var(--ink);
  border-radius: 40px;
  background: var(--ink);
}

.phone-screen {
  position: relative;
  min-height: 572px;
  overflow: hidden;
  border-radius: 27px;
  background: var(--white);
}

.phone-screen::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 24px;
  border-radius: 0 0 15px 15px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 17px 6px;
  font-size: 12px;
  font-weight: 800;
}

.status-marks {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.status-marks i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.status-marks i:last-child {
  width: 11px;
  border-radius: 1px;
}

.phone-app-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
}

.phone-app-mark img {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  object-fit: contain;
}

.phone-app-mark strong {
  font-size: 14px;
}

.login-heading {
  padding: 12px 18px 8px;
}

.login-heading p {
  font-size: 23px;
  font-weight: 900;
}

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

.login-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 18px;
  border-bottom: 1px solid var(--line);
}

.login-tab {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.login-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
}

.phone-form {
  padding: 12px 18px 72px;
}

.form-field {
  display: block;
  margin-top: 8px;
}

.form-field > span:first-child {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
}

.form-field[data-field="nickname"] {
  display: none;
}

.phone-form.is-register .form-field[data-field="nickname"] {
  display: block;
}

.input-shell {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid #ddd7cc;
  background: #fbfbfa;
}

.input-shell > i {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-left: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.input-shell input {
  min-width: 0;
  flex: 1;
  padding: 10px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.password-toggle i {
  width: 16px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 12px;
}

.form-options label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.form-options input {
  accent-color: var(--yellow-deep);
}

.form-options button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
}

.login-submit,
.create-account {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.login-submit {
  border-color: var(--yellow);
  background: var(--yellow);
}

.create-account {
  background: var(--white);
}

.form-feedback {
  min-height: 18px;
  margin-top: 5px;
  color: var(--red);
  font-size: 12px;
  text-align: center;
}

.phone-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 4px 7px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.phone-nav li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #7a756e;
  font-size: 12px;
}

.phone-nav i {
  width: 16px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .65;
}

.phone-nav .is-current {
  color: var(--yellow-deep);
  font-weight: 800;
}

.section {
  padding: 90px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-heading > div {
  flex: 0 0 auto;
}

.section-heading h2 {
  margin-top: 7px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.1;
}

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

.heading-line {
  position: relative;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.selection {
  background: #fffdf8;
}

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

.selection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 0;
}

.card-top span {
  font-size: 24px;
  font-weight: 950;
}

.card-top em {
  padding: 3px 9px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-style: normal;
}

.selection-card h3 {
  padding: 7px 18px 0;
  font-size: 19px;
  line-height: 1.4;
}

.selection-card > p {
  min-height: 51px;
  padding: 4px 18px 12px;
  color: var(--muted);
  font-size: 13px;
}

.cover-window {
  width: 100%;
  height: 220px;
  padding: 10px;
  background: var(--paper-deep);
}

.cover-window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-progress {
  display: grid;
  grid-template-columns: 22px auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 13px 16px 16px;
  font-size: 12px;
}

.card-progress > i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--ink);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
}

.card-progress b {
  height: 5px;
  overflow: hidden;
  background: #ded7ca;
}

.card-progress b i {
  display: block;
  height: 100%;
  background: var(--yellow);
}

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

.route-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.route-steps li {
  display: grid;
  grid-template-columns: 34px 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

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

.route-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

.route-steps li > i {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}

.route-steps strong {
  font-size: 17px;
}

.route-steps p,
.weekly-title p {
  color: var(--muted);
  font-size: 12px;
}

.weekly-rail {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.weekly-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weekly-title > i {
  width: 42px;
  height: 42px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.week-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-width: 0;
}

.week-tabs button {
  min-width: 0;
  padding: 9px 4px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

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

.week-tabs b,
.week-tabs span {
  display: block;
  font-size: 12px;
}

.week-tabs .is-active {
  background: var(--yellow);
}

.week-message {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.screens {
  background: #fffdf8;
}

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

.screen-grid figure {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.screen-window {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #f6f3ed;
}

.screen-window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-grid figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.screen-grid figcaption span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.screen-grid figcaption strong {
  font-size: 17px;
}

.questions {
  background: var(--paper);
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
  background: #fffdf9;
}

.faq-item > button {
  display: grid;
  grid-template-columns: 52px 1fr 26px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

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

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

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

.faq-item > button > i::before,
.faq-item > button > i::after,
.official-toggle::before,
.official-toggle::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: var(--ink);
  content: "";
}

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

.faq-item.is-open > button > i::after,
.official-site.is-open .official-toggle::after {
  transform: rotate(0);
}

.faq-answer,
.official-answer {
  display: none;
}

.faq-item.is-open .faq-answer,
.official-site.is-open .official-answer {
  display: block;
}

.faq-answer p {
  padding: 0 74px 22px;
  color: var(--muted);
}

.official-site {
  margin-top: 22px;
  border: 1px solid var(--ink);
  background: var(--white);
}

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

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

.official-site > button i:first-child {
  width: 19px;
  height: 19px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.official-answer a {
  display: block;
  padding: 0 53px 20px;
  color: var(--red);
}

.reviews {
  background: #f6efe2;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 24px;
  border-top: 3px solid var(--yellow);
  background: var(--white);
}

.review-card:nth-child(3n+2) {
  border-top-color: var(--ink);
}

.review-card:nth-child(3n) {
  border-top-color: var(--red);
}

.review-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

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

.review-identity > i {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--paper-deep);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px;
}

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

.review-rating {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--yellow-deep);
  line-height: 1;
}

.review-rating .fa {
  font-style: normal;
}

.review-rating .fa-star::before {
  content: "★";
}

.review-rating .fa-star-o::before {
  content: "☆";
}

.review-card > p {
  margin-top: 17px;
  flex: 1;
  font-size: 14px;
}

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

.download {
  padding: 76px 0;
  background: #151515;
  color: var(--white);
}

.download-stage {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(80px, 1fr) 170px;
  align-items: center;
  gap: 26px;
}

.download-number {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-number strong {
  font-size: 92px;
  font-weight: 950;
  line-height: .8;
  letter-spacing: -.08em;
}

.download-number span {
  margin-top: 16px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.download-copy {
  padding: 30px;
  border-left: 1px solid #5f5c55;
  background: #22211f;
}

.download-copy .section-index {
  color: var(--yellow);
}

.download-copy h2 {
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
}

.download-copy > p:last-child {
  margin-top: 10px;
  color: #c7c0b5;
}

.download-line {
  display: block;
  height: 1px;
  background: #706b63;
}

.download-circle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 150px;
  height: 150px;
  justify-self: end;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.download-circle:hover,
.download-circle:focus-visible {
  background: var(--white);
}

.download-circle i {
  width: 20px;
  height: 20px;
}

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

.footer-inner {
  padding: 38px 0 24px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand small {
  color: #a7a39c;
}

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

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

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .65);
  color: #aaa69f;
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--yellow);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}

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

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

.i-menu,
.i-search,
.i-list,
.i-bell,
.i-arrow-right,
.i-user,
.i-phone,
.i-lock,
.i-eye,
.i-home,
.i-heart,
.i-play,
.i-calendar,
.i-globe,
.i-avatar,
.i-arrow-up {
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.i-menu { width: 21px; height: 21px; background-image: url("../icons/menu.svg"); }
.i-search { background-image: url("../icons/search.svg"); }
.i-list { background-image: url("../icons/list.svg"); }
.i-bell { background-image: url("../icons/bell.svg"); }
.i-arrow-right { width: 18px; height: 18px; background-image: url("../icons/arrow-right.svg"); }
.i-user { background-image: url("../icons/user.svg"); }
.i-phone { background-image: url("../icons/phone.svg"); }
.i-lock { background-image: url("../icons/lock.svg"); }
.i-eye { background-image: url("../icons/eye.svg"); }
.i-home { background-image: url("../icons/home.svg"); }
.i-heart { background-image: url("../icons/heart.svg"); }
.i-play { background-image: url("../icons/play.svg"); }
.i-calendar { background-image: url("../icons/calendar.svg"); }
.i-globe { background-image: url("../icons/globe.svg"); }
.i-avatar { background-image: url("../icons/avatar.svg"); }
.i-arrow-up { background-image: url("../icons/arrow-up.svg"); }

@media (max-width: 1050px) {
  .primary-nav ul {
    gap: 22px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

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

  .weekly-rail {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .week-message {
    grid-column: 1 / -1;
    text-align: left;
  }
}

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

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 620px);
  }

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

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

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

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

  .mobile-actions {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    border-bottom: 1px solid var(--ink);
    background: #fffdf8;
  }

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

  .primary-nav ul {
    display: block;
    width: min(100% - 28px, 620px);
    margin: 0 auto;
    padding: 10px 0 18px;
  }

  .primary-nav li {
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a {
    padding: 13px 4px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 56px 0 64px;
  }

  .hero-copy {
    width: 100%;
    text-align: center;
  }

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

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

  .hero-description {
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-action {
    align-items: center;
  }

  .hero-phone {
    justify-content: center;
    margin-top: 44px;
  }

  .phone-frame {
    width: min(302px, 88vw);
  }

  .section {
    padding: 66px 0;
  }

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

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

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

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

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

  .route-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .weekly-rail {
    display: block;
  }

  .week-tabs {
    margin-top: 18px;
    overflow-x: auto;
  }

  .week-tabs button {
    min-width: 66px;
  }

  .week-message {
    margin-top: 14px;
  }

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

  .download-stage {
    grid-template-columns: 115px minmax(0, 1fr);
  }

  .download-number strong {
    font-size: 70px;
  }

  .download-line {
    display: none;
  }

  .download-circle {
    grid-column: 2;
    width: 130px;
    height: 130px;
    justify-self: start;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 8px;
    max-width: calc(100% - 142px);
  }

  .brand-copy {
    overflow: visible;
  }

  .mobile-download {
    min-height: 40px;
    padding: 0 13px;
  }

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

  .hero-inner {
    padding-top: 44px;
  }

  .eyebrow,
  .section-index {
    font-size: 12px;
  }

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

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

  .hero-features {
    gap: 12px 16px;
  }

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

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

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

  .cover-window {
    height: 250px;
  }

  .screen-grid {
    gap: 12px;
  }

  .screen-grid figcaption {
    min-height: 62px;
    padding: 10px;
    gap: 7px;
  }

  .screen-grid figcaption strong {
    font-size: 14px;
  }

  .faq-item > button {
    grid-template-columns: 38px 1fr 22px;
    min-height: 68px;
    padding: 0 14px;
  }

  .faq-answer p {
    padding: 0 52px 20px;
    font-size: 14px;
  }

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

  .official-site > button strong {
    font-size: 14px;
  }

  .official-answer a {
    padding-left: 45px;
  }

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

  .download-stage {
    display: block;
  }

  .download-number {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 16px;
  }

  .download-number strong {
    font-size: 62px;
  }

  .download-number span {
    margin-bottom: 2px;
  }

  .download-copy {
    margin-top: 22px;
    padding: 24px 20px;
  }

  .download-circle {
    width: 120px;
    height: 120px;
    margin-top: 18px;
  }

  .footer-nav {
    gap: 12px 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
