/* 2026.09.28 Naron 官网 v2 首页：骨架逐段对应 t3.codes（nav / hero+浮卡+预览 / 横向滚动带 / 网格 / 左卡右文 / 终端卡 / 大 CTA / footer），
   布局与动效数值取自 t3.codes 的 index.css / layout.css；颜色全部走 site.css 的薄荷 token，深浅色跟随系统。
   只被 index.html 引用；法律页 / 404 / App 回退页不加载本文件。 */
.home{min-height:100vh;display:flex;flex-direction:column;overflow-x:clip}
.home main{flex:1}
/* 细噪点叠层（t3 body:after 同款，.035 不透明度） */
.home:after{content:"";pointer-events:none;position:fixed;inset:0;z-index:9999;opacity:.035;background-size:256px 256px;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.container{width:100%;max-width:1240px;margin:0 auto;padding:0 32px}
.display{letter-spacing:-.035em;font-weight:600;line-height:1.08}
.home a:hover{text-decoration:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@keyframes rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
[data-rise]{animation:.7s cubic-bezier(.2,.7,.2,1) both rise;animation-delay:var(--d,0s)}

/* ── 0 nav：sticky 毛玻璃，滚动后显出底 1px ── */
.nav{position:sticky;top:0;z-index:50;background:var(--header-bg);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);
  border-bottom:1px solid transparent;transition:border-color .3s}
.nav.is-scrolled{border-bottom-color:var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1240px;height:56px;margin:0 auto;padding:0 32px}
.nav-brand{display:inline-flex;align-items:center;gap:10px;color:var(--fg);font-size:16px;font-weight:650;letter-spacing:-.025em;line-height:1}
.nav-brand img{width:26px;height:26px;border-radius:7px;border:1px solid var(--border)}
.nav-right{display:inline-flex;align-items:center;gap:8px}
.nav-link{color:var(--fg-muted);font-size:13px;letter-spacing:-.01em;padding:0 10px;white-space:nowrap;transition:color .18s}
.nav-link:hover{color:var(--fg)}
.nav-pill{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--card-bg);
  color:var(--fg-muted);font-size:13px;letter-spacing:-.01em;white-space:nowrap;cursor:default}
.nav-pill strong{color:var(--fg);font-weight:600}
.nav-pill .dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}

