* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #5c5c62;
  --paper: #fffdf8;
  --card: #ffffff;
  --accent: #ff6b3d;
  --line: rgba(29, 29, 31, .12);
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 600; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 0 #2b2118; }
.btn-accent:hover { box-shadow: 0 6px 0 #2b2118; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.sm { padding: 6px 14px; font-size: 13px; }
.btn.full { width: 100%; }

/* ---------- 导航 ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100vw - 1120px) / 2)); background: rgba(245, 245, 247, .78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; margin-right: auto; }
.logo img { width: 30px; height: 30px; border-radius: 50%; }
.nav nav { display: flex; gap: 22px; font-size: 14px; color: var(--ink-soft); }
.nav nav a:hover { color: var(--ink); }

main { max-width: 1120px; margin: 0 auto; padding: 16px 20px 40px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 168px); grid-auto-rows: auto; gap: 14px; }
.tile { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.tile:hover, .tile.feature:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.tile h4 { font-size: 15px; margin-bottom: 4px; }
.tile p { font-size: 13px; color: var(--ink-soft); }
.hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -1px; line-height: 1.1; margin-bottom: 10px; }
.hero p { font-size: 15px; }
.avatar { position: absolute; top: 26px; left: 26px; width: 104px; height: 104px; border-radius: 50%; padding: 5px; }
.avatar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, #ff8a5b, #ffd36b, #6bd3ff, #a98bff, #ff8a5b); animation: spin 14s linear infinite; }
.avatar img { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; transition: transform .5s var(--ease); }
.hero:hover .avatar img { transform: rotate(-6deg) scale(1.04); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .slogan { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.feature { grid-column: span 2; grid-row: span 2; color: #fff; background: #111; padding: 0; display: flex; align-items: flex-end; }
.feature-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s var(--ease); }
.feature:hover .feature-video { transform: scale(1.03); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .9)); pointer-events: none; }
.feature-copy { position: relative; z-index: 1; padding: 22px 80px 22px 22px; }
.feature h3 { font-size: 26px; margin-top: 10px; }
.feature p { color: rgba(255, 255, 255, .85); }
.feature .play { z-index: 1; }
.wide { order: 1; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; background: #fff; color: var(--ink); border-radius: 999px; padding: 3px 10px; }
.play { position: absolute; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); transition: transform .3s var(--ease); }
.play::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.feature:hover .play { transform: scale(1.12); }
a.tile.dark:hover h4 { color: var(--accent); }
.free-tile { grid-column: span 2; background: #fff7ec; box-shadow: inset 0 0 0 2px #2b2118, 0 4px 0 #2b2118; display: flex; flex-direction: column; justify-content: center; }
.free-tile h4 { font-size: 20px; margin: 8px 0 4px; }
.free-tile-text { font-size: 14px !important; color: var(--ink) !important; transition: opacity .3s; }
.live-dot { align-self: flex-start; font-size: 12px; font-weight: 700; color: #1a7f37; background: #e6f6ea; border-radius: 999px; padding: 2px 10px 2px 22px; position: relative; }
.live-dot::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #1fae4b; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 75, .6); } 100% { box-shadow: 0 0 0 8px rgba(31, 174, 75, 0); } }
.x-tile { background: #e8f3ff; }
.dark { background: #111; } .dark h4 { color: #fff; } .dark p { color: #a1a1a6; }
.wide { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; gap: 16px; }
.wide h4 { margin: 0; color: var(--accent); }
.wide p { font-size: 17px; color: var(--ink); }
.bento .wide { min-height: 0; }

/* ---------- 通用分区 ---------- */
.section { margin-top: 96px; }
.section-head { margin-bottom: 28px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 8px; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.5px; line-height: 1.15; }
.section-head p { color: var(--ink-soft); margin-top: 8px; }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }

