@font-face {
  font-family: "StudyPlan Sans";
  src: local("Noto Sans SC"), local("Microsoft YaHei UI"), local("Microsoft YaHei");
  font-display: swap;
}

:root {
  --paper: #f6efe2;
  --paper-soft: #fbf6ec;
  --paper-deep: #eadfcd;
  --surface: #fffdf8;
  --ink: #17324a;
  --ink-soft: #456276;
  --muted: #6f817f;
  --sky: #72b8f4;
  --sky-deep: #3b7fd5;
  --sky-soft: #dff2ff;
  --mint: #65c7b4;
  --mint-soft: #e4f8f3;
  --sun: #f4c34e;
  --sun-soft: #fff3ce;
  --coral: #ee806e;
  --coral-soft: #ffebe6;
  --line: rgba(23, 50, 74, 0.12);
  --line-strong: rgba(23, 50, 74, 0.2);
  --shadow: 0 24px 80px rgba(35, 70, 102, 0.12);
  --shadow-soft: 0 16px 40px rgba(35, 70, 102, 0.09);
  --radius: 8px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 50, 74, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 50, 74, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: "StudyPlan Sans", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.88), transparent 42%),
    linear-gradient(300deg, rgba(223, 242, 255, 0.56), transparent 35%);
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 246, 236, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(45, 77, 104, 0.08);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 7px 12px rgba(54, 107, 171, 0.18));
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(244, 195, 78, 0.65);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--sky-deep);
  box-shadow: 0 12px 26px rgba(59, 127, 213, 0.24);
}

.button-primary:hover {
  background: #2d6fc3;
  box-shadow: 0 16px 32px rgba(59, 127, 213, 0.3);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.76);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  background: var(--surface);
  border-color: rgba(59, 127, 213, 0.38);
}

.button-coral {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(238, 128, 110, 0.25);
}

.button-coral:hover {
  background: #d96f5d;
}

.button-premium {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 14px 30px rgba(244, 195, 78, 0.22);
}

.button-premium:hover {
  background: #ffd86d;
  box-shadow: 0 18px 36px rgba(244, 195, 78, 0.3);
}

.button-disabled {
  color: var(--muted);
  background: rgba(246, 239, 226, 0.88);
  border-color: var(--line-strong);
  border-style: dashed;
  box-shadow: none;
  cursor: not-allowed;
}

.button-disabled:hover {
  transform: none;
}

.button-icon {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 246, 236, 0.99) 0%, rgba(251, 246, 236, 0.94) 35%, rgba(251, 246, 236, 0.34) 67%, rgba(251, 246, 236, 0.06) 100%),
    linear-gradient(0deg, var(--paper-soft) 0%, transparent 18%);
}

.hero::after {
  position: absolute;
  right: 3%;
  bottom: -48px;
  z-index: 1;
  width: 420px;
  height: 120px;
  content: "";
  background: rgba(255, 253, 248, 0.3);
  border: 1px dashed rgba(23, 50, 74, 0.14);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  min-height: 760px;
  gap: 34px;
  padding-block: 70px 88px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--sky-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--coral);
  border-radius: 2px;
}

.eyebrow-mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.3vw, 76px);
  font-weight: 950;
  line-height: 1.07;
  letter-spacing: 0;
}

.hero h1 .brand-line {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  padding-bottom: 12px;
}

.hero h1 .brand-line::after {
  position: absolute;
  right: -20px;
  bottom: 2px;
  left: 4px;
  height: 9px;
  content: "";
  background: var(--sun);
  border-radius: 999px 0 999px 999px;
  opacity: 0.72;
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero h1 .title-tail {
  display: block;
  margin-top: 10px;
  font-size: 0.54em;
  font-weight: 850;
  line-height: 1.36;
}

.hero-lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 7px;
  padding: 5px 11px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.meta-pill::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(101, 199, 180, 0.16);
}

.hero-stage {
  position: relative;
  min-height: 610px;
}

.phone-frame {
  position: absolute;
  overflow: hidden;
  background: #0e2234;
  border: 9px solid #18354d;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 55px;
  height: 6px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  top: 22px;
  right: 127px;
  z-index: 3;
  width: 257px;
  height: 556px;
  transform: rotate(-4deg);
  animation: phone-float 7s ease-in-out infinite;
}

.phone-back {
  top: 116px;
  right: -12px;
  z-index: 1;
  width: 226px;
  height: 490px;
  border-color: rgba(24, 53, 77, 0.94);
  transform: rotate(7deg);
  opacity: 0.92;
}

.phone-back::before {
  display: none;
}