/* ── 1 hero：居中版式 + 网格底 + 浮动封面卡 + 三机预览 ── */
section{position:relative;border-top:1px solid var(--border);padding:96px 0}
.hero{border-top:0;padding:72px 0 60px;overflow:hidden}
.hero-grid{position:absolute;inset:0;pointer-events:none;background-size:48px 48px;
  background-image:linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),linear-gradient(var(--grid-line) 1px,transparent 1px);
  -webkit-mask-image:radial-gradient(80% 60% at 50% 40%,#000 40%,transparent 100%);mask-image:radial-gradient(80% 60% at 50% 40%,#000 40%,transparent 100%)}
.hero-inner{position:relative;text-align:center}
.hero-title{max-width:20ch;margin:48px auto 22px;font-size:clamp(38px,5.6vw,76px);color:var(--fg);text-wrap:balance}
.hero-title span{display:inline-block}
.hero-sub{max-width:640px;margin:0 auto 36px;color:var(--fg-muted);font-size:clamp(16px,1.4vw,19px);line-height:1.55;letter-spacing:-.005em;text-wrap:balance}
.hero-actions{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:56px}
.hero-link{display:inline-flex;align-items:center;gap:8px;color:var(--fg-muted);font-size:14px;font-weight:500;letter-spacing:-.01em;transition:color .18s}
.hero-link:hover{color:var(--fg)}
.hero-link .arr{opacity:.6;transition:transform .18s,opacity .18s}
.hero-link:hover .arr{opacity:1;transform:translateY(2px)}
.hero-mobile-line{margin:0;color:var(--fg-dim);font-size:13px;letter-spacing:-.005em}

/* 浮动封面卡：位置 / 尺寸 / 入场 / 漂浮参数照搬 t3 .hf-* 六组 */
.hero-float{position:absolute;inset:0;z-index:1;pointer-events:none;--px:0px;--py:0px}
.hero-float-mark{position:absolute;left:calc(50% + var(--x));top:var(--y);width:var(--s);height:var(--s);margin-left:calc(var(--s) / -2);
  translate:calc(var(--px) * var(--depth)) calc(var(--py) * var(--depth));transition:translate .6s cubic-bezier(.2,.7,.2,1)}
.hero-float-card{--tint:color-mix(in srgb,var(--cb) 22%,transparent);display:grid;place-items:center;width:100%;height:100%;border-radius:25%;border:1px solid var(--border);
  background:radial-gradient(circle at 30% 25%,var(--tint),var(--float-bg) 65%);box-shadow:var(--float-shadow);
  animation:mark-in 1s cubic-bezier(.2,.7,.2,1) var(--d) both,mark-drift var(--dur) ease-in-out calc(var(--d) + 1s) infinite}
.hero-float-card .cov{width:auto;height:62%;border-radius:3px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
@keyframes mark-in{0%{opacity:0;transform:translate(var(--fx),var(--fy)) rotate(calc(var(--rot) + 24deg)) scale(.6)}to{opacity:1;transform:translate(0,0) rotate(var(--rot)) scale(1)}}
@keyframes mark-drift{0%,to{transform:translate(0,0) rotate(var(--rot))}50%{transform:translate(var(--dx),var(--dy)) rotate(calc(var(--rot) + var(--wob)))}}
.hf-1{--x:max(-300px,-19vw);--y:20px;--s:64px;--rot:6deg;--depth:.6;--d:.62s;--dur:8.5s;--dx:2px;--dy:-8px;--wob:3deg;--fx:-40px;--fy:-80px}
.hf-2{--x:min(300px,19vw);--y:20px;--s:64px;--rot:-5deg;--depth:.6;--d:.58s;--dur:9.8s;--dx:-2px;--dy:-9px;--wob:-3deg;--fx:40px;--fy:-80px}
.hf-3{--x:max(-560px,-38vw);--y:128px;--s:96px;--rot:-8deg;--depth:1.2;--d:.38s;--dur:10.5s;--dx:4px;--dy:-12px;--wob:-2deg;--fx:-160px;--fy:-40px}
.hf-4{--x:min(560px,38vw);--y:128px;--s:96px;--rot:7deg;--depth:1.2;--d:.46s;--dur:9.2s;--dx:-4px;--dy:-10px;--wob:2deg;--fx:160px;--fy:-40px}
.hf-5{--x:max(-440px,-30vw);--y:440px;--s:80px;--rot:4deg;--depth:.9;--d:.54s;--dur:11.5s;--dx:3px;--dy:-9px;--wob:-3deg;--fx:-120px;--fy:80px}
.hf-6{--x:min(440px,30vw);--y:440px;--s:80px;--rot:-5deg;--depth:.9;--d:.7s;--dur:7.8s;--dx:-3px;--dy:-11px;--wob:3deg;--fx:120px;--fy:80px}

@media (prefers-color-scheme:dark){.hero-float-card{--tint:color-mix(in srgb,var(--cb) 70%,transparent)}}

/* 三机合成预览：整块 perspective(2000px) rotateX(2deg)，hover 回正 */
.hero-preview{max-width:1180px;margin:0 auto;transform:perspective(2000px) rotateX(2deg);transition:transform .6s}
.hero-preview:hover{transform:perspective(2000px) rotateX(0)}
.preview-stage{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;gap:clamp(20px,3vw,40px);
  padding:56px 48px 0;border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--preview-shadow);
  background:radial-gradient(70% 90% at 50% 0%,var(--accent-dim),transparent 70%),var(--bg-elev)}
.preview-stage:before{content:"";position:absolute;inset:0;pointer-events:none;background-size:48px 48px;opacity:.9;
  background-image:linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),linear-gradient(var(--grid-line) 1px,transparent 1px);
  -webkit-mask-image:linear-gradient(#000,transparent 85%);mask-image:linear-gradient(#000,transparent 85%)}
.phone{position:relative;margin:0;flex:none;width:clamp(200px,21vw,256px);border:1px solid var(--border-strong);border-bottom:0;
  border-radius:28px 28px 0 0;padding:8px 8px 0;background:var(--bg);overflow:hidden}
.phone img{width:100%;height:auto;aspect-ratio:750/1150;object-fit:cover;object-position:top;border-radius:20px 20px 0 0}
.phone.is-main{width:clamp(236px,25vw,300px)}

/* ── 2 书目横向滚动带（t3 .sec-endorsements 两行反向 marquee） ── */
.sec-books{overflow:hidden}
.books-head{max-width:720px;margin-bottom:56px}
.books-head h2,.section-head h2{margin:0 0 18px;font-size:clamp(28px,3.4vw,44px);font-weight:600;line-height:1.1;letter-spacing:-.025em;color:var(--fg)}
.books-head p,.section-head p{margin:0;max-width:620px;color:var(--fg-muted);font-size:18px;letter-spacing:-.005em}
.count{font-variant-numeric:tabular-nums;color:var(--accent-fg)}
.book-carousel{position:relative;display:flex;flex-direction:column;gap:12px}
.book-carousel:before,.book-carousel:after{content:"";position:absolute;top:0;bottom:0;z-index:2;pointer-events:none;width:max(48px,50vw - 564px)}
.book-carousel:before{left:0;background:linear-gradient(90deg,var(--bg),transparent)}
.book-carousel:after{right:0;background:linear-gradient(270deg,var(--bg),transparent)}
.book-row{overflow:hidden}
.book-track{display:flex;width:max-content;animation:marquee 76s linear infinite;will-change:transform}
.book-row.is-reverse .book-track{animation-duration:84s;animation-direction:reverse}
.book-carousel:hover .book-track,.book-carousel:focus-within .book-track{animation-play-state:paused}
.book-group{display:flex;gap:12px;padding-right:12px}
@keyframes marquee{0%{transform:translate(0)}to{transform:translate(-50%)}}
.book-card{position:relative;display:flex;flex-direction:column;gap:10px;width:clamp(264px,22vw,308px);height:132px;padding:14px 16px;
  border:1px solid var(--border);border-radius:10px;background:var(--card-bg);transition:border-color .18s,background .18s}
.book-card:hover{border-color:var(--border-strong);background:var(--card-bg-hover)}
.book-head{display:flex;align-items:center;gap:10px;min-width:0}
.book-head .cov{flex:none;width:auto;height:40px;border-radius:3px}
.book-meta{min-width:0}
.book-title{color:var(--fg);font-size:14px;font-weight:600;letter-spacing:-.01em;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-en{color:var(--fg-dim);font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-card p{margin:0;color:var(--fg-muted);font-size:13.5px;line-height:1.5;letter-spacing:-.003em;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ── 3 功能网格（t3 .sec-harness） ── */
.section-head{max-width:720px;margin-bottom:56px}
.harness-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.harness{display:flex;align-items:center;gap:14px;padding:22px 20px;border-right:1px solid var(--border);background:var(--card-bg);transition:background .2s}
.harness:last-child{border-right:0}
.harness:hover{background:var(--card-bg-hover)}
.harness-mark{flex:none;display:grid;place-items:center;width:28px;height:28px;color:var(--accent-fg)}
.harness-mark svg{width:22px;height:22px}
.harness-meta{flex:1;min-width:0}
.harness-name{margin-bottom:2px;color:var(--fg);font-size:14px;font-weight:600;letter-spacing:-.01em}
.harness-tag{font-family:var(--font-mono);color:var(--fg-dim);font-size:11px}
.harness-footer{display:flex;flex-wrap:wrap;gap:24px;margin-top:28px;padding-top:24px;border-top:1px dashed var(--border-strong);font-size:13px}
.harness-footer-item{display:inline-flex;align-items:center;gap:8px;color:var(--fg-muted)}
.harness-footer-item svg,.checklist svg{flex:none;color:var(--ok)}

/* ── 4 左卡右文（t3 .sec-git） ── */
.tile{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(var(--card-bg),transparent)}
.git-inner{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:64px}
.git-visual{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:20px}
.pr-card{padding:20px}
.pr-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.pr-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);flex:none;box-shadow:0 0 0 4px var(--accent-dim)}
.pr-title{flex:1;color:var(--fg);font-size:15px;font-weight:600}
.pr-status{font-family:var(--font-mono);font-size:10px;letter-spacing:.08em;color:var(--ok);border:1px solid var(--ok);border-radius:999px;padding:2px 8px}
.pr-meta{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px;font-family:var(--font-mono);font-size:11px;color:var(--fg-dim)}
.pr-shot{border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--bg)}
.pr-shot img{width:100%;height:auto;aspect-ratio:750/640;object-fit:cover;object-position:top}
.pr-trail{display:flex;flex-direction:column;align-items:center;margin:-4px 0}
.pr-trail-dot{width:8px;height:8px;border-radius:999px;background:var(--border-strong)}
.pr-trail-line{width:1px;height:28px;background:linear-gradient(180deg,var(--border-strong),var(--accent))}
.pr-button-shell{display:flex;justify-content:center}
.pr-button{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border-radius:999px;background:var(--btn-bg);color:var(--btn-fg);
  font-size:13px;font-weight:600;box-shadow:0 8px 24px -8px var(--accent-dim)}
.pr-kbd{font-family:var(--font-mono);font-size:10px;border-radius:4px;padding:2px 6px;background:rgba(127,127,127,.18)}
.checklist{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.checklist li{display:flex;align-items:center;gap:10px;color:var(--fg-muted);font-size:15px}

/* ── 5 买断段（t3 .sec-open：终端卡 + 要点卡） ── */
.open-head{text-align:center;margin:0 auto 56px}
.open-head h2{margin:0}
.open-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}
.open-term{padding:0}
.open-term-head{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--card-bg)}
.open-term-head span{display:block;width:10px;height:10px;border-radius:999px;background:var(--term-dot)}
.open-term-head .open-term-title{flex:1;width:auto;height:auto;margin-left:10px;border-radius:0;background:none;text-align:center;font-family:var(--font-mono);font-size:11px;color:var(--fg-dim)}
.open-term-body{padding:20px 22px;font-family:var(--font-mono);font-size:13px;line-height:1.85;color:var(--fg)}
.open-term-body>div{white-space:pre;overflow:hidden;text-overflow:ellipsis}
.open-term-body .prompt{color:var(--accent-fg);margin-right:8px}
.open-term-body .dim{color:var(--fg-dim)}
.open-term-body .accent{color:var(--accent-fg)}
.open-term-body .cursor{display:flex;align-items:center}
.caret{display:inline-block;width:7px;height:14px;margin-left:4px;background:var(--fg);animation:blink 1s steps(2,end) infinite}
@keyframes blink{50%{opacity:0}}
.open-pitch{display:flex;flex-direction:column;justify-content:center;gap:32px;padding:32px;
  background:radial-gradient(110% 75% at 100% 0%,var(--accent-dim),transparent 60%),linear-gradient(180deg,var(--card-bg),transparent)}
.open-pitch-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.open-pitch-list li{display:flex;align-items:flex-start;gap:12px;color:var(--fg-muted);font-size:15px;line-height:1.5}
.open-pitch-list strong{color:var(--fg);font-weight:600}
.open-pitch-mark{flex:none;display:grid;place-items:center;width:22px;height:22px;margin-top:1px;border-radius:7px;color:var(--accent-fg);background:var(--accent-dim);
  border:1px solid color-mix(in srgb,var(--accent) 28%,transparent)}
.open-pitch-footer{display:flex;flex-direction:column;gap:18px}
.open-pitch-meta{display:flex;align-items:center;gap:8px;font-family:var(--font-mono);font-size:11px;color:var(--fg-dim)}
.open-pitch-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.open-link{display:inline-flex;align-items:center;gap:6px;color:var(--fg-muted);font-size:13px;font-weight:500;transition:color .18s}
.open-link:hover{color:var(--fg)}

/* ── 6 大 CTA（t3 .sec-cta：底部径向光晕） ── */
.sec-cta{text-align:center;padding:120px 0;overflow:hidden}
.sec-cta:before{content:"";position:absolute;inset:auto 0 -50%;height:60%;pointer-events:none;opacity:.6;
  background:radial-gradient(ellipse at center,var(--accent-dim) 0%,transparent 60%)}
.cta-inner{position:relative}
.cta-title{margin:0;font-size:clamp(40px,6vw,72px);color:var(--fg)}
.cta-title span{display:inline-block}
.cta-sub{text-wrap:balance;max-width:560px;margin:20px auto 36px;color:var(--fg-muted);font-size:18px;line-height:1.55;letter-spacing:-.005em}
.cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:24px}

