:root {
  --ink: #100d08;
  --ink-soft: #19140d;
  --ink-card: #211b12;
  --paper: #f6efdf;
  --paper-deep: #ece1ca;
  --gold: #e0ad36;
  --gold-light: #f2c14e;
  --gold-dark: #9e6f13;
  --jade: #7fae9e;
  --red: #b13d2e;
  --white: #fffaf0;
  --muted-dark: rgba(246, 239, 223, 0.66);
  --muted-light: #6d6457;
  --line-dark: rgba(246, 239, 223, 0.14);
  --line-light: rgba(37, 29, 18, 0.14);
  --max: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", Georgia, serif;
  --cjk: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 84px;
  background: linear-gradient(to bottom, rgba(16, 13, 8, 0.92), rgba(16, 13, 8, 0));
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(16, 13, 8, 0.88);
  border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 19px;
}

.brand img {
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color 150ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--paper);
}

.header-download {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid rgba(224, 173, 54, 0.55);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 750;
  transition: color 150ms ease, background 150ms ease;
}

.header-download:hover,
.header-download:focus-visible {
  color: var(--ink);
  background: var(--gold-light);
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 24%, rgba(224, 173, 54, 0.15), transparent 27%),
    radial-gradient(ellipse at 62% 78%, rgba(127, 174, 158, 0.1), transparent 32%),
    linear-gradient(125deg, #1a1309 0%, #100d08 48%, #080705 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 78% 92%, rgba(246, 239, 223, 0.12) 0 8%, transparent 9%),
    radial-gradient(ellipse at 90% 91%, rgba(246, 239, 223, 0.08) 0 16%, transparent 17%),
    radial-gradient(ellipse at 66% 97%, rgba(246, 239, 223, 0.07) 0 19%, transparent 20%),
    linear-gradient(165deg, transparent 0 52%, rgba(246, 239, 223, 0.035) 53% 55%, transparent 56%);
  opacity: 0.9;
  filter: blur(2px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 13, 8, 0.76) 0%, rgba(16, 13, 8, 0.38) 54%, rgba(16, 13, 8, 0.14) 100%),
    linear-gradient(to top, var(--ink) 0%, transparent 28%);
}

.hero-mist {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  background:
    radial-gradient(ellipse at 70% 62%, rgba(246, 239, 223, 0.17), transparent 34%),
    radial-gradient(ellipse at 35% 90%, rgba(246, 239, 223, 0.12), transparent 40%);
  filter: blur(35px);
}

.hero-grid {
  min-height: 900px;
  padding-top: 142px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 0.91fr 1.09fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(58px, 6.8vw, 96px);
}

