:root {
  --ink: #2a2118;
  --muted: #6d5b4c;
  --cream: #fff8ef;
  --brown: #6a4632;
  --gold: #e4b15a;
  --pink: #e07a9a;
  --line: rgba(42, 33, 24, 0.08);
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(920px 680px at 0% 8%, #9ad9cc 0%, transparent 58%),
    radial-gradient(860px 720px at 100% 0%, #3d72d8 0%, transparent 52%),
    radial-gradient(700px 520px at 78% 100%, #2457b0 0%, transparent 46%),
    linear-gradient(165deg, #e7f7f3 0%, #f4f8fc 46%, #d5e4f8 100%);
  min-height: 100vh;
}

img { max-width: 100%; }

a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(244, 248, 252, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 28px;
  width: auto;
  display: block;
}

.brand .brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

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

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.langs { display: flex; gap: 10px; align-items: center; }
.langs button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  opacity: 0.45;
}
.langs button.on { font-weight: 700; opacity: 1; }

.help-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brown);
  color: #fff8ef !important;
  font-weight: 700;
  text-decoration: none;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 7px 16px 7px 12px;
  border-radius: 10px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
}

.store svg {
  width: 18px;
  height: 22px;
  display: block;
}

.store span { display: block; line-height: 1.05; }

.store small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store strong {
  display: block;
  margin-top: 1px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 6vw 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--brown);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.18;
  font-weight: 700;
}

.lede {
  margin: 18px 0 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 17px;
}

.facts {
  display: flex;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  min-width: 108px;
  padding: 12px 14px 10px;
  border-radius: 16px;
  background: rgba(255, 248, 239, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.facts b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
}

.facts span {
  color: var(--muted);
  font-size: 12px;
}

.stage {
  position: relative;
  height: 640px;
}

.device {
  margin: 0;
  width: 270px;
  padding: 8px;
  border-radius: 40px;
  background: #161616;
  box-shadow: 0 28px 60px rgba(24, 48, 92, 0.28);
}

.device img {
  display: block;
  width: 100%;
  border-radius: 32px;
}

.lean-left {
  position: absolute;
  left: 4%;
  top: 36px;
  transform: rotate(-7deg);
  z-index: 1;
}

.lean-right {
  position: absolute;
  left: 38%;
  top: 0;
  transform: rotate(5deg);
  z-index: 2;
}

.voice,
.sheet,
.lock,
.coins {
  max-width: 1100px;
  margin: 28px auto;
  padding: 36px;
}

.voice {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(160deg, rgba(255, 248, 239, 0.92), rgba(255, 255, 255, 0.72));
  border-radius: 36px;
  box-shadow: 0 24px 60px rgba(42, 33, 24, 0.08);
}

.voice-phone { justify-self: center; }

.voice-copy h2 { max-width: 12em; }

.note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(106, 70, 50, 0.08);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.note a {
  color: var(--brown);
  font-weight: 700;
  margin-left: 0.35em;
}

.sheet {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
  background: var(--cream);
  border-radius: 36px;
  box-shadow: 0 20px 50px rgba(42, 33, 24, 0.06);
}

.index {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
}

.sheet-copy p:last-child,
.lock-copy p:last-of-type {
  color: var(--muted);
}

.sheet-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sheet-shots figure {
  margin: 0;
}

.sheet-shots img {
  display: block;
  width: 100%;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.sheet-shots figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.lock {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}

.lock-phone {
  justify-self: end;
  margin: 0;
  width: min(300px, 100%);
}

.lock-phone img {
  display: block;
  width: 100%;
}

.island-chip {
  margin-top: 22px;
  width: min(100%, 360px);
  padding: 10px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.island-chip img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.coins {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 248, 239, 0.78);
  border-radius: 36px;
}

.coins-shot {
  margin: 0;
}

.coins-shot img {
  display: block;
  width: 100%;
  border-radius: 28px;
  background: #fff;
}

.rates {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rates li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.rates b {
  font-family: var(--serif);
}

.rates span { color: var(--muted); }

.legal.help-page {
  max-width: 920px;
}

.steps figure {
  margin: 12px 0 0;
}

.steps img,
.help-shot {
  display: block;
  width: 100%;
  margin-top: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.shot-narrow img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
}

.help-page img {
  cursor: zoom-in;
}

.region-picks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.region-tip {
  margin: 0 0 -4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.region-pick {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.25;
}

.region-pick:hover {
  border-color: var(--brown);
}

.shot-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.shot-view {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 12, 0.92);
  touch-action: none;
}

.shot-view[hidden] {
  display: none;
}

.shot-view img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: grab;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
}

.shot-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.legal {
  max-width: 720px;
  margin: 12px auto 40px;
  padding: 8px 22px 28px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.legal h2 {
  margin-top: 1.6em;
  font-size: 22px;
}

.legal p {
  margin: 0.7em 0 0;
  color: var(--ink);
}

.legal a {
  color: var(--brown);
  font-weight: 700;
}

.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0 0 12px;
  padding: 16px 16px 16px 58px;
  border-radius: 18px;
  background: rgba(255, 248, 239, 0.9);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.steps b,
.steps span {
  display: block;
}

.steps b {
  font-family: var(--serif);
  font-size: 18px;
}

.steps span {
  margin-top: 4px;
  color: var(--muted);
}

.updated {
  color: var(--muted);
  font-size: 14px;
}

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 6vw 48px;
  text-align: center;
  color: var(--muted);
}

.foot a { text-decoration: none; }

.foot img {
  height: 26px;
  width: auto;
}

.foot p { margin: 10px 0 0; font-size: 14px; }

@media (max-width: 900px) {
  .nav nav { gap: 16px; }
  .hero,
  .voice,
  .sheet,
  .lock,
  .coins {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero { padding-top: 20px; }
  .stage {
    height: auto;
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 8px;
  }
  .lean-left,
  .lean-right {
    position: static;
    width: 46vw;
    max-width: 230px;
  }
  .lean-left { transform: rotate(-6deg); }
  .lean-right { transform: rotate(5deg); margin-left: -28px; }
  .lock-phone { justify-self: center; }
  .facts { flex-wrap: wrap; }
  .sheet-shots { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .device { width: 48vw; padding: 5px; border-radius: 28px; }
  .device img { border-radius: 22px; }
  .sheet-shots { grid-template-columns: 1fr; }
}