.hero-callout {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  min-height: 58px;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.93);
  border: 1px solid rgba(23, 50, 74, 0.11);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-callout img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.hero-callout strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.hero-callout span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.callout-progress {
  top: 56px;
  left: 4%;
  animation: callout-float 6s ease-in-out infinite;
}

.callout-reward {
  right: 2%;
  bottom: 92px;
  animation: callout-float 6s 1.2s ease-in-out infinite;
}

.section {
  padding-block: 104px;
}

.section-paper {
  background: rgba(255, 253, 248, 0.78);
  border-bottom: 1px solid var(--line);
}

.section-sky {
  background:
    linear-gradient(145deg, rgba(223, 242, 255, 0.92), rgba(228, 248, 243, 0.72));
  border-block: 1px solid rgba(59, 127, 213, 0.12);
}

.section-coral {
  background: var(--coral-soft);
  border-block: 1px solid rgba(238, 128, 110, 0.14);
}

.section-premium {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #17324a;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-premium::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
}

.section-premium::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(244, 195, 78, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(244, 195, 78, 0.045),
    0 0 0 92px rgba(244, 195, 78, 0.025);
  pointer-events: none;
}

.premium-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 56px;
}

.premium-mark {
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.premium-kicker {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.premium-copy h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 3.9vw, 54px);
  line-height: 1.16;
}

.premium-copy > p:not(.premium-kicker, .premium-note) {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.premium-cadence {
  display: inline-flex;
  margin-top: 24px;
  padding: 7px 11px;
  color: var(--sun);
  background: rgba(244, 195, 78, 0.08);
  border: 1px solid rgba(244, 195, 78, 0.24);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.premium-light-link {
  color: rgba(255, 255, 255, 0.82);
}

.premium-light-link:hover {
  color: #fff;
}

.premium-note {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.premium-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.premium-benefit {
  min-height: 176px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.premium-benefit:nth-child(2),
.premium-benefit:nth-child(5) {
  background: rgba(101, 199, 180, 0.075);
}

.premium-benefit:nth-child(3),
.premium-benefit:nth-child(6) {
  background: rgba(244, 195, 78, 0.055);
}

.premium-index {
  color: var(--sun);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.premium-benefit h3 {
  margin: 31px 0 8px;
  color: #fff;
  font-size: 19px;
}

.premium-benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 940;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

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

.belief {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.belief::after {
  position: absolute;
  right: -38px;
  bottom: -55px;
  width: 160px;
  height: 160px;
  content: "";
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}

.belief:nth-child(2) {
  background: var(--mint-soft);
}

.belief:nth-child(3) {
  background: var(--sun-soft);
}

.belief-number {
  color: var(--sky-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.belief h3 {
  margin: 56px 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.belief p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.belief-line {
  position: absolute;
  top: 30px;
  right: 28px;
  width: 44px;
  height: 8px;
  background: var(--coral);
  border-radius: 999px;
  transform: rotate(-10deg);
}

.belief:nth-child(2) .belief-line {
  background: var(--mint);
  transform: rotate(7deg);
}

.belief:nth-child(3) .belief-line {
  background: var(--sun);
  transform: rotate(-4deg);
}

.loop-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 82px;
  align-items: start;
}

.loop-intro {
  position: sticky;
  top: 120px;
}

.loop-intro h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 950;
  line-height: 1.16;
}

.loop-intro p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.loop-quote {
  margin-top: 32px;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--mint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  font-weight: 750;
}

.loop-steps {
  display: grid;
}

.loop-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 150px;
  gap: 22px;
  padding: 18px 0 30px;
  border-bottom: 1px solid var(--line);
}

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

.loop-step::before {
  position: absolute;
  top: 68px;
  bottom: -8px;
  left: 35px;
  content: "";
  border-left: 1px dashed rgba(59, 127, 213, 0.32);
}

.loop-step:last-child::before {
  display: none;
}

.step-number {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: var(--ink);
  background: var(--sun);
  border: 1px solid rgba(23, 50, 74, 0.08);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(197, 144, 28, 0.16);
}

.loop-step:nth-child(2) .step-number,
.loop-step:nth-child(5) .step-number {
  background: var(--mint);
}

.loop-step:nth-child(3) .step-number,
.loop-step:nth-child(6) .step-number {
  background: var(--sky);
}

.loop-step:nth-child(4) .step-number {
  background: var(--coral);
}

.loop-step h3 {
  margin: 7px 0 6px;
  font-size: 22px;
}

.loop-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.stage-wrap {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  margin-bottom: 52px;
  padding: 38px 34px 0;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.72) 0 2px, transparent 3px) 0 0 / 38px 38px,
    linear-gradient(135deg, #d8efff, #e8f9f4 58%, #fff0d1);
  border: 1px solid rgba(59, 127, 213, 0.14);
  border-radius: var(--radius);
}

.stage-wrap::before {
  position: absolute;
  top: 34px;
  left: 38px;
  width: 180px;
  height: 18px;
  content: "";
  background: rgba(255, 253, 248, 0.62);
  border: 1px dashed rgba(23, 50, 74, 0.16);
  transform: rotate(-2deg);
}

.stage-copy {
  position: relative;
  z-index: 3;
  max-width: 320px;
  margin-left: 30px;
}

.stage-copy h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
}

.stage-copy p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.app-fan {
  position: absolute;
  inset: 0;
}

.app-fan-item {
  position: absolute;
  overflow: hidden;
  width: 220px;
  background: #fff;
  border: 8px solid #17324a;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.app-fan-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-fan-item:nth-child(1) {
  right: 480px;
  bottom: -84px;
  z-index: 3;
  height: 490px;
  transform: rotate(-8deg);
}

.app-fan-item:nth-child(2) {
  right: 274px;
  bottom: -52px;
  z-index: 4;
  height: 540px;
  transform: rotate(-1deg);
}

.app-fan-item:nth-child(3) {
  right: 63px;
  bottom: -72px;
  z-index: 2;
  height: 500px;
  transform: rotate(8deg);
}

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

.feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--sky-soft);
  border-radius: var(--radius);
}

.feature-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.feature-item:nth-child(2) .feature-icon,
.feature-item:nth-child(5) .feature-icon {
  background: var(--mint-soft);
}

.feature-item:nth-child(3) .feature-icon,
.feature-item:nth-child(6) .feature-icon {
  background: var(--coral-soft);
}

.feature-item h3 {
  margin: 1px 0 7px;
  font-size: 17px;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.reward-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 76px;
}

.reward-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 950;
  line-height: 1.16;
}

.reward-copy h2 em {
  color: var(--coral);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(244, 195, 78, 0.7);
  text-decoration-thickness: 10px;
  text-underline-offset: -2px;
}

.reward-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.boundary-list {
  display: grid;
  gap: 12px;
}

.boundary {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(23, 50, 74, 0.1);
  border-radius: var(--radius);
}

.boundary-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.boundary:nth-child(2) .boundary-index {
  background: var(--mint);
}

.boundary:nth-child(3) .boundary-index {
  background: var(--sky);
}

.boundary strong {
  display: block;
  font-size: 16px;
}

.boundary span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.mode-card {
  min-height: 254px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mode-card:nth-child(2) {
  background: var(--mint-soft);
}

.mode-card:nth-child(3) {
  background: var(--sun-soft);
}

.mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sky-deep);
  font-size: 12px;
  font-weight: 900;
}

