:root {
  color-scheme: dark;
  --ink: #090806;
  --ink-soft: #14100c;
  --panel: #1d1712;
  --panel-high: #2b2119;
  --cream: #fff1cd;
  --cream-soft: #dccaa5;
  --ember: #ff4a0a;
  --gold: #ffad27;
  --line: rgba(255, 241, 205, 0.14);
  --muted: #ab9d83;
  --max: 1180px;
  --radius: 26px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 73% 3%, rgba(255, 74, 10, 0.12), transparent 28rem),
    var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

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

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

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 6, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-links a {
  color: var(--cream-soft);
  text-decoration: none;
}

.nav-links a:hover { color: var(--cream); }

.language-link {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-menu {
  position: relative;
}

.language-menu summary {
  padding: 7px 12px;
  color: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: "⌄"; margin-left: 7px; color: var(--gold); }
.language-menu[open] summary { color: var(--cream); border-color: rgba(255, 173, 39, 0.45); }

.language-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: 200px;
  padding: 8px;
  display: grid;
  gap: 2px;
  background: #17120e;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
}

.language-options a {
  padding: 9px 11px;
  border-radius: 9px;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
  color: var(--cream);
  background: rgba(255, 241, 205, 0.08);
}

html:lang(zh-Hans) body,
html:lang(zh-Hant) body {
  font-family: "PingFang SC", "PingFang TC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

html:lang(zh-Hans) h1,
html:lang(zh-Hant) h1,
html:lang(zh-Hans) .section h2,
html:lang(zh-Hant) .section h2 {
  letter-spacing: -0.045em;
}

main { overflow: hidden; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

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

.availability {
  width: fit-content;
  margin-bottom: 28px;
  padding: 8px 13px 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.availability::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--gold);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", sans-serif;
  font-size: clamp(52px, 8.3vw, 108px);
  line-height: 0.93;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--cream-soft);
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.45;
  letter-spacing: -0.018em;
}

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

.button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1b0b02;
  background: var(--cream);
  border-radius: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button-secondary {
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line);
}

.trust-line {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.device-wrap {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 173, 39, 0.2);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.orbit::before {
  inset: 11%;
  border: 1px dashed rgba(255, 241, 205, 0.11);
}

.orbit::after {
  width: 16px;
  height: 16px;
  top: 13%;
  right: 9%;
  background: var(--ember);
  box-shadow: 0 0 30px rgba(255, 74, 10, 0.85);
}

.honest-shot {
  position: relative;
  z-index: 1;
  width: min(100%, 344px);
  height: auto;
  border: 1px solid rgba(255, 241, 205, 0.22);
  border-radius: 46px;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.58), 0 0 70px rgba(255, 74, 10, 0.1);
  transform: rotate(2deg);
}

