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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@supports (-webkit-touch-callout: none) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: #f4eef8;
  background: #1a0b2e;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
}

html[data-lang="zh-Hant"] body {
  font-family: -apple-system, "PingFang HK", "PingFang TC", "Noto Sans TC", sans-serif;
}

html[data-lang="zh-Hans"] body {
  font-family: -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
}

html[data-lang="ja"] body {
  font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

html[data-lang="ko"] body {
  font-family: -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

html[data-lang="th"] body {
  font-family: -apple-system, "Thonburi", "Sarabun", sans-serif;
}

html[data-lang="ar"] body {
  font-family: -apple-system, "SF Arabic", "Geeza Pro", "Tahoma", sans-serif;
}

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

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(245, 192, 216, 0.35);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  color: #1a0b2e;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100% - 32px, 720px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: rgba(26, 11, 46, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 24px, 720px);
  margin-inline: auto;
  min-height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 12px;
  border: 1.5px solid #f5c0d8;
  border-radius: 999px;
  background: #2b1548;
  color: #f5c0d8;
  cursor: pointer;
}

.lang-btn img {
  width: 18px;
  height: 18px;
}

.lang-btn-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

#lang-code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f5c0d8;
}

.lang-btn-label {
  font-size: 10px;
  font-weight: 650;
  color: #f5c0d8;
  opacity: 0.92;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  text-align: center;
}

.btn-header {
  min-height: 40px;
  padding: 8px 14px;
  background: #f5c0d8;
  color: #1a0b2e;
  font-size: 14px;
}

.btn-primary {
  width: 100%;
  background: #f5c0d8;
  color: #1a0b2e;
  font-size: 17px;
}

.hero {
  padding: 20px 0 12px;
  background:
    linear-gradient(180deg, #1a0b2e 0%, #1a0b2e 42%, #d9f5e3 42%, #d9f5e3 100%);
}

.hero-copy,
.hero-visual,
.proof-row,
.peek {
  width: min(100% - 32px, 720px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: #f5c0d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 800;
  color: #fff;
}

.accent {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 12px 6px;
  border-radius: 10px;
  background: #f5c0d8;
  color: #1a0b2e;
}

.lede {
  margin: 14px 0 0;
  max-width: 22rem;
  color: #eadff3;
  font-size: 1.05rem;
}

.hero .btn-primary {
  margin-top: 18px;
}

.hero-note {
  margin: 10px 0 0;
  color: #cbb8de;
  font-size: 13px;
}

.hero-visual {
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(26, 11, 46, 0.28);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.proof-row li {
  padding: 12px 8px;
  border-radius: 14px;
  background: #1a0b2e;
  color: #fff;
  text-align: center;
}

.proof-row strong {
  display: block;
  font-size: 1.15rem;
}

.proof-row span {
  display: block;
  margin-top: 2px;
  color: #d7c6ea;
  font-size: 12px;
}

.peek {
  margin: 14px 0 0;
  color: #4a2a6e;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.peek::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 6px auto 0;
  border-right: 2px solid #7a3ea8;
  border-bottom: 2px solid #7a3ea8;
  transform: rotate(45deg);
}

.pay,
.steps,
.values,
.pickup,
.faq,
.final-cta {
  padding: 36px 0;
}

.pay {
  background: #140823;
}

.kicker {
  margin: 0 0 8px;
  color: #f5c0d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
}

.section-copy,
.final-cta p,
.fine {
  margin: 10px 0 0;
  color: #d7c6ea;
}

.coin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.coin-row li {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #2b1548;
  font-size: 13px;
  font-weight: 700;
}

.step-list,
.value-grid,
.need-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.step-list li,
.value-grid li,
.need-list li {
  padding: 16px;
  border-radius: 16px;
  background: #2b1548;
}

.n {
  display: inline-block;
  margin-bottom: 8px;
  color: #f5c0d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.step-list p,
.value-grid p,
.need-list span {
  margin: 6px 0 0;
  color: #d7c6ea;
}

.need-list strong {
  display: block;
}

.values {
  background: #140823;
}

.fine {
  font-size: 13px;
}

.faq-list details {
  margin: 0 0 8px;
  padding: 4px 16px;
  border-radius: 16px;
  background: #2b1548;
}

.faq-list summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}

.faq-list p {
  margin: 0 0 14px;
  color: #d7c6ea;
}

.final-cta {
  background: #d9f5e3;
  color: #1a0b2e;
}

.final-cta p {
  color: #4a2a6e;
}

.site-footer {
  padding: 28px 0 max(32px, env(safe-area-inset-bottom));
  background: #0f071c;
  color: #b9a6cc;
  font-size: 13px;
}

.copyright {
  margin-top: 12px;
}

.sticky-action {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px max(12px, env(safe-area-inset-bottom));
  background: rgba(26, 11, 46, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.sticky-action[hidden] {
  display: none;
}

.lang-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.45);
}

.lang-backdrop[hidden],
.lang-sheet[hidden] {
  display: none;
}

.lang-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 12px 16px max(20px, env(safe-area-inset-bottom));
  background: #2b1548;
  border-radius: 18px 18px 0 0;
  max-height: min(78dvh, 640px);
  overflow-y: auto;
}

.lang-sheet-title {
  margin: 4px 0 10px;
  text-align: center;
  font-weight: 700;
}

.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lang-option {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #1a0b2e;
  color: #fff;
  text-align: start;
  padding: 0 16px;
  cursor: pointer;
}

.lang-option[aria-current="true"] {
  background: #f5c0d8;
  color: #1a0b2e;
}

body.lang-open {
  overflow: hidden;
}

body.lang-open .sticky-action {
  display: none;
}

@media (max-width: 359px) {
  .brand-name {
    letter-spacing: 0.08em;
  }

  .lang-btn-label {
    display: none;
  }

  .btn-header {
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (min-width: 720px) {
  .hero .btn-primary,
  .final-cta .btn-primary {
    width: auto;
    min-width: 240px;
  }

  .step-list,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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