.mode-tag::before {
  width: 8px;
  height: 8px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.mode-card h3 {
  margin: 54px 0 10px;
  font-size: 23px;
}

.mode-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.author-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: center;
  gap: 64px;
}

.author-logo-wrap {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}

.author-logo-wrap::before {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 120px;
  height: 26px;
  content: "";
  background: rgba(244, 195, 78, 0.55);
  transform: translateX(-50%) rotate(2deg);
}

.author-logo {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.author-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.22;
}

.author-copy p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.author-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.author-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 750;
}

.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sky-deep);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.cta-band {
  padding-block: 90px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23, 50, 74, 0.97), rgba(35, 83, 113, 0.94)),
    var(--ink);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 44px;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.2;
}

.cta-inner p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding-block: 64px 28px;
  background: #10283d;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.footer-brand p {
  max-width: 470px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.download-hero {
  padding-block: 92px 72px;
  background:
    linear-gradient(125deg, rgba(223, 242, 255, 0.95), rgba(228, 248, 243, 0.78) 58%, rgba(255, 243, 206, 0.72));
  border-bottom: 1px solid var(--line);
}

.download-hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 52px;
}

.download-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.12;
}

.download-hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.download-icon {
  width: 190px;
  height: 190px;
  filter: drop-shadow(0 24px 38px rgba(54, 107, 171, 0.22));
  transform: rotate(4deg);
}

.download-section {
  padding-block: 80px 100px;
}

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

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-card.is-featured {
  background: var(--sky-soft);
  border-color: rgba(59, 127, 213, 0.22);
}

