/* ============================================================
   泰剧迷之家 · 官网
   设计语言：湄南晨刊（纸感 · 刊物排版 · 朱砂 + 金）
   ============================================================ */

@font-face {
  font-family: "Noto Serif SC Web";
  src: url("../fonts/noto-serif-sc-subset.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F6EBD8;
  --paper-hi: #FFF9EC;
  --ink: #2B251C;
  --ink-soft: #4A4234;
  --muted: #6F6658;
  --faint: #8A8172;
  --vermilion: #B3402A;
  --vermilion-deep: #9C3523;
  --gold: #A17F2C;
  --gold-ink: #7E611A;
  --gold-bright: #D8B25E;
  --hairline: #D8CDB6;
  --hairline-soft: #E6DCC7;
  --emerald: #0D5C48;
  --cream: #FDF4EA;
  --ink-deep: #241C10;

  --serif: "Noto Serif SC Web", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --page: 1180px;
  --gutter: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 760px at 16% -6%, rgba(255, 249, 236, .7), transparent 62%),
    radial-gradient(1000px 680px at 92% 18%, rgba(216, 178, 94, .08), transparent 60%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 纸张颗粒 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site {
  position: relative;
  z-index: 2;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, p, ol, ul, figure, dl, dd {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

::selection {
  background: rgba(179, 64, 42, .18);
}

section[id],
article[id] {
  scroll-margin-top: 84px;
}

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

/* ---------- 通用小件 ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--gold-ink);
  text-transform: uppercase;
  line-height: 1.4;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: .65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn-primary {
  background: var(--vermilion);
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(179, 64, 42, .18);
}

.btn-primary:hover {
  background: var(--vermilion-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(179, 64, 42, .26);
}

.btn-ghost {
  border-color: #C9BDA0;
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(43, 37, 28, .035);
}

.btn-lg {
  padding: 17px 46px;
  font-size: 14px;
  letter-spacing: .18em;
}

/* ---------- 顶栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.topbar-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav a:hover {
  color: var(--vermilion);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--vermilion);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}

.topbar-cta:hover {
  background: var(--vermilion-deep);
  transform: translateY(-1px);
}

/* ---------- 报头 ---------- */

.masthead {
  padding: 46px var(--gutter) 0;
  text-align: center;
}

.masthead-thai {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "Thonburi", "Leelawadee UI", "Tahoma", sans-serif;
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--gold-ink);
  text-transform: uppercase;
}

.masthead-thai::before,
.masthead-thai::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}

.masthead h1 {
  margin: 20px auto 0;
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 102px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .16em;
  margin-right: -.16em;
}

.masthead-rule {
  position: relative;
  width: min(820px, 92%);
  height: 8px;
  margin: 24px auto 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--gold);
}

.masthead-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--vermilion);
  transform: translate(-50%, -50%) rotate(45deg);
}

.dateline {
  width: min(820px, 92%);
  margin: 11px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
}

.motif,
.download-motif,
.footer-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.motif {
  margin-top: 26px;
}

.motif i,
.download-motif i,
.footer-motif i {
  display: block;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
}

.g { background: var(--gold); }
.v { background: var(--vermilion); }
.k { background: var(--ink); }

/* ---------- 首屏 ---------- */

.hero {
  max-width: var(--page);
  margin: 0 auto;
  padding: 62px var(--gutter) 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr .8fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero-quote {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.9vw, 50px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .035em;
}

.hero-copy {
  margin-top: 20px;
  max-width: 32em;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  position: relative;
  margin-top: 20px;
  padding-left: 14px;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
}

.hero-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone {
  position: relative;
  width: min(100%, 300px);
  padding: 8px;
  border-radius: 40px;
  background: #17130D;
  border: 1px solid rgba(216, 178, 94, .32);
  box-shadow:
    0 34px 64px rgba(36, 28, 16, .2),
    0 6px 16px rgba(36, 28, 16, .12);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 5.2%;
  left: 50%;
  width: 25%;
  height: 2.6%;
  border-radius: 999px;
  background: #17130D;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  border-radius: 33px;
  aspect-ratio: 1179 / 2556;
  background: var(--paper-hi);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-figure figcaption {
  position: relative;
  margin-top: 15px;
  padding-left: 13px;
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--muted);
  text-align: center;
}

.phone-figure figcaption::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-stamp {
  position: absolute;
  right: -4px;
  bottom: 13%;
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--vermilion);
  border-radius: 50%;
  background: rgba(246, 235, 216, .9);
  color: var(--vermilion);
  font-size: 8.5px;
  letter-spacing: .18em;
  transform: rotate(-8deg);
}

