:root {
  --night: #0e1626;
  --night-2: #16213a;
  --paper: #eceef2;
  --paper-2: #f8f9fb;
  --ink: #141a26;
  --amber: #f2a93b;
  --amber-ink: #1a1206;
  --line-d: rgba(236, 238, 242, .14);
  --line-l: rgba(20, 26, 38, .12);
  --r: 4px;
  --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--night); }
body { font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: inherit; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
html[data-lang="zh"] [lang="en"], html[data-lang="en"] [lang="zh"] { display: none !important; }

.dark { background: var(--night); color: var(--paper); }
.light { background: var(--paper); color: var(--ink); }
.dark .muted { color: rgba(236, 238, 242, .6); }
.light .muted { color: rgba(20, 26, 38, .58); }
.box { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.box.narrow { max-width: 820px; }
section { padding: 128px 0; }
h1, h2, .price, .mail, .stat strong, .kpi strong, .rule b, .why blockquote p { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.4rem, 5vw, 3.75rem); letter-spacing: -0.02em; line-height: 1.05; }
h3 { font-size: 1rem; font-weight: 600; }
.lead { font-size: 1.125rem; margin-top: 18px; max-width: 58ch; }
.dark .lead { color: rgba(236, 238, 242, .68); }
.light .lead { color: rgba(20, 26, 38, .66); }
.center { text-align: center; }
strong { font-variant-numeric: tabular-nums; }
figcaption { font-size: .85rem; margin-top: 10px; }
.dark figcaption { color: rgba(236, 238, 242, .55); }
.light figcaption { color: rgba(20, 26, 38, .55); }

/* 导航 */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(14, 22, 38, .94); border-color: var(--line-d); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--paper); }
.logo { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; }
.logo b, h1 b, footer b { color: var(--amber); }
.links { display: flex; gap: 32px; font-size: .9rem; color: rgba(236, 238, 242, .72); }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.links a:hover { color: var(--paper); }
.links a:hover::after { transform: scaleX(1); }
.nav-r { display: flex; align-items: center; gap: 14px; }
.pill, .btn { font-size: .875rem; font-weight: 600; background: var(--amber); color: var(--amber-ink); border-radius: var(--r); transition: background .2s, transform .2s; }
.pill { padding: 9px 16px; }
.pill:hover, .btn:hover { background: #ffc35e; }
.pill:active, .btn:active { transform: scale(.97); }
.langs { display: flex; gap: 2px; }
.langs button { font: inherit; font-size: .8rem; font-weight: 600; color: rgba(236, 238, 242, .55); background: none; border: 0; padding: 6px 8px; min-height: 32px; cursor: pointer; }
.langs button[aria-pressed="true"] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 5px; }

