/* MioRia landing — 单色藏青体系（brand/README.md 2026-08-02） */
@property --reveal { syntax: '<number>'; inherits: true; initial-value: -10; }
:root {
  --ink: #16234E;        /* 品牌唯一主色 藏青 */
  --text: #242B3D;       /* 正文 */
  --cool: #FAFBFD;       /* 冷调底 */
  --paper: #FFFFFF;      /* 纸面纯白 */
  --muted: #6E7791;      /* 正文色降饱和派生，仅辅助文字 */
  --line: rgba(22,35,78,.10);
  --font-body: -apple-system, "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-display: "Didot", "Songti SC", "Noto Serif SC", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--cool); color: var(--text); font-family: var(--font-body); line-height: 1.7; }
a { color: inherit; text-decoration: none; }

/* ── 导航 ── */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
       padding: 16px 40px; background: rgba(250,251,253,.85); backdrop-filter: blur(10px);
       border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.mascot { width: 34px; height: 34px; }
.brand img.wordmark { height: 17px; display: block; }
.nav-right { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav-right a:hover { color: var(--ink); }
.lang-switch { color: var(--muted); font-weight: 600; }
.btn-ink { display: inline-block; font-weight: 600; border-radius: 999px; transition: all .15s ease;
           background: var(--ink); color: #fff; padding: 10px 22px; font-size: 14.5px;
           box-shadow: 0 6px 18px rgba(22,35,78,.18); }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22,35,78,.26); }

/* ── Hero ── */
.hero { min-height: 88vh; display: flex; flex-direction: column; align-items: center;
        justify-content: center; text-align: center; padding: 60px 24px 40px; position: relative; }
.script-stage { width: min(66vw, 540px); aspect-ratio: 942/376; margin-bottom: 10px; }
.script-stage img { width: 100%; height: 100%; object-fit: contain;
  --soft: 17;
  -webkit-mask-image: linear-gradient(95deg,
      #000 calc((var(--reveal) - var(--soft)) * 1%),
      rgba(0,0,0,.5) calc((var(--reveal) - var(--soft) * .42) * 1%),
      transparent calc((var(--reveal) + 2) * 1%));
          mask-image: linear-gradient(95deg,
      #000 calc((var(--reveal) - var(--soft)) * 1%),
      rgba(0,0,0,.5) calc((var(--reveal) - var(--soft) * .42) * 1%),
      transparent calc((var(--reveal) + 2) * 1%));
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: write 3.2s cubic-bezier(.45,.15,.55,.85) forwards; }
@keyframes write { from { --reveal: -4; } to { --reveal: 119; } }
@media (prefers-reduced-motion: reduce) { .script-stage img { animation-duration: .01ms; } }

.hero h1 { font-family: var(--font-display); font-weight: 700; color: var(--ink);
           font-size: clamp(34px, 5.2vw, 60px); line-height: 1.22; letter-spacing: .5px; }
.hero .sub { margin-top: 20px; color: var(--muted); font-size: clamp(15px, 1.9vw, 18.5px); max-width: 32em; }
.cta-row { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-main { background: var(--ink); color: #fff; font-weight: 700; font-size: 16.5px;
            padding: 17px 44px; border-radius: 999px; box-shadow: 0 10px 28px rgba(22,35,78,.22);
            transition: all .15s ease; }
.cta-main:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(22,35,78,.3); }
.cta-ghost { font-weight: 600; font-size: 15.5px; padding: 16px 30px; border-radius: 999px;
             border: 1.5px solid rgba(22,35,78,.25); color: var(--ink); transition: all .15s ease; }
.cta-ghost:hover { border-color: var(--ink); background: var(--paper); }

/* ── 通用 section ── */
section { max-width: 980px; margin: 0 auto; padding: 84px 28px; }
.sec-kk { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--muted);
          text-transform: uppercase; margin-bottom: 14px; }
h2 { font-family: var(--font-display); font-weight: 700; color: var(--ink);
     font-size: clamp(24px, 3.2vw, 34px); line-height: 1.4; margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.step .no { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); opacity: .28; }
.step h3 { color: var(--ink); font-size: 17.5px; margin: 12px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.door { background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
        padding: 34px 30px; transition: all .15s ease; display: block; }
.door:hover { border-color: rgba(22,35,78,.3); box-shadow: 0 12px 30px rgba(22,35,78,.08); transform: translateY(-2px); }
.door h3 { color: var(--ink); font-size: 19px; margin-bottom: 8px; }
.door p { font-size: 14.5px; color: var(--muted); }
.door .go { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--ink); }

/* ── 价格 ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.plan.featured { border-color: rgba(22,35,78,.35); box-shadow: 0 12px 30px rgba(22,35,78,.08); }
.plan h3 { color: var(--ink); font-size: 17.5px; }
.plan .price { font-family: var(--font-display); color: var(--ink); font-size: 34px; font-weight: 700; margin: 8px 0 4px; }
.plan .price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin-top: 14px; }
.plan li { position: relative; padding-left: 1em; margin-bottom: 8px; font-size: 14.5px; color: var(--muted); }
.plan li::before { content: "·"; position: absolute; left: .15em; color: var(--ink); font-weight: 700; }
.plan-note { margin-top: 26px; font-size: 14px; color: var(--muted); }
.plan-note a, .legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── 条款 / 隐私 / 退款 ── */
.legal { max-width: 760px; padding-top: 64px; }
.legal h1 { font-family: var(--font-display); color: var(--ink); font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
.legal .updated { font-size: 13.5px; color: var(--muted); margin: 10px 0 34px; }
.legal h2 { font-family: var(--font-body); font-size: 19px; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15.5px; margin-bottom: 10px; }
.legal ul { padding-left: 1.3em; margin-bottom: 12px; }
.legal .box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 18px 0; }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 56px 40px 46px; position: relative; overflow: hidden; }
.foot-inner { max-width: 980px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.foot-brand img.wordmark { height: 15px; display: block; margin-bottom: 12px; }
.foot-brand p { font-size: 13.5px; color: var(--muted); }
.foot-brand p.entity { font-size: 12.5px; line-height: 1.65; margin-top: 6px; }
.foot-brand a { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.foot-mascot { position: absolute; right: 6%; bottom: -46px; width: 190px; opacity: .07; pointer-events: none; }

@media (max-width: 720px) {
  .nav { padding: 14px 20px; } .nav-right a:not(.btn-ink):not(.lang-switch) { display: none; }
  .steps, .doors, .plans { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
}