.hero-stamp b {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.1;
}

.hero-index {
  align-self: center;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding: 17px 0 15px;
}

.index-title {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
}

.hero-index li {
  border-top: 1px solid var(--hairline-soft);
}

.hero-index li:first-child {
  border-top: 0;
}

.hero-index a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: color .15s ease, transform .15s ease;
}

.hero-index a span {
  flex: 0 0 18px;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-ink);
}

.hero-index a:hover {
  color: var(--vermilion);
  transform: translateX(2px);
}

.index-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dotted var(--hairline);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ---------- 条目栏 ---------- */

.ledger {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-hi);
}

.ledger-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ledger-item {
  padding: 23px 26px;
  border-left: 1px solid var(--hairline-soft);
}

.ledger-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.ledger-item b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
}

.ledger-item span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: .13em;
  color: var(--muted);
}

/* ---------- 功能栏目 ---------- */

.features {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}

.features .feature:first-child {
  border-top: 0;
}

.feature.reverse .feature-text {
  order: 2;
}

.feature.reverse .feature-media {
  order: 1;
}

.feature-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--gold-ink);
  text-transform: uppercase;
}

.feature-kicker span {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: var(--vermilion);
}

.feature-kicker::after {
  content: "";
  flex: 1;
  max-width: 90px;
  height: 1px;
  background: var(--hairline);
}

.feature h2 {
  margin: 15px 0 19px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 47px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .03em;
}

.feature-text > p:not(.feature-kicker) {
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  gap: 9px;
  margin-top: 25px;
}

.feature-list li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .phone {
  max-width: 262px;
}

.phone-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phone-pair .phone-figure:first-child {
  position: relative;
  z-index: 2;
}

.phone-pair .phone-figure:first-child .phone {
  max-width: 242px;
  transform: translateX(16px) rotate(-2deg);
}

.phone-pair .phone-figure:last-child .phone {
  max-width: 202px;
  transform: translateX(-16px) translateY(26px) rotate(2deg);
}

/* ---------- 匿名身份卡 ---------- */

.identity-card {
  position: relative;
  width: min(100%, 400px);
  padding: 32px 30px 26px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--paper-hi);
  box-shadow: 0 24px 50px rgba(36, 28, 16, .08);
}

.identity-card::before {
  content: "匿名身份";
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--vermilion);
  color: var(--cream);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .2em;
}

.identity-avatar {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--emerald);
  transform: rotate(-4deg);
}

.identity-avatar img {
  width: 44px;
  height: 44px;
}

.identity-name {
  margin-top: 19px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .05em;
}

.identity-name span {
  margin-left: 6px;
  font-size: 13px;
  color: var(--gold-ink);
}

.identity-meta {
  margin-top: 4px;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--muted);
}

.identity-quote {
  position: relative;
  margin-top: 23px;
  padding-top: 17px;
  padding-left: 27px;
  border-top: 1px solid var(--hairline-soft);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.identity-quote::before {
  content: "「";
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--vermilion);
}

.identity-foot {
  margin-top: 18px;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--muted);
  text-align: right;
}

/* ---------- 预告卡 ---------- */

.trailer-card {
  position: relative;
  width: min(100%, 420px);
  padding: 34px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ink-deep);
  color: var(--cream);
  box-shadow: 0 30px 60px rgba(36, 28, 16, .22);
}

.trailer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 16%, rgba(216, 178, 94, .22), transparent 56%);
  pointer-events: none;
}

.trailer-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(216, 178, 94, .18);
  border-radius: 12px;
  pointer-events: none;
}

.trailer-card > * {
  position: relative;
  z-index: 1;
}

.trailer-thai {
  font-family: "Thonburi", "Leelawadee UI", "Tahoma", sans-serif;
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.trailer-title {
  margin-top: 11px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .06em;
}

.trailer-meta {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: .17em;
  color: rgba(253, 244, 234, .52);
}

.trailer-play {
  width: 62px;
  height: 62px;
  margin: 29px 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 178, 94, .6);
  border-radius: 50%;
}