.hero h1 em {
  color: var(--gold-light);
  font-weight: 500;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 22px;
  color: var(--muted-dark);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-download {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(224, 173, 54, 0.38);
  border-radius: 15px;
  background: rgba(16, 13, 8, 0.62);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-qr img {
  width: 104px;
  height: 104px;
  border-radius: 8px;
}

.hero-qr span {
  max-width: 72px;
  color: var(--paper);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 192px;
  padding: 9px 20px 10px;
  border: 1px solid var(--paper);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.26);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.app-store-button:hover,
.app-store-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.app-store-button .apple {
  font-size: 32px;
  line-height: 1;
}

.app-store-button span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.app-store-button small {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.text-link {
  padding-block: 10px;
  color: var(--paper);
  border-bottom: 1px solid rgba(246, 239, 223, 0.34);
  font-size: 14px;
  font-weight: 650;
}

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

.device {
  position: absolute;
  margin: 0;
  width: 252px;
  aspect-ratio: 390 / 843;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 42px;
  background: #181817;
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.55),
    0 14px 34px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device img {
  position: absolute;
  inset: -3px;
  display: block;
  width: calc(100% + 6px);
  max-width: none;
  height: calc(100% + 6px);
  object-fit: cover;
}

.device-main {
  z-index: 3;
  width: 292px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.device-left {
  z-index: 1;
  top: 112px;
  left: 0;
  transform: rotate(-7deg);
  opacity: 0.77;
}

.device-right {
  z-index: 2;
  top: 93px;
  right: -6px;
  transform: rotate(7deg);
  opacity: 0.88;
}

.section {
  padding: 138px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 70px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(50px, 6vw, 78px);
}

.section-heading > p:last-child,
.hsk-copy > p,
.algorithm-copy > p {
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.75;
}

.method {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.method::before {
  content: "学";
  position: absolute;
  right: -0.04em;
  top: 0.18em;
  color: rgba(246, 239, 223, 0.025);
  font-family: var(--cjk);
  font-size: min(44vw, 650px);
  line-height: 1;
  pointer-events: none;
}

.pass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pass-card {
  position: relative;
  min-height: 440px;
  padding: 34px 250px 34px 34px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(224, 173, 54, 0.11), transparent 40%),
    var(--ink-card);
}

.pass-card:nth-child(2),
.pass-card:nth-child(3) {
  background:
    radial-gradient(circle at 80% 20%, rgba(127, 174, 158, 0.13), transparent 40%),
    var(--ink-card);
}

.pass-number {
  margin-bottom: 72px;
  color: rgba(246, 239, 223, 0.34);
  font-family: var(--serif);
  font-size: 17px;
}

.pass-route {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.pass-route span {
  padding-inline: 7px;
  color: var(--paper);
}

.pass-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.pass-card p:last-of-type {
  margin: 0;
  color: var(--muted-dark);
  font-size: 14px;
}

.pass-phone {
  position: absolute;
  right: 20px;
  top: 34px;
  width: 206px;
  aspect-ratio: 390 / 843;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 29px;
  background: #181817;
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.42),
    0 8px 22px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pass-phone img {
  position: absolute;
  inset: -3px;
  display: block;
  width: calc(100% + 6px);
  max-width: none;
  height: calc(100% + 6px);
  object-fit: cover;
}

.algorithm {
  color: var(--ink);
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 90px;
}

.algorithm .eyebrow,
.hsk .eyebrow {
  color: var(--gold-dark);
}

.algorithm h2,
.hsk h2 {
  font-size: clamp(48px, 5.7vw, 74px);
}

.algorithm-copy > p,
.hsk-copy > p {
  color: var(--muted-light);
}

.ratio-row {
  margin: 34px 0 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ratio-row span {
  padding: 10px 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  font-weight: 650;
}

.ratio-row span.active {
  color: var(--ink);
  border-color: rgba(158, 111, 19, 0.4);
  background: rgba(224, 173, 54, 0.25);
}

.ratio-row b {
  color: var(--ink);
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.clean-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #3d362c;
  font-weight: 650;
}

.clean-list span {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}

.srs-panel {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 46px;
  overflow: hidden;
  border: 1px solid rgba(158, 111, 19, 0.28);
  background:
    radial-gradient(circle at 50% 20%, rgba(224, 173, 54, 0.24), transparent 40%),
    rgba(255, 255, 255, 0.38);
}

.srs-panel::before,
.srs-panel::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 12px;
  left: 0;
  background: linear-gradient(90deg, transparent 0 3%, rgba(16, 13, 8, 0.08) 3% 97%, transparent 97%);
}

.srs-panel::before { top: 18px; transform: rotate(-0.7deg); }
.srs-panel::after { bottom: 18px; transform: rotate(0.7deg); }

.srs-label {
  margin-bottom: 42px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
}

.srs-line {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.srs-line::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), rgba(158, 111, 19, 0.18));
}

.srs-dot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 63px;
  border: 1px solid rgba(158, 111, 19, 0.32);
  border-radius: 50%;
  background: var(--paper);
}

.srs-dot b {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}

.srs-dot small {
  color: var(--muted-light);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.srs-panel > p {
  max-width: 380px;
  margin: 44px auto 0;
  color: var(--muted-light);
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

.hsk {
  background: var(--paper-deep);
  color: var(--ink);
  overflow: hidden;
}

.hsk-grid {
  gap: 110px;
}

.hsk-stats {
  display: flex;
  gap: 50px;
  margin: 42px 0 24px;
  padding: 26px 0;
  border-block: 1px solid var(--line-light);
}

.hsk-stats p {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hsk-stats strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
}

.hsk-stats span {
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quiet-line {
  font-size: 13px !important;
  font-style: italic;
}

.single-device,
.chat-device,
.tool-preview figure {
  margin: 0;
}

.single-device {
  position: relative;
  justify-self: center;
  width: 390px;
  aspect-ratio: 390 / 843;
  overflow: hidden;
  border: 1px solid rgba(16, 13, 8, 0.12);
  border-radius: 45px;
  background: #181817;
  box-shadow:
    0 38px 90px rgba(22, 18, 13, 0.22),
    0 12px 30px rgba(22, 18, 13, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.single-device img {
  position: absolute;
  inset: -3px;
  display: block;
  width: calc(100% + 6px);
  max-width: none;
  height: calc(100% + 6px);
  object-fit: cover;
}

.ai-practice {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 35%, rgba(224, 173, 54, 0.13), transparent 32%),
    var(--ink);
}

.ai-practice::before {
  content: "境";
  position: absolute;
  left: -0.08em;
  bottom: -0.08em;
  color: rgba(246, 239, 223, 0.025);
  font-family: var(--cjk);
  font-size: min(44vw, 650px);
  line-height: 1;
}

.ai-heading {
  max-width: 820px;
}

.ai-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 110px;
}

.ai-steps {
  display: grid;
}

.ai-steps article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 25px;
  padding: 34px 0;
  border-top: 1px solid var(--line-dark);
}

.ai-steps article:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.ai-steps > article > span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.ai-steps h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.ai-steps p {
  margin: 0;
  color: var(--muted-dark);
}

.chat-device {
  position: relative;
  justify-self: center;
  width: 390px;
}

.chat-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 843;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 45px;
  background: #181817;
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.56),
    0 14px 34px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.chat-phone img {
  position: absolute;
  inset: -3px;
  display: block;
  width: calc(100% + 6px);
  max-width: none;
  height: calc(100% + 6px);
  object-fit: cover;
}

.chat-device figcaption {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: max-content;
  max-width: 90vw;
  transform: translateX(-50%);
  padding: 11px 18px;
  border: 1px solid rgba(224, 173, 54, 0.35);
  border-radius: 999px;
  background: rgba(16, 13, 8, 0.92);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools {
  color: var(--ink);
  background: var(--paper);
}

.tools .eyebrow {
  color: var(--gold-dark);
}

.tool-preview {
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  align-items: center;
  gap: 70px;
  max-width: 940px;
}

.tool-preview figure {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 390 / 843;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(16, 13, 8, 0.12);
  border-radius: 36px;
  background: #181817;
  box-shadow:
    0 34px 78px rgba(22, 18, 13, 0.2),
    0 10px 26px rgba(22, 18, 13, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tool-preview img {
  position: absolute;
  inset: -3px;
  display: block;
  width: calc(100% + 6px);
  max-width: none;
  height: calc(100% + 6px);
  object-fit: cover;
}

.tool-preview-copy h3 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tool-preview-copy p:last-child {
  color: var(--muted-light);
}

.faq {
  color: var(--ink);
  background: var(--paper-deep);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
  align-items: start;
}

.faq .eyebrow {
  color: var(--gold-dark);
}

.faq-heading {
  position: sticky;
  top: 120px;
}

.faq-heading h2 {
  font-size: clamp(50px, 5.3vw, 72px);
}

.faq-heading > p:last-child {
  color: var(--muted-light);
}

.faq-heading a {
  border-bottom: 1px solid var(--gold-dark);
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--line-light);
}

.faq-list summary {
  position: relative;
  padding: 26px 50px 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-weight: 300;
  transition: transform 150ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  margin: -6px 0 28px;
  color: var(--muted-light);
}

.final-cta {
  position: relative;
  padding: 145px 0;
  overflow: hidden;
  isolation: isolate;
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 82% 66%, rgba(224, 173, 54, 0.18), transparent 24%),
    radial-gradient(ellipse at 75% 95%, rgba(246, 239, 223, 0.08), transparent 32%),
    linear-gradient(118deg, #0b0906 0%, #171108 58%, #0d0b08 100%);
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 75% 50%, rgba(224, 173, 54, 0.13), transparent 28%);
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
}

.final-mark {
  margin-bottom: 28px;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(62px, 7.5vw, 102px);
}

.final-cta p:not(.eyebrow) {
  margin: 26px 0 32px;
  color: var(--muted-dark);
  font-size: 18px;
}

.final-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  background: rgba(16, 13, 8, 0.54);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.final-qr img {
  width: 190px;
  height: 190px;
}

.final-qr span {
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--line-dark);
  background: #0c0a07;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 0.6fr));
  gap: 50px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-brand > p {
  margin: 14px 0 0;
  color: var(--muted-dark);
  font-family: var(--serif);
  font-style: italic;
}

.footer-label {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand),
.footer-grid p:not(.footer-label),
.footer-grid address {
  margin: 0;
  color: var(--muted-dark);
  font-size: 12px;
  font-style: normal;
  line-height: 1.75;
}

.footer-grid a:not(.brand):hover,
.footer-grid a:not(.brand):focus-visible {
  color: var(--paper);
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  color: rgba(246, 239, 223, 0.42);
  font-size: 11px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 1060px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

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

  .hero-visual {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .pass-card {
    padding-right: 215px;
  }

  .pass-phone {
    width: 175px;
  }

  .split,
  .ai-layout {
    gap: 55px;
  }

  .tool-preview {
    gap: 36px;
  }
}

@media (max-width: 800px) {
  .wrap,
  .header-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    min-height: 1100px;
  }

  .hero-grid {
    min-height: 1100px;
    padding-top: 125px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(52px, 13.2vw, 78px);
  }

  .hero-visual {
    height: 610px;
  }

  .device-main {
    width: 270px;
  }

  .device-left,
  .device-right {
    width: 220px;
  }

  .pass-grid,
  .split,
  .ai-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pass-card {
    min-height: 430px;
  }

  .algorithm-copy,
  .hsk-copy,
  .ai-heading {
    max-width: 650px;
  }

  .srs-panel {
    min-height: 410px;
  }

  .hsk-grid {
    gap: 70px;
  }

  .single-device,
  .chat-device {
    width: min(390px, 88vw);
  }

  .ai-layout {
    gap: 80px;
  }

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

  .tool-preview-copy {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
  }

  .faq-grid {
    gap: 50px;
  }

  .faq-heading {
    position: static;
  }

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

  .final-qr {
    justify-self: start;
  }

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

@media (max-width: 560px) {
  .site-header {
    height: 72px;
  }

  .brand {
    font-size: 17px;
  }

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

  .header-download {
    padding: 8px 13px;
    font-size: 12px;
  }

  .hero {
    min-height: 1120px;
  }

  .hero-grid {
    min-height: 1120px;
    padding-top: 112px;
    display: block;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-download {
    width: 100%;
    align-items: stretch;
  }

  .hero-qr {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-qr img {
    width: 116px;
    height: 116px;
  }

  .hero-qr span {
    max-width: none;
  }

  .hero-visual {
    height: 440px;
    margin-top: 70px;
  }

  .device-main {
    width: 225px;
  }

  .device-left,
  .device-right {
    width: 165px;
    top: 72px;
  }

  .device-left {
    left: -50px;
  }

  .device-right {
    right: -50px;
  }

  .section h2 {
    font-size: clamp(45px, 13vw, 62px);
  }

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

  .section-heading > p:last-child,
  .hsk-copy > p,
  .algorithm-copy > p {
    font-size: 16px;
  }

  .pass-grid {
    gap: 14px;
  }

  .pass-card {
    min-height: 475px;
    padding: 26px 145px 26px 24px;
    border-radius: 22px;
  }

  .pass-number {
    margin-bottom: 150px;
  }

  .pass-card h3 {
    font-size: 28px;
  }

  .pass-route {
    font-size: 16px;
  }

  .pass-phone {
    right: 12px;
    top: 24px;
    width: 136px;
    border-radius: 21px;
  }

  .ratio-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ratio-row span {
    text-align: center;
  }

  .srs-panel {
    min-height: 360px;
    padding: 42px 18px;
  }

  .srs-line {
    gap: 4px;
  }

  .srs-dot {
    width: 43px;
    height: 43px;
  }

  .srs-dot b {
    font-size: 15px;
  }

  .srs-dot small {
    font-size: 6px;
  }

  .srs-line::before {
    top: 21px;
  }

  .hsk-stats {
    gap: 24px;
  }

  .hsk-stats strong {
    font-size: 27px;
  }

  .ai-steps article {
    grid-template-columns: 45px 1fr;
    gap: 12px;
  }

  .ai-steps h3 {
    font-size: 24px;
  }

  .tool-preview {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .tool-preview img {
    border-radius: 22px;
  }

  .tool-preview-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .faq-list summary {
    font-size: 20px;
  }

  .final-cta {
    padding: 105px 0;
  }

  .final-cta h2 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .final-qr {
    display: none;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
