@font-face {
  font-family: "Tristich Sans";
  src: url("./fonts/Montserrat-Light.otf") format("opentype");
  font-display: swap;
  font-weight: 300;
}

:root {
  --paper: #f7f4ec;
  --paper-deep: #efeadf;
  --ink: #1a1916;
  --muted: #6c675d;
  --faint: #989186;
  --surface: rgba(255, 255, 255, 0.68);
  --line: rgba(26, 25, 22, 0.14);
  --amber: #c98a16;
  --amber-bright: #ffc107;
  --dark: #11110f;
  --dark-muted: rgba(255, 255, 255, 0.64);
  --serif-cn: "Songti SC", "STSong", "SimSun", serif;
  --serif-en: "Times New Roman", Times, serif;
  --sans: "Tristich Sans", "Avenir Next", "PingFang SC", system-ui, sans-serif;
  --page: min(1180px, calc(100vw - 48px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 35rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  background-image:
    repeating-linear-gradient(
      112deg,
      rgba(26, 25, 22, 0.035) 0,
      rgba(26, 25, 22, 0.035) 1px,
      transparent 1px,
      transparent 5px
    ),
    radial-gradient(circle, rgba(26, 25, 22, 0.08) 0.55px, transparent 0.7px);
  background-size: 100% 100%, 7px 7px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  width: var(--page);
  min-height: 86px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  font-family: var(--serif-en);
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -1.3px;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
}

.nav a {
  position: relative;
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 12px;
  white-space: nowrap;
}

.release-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-bright);
  content: "";
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.hero {
  width: var(--page);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding: 72px 0 90px;
}

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

.hero h1 {
  max-width: 650px;
  margin: 0 0 28px;
  font-family: var(--serif-cn);
  font-size: clamp(54px, 5.5vw, 78px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero-copy > p {
  max-width: 540px;
  margin: 0 0 52px;
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.9;
}

.text-link {
  color: var(--amber);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.text-link::after {
  display: block;
  width: 102px;
  height: 1px;
  margin-top: 8px;
  background: currentColor;
  content: "";
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 590px;
  place-items: center;
}

.phone-stage::before {
  position: absolute;
  width: 88%;
  height: 76%;
  border-radius: 50%;
  background: rgba(201, 138, 22, 0.08);
  filter: blur(55px);
  content: "";
}

.phone {
  position: relative;
  width: min(340px, 82vw);
  aspect-ratio: 0.49;
  padding: 11px;
  border: 2px solid #0d0d0c;
  border-radius: 50px;
  background: #161614;
  box-shadow:
    0 36px 70px rgba(26, 25, 22, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  transform: rotate(1.2deg);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding: 38px 24px 74px;
  border-radius: 40px;
  background: #f9f6ee;
}

.phone-island {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 92px;
  height: 25px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-meta,
.phone-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-meta {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.phone-brand {
  font-family: var(--serif-en);
  font-size: 23px;
  font-weight: 700;
  font-style: italic;
}

.phone-date {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 10px;
}

.phone-actions {
  justify-content: flex-end;
  gap: 11px;
  padding: 14px 0 4px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
}

.phone-quote {
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
}

.phone-quote:last-of-type {
  border-bottom: 0;
}

.quote-number {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--serif-en);
  font-size: 14px;
}

.quote-en {
  margin: 0 0 5px;
  font-family: var(--serif-en);
  font-size: 15px;
  font-style: italic;
  line-height: 1.38;
}

.quote-cn {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif-cn);
  font-size: 11.5px;
  line-height: 1.65;
}

.phone-switch {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: grid;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 244, 236, 0.9);
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  text-align: center;
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 11px;
}

.switch-knob {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  place-items: center;
}

.feature-section {
  padding: 86px 0 96px;
  background: rgba(255, 255, 255, 0.32);
  border-block: 1px solid rgba(26, 25, 22, 0.07);
}

.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.section-title {
  margin: 0;
  font-family: var(--serif-en);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.18;
  text-align: center;
}

.section-rule {
  width: 44px;
  height: 2px;
  margin: 22px auto 54px;
  border: 0;
  background: var(--amber);
}

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

.feature {
  min-height: 330px;
  padding: 0 clamp(24px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

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

.feature h3 {
  margin: 0 0 10px;
  font-family: var(--serif-cn);
  font-size: 22px;
}

.feature-index {
  margin-right: 10px;
  font-family: var(--serif-en);
  font-size: 25px;
  font-weight: 400;
}

.feature > p {
  min-height: 46px;
  margin: 0 0 28px;
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
}

.mini-card {
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.mini-line {
  height: 1px;
  margin-top: 13px;
  background: var(--line);
}

.mini-toggle {
  display: grid;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  text-align: center;
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 12px;
}

.mini-toggle b {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-weight: 400;
  place-items: center;
}

.word-entry {
  display: grid;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.word-entry:last-child {
  border-bottom: 0;
}

.word-entry strong {
  font-family: var(--serif-en);
  font-size: 17px;
  font-weight: 400;
}

.word-entry span {
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 12px;
}

.immersive {
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.immersive-inner {
  width: min(1440px, 100%);
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.immersive-copy {
  z-index: 1;
  align-self: center;
  max-width: 630px;
  padding: 90px max(48px, calc((100vw - 1180px) / 2));
}

.immersive-copy h2 {
  margin: 0 0 50px;
  font-family: var(--serif-cn);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.immersive-copy h2::after {
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 27px;
  background: var(--amber-bright);
  content: "";
}

.dark-feature {
  display: grid;
  margin: 27px 0;
  grid-template-columns: 40px 1fr;
  gap: 18px;
}

.dark-feature-icon {
  color: var(--amber-bright);
  font-family: var(--serif-en);
  font-size: 28px;
}

.dark-feature h3 {
  margin: 0 0 2px;
  font-family: var(--serif-cn);
  font-size: 18px;
}

.dark-feature p {
  margin: 0;
  color: var(--dark-muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
}

.engraving {
  position: relative;
  min-height: 650px;
}

.engraving img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) contrast(1.12);
  opacity: 0.9;
}

.engraving::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--dark) 0%, transparent 36%);
}

.privacy-section {
  padding: 90px 0 82px;
}

.promise-grid {
  display: grid;
  margin: 48px 0 45px;
  grid-template-columns: repeat(4, 1fr);
}

.promise {
  min-height: 118px;
  padding: 8px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.promise:last-child {
  border-right: 0;
}

.promise-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 15px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif-en);
  place-items: center;
}

.promise strong {
  display: block;
  font-family: var(--serif-cn);
  font-size: 16px;
}

.promise-note {
  max-width: 720px;
  margin: -14px auto 38px;
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 13px;
  text-align: center;
}

.button-row {
  display: flex;
  justify-content: center;
}

.outline-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--amber);
  border-radius: 5px;
  color: #94620d;
  align-items: center;
  justify-content: center;
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.outline-button:hover {
  background: var(--amber);
  color: #fff;
}

.site-footer {
  padding: 58px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(239, 234, 223, 0.52);
}

.footer-top {
  width: var(--page);
  display: grid;
  margin: 0 auto 48px;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.footer-top > div + div {
  padding-left: 70px;
  border-left: 1px solid var(--line);
}

.footer-top h2 {
  margin: 0 0 12px;
  font-family: var(--serif-cn);
  font-size: 24px;
}

.footer-top p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
}

.support-email {
  font-family: var(--serif-en);
  font-size: 19px;
}

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

.footer-links a {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  width: var(--page);
  min-height: 58px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 11px;
}

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

.filing-link {
  color: var(--faint);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 12px;
  text-align: right;
  text-decoration: none;
}

.filing-link:hover,
.filing-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.legal-hero {
  width: var(--page);
  margin: 0 auto;
  padding: 88px 0 62px;
  border-bottom: 1px solid var(--line);
}

.legal-kicker {
  margin: 0 0 17px;
  color: var(--amber);
  font-family: system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0 0 20px;
  font-family: var(--serif-cn);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.legal-summary {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 17px;
}

.legal-date {
  display: block;
  margin-top: 24px;
  color: var(--faint);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 12px;
}

.legal-layout {
  width: var(--page);
  margin: 0 auto;
  padding: 68px 0 110px;
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: clamp(55px, 9vw, 130px);
}

.legal-toc {
  position: sticky;
  top: 28px;
  align-self: start;
  display: grid;
  gap: 9px;
}

.legal-toc strong {
  margin-bottom: 8px;
  font-family: var(--serif-cn);
  font-size: 14px;
}

.legal-toc a {
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-copy section {
  scroll-margin-top: 30px;
  margin-bottom: 48px;
}

.legal-copy h2 {
  margin: 0 0 14px;
  font-family: var(--serif-cn);
  font-size: 25px;
}

.legal-copy h3 {
  margin: 28px 0 10px;
  font-family: var(--serif-cn);
  font-size: 18px;
}

.legal-copy p,
.legal-copy li {
  color: #504c45;
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.95;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 1.35em;
}

.legal-callout {
  padding: 22px 24px;
  border-left: 2px solid var(--amber);
  background: rgba(255, 255, 255, 0.48);
}

.support-grid {
  width: var(--page);
  margin: 0 auto;
  padding: 72px 0 110px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.support-card {
  min-height: 250px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
}

.support-card h2 {
  margin: 0 0 13px;
  font-family: var(--serif-cn);
  font-size: 25px;
}

.support-card p,
.support-card li {
  color: var(--muted);
  font-family: system-ui, "PingFang SC", sans-serif;
  font-size: 14px;
}

.support-card .outline-button {
  margin-top: 14px;
}

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

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

@media (max-width: 900px) {
  :root {
    --page: min(100% - 36px, 720px);
  }

  .site-header {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(247, 244, 236, 0.98);
    box-shadow: 0 20px 40px rgba(26, 25, 22, 0.12);
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .release-status {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 78px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .text-link {
    display: inline-block;
  }

  .phone-stage {
    min-height: 590px;
  }

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

  .feature,
  .promise {
    min-height: auto;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child,
  .promise:last-child {
    border-bottom: 0;
  }

  .feature > p {
    min-height: auto;
  }

  .immersive-inner {
    grid-template-columns: 1fr;
  }

  .immersive-copy {
    padding: 78px max(24px, calc((100vw - 720px) / 2));
  }

  .engraving {
    min-height: 520px;
  }

  .engraving::after {
    background: linear-gradient(180deg, var(--dark) 0%, transparent 34%);
  }

  .footer-top,
  .legal-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-top > div + div {
    padding-top: 34px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .legal-toc {
    position: static;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  :root {
    --page: calc(100% - 28px);
  }

  .wordmark {
    font-size: 27px;
  }

  .hero {
    padding-top: 44px;
  }

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

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

  .phone-stage {
    min-height: 545px;
  }

  .phone {
    width: min(320px, calc(100vw - 46px));
    aspect-ratio: 0.45;
  }

  .phone-screen {
    padding-inline: 20px;
  }

  .phone-quote {
    padding-block: 14px;
  }

  .quote-en {
    font-size: 14px;
  }

  .immersive-copy {
    padding-inline: 24px;
  }

  .engraving {
    min-height: 430px;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .filing-link {
    text-align: left;
  }

  .legal-hero {
    padding: 60px 0 44px;
  }

  .legal-layout {
    padding-top: 45px;
  }

  .support-card {
    padding: 25px;
  }
}