/* 首屏 */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero::before { background: url(images/sky-milkyway.webp) center top / cover no-repeat; animation: drift 60s ease-in-out infinite alternate; }
.hero::after { background: radial-gradient(ellipse 55% 60% at 50% 52%, rgba(14,22,38,.78), rgba(14,22,38,.25) 70%), linear-gradient(rgba(14,22,38,0) 75%, var(--night)); }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero { min-height: 100svh; display: flex; align-items: center; padding: 108px 0 72px; }
.hero-in { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.avatar-wrap { position: relative; }
.tag { position: absolute; right: -40px; bottom: 2px; white-space: nowrap; font-size: .75rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); box-shadow: 0 0 0 3px var(--night); }
.avatar { width: 112px; height: 112px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; border: 2px solid var(--amber); }
.chip { font-size: .85rem; font-weight: 500; color: rgba(236, 238, 242, .8); display: inline-flex; align-items: center; gap: 10px; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
h1 { font-size: clamp(3rem, 9vw, 7.25rem); letter-spacing: -0.03em; line-height: .92; }

.sub { font-size: 1.0625rem; color: rgba(236, 238, 242, .68); max-width: 46ch; }
.sub br { display: none; }
@media (min-width: 640px) { .sub br { display: inline; } }
.stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 520px; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.stat { padding: 18px 8px; }
.stat + .stat { border-left: 1px solid var(--line-d); }
.stat p { font-size: .8rem; color: rgba(236, 238, 242, .55); }
.stat strong { display: block; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.1; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: .85rem; color: rgba(236, 238, 242, .62); }
.same-name { font-size: .8rem; color: rgba(236, 238, 242, .5); margin-top: -14px; }
.socials a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 5px; }
.socials a:hover { color: var(--amber); }
.ghost { font-size: .9rem; color: var(--amber); }
.ghost:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 账本 */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 2px solid var(--ink); }
.kpi { padding: 22px 20px 26px 0; }
.kpi + .kpi { padding-left: 20px; border-left: 1px solid var(--line-l); }
.kpi p { font-size: .8rem; color: rgba(20, 26, 38, .6); }
.kpi strong { display: block; margin-top: 4px; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; white-space: nowrap; }
.kpi.ink strong { color: #b06f0c; }
.kpi small { font-family: "Inter", sans-serif; font-size: .9rem; color: rgba(20, 26, 38, .55); }
.stages { margin-top: 24px; padding: 28px; background: var(--paper-2); border-radius: var(--r); }
.track { height: 4px; background: rgba(20, 26, 38, .1); overflow: hidden; }
.fill { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.stages ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.stages li { display: grid; gap: 2px; }
.stages li b { font-weight: 600; font-size: .8rem; color: rgba(20, 26, 38, .5); }
.stages li.done b { color: #b06f0c; }
.stages li span { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
.stages li em { font-style: normal; font-size: .85rem; color: rgba(20, 26, 38, .58); }
.card { margin-top: 16px; padding: 24px 28px; background: var(--paper-2); border-radius: var(--r); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; font-size: .9rem; }
#chart { display: block; width: 100%; height: 180px; }
.tx { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tx td { padding: 12px 0; border-top: 1px solid var(--line-l); }
.tx td:first-child { width: 120px; color: rgba(20, 26, 38, .55); font-variant-numeric: tabular-nums; }
.tx td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.tx .pos { color: #2f7a3a; }
.tx .empty td { text-align: center; color: rgba(20, 26, 38, .55); padding: 28px 0; border: 0; }

/* 故事 */
.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; row-gap: 0; align-items: start; }
.story h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.story h2 [lang="zh"] { white-space: nowrap; }
.grad { grid-row: span 2; }
.two > div { grid-column: 1; }
.grad { grid-column: 2; grid-row: 1 / span 2; max-width: 400px; justify-self: end; }
.grad img { width: 100%; height: auto; border-radius: var(--r); }
.timeline { grid-column: 1; list-style: none; position: relative; display: grid; gap: 26px; padding-left: 28px; margin-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-d); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(236, 238, 242, .5); background: var(--night); }
.timeline li:last-child::before { background: var(--amber); border-color: var(--amber); }
.timeline b { font-weight: 600; }
.timeline p { color: rgba(236, 238, 242, .66); margin-top: 4px; font-size: .95rem; }

/* 为什么 */
.why .box.narrow { max-width: 1000px; }
.pics { display: grid; grid-template-columns: 1.5fr 1.333fr; gap: 20px; margin-top: 56px; align-items: start; }
.pics img { width: 100%; height: auto; border-radius: var(--r); }
.why blockquote { margin-top: 64px; padding-left: 28px; border-left: 3px solid var(--amber); }
.why blockquote p { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.3; }
.why cite { display: block; margin-top: 12px; font-style: normal; font-size: .9rem; color: rgba(20, 26, 38, .58); }

.thanks { margin-top: 56px; display: grid; }
.thanks h3 { font-size: .85rem; font-weight: 500; color: rgba(20, 26, 38, .58); margin-bottom: 8px; }
.thanks a { display: flex; align-items: center; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line-l); transition: color .2s; }
.thanks a:last-child { border-bottom: 1px solid var(--line-l); }
.thanks b { font-weight: 600; }
.thanks img { flex: none; height: 72px; width: auto; max-width: 136px; object-fit: contain; border-radius: var(--r); }
.thanks .pic { flex: none; width: 136px; display: flex; align-items: center; }
.thanks b { flex: none; width: 220px; }
.thanks a > span { flex: 1; }
.thanks a span { color: rgba(20, 26, 38, .62); }
.thanks a:hover b { color: #b06f0c; }
@media (max-width: 640px) { .thanks a { flex-wrap: wrap; column-gap: 16px; row-gap: 4px; } .thanks .pic { width: 100%; } .thanks img { height: 60px; } .thanks b { width: auto; } .thanks a > span { flex-basis: 100%; } }

.read-more { display: inline-block; margin-top: 28px; margin-left: 28px; color: var(--amber); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.read-more:hover { color: var(--paper); }

/* 规则 */
.rules { display: grid; margin-top: 56px; border-bottom: 1px solid var(--line-d); }
.rule { display: grid; grid-template-columns: 280px 1fr; align-items: baseline; gap: 8px 40px; padding: 26px 0; border-top: 1px solid var(--line-d); }
.rule b { display: block; font-size: 1.9rem; line-height: 1.15; color: var(--amber); }
.rule p { margin-top: 0; color: rgba(236, 238, 242, .68); font-size: .95rem; }

/* 预约 */
.book h2, .book .lead { text-align: center; margin-inline: auto; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px 0 32px; }
.offer { padding: 30px 28px; background: var(--paper-2); border-radius: var(--r); transition: transform .25s; }
.offer:hover { transform: translateY(-3px); }
.offer.main { background: var(--night); color: var(--paper); }
.offer.main .muted { color: rgba(236, 238, 242, .66); }
.offer.main .price { color: var(--amber); }
.price { font-size: 3rem; line-height: 1; margin: 16px 0 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; margin-top: 20px; font-size: .95rem; }

/* 随笔 */
.note-list { list-style: none; margin-top: 40px; }
.note-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-d); }
.note-list em { font-style: normal; color: rgba(236, 238, 242, .55); font-size: .9rem; white-space: nowrap; }

/* 联系 */
.contact { background: var(--night-2); }
.mail { display: inline-block; margin-top: 28px; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; color: var(--amber); transition: opacity .2s; overflow-wrap: anywhere; }
.mail:hover { opacity: .8; }
.biz { margin-top: 56px; display: grid; }
.biz h3 { font-size: .85rem; color: rgba(236, 238, 242, .58); margin-bottom: 8px; font-weight: 500; }
.biz > a, .biz > span { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-d); font-weight: 500; }
.biz > a:hover { color: var(--amber); }
.biz-name { display: grid; gap: 6px; margin-bottom: 18px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.biz-name .muted { font-family: "Inter", sans-serif; font-size: .9rem; color: rgba(236, 238, 242, .66); }
.biz .muted { font-weight: 400; font-size: .9rem; }
footer { padding: 32px 28px; text-align: center; font-size: .85rem; color: rgba(236, 238, 242, .5); background: var(--night-2); border-top: 1px solid var(--line-d); }

/* 入场 */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .rise.in { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .links { display: none; }
  section { padding: 88px 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .grad { grid-column: 1; grid-row: auto; }
  .timeline { margin-top: 0; }
  .offers { grid-template-columns: 1fr; }
  .rule { grid-template-columns: 1fr; }
  .pics { grid-template-columns: 1fr; }
  .stages li span { font-size: 1.25rem; }
  .stages li em { font-size: .75rem; }
}
@media (max-width: 420px) {
  .pill { padding: 8px 12px; font-size: .8rem; }
  .logo { font-size: 1.25rem; }
  .stages { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip::before, .hero::before { animation: none; }
  .fill, .offer, .links a::after { transition: none; }
}