/* ── 7 footer ── */
.footer{border-top:1px solid var(--border);padding:40px 0 32px}
.footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;max-width:1240px;margin:0 auto;padding:0 32px}
.footer-brand{display:flex;align-items:center;gap:10px;color:var(--fg-dim);font-size:13px}
.footer-brand img{width:20px;height:20px;border-radius:5px}
.footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:20px}
.footer-links a{color:var(--fg-dim);font-size:13px;transition:color .2s}
.footer-links a:hover{color:var(--fg)}

/* ── 动效总开关：减少动态效果时全部关闭 ── */
@media (prefers-reduced-motion:reduce){
  [data-rise]{animation:none}
  .hero-float-card{animation:none;transform:rotate(var(--rot))}
  .hero-float-mark{transition:none;translate:none}
  .hero-preview,.hero-preview:hover{transition:none}
  .book-track{animation:none}
  .book-row{overflow-x:auto;scrollbar-width:none}
  .book-row.is-reverse{display:none}
  .caret{animation:none}
}

/* ── 响应式（断点同 t3：1180 / 960 / 820 / 420 / 340） ── */
@media (max-width:1180px){
  .hf-3,.hf-4{--s:80px}
  .hf-5,.hf-6{--s:68px;--y:420px}
}
@media (max-width:960px){
  .hero-preview{width:min(860px,100vw - 24px);margin-left:50%;transform:translate(-50%) perspective(1600px) rotateX(1.5deg)}
  .hero-preview:hover{transform:translate(-50%) perspective(1600px) rotateX(0)}
  .harness-grid{grid-template-columns:1fr 1fr}
  .harness{border-right:0;border-bottom:1px solid var(--border)}
  .harness:nth-child(odd){border-right:1px solid var(--border)}
  .harness:nth-last-child(-n+2){border-bottom:0}
  .git-inner{grid-template-columns:1fr;gap:40px}
  .open-grid{grid-template-columns:1fr}
}
@media (max-width:820px){
  section{padding:64px 0}
  .sec-cta{padding:96px 0}
  .container,.nav-inner,.footer-inner{padding-left:20px;padding-right:20px}
  .hero{padding-top:132px}
  .hero-title{margin-top:14px;font-size:clamp(34px,9.6vw,56px)}
  .hero-actions{margin-bottom:96px}
  .hero-preview{display:none}
  .hf-3{--x:-37vw;--y:44px;--s:64px;--rot:-10deg}
  .hf-1{--x:-12vw;--y:52px;--s:56px;--rot:-4deg}
  .hf-2{--x:12vw;--y:52px;--s:56px;--rot:5deg}
  .hf-4{--x:37vw;--y:44px;--s:64px;--rot:8deg}
  .hf-5{--x:-36vw;--y:auto;--s:64px;--rot:-6deg}
  .hf-6{--x:36vw;--y:auto;--s:64px;--rot:7deg}
  .hf-5,.hf-6{top:auto;bottom:40px}
  .books-head,.section-head,.open-head{margin-bottom:40px}
  .books-head p,.section-head p{font-size:16px}
  .book-carousel:before,.book-carousel:after{width:28px}
  .book-track{animation-duration:68s}
  .book-row.is-reverse .book-track{animation-duration:76s}
  .book-card{width:268px;padding:14px}
  .book-card p{font-size:13px}
  .open-term-body{font-size:12px;padding:18px}
  .open-pitch{padding:24px}
  .cta-sub{font-size:16px}
  .cta-title{font-size:clamp(30px,9vw,40px)}
  .open-term-body>div{white-space:pre-wrap}
  .footer{padding-bottom:max(32px,env(safe-area-inset-bottom))}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:20px}
  .footer-links{justify-content:flex-start;gap:14px 20px}
}
@media (max-width:560px){
  .harness-grid{grid-template-columns:1fr}
  .harness,.harness:nth-child(odd){border-right:0;border-bottom:1px solid var(--border)}
  .harness:nth-last-child(-n+2){border-bottom:1px solid var(--border)}
  .harness:last-child{border-bottom:0}
  .nav-link.opt{display:none}
}
@media (max-width:420px){
  .nav-inner{gap:12px}
  .nav-pill{height:34px;padding:0 12px;font-size:12px;gap:6px}
  .nav-link{padding:0 6px}
}
@media (max-width:340px){
  .hf-1,.hf-2,.hf-5,.hf-6{--s:48px}
}