/* ---------- 书本翻开卡片 ----------
   封面 + 4 页内页 + 封底，绕左边翻开。
   角度 = 42° × 0.7ⁿ，延迟 = 28ms × n；合上时倒序。 */
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.book { position: relative; height: 320px; perspective: 1400px; outline: none; cursor: pointer; }
.book .layer { position: absolute; inset: 0; border-radius: 16px; transform-origin: left center; transform-style: preserve-3d;
  transition: transform .62s var(--ease), box-shadow .62s var(--ease);
  transition-delay: calc((4 - var(--n, 0)) * 28ms); }
.book .back { background: #e3d3bf; box-shadow: 0 4px 0 #2b2118, inset 0 0 0 2px #2b2118; }
.book .page { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(43, 33, 24, .18);
  background-image: repeating-linear-gradient(180deg, transparent 0 22px, rgba(43, 33, 24, .07) 22px 23px); background-position: 0 40px; }
.book .page::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(43, 33, 24, .16), transparent 60%); opacity: 0; transition: opacity .5s var(--ease); }
.page-note { position: absolute; right: 12px; bottom: 14px; font-size: 11px; color: #8a7a68; writing-mode: vertical-rl; letter-spacing: 1px; }
.book .cover { display: flex; flex-direction: column; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 2px #2b2118, 0 1px 0 rgba(43, 33, 24, .2), 0 3px 0 rgba(43, 33, 24, .1); }
.cover-art { position: relative; height: 130px; background: linear-gradient(135deg, var(--c1), var(--c2)); border-bottom: 2px solid #2b2118; }
.cover-art::before { content: ""; position: absolute; left: 14px; top: 14px; width: 4px; bottom: 14px; border-radius: 2px; background: rgba(43, 33, 24, .25); }
.price { position: absolute; right: 12px; top: 12px; background: #ffe14d; border: 2px solid #2b2118; border-radius: 8px; padding: 2px 8px; font-size: 13px; font-weight: 800; }
.cover-body { flex: 1; display: flex; flex-direction: column; padding: 16px 16px 18px; }
.cover-body h3 { font-size: 18px; margin-bottom: 6px; }
.cover-body p { font-size: 13px; color: var(--ink-soft); flex: 1; }
.cover-body .btn { align-self: flex-start; }

.book:hover .layer, .book:focus-within .layer, .book.open .layer { transition-delay: calc(var(--n, 0) * 28ms); }
.book:hover .cover, .book:focus-within .cover, .book.open .cover { transform: rotateY(-42deg); box-shadow: inset 0 0 0 2px #2b2118, 0 10px 12px rgba(43, 33, 24, .12), 0 24px 34px rgba(43, 33, 24, .1); }
.book:hover .page[style*="--n:1"], .book:focus-within .page[style*="--n:1"], .book.open .page[style*="--n:1"] { transform: rotateY(-29.4deg); }
.book:hover .page[style*="--n:2"], .book:focus-within .page[style*="--n:2"], .book.open .page[style*="--n:2"] { transform: rotateY(-20.6deg); }
.book:hover .page[style*="--n:3"], .book:focus-within .page[style*="--n:3"], .book.open .page[style*="--n:3"] { transform: rotateY(-14.4deg); }
.book:hover .page[style*="--n:4"], .book:focus-within .page[style*="--n:4"], .book.open .page[style*="--n:4"] { transform: rotateY(-10.1deg); }
.book:hover .page::after, .book:focus-within .page::after, .book.open .page::after { opacity: 1; }

/* ---------- 换装试用 ---------- */
.tryon { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; background: #fff7ec; border-radius: 28px; padding: 48px; box-shadow: inset 0 0 0 2px #2b2118, 0 6px 0 #2b2118; }
.steps { list-style: none; margin: 24px 0 28px; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.steps li b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.steps span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.fine { margin-top: 14px; font-size: 12px; color: #8a7a68; }
.tryon-demo { text-align: center; }
.tryon-lead { color: var(--ink-soft); margin-top: 14px; font-size: 15px; line-height: 1.7; }
.tryon-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.stage { position: relative; overflow: hidden; max-width: 380px; margin: 0 auto; border-radius: 22px; background: #111; box-shadow: 0 0 0 2px #2b2118, 0 6px 0 #2b2118; transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.stage:hover { transform: rotate(0) scale(1.02); }
.stage video { display: block; width: 100%; aspect-ratio: 640 / 806; object-fit: cover; }
.rec { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .55); border-radius: 999px; padding: 3px 10px; }
.rec::first-letter { color: #ff4d4d; }
.demo-note { font-size: 12px; color: #8a7a68; margin-top: 16px; }
.video-card { width: min(1100px, 100%); padding: 12px; background: #111; }
.video-card video { display: block; width: 100%; border-radius: 12px; }
.video-card .modal-x { color: #fff; right: 8px; top: -38px; font-size: 30px; }

/* ---------- 免费专栏 ---------- */
.free-board { background: #fff; border-radius: 28px; padding: 24px; box-shadow: inset 0 0 0 2px #2b2118, 0 6px 0 #2b2118; }
.carousel { position: relative; overflow: hidden; border-radius: 18px; background: #2b2118; color: #fff7ec; min-height: 180px; }
.slides { display: flex; transition: transform .6s var(--ease); }
.slide { flex: 0 0 100%; padding: 26px 28px 46px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.slide .s-tag { display: inline-flex; gap: 6px; font-size: 12px; font-weight: 700; }
.slide .s-tag span { background: rgba(255, 247, 236, .14); border-radius: 999px; padding: 2px 10px; }
.slide .s-tag .hot { background: #ff6b3d; color: #fff; }
.slide h3 { font-size: clamp(20px, 2.6vw, 28px); margin: 10px 0 6px; line-height: 1.25; }
.slide p { color: rgba(255, 247, 236, .75); font-size: 14px; }
.slide .count { text-align: center; min-width: 110px; }
.slide .count b { display: block; font-size: 40px; line-height: 1; color: #ffe14d; }
.slide .count small { font-size: 12px; color: rgba(255, 247, 236, .7); }
.dots { position: absolute; left: 28px; bottom: 16px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 247, 236, .35); transition: width .3s var(--ease), background .3s; }
.dots button.on { width: 22px; background: #ffe14d; }
.carousel-empty { padding: 40px 28px; text-align: center; }
.carousel-empty b { display: block; font-size: 20px; margin-bottom: 6px; }
.free-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.free-filters button { border: 1.5px solid #2b2118; background: #fff; border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.free-filters button.on { background: #2b2118; color: #fff; }
.free-filters button i, .cat i { font-style: normal; margin-right: 4px; }
.free-filters button small { margin-left: 5px; font-size: 11px; opacity: .55; }
.fi-top .cat.cat-llm, .slide .s-tag .cat-llm { background: #e8efff; color: #2747b8; }
.fi-top .cat.cat-img, .slide .s-tag .cat-img { background: #ffe9f1; color: #b4235a; }
.fi-top .cat.cat-vid, .slide .s-tag .cat-vid { background: #f1e8ff; color: #6b2fbf; }
.fi-top .cat.cat-voice, .slide .s-tag .cat-voice { background: #e3f7ee; color: #157347; }
.fi-top .cat.cat-server, .slide .s-tag .cat-server { background: #e9edf2; color: #334155; }
.fi-top .cat.cat-code, .slide .s-tag .cat-code { background: #fff1d6; color: #9a5b00; }
.free-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.free-item { display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: border-color .2s, transform .3s var(--ease); }
.free-item:hover { border-color: #2b2118; transform: translateY(-2px); }
.free-item.pending { border-style: dashed; border-color: #ff6b3d; }
.fi-top { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 700; }
.fi-top span { background: var(--bg); border-radius: 999px; padding: 2px 9px; }
.fi-top .cat { background: rgba(255, 107, 61, .12); color: #c2410c; }
.fi-top .ref { background: #fff3c4; }
.fi-top .pend { background: #ff6b3d; color: #fff; }
.fi-top .new { background: #16a34a; color: #fff; }
.free-cadence { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13px; margin-top: 10px !important; }
.free-cadence #free-since:empty { display: none; }
.free-cadence #free-since { color: #16a34a; font-weight: 700; }
.free-cadence a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.free-more { display: block; margin: 14px auto 0; border: 1.5px solid #2b2118; background: #fff; border-radius: 999px; padding: 8px 22px; font-size: 13px; font-weight: 700; }
.free-more[hidden] { display: none; }
.free-more:hover { background: #2b2118; color: #fff; }
.free-item h3 { font-size: 16px; line-height: 1.35; }
.free-item p { font-size: 13px; color: var(--ink-soft); }
.fi-code { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.fi-code code { font: 700 14px var(--mono); background: #fff3c4; border: 1.5px dashed #2b2118; border-radius: 8px; padding: 3px 10px; }
.fi-code button { border: 0; background: none; font-size: 12px; font-weight: 700; color: #c2410c; }
.fi-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-soft); margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); }
.fi-meta a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.free-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 24px; }
.free-rules { margin-top: 16px; }

/* ---------- 工作流现场 ---------- */
.flow-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.flow-tabs button { border: 0; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--line); }
.flow-tabs button.on { background: var(--ink); color: #fff; box-shadow: none; }
.flow { display: none; list-style: none; position: relative; padding-left: 36px; }
.flow.on { display: grid; gap: 14px; }
.flow::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--line), var(--line)) no-repeat, linear-gradient(var(--accent), var(--accent)) no-repeat; background-size: 100% 100%, 100% var(--prog, 0%); transition: background-size 1.6s var(--ease); }
.flow.run::before { --prog: 100%; }
.step { position: relative; display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 16px 18px; opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .3s; transition-delay: calc(var(--i, 0) * 180ms); }
.flow.run .step { opacity: 1; transform: none; }
.step::before { content: ""; position: absolute; left: -31px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.step .who { font: 700 12px var(--mono); text-align: center; background: var(--bg); border-radius: 10px; padding: 6px 4px; }
.step b { font-size: 15px; }
.step p { font-size: 13px; color: var(--ink-soft); margin-top: 3px; line-height: 1.6; }
.step em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.step.human { background: #fff7ec; }
.step.human .who { background: #2b2118; color: #fff; }
.step.veto { box-shadow: inset 0 0 0 2px #e5484d; }
.step.veto::before { border-color: #e5484d; }
.step.veto em { color: #e5484d; }
.step.done { box-shadow: inset 0 0 0 2px #1fae4b; }
.step.done::before { border-color: #1fae4b; background: #1fae4b; }
.step.parallel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: transparent; padding: 0; }
.par { background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.par .who { align-self: flex-start; padding: 4px 10px; }
.par em { margin-top: auto; padding-top: 6px; }

/* ---------- 改造实验室 ---------- */
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lab-card { background: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.lab-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.lab-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.lab-top .tag, .free-card .tag { font-size: 12px; color: var(--accent); background: rgba(255, 107, 61, .1); border-radius: 999px; padding: 3px 10px; }
.lab-top .muted { color: var(--ink-soft); font-weight: 500; }
.lab-card h3 { font-size: 18px; margin-bottom: 12px; }
.lab-card dl { display: grid; grid-template-columns: 48px 1fr; gap: 8px 10px; font-size: 13px; line-height: 1.6; }
.lab-card dt { font-weight: 700; color: var(--ink-soft); }
.lab-card dd { color: var(--ink); }
.lab-card dt.do { color: var(--accent); }
.lab-card dt.edge + dd { color: var(--ink-soft); }

/* ---------- 工具链 ---------- */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.stage-col { background: #fff; border-radius: var(--radius); padding: 18px 16px; position: relative; }
.stage-col:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 22px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.stage-no { font: 700 12px var(--mono); color: var(--accent); }
.stage-col h3 { font-size: 18px; margin: 2px 0 12px; }
.stage-col ul { list-style: none; display: grid; gap: 10px; }
.stage-col li { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.stage-col li b { display: block; font-size: 14px; color: var(--ink); }
.chain-note { margin-top: 14px; font-size: 13px; }

/* ---------- 好东西 ---------- */
.picks-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pick { background: #fff; border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pick:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.pick-meta { display: flex; justify-content: space-between; font: 600 11px var(--mono); color: var(--ink-soft); }
.pick h3 { font-size: 16px; }
.pick p { font-size: 12px; color: var(--ink-soft); line-height: 1.55; }
.pick .use { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink); }

/* ---------- 观点 ---------- */
.idea { text-align: center; padding: 40px 0; }
.idea blockquote { font-family: "Songti SC", "Noto Serif SC", Georgia, serif; font-weight: 800; font-size: clamp(34px, 6vw, 64px); line-height: 1.15; letter-spacing: -1px; margin: 8px 0 18px; }
.idea p { max-width: 520px; margin: 0 auto; color: var(--ink-soft); }

/* ---------- 联系 ---------- */
.contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--ink); color: #fff; border-radius: 28px; padding: 48px; }
.contact p { color: #a1a1a6; margin-top: 8px; }
.accounts { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.accounts li { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.accounts span { color: #a1a1a6; }
.accounts em { font-style: normal; font-size: 12px; color: #a1a1a6; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 2px 10px; }
.accounts em.on { color: #1fae4b; border-color: #1fae4b; }
.contact-main { flex: 1; }
.contact-avatar { width: 180px; height: 180px; border-radius: 50%; border: 6px solid #fff; flex: none; transform: rotate(4deg); transition: transform .5s var(--ease); }
.contact:hover .contact-avatar { transform: rotate(-4deg) scale(1.03); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact .btn-ink { background: #fff; color: var(--ink); }
.contact .btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.foot { text-align: center; font-size: 12px; color: var(--ink-soft); padding: 30px 20px 40px; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(15, 14, 13, .5); backdrop-filter: blur(6px); animation: fade .25s var(--ease); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(400px, 100%); background: #fff; border-radius: 22px; padding: 28px; box-shadow: inset 0 0 0 2px #2b2118, 0 6px 0 #2b2118; animation: pop .35s var(--ease); }
.modal-card h3 { font-size: 20px; margin-bottom: 18px; }
.modal-x { position: absolute; right: 14px; top: 12px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--ink-soft); }
.auth-intro, .auth-privacy { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.auth-intro { margin-bottom: 18px; }
.auth-privacy { margin-top: 18px; font-size: 12px; }
.auth-privacy a { text-decoration: underline; text-underline-offset: 3px; }
#google-signin { min-height: 44px; max-width: 100%; }
#google-signin[hidden], #auth-profile[hidden], #auth-avatar[hidden], #auth-retry[hidden] { display: none; }
.auth-identity { display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; }
.auth-identity img { border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.auth-trial { margin: 18px 0; line-height: 1.7; }
.auth-trial span { color: var(--ink-soft); font-size: 13px; }
#auth-retry { margin-top: 12px; }
#signup .modal-card { max-height: calc(100dvh - 40px); overflow-y: auto; }
.modal-msg { margin-top: 14px; font-size: 13px; background: #fff7ec; border-radius: 12px; padding: 12px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---------- 滚动出现 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.book.reveal.in { transform: none; }

/* ---------- 开屏动画 ---------- */
#splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; color: #f5f5f7; }
.splash-curtain { position: absolute; left: 0; right: 0; height: 50%; background: #0f0e0d; transition: transform .8s cubic-bezier(.7, 0, .2, 1); }
.splash-curtain.top { top: 0; } .splash-curtain.bottom { bottom: 0; }
.splash-boot, .splash-name { position: relative; z-index: 2; grid-area: 1 / 1; transition: opacity .3s; }
.splash-boot { font: 14px/2 var(--mono); color: #8a8a90; width: 300px; }
.splash-boot p { display: flex; align-items: center; gap: 8px; opacity: 0; animation: line-in .25s var(--ease) forwards; }
.splash-boot p:nth-child(2) { animation-delay: .28s; } .splash-boot p:nth-child(3) { animation-delay: .56s; }
.splash-boot i { flex: 1; height: 1px; background: linear-gradient(90deg, #444 50%, transparent 0) 0 0 / 6px 1px; transform-origin: left; transform: scaleX(0); animation: dots .3s linear forwards; animation-delay: inherit; }
.splash-boot b { color: #c6ff3d; font-weight: 600; opacity: 0; animation: line-in .1s forwards; animation-delay: inherit; }
.splash-boot p:nth-child(1) b { animation-delay: .3s; } .splash-boot p:nth-child(2) b { animation-delay: .58s; } .splash-boot p:nth-child(3) b { animation-delay: .86s; }
.splash-boot p:nth-child(1) i { animation-delay: .05s; } .splash-boot p:nth-child(2) i { animation-delay: .33s; } .splash-boot p:nth-child(3) i { animation-delay: .61s; }
@keyframes line-in { to { opacity: 1; } }
@keyframes dots { to { transform: scaleX(1); } }
#splash.stage-name .splash-boot { opacity: 0; }
.splash-name { text-align: center; opacity: 0; }
.splash-avatar { width: 96px; height: 96px; border-radius: 50%; border: 3px solid #f5f5f7; margin-bottom: 18px; }
#splash.stage-name .splash-avatar { animation: avatar-pop .6s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes avatar-pop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
#splash.stage-name .splash-name { opacity: 1; }
.splash-name h1 { font-size: clamp(64px, 14vw, 140px); font-weight: 900; letter-spacing: -2px; line-height: 1; background: linear-gradient(90deg, #ff8a5b, #ffd36b, #6bd3ff, #a98bff, #ff8a5b) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
#splash.stage-name .splash-name h1 { animation: name-in .7s var(--ease) both, sweep 1.6s linear both; }
.splash-name p { font-size: 15px; color: #a1a1a6; margin-top: 14px; letter-spacing: 4px; }
#splash.stage-name .splash-name p { animation: name-in .7s .15s var(--ease) both; }
@keyframes name-in { from { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(6px); } }
@keyframes sweep { to { background-position: 100% 0; } }
.splash-skip { position: absolute; z-index: 3; right: 24px; bottom: 24px; border: 1px solid #333; background: transparent; color: #8a8a90; border-radius: 999px; padding: 6px 14px; font-size: 12px; }
.splash-skip:hover { color: #fff; border-color: #666; }
#splash.exit .splash-boot, #splash.exit .splash-name, #splash.exit .splash-skip { opacity: 0; transition: opacity .25s; }
#splash.exit .splash-curtain.top { transform: translateY(-100%); }
#splash.exit .splash-curtain.bottom { transform: translateY(100%); }
#splash.gone { display: none; }

/* ---------- 响应式 ---------- */
/* ---------- 今日社区邀请码 ---------- */
.invites { margin-top: 18px; border: 1.5px dashed #2b2118; border-radius: 18px; padding: 14px 16px; background: #fffaf0; }
.invites[hidden] { display: none; }
.inv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; }
.inv-head span { font-size: 12px; color: var(--ink-soft); }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 10px; }
.inv { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.inv-top { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; }
.inv-top small { color: var(--ink-soft); white-space: nowrap; }
.inv p { font-size: 12px; color: var(--ink-soft); }
.inv .fi-code code { overflow-wrap: anywhere; }
.inv-perk { color: #c2410c !important; }
.inv-link { font-size: 13px; font-weight: 600; color: #c2410c; }
.inv-meta { display: flex; gap: 12px; font-size: 12px; margin-top: auto; }
.inv-meta a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.inv-rule { margin-top: 10px; }
@media (max-width: 560px) {
  .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv { padding: 8px 10px; }
  .inv > p:not(.inv-perk) { display: none; }
  .inv .fi-code { flex-wrap: wrap; gap: 4px; }
  .inv .fi-code code { font-size: 12px; padding: 2px 6px; }
}

/* ---------- 本周删了什么 ---------- */
.section[hidden], .nav nav a[hidden] { display: none; }
.cuts-aside { margin-top: 56px; }
.cuts-aside[hidden] { display: none; }
.cuts-aside summary { list-style: none; cursor: pointer; text-align: center; font-size: 12px; color: var(--ink-soft); opacity: .7; padding: 8px; }
.cuts-aside summary::-webkit-details-marker { display: none; }
.cuts-aside summary::after { content: " ›"; }
.cuts-aside details[open] summary::after { content: " ⌄"; }
.cuts-aside summary:hover { opacity: 1; color: var(--ink); }
.cuts-aside .cuts-board { margin-top: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.cuts-board { background: #fff; border-radius: 28px; padding: 24px; box-shadow: inset 0 0 0 2px #2b2118, 0 6px 0 #2b2118; }
.cuts-weeks { display: flex; flex-wrap: wrap; gap: 8px; }
.cuts-weeks:not(:empty) { margin-bottom: 16px; }
.cuts-weeks button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.cuts-weeks button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cuts-issue.pending { outline: 1.5px dashed #ff6b3d; outline-offset: 10px; border-radius: 12px; }
.ci-head h3 { font-size: 20px; margin-top: 10px; }
.ci-head p { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.cut-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: cut; }
.cut-list li { counter-increment: cut; position: relative; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 56px; display: grid; gap: 4px; }
.cut-list li::before { content: counter(cut, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font-family: var(--mono); font-weight: 700; color: var(--accent); }
.cut-what { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cut-what b { font-size: 16px; text-decoration: line-through; text-decoration-color: rgba(255, 107, 61, .7); text-decoration-thickness: 2px; }
.cut-kind { font-size: 12px; font-weight: 700; background: var(--bg); border-radius: 999px; padding: 2px 9px; }
.cut-list p { font-size: 13px; color: var(--ink-soft); }
.cut-list p b { color: var(--ink); }
.cut-list .cut-note { font-size: 12px; border-left: 3px solid #fff3c4; padding-left: 8px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(6, 150px); grid-auto-rows: auto; }
  .shelf, .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .picks-grid { grid-template-columns: repeat(3, 1fr); }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .stage-col::after { display: none; }
  .step.parallel { grid-template-columns: 1fr; }
  .tryon { grid-template-columns: 1fr; padding: 32px 24px; }
  .nav nav { display: none; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .tile { min-height: 130px; }
  .hero, .feature, .wide { grid-column: span 2; grid-row: auto; }
  .hero { min-height: 330px; }
  .wide { min-height: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
  .free-tile { grid-column: span 2; }
  .free-list, .lab-grid, .picks-grid, .chain { grid-template-columns: 1fr; }
  .free-board, .cuts-board { padding: 16px; }
  .cut-list li { padding-left: 46px; }
  .cut-list li::before { left: 14px; }
  .slide { grid-template-columns: 1fr; padding: 22px 20px 44px; }
  .slide .count { text-align: left; }
  .dots { left: 20px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step .who { justify-self: start; padding: 4px 10px; }
  .accounts li { grid-template-columns: 1fr auto; }
  .accounts span { grid-column: 1 / -1; grid-row: 2; }
  .contact-avatar { width: 110px; height: 110px; }
  .feature { min-height: 300px; }
  .shelf { grid-template-columns: 1fr; }
  .book { height: 300px; max-width: 360px; width: 86%; }
  .contact { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .section { margin-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
}