.screenshot-stage > figcaption {
  z-index: 1;
  width: min(100%, 390px);
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

.section h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading p {
  max-width: 590px;
  margin: 8px 0 0;
  color: var(--cream-soft);
  font-size: 19px;
}

.feature-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature {
  min-height: 240px;
  padding: 34px 32px 34px 0;
  border-bottom: 1px solid var(--line);
}

.feature:nth-child(odd) { border-right: 1px solid var(--line); }
.feature:nth-child(even) { padding-left: 32px; }

.feature-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  color: #231006;
  background: var(--gold);
  border-radius: 12px;
  font-weight: 800;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.feature p { max-width: 470px; margin-bottom: 0; color: var(--muted); }

.screen-gallery {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.screen-card {
  margin: 0;
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  justify-items: center;
  background: linear-gradient(155deg, rgba(255, 74, 10, 0.1), rgba(255, 241, 205, 0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.screen-card img {
  width: auto;
  max-width: 100%;
  height: min(66vw, 720px);
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.4));
}

.screen-card figcaption {
  width: 100%;
  margin-top: 26px;
  display: grid;
  gap: 6px;
}

.screen-card figcaption strong { font-size: 17px; }
.screen-card figcaption span { color: var(--muted); font-size: 13px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: center;
}

.pro-list { margin: 34px 0 0; padding: 0; list-style: none; }

.pro-list li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.pro-list li::before { content: "+"; color: var(--gold); font-weight: 800; }

.coin-field {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.coin-field::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(255, 74, 10, 0.23), transparent 68%);
  filter: blur(20px);
}

.app-icon {
  position: relative;
  width: min(74%, 330px);
  border-radius: 24%;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.5);
  transform: rotate(-5deg);
}

.privacy-strip {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 0.65fr);
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.privacy-intro,
.privacy-point { padding: 32px; }
.privacy-point { border-left: 1px solid rgba(9, 8, 6, 0.15); }
.privacy-strip h2 { font-size: clamp(34px, 4vw, 54px); }
.privacy-strip h3 { font-size: 18px; }
.privacy-strip p { margin-bottom: 0; color: #594d3d; font-size: 14px; }

.faq { max-width: 900px; }

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

.faq summary {
  padding: 24px 52px 24px 0;
  position: relative;
  cursor: pointer;
  font-size: 20px;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; color: var(--gold); font-size: 28px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 760px; padding: 0 52px 24px 0; color: var(--muted); }

.closing {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 40px;
  padding: clamp(46px, 8vw, 92px);
  position: relative;
  background: var(--ember);
  color: #fff7e3;
  border-radius: var(--radius);
  overflow: hidden;
}

.closing::after {
  content: "=";
  position: absolute;
  right: 4%;
  bottom: -36%;
  color: rgba(255, 247, 227, 0.15);
  font-family: ui-rounded, sans-serif;
  font-size: 330px;
  font-weight: 800;
  line-height: 1;
}

.closing h2 { position: relative; z-index: 1; max-width: 720px; margin-bottom: 18px; font-size: clamp(40px, 6vw, 78px); }
.closing p { position: relative; z-index: 1; max-width: 620px; margin-bottom: 30px; font-size: 19px; }
.closing .button { position: relative; z-index: 1; }

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 52px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--cream-soft); }

.document {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 80px 0 120px;
}

.document h1 { max-width: 800px; font-size: clamp(46px, 8vw, 84px); }
.document .updated { color: var(--muted); }
.document h2 { margin: 48px 0 14px; font-size: 28px; letter-spacing: -0.03em; }
.document p, .document li { color: var(--cream-soft); }
.document a { color: var(--gold); }
.document .notice { margin: 34px 0; padding: 22px; border: 1px solid rgba(255, 173, 39, 0.32); border-radius: 16px; background: rgba(255, 173, 39, 0.07); }

@media (max-width: 900px) {
  .nav-links a:not(.language-link) { display: none; }
  .language-options a { display: block !important; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { max-width: 760px; }
  .device-wrap { padding: 40px 0 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .split { grid-template-columns: 1fr; }
  .screen-gallery { grid-template-columns: 1fr; }
  .screen-card img { height: min(118vw, 700px); }
  .coin-field { min-height: 360px; }
  .privacy-strip { grid-template-columns: 1fr 1fr; }
  .privacy-point:first-of-type { border-left: 0; }
  .privacy-point { border-top: 1px solid rgba(9, 8, 6, 0.15); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { width: min(calc(100% - 28px), var(--max)); }
  .hero, .section, .closing, .site-footer, .document { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 46px 0 68px; }
  h1 { font-size: clamp(48px, 17vw, 76px); }
  .orbit { width: 430px; }
  .honest-shot { width: min(86%, 330px); transform: none; }
  .section { padding: 74px 0; }
  .feature-ledger { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { min-height: auto; padding: 30px 0; border-right: 0; }
  .privacy-strip { grid-template-columns: 1fr; }
  .privacy-point { border-left: 0; }
  .closing { padding: 42px 28px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .honest-shot { animation: settle 850ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(30px) rotate(5deg); } to { opacity: 1; transform: translateY(0) rotate(2deg); } }

  @media (max-width: 600px) {
    .honest-shot { animation-name: settle-mobile; }
    @keyframes settle-mobile { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  }
}