.trailer-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 14px solid var(--gold-bright);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.trailer-note {
  padding-top: 14px;
  border-top: 1px solid rgba(216, 178, 94, .22);
  font-size: 10.5px;
  line-height: 1.85;
  color: rgba(253, 244, 234, .55);
}

/* ---------- 下载 ---------- */

.download {
  position: relative;
  padding: 104px var(--gutter) 112px;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--cream);
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 50% -10%, rgba(216, 178, 94, .14), transparent 70%),
    radial-gradient(500px 300px at 86% 110%, rgba(179, 64, 42, .12), transparent 70%);
  pointer-events: none;
}

.download-motif {
  position: relative;
  z-index: 1;
  margin-bottom: 44px;
  opacity: .85;
}

.download-motif .k { background: rgba(253, 244, 234, .55); }

.download-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.download .kicker {
  justify-content: center;
  color: var(--gold-bright);
}

.download .kicker::before {
  display: none;
}

.download h2 {
  margin: 18px 0 16px;
  font-family: var(--serif);
  font-size: clamp(35px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .04em;
}

.download-inner > p:not(.kicker):not(.download-note) {
  max-width: 36em;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(253, 244, 234, .66);
}

.download .btn-lg {
  margin-top: 30px;
  box-shadow: 0 16px 36px rgba(179, 64, 42, .32);
}

.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: rgba(253, 244, 234, .55);
}

.platforms a {
  padding-bottom: 2px;
  border-bottom: 1px dotted rgba(216, 178, 94, .55);
  transition: color .15s ease, border-color .15s ease;
}

.platforms a:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.download-note {
  margin-top: 22px;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: rgba(253, 244, 234, .52);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: var(--page);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(40px, 7vw, 100px);
  border-top: 1px solid var(--hairline);
}

.faq-head {
  align-self: start;
  position: sticky;
  top: 96px;
}

.faq-head h2 {
  margin: 14px 0 16px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 47px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .03em;
}

.faq-head > p:not(.kicker) {
  max-width: 22em;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  list-style: none;
  transition: color .15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--gold-ink);
  transition: color .15s ease;
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-item summary:hover {
  color: var(--vermilion);
}

.faq-item p {
  max-width: 58em;
  padding: 0 0 22px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-soft);
}

/* ---------- 页脚 ---------- */

