:root {
  --ink: #10233f;
  --ink-soft: #31445f;
  --paper: #fffaf1;
  --white: #ffffff;
  --orange: #ff633e;
  --orange-dark: #d94328;
  --yellow: #ffd84d;
  --teal: #20a99a;
  --line: #d9d4ca;
  --muted: #6d7480;
  --shadow: 8px 8px 0 rgba(16, 35, 63, 0.13);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("../images/logo.png");
  background-position: calc(100% + 90px) calc(100% + 90px);
  background-repeat: no-repeat;
  background-size: 300px;
  opacity: 0.025;
  content: "";
  pointer-events: none;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 250, 241, 0.97);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

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

.site-nav a {
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--orange);
}

.download-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 23px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.download-btn:hover,
.download-btn:focus-visible {
  background: var(--orange-dark);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.download-btn--light {
  background: var(--yellow);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero-grid {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 70px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 650px;
  margin: 25px 0;
  color: #dce6f4;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.text-link {
  border-bottom: 2px solid var(--yellow);
  color: var(--yellow);
  font-weight: 800;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.trust-item {
  padding: 7px 11px;
  border: 1px solid #63738a;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual::before {
  position: absolute;
  top: 28px;
  right: 0;
  width: 78%;
  height: 86%;
  border: 3px solid var(--yellow);
  background: var(--orange);
  content: "";
  transform: rotate(4deg);
}

.app-shot {
  width: 100%;
  max-width: 320px;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual .app-shot {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  border-color: var(--white);
  box-shadow: 12px 12px 0 var(--yellow);
}

.hero-stamp {
  position: absolute;
  right: -5px;
  bottom: 30px;
  z-index: 3;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-8deg);
}

.section {
  padding: 86px 0;
}

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

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

.section--yellow {
  border-block: 3px solid var(--ink);
  background: var(--yellow);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-index {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.feature-item {
  min-height: 250px;
  padding: 30px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--white);
}

.feature-item:nth-child(2) {
  background: #e9fbf7;
}

.feature-item:nth-child(3) {
  background: #fff0ec;
}

.feature-item:nth-child(4) {
  background: #fff7d2;
}

.feature-number {
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
}

.feature-item h3 {
  margin: 32px 0 10px;
  font-size: 21px;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
}

.schedule-board {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.schedule-label {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  background: var(--orange);
  color: var(--white);
}

.schedule-label strong {
  font-size: 38px;
  line-height: 1.1;
}

.schedule-list {
  margin: 0;
  padding: 10px 38px;
  list-style: none;
}

.schedule-list li {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.schedule-list li:last-child {
  border-bottom: 0;
}

.schedule-list time {
  color: var(--orange-dark);
  font-weight: 900;
}

.status {
  padding: 4px 8px;
  border: 1px solid var(--ink);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

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

.screen-figure {
  margin: 0;
}

.screen-figure img {
  margin: 0 auto;
}

.screen-figure figcaption {
  margin-top: 15px;
  font-weight: 800;
  text-align: center;
}

.deep-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.deep-link {
  display: grid;
  min-height: 300px;
  grid-template-rows: auto 1fr auto;
  padding: 36px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.deep-link:nth-child(2) {
  background: #e9fbf7;
}

.deep-link h3 {
  margin: 22px 0 12px;
  font-size: 28px;
}

.deep-link p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.deep-link > span:last-child {
  color: var(--orange-dark);
  font-weight: 900;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.review {
  margin: 0;
  padding: 30px;
  border: 2px solid #657389;
  background: #172d4c;
}

.review blockquote {
  margin: 0 0 25px;
  font-size: 17px;
}

.review cite {
  color: var(--yellow);
  font-style: normal;
  font-weight: 800;
}

.quick-faq {
  border-top: 2px solid var(--ink);
}

.quick-faq details,
.faq-list details {
  border-bottom: 2px solid var(--ink);
}

.quick-faq summary,
.faq-list summary {
  position: relative;
  padding: 23px 48px 23px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.quick-faq summary::after,
.faq-list summary::after {
  position: absolute;
  right: 10px;
  content: "+";
  font-size: 26px;
}

details[open] summary::after {
  content: "−";
}

.quick-faq details > div,
.faq-list details > div {
  max-width: 860px;
  padding: 0 48px 23px 0;
  color: var(--ink-soft);
}

.download-band {
  border-block: 3px solid var(--ink);
  background: var(--orange);
  color: var(--white);
}

.download-band-inner {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-band h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.1;
}

.download-band .band-note {
  margin: 0;
}

.page-hero {
  padding: 80px 0 70px;
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 6vw, 68px);
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: #dce6f4;
  font-size: 18px;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 60px;
}

.article-nav {
  position: sticky;
  top: 105px;
  align-self: start;
  border-top: 3px solid var(--ink);
}

.article-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.article-content > section {
  margin-bottom: 68px;
  scroll-margin-top: 110px;
}

.article-content h2 {
  margin-bottom: 24px;
  font-size: 34px;
}

.article-content h3 {
  margin: 30px 0 8px;
  font-size: 22px;
}

.article-content p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.step-list {
  display: grid;
  gap: 22px;
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
}

.step-number {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 24px;
  font-weight: 900;
}

.step h3 {
  margin-top: 0;
}

.notice {
  padding: 22px 26px;
  border-left: 6px solid var(--orange);
  background: #fff0ec;
  color: var(--ink-soft);
}

.setting-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.setting-table th,
.setting-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.setting-table th {
  background: var(--ink);
  color: var(--white);
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-detail {
  padding: 26px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.feature-detail h3 {
  margin-top: 0;
}

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

.related-box {
  padding: 30px;
  border: 3px solid var(--ink);
  background: var(--yellow);
}

.related-box h2 {
  font-size: 27px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.related-links a {
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
}

.site-footer {
  background: #0b192d;
  color: #ced7e4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  padding: 55px 0 35px;
}

.footer-brand {
  color: var(--white);
}

.footer-title {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-note {
  padding: 20px 0 32px;
  border-top: 1px solid #33445a;
  font-size: 13px;
}

.footer-note p {
  margin: 6px 0;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 360px;
    gap: 35px;
  }

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

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }
}

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

  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 15px 20px 20px;
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
  }

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

  .site-nav .download-btn {
    margin-top: 6px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 55px 0 70px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 44px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .hero-stamp {
    right: 5px;
    width: 118px;
    height: 118px;
    font-size: 15px;
  }

  .section {
    padding: 62px 0;
  }

  .section-title-row,
  .download-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .screens-grid,
  .deep-links,
  .feature-detail-grid {
    grid-template-columns: 1fr;
  }

  .schedule-board {
    grid-template-columns: 1fr;
  }

  .schedule-label {
    min-height: 220px;
  }

  .schedule-list {
    padding: 10px 22px;
  }

  .schedule-list li {
    grid-template-columns: 70px 1fr;
  }

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

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

  .app-shot {
    max-width: min(100%, 300px);
  }

  .download-band-inner {
    padding: 42px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 17px;
  }

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

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .download-btn {
    width: 100%;
  }

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

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