.platform-label {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  padding: 3px 9px;
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(59, 127, 213, 0.16);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.download-card h2 {
  margin: 48px 0 10px;
  font-size: 24px;
}

.download-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.download-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.note-box {
  padding: 22px;
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.note-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.note-box span {
  color: var(--ink-soft);
  font-size: 12px;
}

@keyframes phone-float {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }

  50% {
    transform: rotate(-2deg) translateY(-8px);
  }
}

@keyframes callout-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  }

  .phone-main {
    right: 100px;
    width: 236px;
    height: 512px;
  }

  .phone-back {
    right: -35px;
    width: 210px;
    height: 456px;
  }

  .callout-progress {
    left: 0;
  }

  .callout-reward {
    right: -8px;
  }

  .app-fan-item:nth-child(1) {
    right: 420px;
  }

  .app-fan-item:nth-child(2) {
    right: 230px;
  }

  .app-fan-item:nth-child(3) {
    right: 36px;
  }
}

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

  .main-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

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

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

  .nav-actions .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .menu-toggle span {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle::before {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(251, 246, 236, 0.98), rgba(251, 246, 236, 0.88) 62%, rgba(251, 246, 236, 0.46)),
      linear-gradient(0deg, var(--paper-soft), transparent 20%);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 72px 48px;
  }

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

  .hero-stage {
    width: min(100%, 570px);
    min-height: 520px;
    margin: 16px auto 0;
    transform: scale(0.9);
    transform-origin: center top;
  }

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

  .belief-grid,
  .feature-grid,
  .mode-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .premium-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .premium-benefits {
    max-width: 760px;
  }

  .belief {
    min-height: 230px;
  }

  .belief h3 {
    margin-top: 42px;
  }

  .loop-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .loop-intro {
    position: static;
  }

  .stage-wrap {
    min-height: 680px;
  }

  .stage-copy {
    margin-left: 0;
  }

  .app-fan-item:nth-child(1) {
    right: 330px;
  }

  .app-fan-item:nth-child(2) {
    right: 150px;
  }

  .app-fan-item:nth-child(3) {
    right: -10px;
  }

  .reward-layout,
  .author-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .author-logo-wrap {
    max-width: 470px;
  }

  .cta-inner,
  .download-hero-layout {
    grid-template-columns: 1fr;
  }

  .download-icon {
    width: 150px;
    height: 150px;
    justify-self: start;
  }
}

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

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

  .brand-icon {
    width: 36px;
    height: 36px;
  }

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

  .main-nav {
    top: 68px;
    right: 14px;
    left: 14px;
  }

  .hero-layout {
    padding-block: 30px 24px;
  }

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

  .hero h1 .brand-line::after {
    right: -8px;
    height: 7px;
  }

  .hero h1 .title-tail {
    font-size: 0.49em;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-height: 42px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero-meta {
    display: none;
  }

  .hero-stage {
    width: 100%;
    height: 168px;
    min-height: 168px;
    margin-top: 22px;
    overflow: hidden;
    transform: none;
  }

  .phone-main {
    top: 0;
    right: 18px;
    width: 130px;
    height: 282px;
    border-width: 6px;
    border-radius: 24px;
    transform: rotate(-4deg);
    animation: none;
  }

  .phone-back {
    display: none;
  }

  .hero-callout {
    display: none;
  }

  .section {
    padding-block: 72px;
  }

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

  .section-heading h2,
  .loop-intro h2,
  .reward-copy h2,
  .author-copy h2,
  .cta-inner h2,
  .premium-copy h2 {
    font-size: clamp(32px, 10vw, 45px);
  }

  .belief,
  .mode-card,
  .feature-item {
    padding: 22px;
  }

  .loop-step {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }

  .step-number {
    width: 56px;
    height: 56px;
  }

  .loop-step::before {
    top: 55px;
    left: 28px;
  }

  .stage-wrap {
    min-height: 640px;
    padding: 30px 22px 0;
  }

  .stage-copy h3 {
    font-size: 25px;
  }

  .app-fan-item {
    width: 164px;
    border-width: 6px;
    border-radius: 25px;
  }

  .app-fan-item:nth-child(1) {
    right: 215px;
    bottom: -78px;
    height: 370px;
  }

  .app-fan-item:nth-child(2) {
    right: 90px;
    bottom: -48px;
    height: 412px;
  }

  .app-fan-item:nth-child(3) {
    right: -34px;
    bottom: -70px;
    height: 382px;
  }

  .feature-item {
    grid-template-columns: 48px 1fr;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon img {
    width: 34px;
    height: 34px;
  }

  .premium-mark {
    width: 66px;
    height: 66px;
  }

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

  .premium-benefits {
    grid-template-columns: 1fr;
  }

  .premium-benefit {
    min-height: 148px;
  }

  .premium-benefit h3 {
    margin-top: 22px;
  }

  .author-logo-wrap {
    padding: 18px;
  }

  .cta-band {
    padding-block: 72px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .download-hero {
    padding-block: 62px 50px;
  }

  .download-section {
    padding-block: 54px 72px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