.footer {
  padding: 48px var(--gutter) 64px;
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-col {
  text-align: right;
}

.footer-col > p {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .08em;
}

.footer-links a {
  border-bottom: 1px dotted var(--hairline);
  transition: color .15s ease, border-color .15s ease;
}

.footer-links a:hover {
  color: var(--vermilion);
  border-color: var(--vermilion);
}

.footer-legal {
  max-width: var(--page);
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
  display: grid;
  gap: 5px;
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
}

.footer-motif {
  margin-top: 30px;
  opacity: .7;
}

.footer-motif i {
  width: 4px;
  height: 4px;
}

/* ---------- 移动端下载条 ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 60;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper-hi);
  box-shadow: 0 12px 34px rgba(36, 28, 16, .16);
}

.mobile-bar span {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.mobile-bar .btn {
  padding: 10px 19px;
  font-size: 11.5px;
}

/* ---------- 弹层 ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 28, 16, .58);
  backdrop-filter: blur(3px);
  animation: fade-in .18s ease;
}

.modal-card {
  position: relative;
  width: min(430px, 100%);
  padding: 34px 32px 30px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--paper-hi);
  box-shadow: 0 44px 96px rgba(0, 0, 0, .36);
  animation: modal-in .2s cubic-bezier(.22, .61, .36, 1);
}

.modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.modal-close:hover {
  background: var(--hairline-soft);
  color: var(--ink);
}

.modal-card h3 {
  margin: 7px 0 10px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .04em;
}

.modal-card > p:not(.kicker):not(.modal-note) {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.modal-actions .btn {
  width: 100%;
  padding: 14px 22px;
  font-size: 12.5px;
}

.modal-note {
  margin-top: 16px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* ---------- 入场动画 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1.1fr .9fr .85fr;
    gap: 36px;
  }
  .hero-stamp {
    right: -8px;
    width: 82px;
    height: 82px;
    font-size: 7.5px;
  }
  .hero-stamp b {
    font-size: 14px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .hero-index {
    grid-column: 1 / -1;
  }
  .hero-index ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 26px;
  }
  .hero-index li {
    border-top: 1px solid var(--hairline-soft);
  }
  .hero-index li:nth-child(-n+3) {
    border-top: 0;
  }
  .hero-index a {
    padding: 9px 0;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .faq-head {
    position: static;
  }
  .faq-head > p:not(.kicker) {
    max-width: 34em;
  }
}

@media (max-width: 880px) {
  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 0;
  }
  .feature .feature-text,
  .feature.reverse .feature-text {
    order: 1;
  }
  .feature .feature-media,
  .feature.reverse .feature-media {
    order: 2;
  }
  .feature h2 {
    max-width: 14em;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  .topbar-inner {
    height: 58px;
  }
  .nav {
    display: none;
  }
  .masthead {
    padding-top: 36px;
  }
  .masthead-thai {
    font-size: 8.5px;
    letter-spacing: .3em;
  }
  .masthead h1 {
    margin-top: 16px;
    font-size: clamp(40px, 11vw, 56px);
    letter-spacing: .1em;
    margin-right: -.1em;
  }
  .masthead-rule {
    margin-top: 20px;
  }
  .dateline {
    font-size: 8.5px;
    letter-spacing: .1em;
  }
  .motif {
    margin-top: 22px;
    gap: 11px;
  }
  .motif i {
    width: 4px;
    height: 4px;
  }
  .hero {
    padding: 44px var(--gutter) 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero-index ol {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .hero-index li:nth-child(-n+3) {
    border-top: 1px solid var(--hairline-soft);
  }
  .hero-index li:nth-child(-n+2) {
    border-top: 0;
  }
  .hero-phone {
    margin: 6px 0;
  }
  .hero-stamp {
    right: calc(50% - 158px);
    bottom: 15%;
    width: 78px;
    height: 78px;
  }
  .hero-note {
    font-size: 9.5px;
  }
  .ledger-inner {
    grid-template-columns: 1fr 1fr;
  }
  .ledger-item {
    padding: 18px 18px;
  }
  .ledger-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .ledger-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--hairline-soft);
  }
  .ledger-item b {
    font-size: 15px;
  }
  .feature {
    padding: 58px 0;
    gap: 40px;
  }
  .feature h2 {
    font-size: clamp(30px, 8vw, 40px);
  }
  .feature-text > p:not(.feature-kicker) {
    font-size: 14px;
  }
  .feature .phone {
    max-width: 238px;
  }
  .phone-pair .phone-figure:first-child .phone {
    max-width: 208px;
  }
  .phone-pair .phone-figure:last-child .phone {
    max-width: 176px;
  }
  .identity-card {
    padding: 28px 24px 24px;
  }
  .trailer-card {
    padding: 28px;
  }
  .download {
    padding: 78px var(--gutter) 86px;
  }
  .download-motif {
    margin-bottom: 34px;
    gap: 11px;
  }
  .download-motif i {
    width: 4px;
    height: 4px;
  }
  .download h2 {
    font-size: clamp(32px, 9vw, 44px);
  }
  .faq {
    padding: 64px var(--gutter);
    gap: 34px;
  }
  .faq-head h2 {
    font-size: clamp(30px, 8vw, 40px);
  }
  .faq-item summary {
    font-size: 13px;
    padding: 17px 0;
  }
  .footer {
    padding: 40px var(--gutter) calc(86px + env(safe-area-inset-bottom));
  }
  .footer-inner {
    flex-direction: column;
    gap: 22px;
  }
  .footer-col {
    text-align: left;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .footer-legal {
    margin-top: 28px;
  }
  .mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 0;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn {
    flex: 1;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-stamp {
    right: calc(50% - 146px);
    width: 70px;
    height: 70px;
    font-size: 7px;
  }
  .hero-stamp b {
    font-size: 12px;
  }
  .topbar-cta {
    padding: 8px 14px;
    font-size: 11px;
  }
  .brand span {
    font-size: 14px;
  }
}
