:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #2d211c;
  background: #f7efe4;
  font-synthesis: none;
  --ink: #2d211c;
  --muted: #75665f;
  --paper: #f7efe4;
  --paper-deep: #eadac7;
  --cream: #fffaf4;
  --accent: #a4362f;
  --accent-dark: #6f211f;
  --orange: #de7f32;
  --line: rgba(63, 39, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 8%, rgba(222, 127, 50, 0.12), transparent 25rem),
    linear-gradient(180deg, #fffaf4 0, var(--paper) 42rem);
  color: var(--ink);
  line-height: 1.72;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(73, 45, 32, 0.09) 0.6px, transparent 0.6px);
  background-size: 7px 7px;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent-dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(63, 39, 29, 0.08);
  background: rgba(255, 250, 244, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
}

.nav a {
  color: #594841;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.home-hero {
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 72px;
  padding: 70px 0 86px;
}

.hero-copy h1 {
  margin: 10px 0 18px;
  color: var(--accent-dark);
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(74px, 11vw, 150px);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.92;
}

.hero-lede {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 23px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(164, 54, 47, 0.2);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5913e;
  box-shadow: 0 0 0 6px rgba(213, 145, 62, 0.12);
}

.app-icon-stage {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
}

.stage-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(222, 127, 50, 0.22);
  filter: blur(28px);
}

.app-icon-card {
  position: relative;
  display: grid;
  width: min(380px, 90%);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(103, 57, 33, 0.12);
  border-radius: 31%;
  background:
    radial-gradient(circle at 50% 30%, #fff 0, #fff7e9 54%, #e9c9a2 100%);
  box-shadow:
    0 42px 80px rgba(83, 44, 25, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: rotate(2deg);
}

.app-icon-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: inherit;
  content: "";
}

.app-icon-card img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.app-icon-stage > p {
  position: absolute;
  bottom: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-section {
  padding: 110px 0 118px;
  background: #392621;
  color: #fff9f1;
}

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

.section-heading .eyebrow {
  color: #e7a864;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.feature-card {
  min-height: 290px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding: 30px 28px 20px 0;
}

.feature-card + .feature-card {
  padding-left: 28px;
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card > span {
  color: #dca166;
  font-family: Georgia, serif;
  font-size: 14px;
}

.feature-card h3 {
  margin: 54px 0 12px;
  font-size: 23px;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 249, 241, 0.66);
  font-size: 15px;
}

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

.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(34px, 6vw, 74px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 246, 233, 0.58)),
    var(--cream);
  box-shadow: 0 24px 70px rgba(95, 55, 31, 0.08);
}

.download-copy h2,
.trust-section h2 {
  margin: 12px 0 20px;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.download-copy > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.download-list {
  display: grid;
  gap: 14px;
  align-content: center;
}

.download-item {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.62);
}

.download-item > div {
  display: grid;
  gap: 3px;
}

.platform {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.download-item strong {
  font-size: 18px;
}

.download-item em {
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.trust-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  padding: 30px 0 120px;
}

.trust-links {
  display: grid;
}

.trust-links a {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  color: var(--ink);
  text-decoration: none;
}

.trust-links a:first-child {
  border-top: 1px solid var(--line);
}

.trust-links span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.trust-links strong {
  font-size: 18px;
}

.document-hero {
  padding: 82px 0 40px;
}

.document-hero h1 {
  margin: 10px 0 18px;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(48px, 7vw, 82px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.lede {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.effective-date {
  margin: 22px 0 0;
  color: #8b7770;
  font-size: 13px;
}

.test-notice {
  max-width: 760px;
  margin-top: 22px;
  border: 1px solid rgba(164, 54, 47, 0.22);
  border-radius: 14px;
  padding: 12px 16px;
  background: rgba(164, 54, 47, 0.06);
  color: var(--accent-dark);
  font-size: 13px;
}

.document-content {
  display: grid;
  gap: 14px;
  padding: 12px 0 92px;
}

.document-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 252, 247, 0.68);
}

.document-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.document-card p,
.document-card ul {
  margin: 10px 0 0;
  color: var(--muted);
}

.document-card ul {
  padding-left: 1.35em;
}

.document-card li + li {
  margin-top: 8px;
}

.system-card {
  display: grid;
  min-height: 660px;
  place-items: center;
  align-content: center;
  padding: 80px 0 110px;
  text-align: center;
}

.system-card img {
  width: 108px;
  height: 108px;
  margin-bottom: 24px;
  border-radius: 30px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(83, 44, 25, 0.16);
}

.system-card h1 {
  margin: 10px 0 12px;
  font-family: "Songti SC", STSong, "Noto Serif SC", serif;
  font-size: clamp(48px, 7vw, 78px);
  letter-spacing: -0.06em;
}

.system-card > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0 54px;
  background: rgba(234, 218, 199, 0.36);
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
}

.footer-grid p {
  margin: 4px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 4px 18px;
  text-align: right;
}

.footer-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.footer-links p {
  flex-basis: 100%;
}

@media (max-width: 900px) {
  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 64px;
  }

  .app-icon-stage {
    min-height: 420px;
  }

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

  .feature-card:nth-child(2) {
    border-right: 0;
  }

  .feature-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .feature-card:nth-child(3) {
    padding-left: 0;
  }

  .download-panel,
  .trust-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 66px;
  }

  .nav {
    gap: 10px 14px;
  }

  .nav a:nth-child(1),
  .nav a:nth-child(2) {
    display: none;
  }

  .home-hero {
    padding: 52px 0 62px;
  }

  .hero-copy h1 {
    font-size: clamp(68px, 27vw, 104px);
  }

  .hero-actions {
    display: grid;
  }

  .app-icon-stage {
    min-height: 350px;
  }

  .app-icon-card {
    width: min(290px, 88%);
  }

  .stage-glow {
    width: 280px;
    height: 280px;
  }

  .feature-section,
  .download-section {
    padding: 78px 0;
  }

  .section-heading {
    display: grid;
  }

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

  .feature-card,
  .feature-card + .feature-card {
    min-height: 230px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 0;
    padding: 25px 0;
  }

  .feature-card:first-child {
    border-top: 0;
  }

  .feature-card h3 {
    margin-top: 34px;
  }

  .download-panel {
    border-radius: 24px;
  }

  .download-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .download-item em {
    text-align: left;
  }

  .trust-section {
    padding-bottom: 84px;
  }

  .document-hero {
    padding-top: 60px;
  }

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

  .footer-links {
    justify-content: flex-start;
    text-align: left;
  }
}

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

  .button {
    transition: none;
  }
}
