/* ============================================================
   无忧链接 WuyouLink · 站点样式（重构版）
   版式参考：ldd/6（暗色 bento 风）
   主色调：wuyoulink.cn（暖黑 + 琥珀金）
   修正：容器不限宽、清理拼接补丁、统一组件命名
   ============================================================ */

:root {
  /* 主色取自官网 */
  --bg: #0d0b08;
  --bg-2: #110e0a;
  --panel: #16120c;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .09);
  --border-2: rgba(255, 255, 255, .17);
  --ink: #f7f3ea;
  --muted: #b3a890;
  --dim: #7a715f;
  --accent: #eab308;
  --accent-2: #f59e0b;
  --grad: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
  --grad-soft: linear-gradient(135deg, rgba(234,179,8,.16), rgba(245,158,11,.08));
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad-x: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* 容器：不限宽（修正模板 1140px 限制） */
.wrap { width: 100%; max-width: none; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wrap-narrow { max-width: 980px; margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.center { text-align: center; }

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13, 11, 8, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .2px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand .cn { color: var(--muted); font-weight: 500; font-size: 14px; }
.links { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.links a {
  padding: 8px 13px; border-radius: 10px; color: var(--muted);
  font-size: 14.5px; transition: .2s; white-space: nowrap;
}
.links a:hover { color: var(--ink); background: var(--surface); }
.links a.on, .links a.active { color: var(--ink); background: var(--surface-2); font-weight: 600; }
.nav-cta { margin-left: 6px; }
.menu-btn { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: all .22s var(--ease); cursor: pointer; border: 1px solid transparent;
  white-space: nowrap; line-height: 1.2;
}
.btn-primary { background: var(--grad); color: #17120a; }
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(234,179,8,.22); }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 6vw, 84px) 0 clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(234,179,8,.12), transparent 70%);
  pointer-events: none;
}
.hero-head { position: relative; max-width: 780px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent);
  background: rgba(234,179,8,.08); border: 1px solid rgba(234,179,8,.26);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -.8px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(15px, 1.5vw, 18px); color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.hero .lede strong { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.facts { display: flex; gap: clamp(18px, 4vw, 52px); justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.facts li { text-align: center; }
.facts b { display: block; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: 12.5px; color: var(--muted); }

/* 控制台可视化（替代模板的系统监视面板） */
.console {
  position: relative; max-width: 860px; margin: 0 auto;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden;
}
.console-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02);
  font-size: 12.5px; color: var(--dim);
}
.console-head .lights { display: flex; gap: 6px; }
.console-head .lights i { width: 10px; height: 10px; border-radius: 50%; background: #3a332a; }
.console-head .lights i:nth-child(1) { background: #ff5f57; }
.console-head .lights i:nth-child(2) { background: #febc2e; }
.console-head .lights i:nth-child(3) { background: #28c840; }
.console-body { padding: 22px; display: grid; gap: 16px; }
.console-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.pulse { width: 34px; height: 34px; border-radius: 50%; background: rgba(234,179,8,.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pulse::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px rgba(245,158,11,.18); }
.console-row b { font-size: 14.5px; display: block; }
.console-row span { font-size: 12px; color: var(--dim); }
.nodes { display: grid; gap: 8px; }
.node {
  display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 14px;
  padding: 11px 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; font-size: 13.5px;
}
.node .flag {
  width: 44px; height: 26px; border-radius: 6px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--muted);
}
.node.on { border-color: rgba(234,179,8,.4); background: var(--grad-soft); }
.node.on .flag { background: rgba(234,179,8,.18); color: var(--accent); }
.node .tag { font-size: 11.5px; color: var(--accent); border: 1px solid rgba(234,179,8,.3); padding: 2px 9px; border-radius: 999px; }
.node .bars { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.node .bars i { width: 4px; border-radius: 2px; background: var(--accent-2); opacity: .85; }
.node .bars i:nth-child(1) { height: 40%; }
.node .bars i:nth-child(2) { height: 65%; }
.node .bars i:nth-child(3) { height: 85%; }
.node .bars i:nth-child(4) { height: 100%; }
.console-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--dim);
}

/* ---------- 区块 ---------- */
.section { padding: clamp(48px, 6vw, 80px) 0; }
.section.alt { background: linear-gradient(180deg, rgba(234,179,8,.05), transparent 60%); }
.sec-head { max-width: 760px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; }
.sec-head .kicker {
  display: block; font-size: 12.5px; color: var(--accent); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h1, .sec-head h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; margin-bottom: 12px; letter-spacing: -.3px; }
.sec-head p { color: var(--muted); font-size: 16px; }
.sec-head p a { color: var(--accent); }

/* bento 卡片 */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: .22s var(--ease); min-width: 0;
}
.card:hover { background: var(--surface-2); transform: translateY(-3px); }
.card .num { font-size: 12px; color: var(--dim); font-family: ui-monospace, Menlo, monospace; }
.card h3 { font-size: 19px; margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card.span-2 { grid-column: span 2; }
.card.span-3 { grid-column: span 3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
}
.chip.ac { color: var(--accent); border-color: rgba(234,179,8,.32); background: rgba(234,179,8,.1); }
.big-num { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.big-num b { font-size: 40px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-num span { font-size: 13px; color: var(--muted); }

/* modules */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.module { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.module .mi {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(234,179,8,.14); color: var(--accent);
}
.module h3 { font-size: 17px; margin-bottom: 6px; }
.module p { color: var(--muted); font-size: 14px; }

/* specs */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.spec i { font-size: 22px; color: var(--accent); margin-bottom: 12px; }
.spec .v { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.spec .k { color: var(--muted); font-size: 13px; }

/* ---------- 套餐 ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column;
  transition: .22s var(--ease);
}
.plan:hover { background: var(--surface-2); transform: translateY(-3px); }
.plan.featured { border-color: rgba(234,179,8,.45); background: var(--grad-soft); }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #17120a; font-size: 11.5px; font-weight: 700;
  padding: 3px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 17px; margin-bottom: 4px; }
.plan .for { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.plan .price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 16px; }
.plan .price .cur { font-size: 16px; color: var(--accent); }
.plan .price .amt { font-size: 38px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .price .per { font-size: 13px; color: var(--muted); }
.plan ul { flex: 1; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.plan li { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.plan li i { color: var(--accent); font-size: 12px; margin-top: 5px; flex-shrink: 0; }
.tip {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 22px;
  background: rgba(234,179,8,.06); border: 1px dashed rgba(234,179,8,.3);
  border-radius: 14px; padding: 16px 18px; font-size: 13.5px; color: var(--muted);
}
.tip b { color: var(--accent); font-size: 11.5px; letter-spacing: 1px; flex-shrink: 0; margin-top: 2px; }
.tip span b { color: var(--ink); font-size: inherit; letter-spacing: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); min-width: 0; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--surface); }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
table.cmp thead th { background: var(--bg-2); font-size: 13.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { color: var(--muted); white-space: nowrap; }
table.cmp .hl { color: var(--accent); font-weight: 600; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: s; display: flex; flex-direction: column; max-width: 760px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step .n {
  counter-increment: s; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #17120a; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 17px;
}
.step .n::before { content: counter(s); }
.step h4 { font-size: 16.5px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 13px; padding: 0 20px; margin-bottom: 12px; background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; padding: 17px 0; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-size: 12px; color: var(--accent); font-family: ui-monospace, Menlo, monospace; flex-shrink: 0; }
.faq summary .pm { margin-left: auto; width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--accent); border-radius: 2px; transition: .2s;
}
.faq summary .pm::before { width: 12px; height: 2px; }
.faq summary .pm::after { width: 2px; height: 12px; }
.faq details[open] summary .pm::after { transform: rotate(90deg); opacity: 0; }
.faq .a { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.faq .a a { color: var(--accent); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--grad); opacity: .6; }
.tl { position: relative; padding: 0 0 30px 22px; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: -24px; top: 5px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(234,179,8,.2);
}
.tl .tag { font-size: 12px; color: var(--accent); font-weight: 600; }
.tl h4 { font-size: 16.5px; margin: 4px 0 6px; }
.tl p { color: var(--muted); font-size: 14px; }

/* ---------- 客户卡片 ---------- */
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.client-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center; transition: .22s var(--ease);
}
.client-card:hover { background: var(--surface-2); transform: translateY(-3px); }
.client-card .os { font-size: 40px; margin-bottom: 14px; color: var(--accent); }
.client-card h3 { font-size: 18px; margin-bottom: 6px; }
.client-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.client-card .meta { font-size: 12.5px; color: var(--dim); }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--grad); border-radius: 24px; padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 48px);
  text-align: center; color: #17120a;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; letter-spacing: -.3px; }
.cta-band p { font-size: 16px; margin-bottom: 24px; opacity: .82; }
.cta-band .btn { background: #17120a; color: #f7f3ea; }
.cta-band .btn:hover { background: #241d12; }
.cta-band .btn-line { background: transparent; border-color: rgba(23,18,10,.35); color: #17120a; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; margin-top: 20px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.fbrand p { color: var(--muted); font-size: 13.5px; margin-top: 14px; max-width: 300px; line-height: 1.8; }
.fcol h4 { font-size: 13.5px; margin-bottom: 12px; color: var(--ink); letter-spacing: .3px; }
.fcol ul { display: flex; flex-direction: column; gap: 8px; }
.fcol a { color: var(--muted); font-size: 13.5px; transition: .2s; }
.fcol a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--dim); font-size: 13px; display: flex; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}

/* ---------- 内页头 ---------- */
.page-head { padding: clamp(40px, 5vw, 68px) 0 clamp(20px, 2.5vw, 32px); text-align: center; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.5px; margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 720px; margin: 0 auto; font-size: 15.5px; }
.crumb { font-size: 12.5px; color: var(--dim); margin-bottom: 14px; }
.crumb a:hover { color: var(--accent); }

/* ---------- 正文排版 ---------- */
.prose { max-width: 900px; margin: 0 auto; }
.prose h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 36px 0 14px; letter-spacing: -.2px; }
.prose h3 { font-size: 17.5px; margin: 26px 0 10px; }
.prose p { color: var(--muted); margin: 0 0 14px; font-size: 15px; line-height: 1.9; }
.prose ul, .prose ol { color: var(--muted); margin: 0 0 16px 22px; font-size: 15px; }
.prose ul li, .prose ol li { margin-bottom: 7px; line-height: 1.8; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); }
.prose .code-inline {
  background: #070a10; border: 1px solid rgba(234,179,8,.25); border-radius: 7px;
  padding: 2px 8px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px; color: #f5d98a;
}
.codeblock {
  background: #070a10; border: 1px solid rgba(234,179,8,.22); border-radius: 12px;
  padding: 16px 18px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13.5px; color: #f5d98a; overflow-x: auto; margin: 14px 0;
}

/* ---------- 提示框 ---------- */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(234,179,8,.06); border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 15px 18px; margin: 18px 0;
  font-size: 14px; color: var(--muted); line-height: 1.8;
}
.note i { color: var(--accent); margin-top: 4px; }

/* ---------- 优惠码 ---------- */
.coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--grad-soft); border: 1px dashed rgba(234,179,8,.4);
  border-radius: 16px; padding: 22px 26px; flex-wrap: wrap;
}
.coupon .code { font-family: ui-monospace, Menlo, monospace; font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: 2px; }
.coupon .desc { font-size: 13.5px; color: var(--muted); }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2);
  border: 1px solid var(--border-2); color: var(--ink); display: flex;
  align-items: center; justify-content: center; font-size: 16px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: .3s; z-index: 70;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 动画 ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: rise .6s var(--ease) forwards; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .12s; }
.d3 { animation-delay: .18s; } .d4 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .links { display: none; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 42px; height: 42px; background: none; border: 0;
    cursor: pointer; padding: 8px; position: relative; z-index: 82;
  }
  .menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
  .menu-btn.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.on span:nth-child(2) { opacity: 0; }
  .links {
    position: fixed; top: 0; right: 0; width: min(80%, 340px); height: 100vh;
    background: var(--panel); flex-direction: column;
    padding: 90px 22px 28px; gap: 4px; z-index: 80;
    border-left: 1px solid var(--border); overflow-y: auto;
    display: none !important;
  }
  .links.open { display: flex !important; animation: drawerIn .28s var(--ease); }
  @keyframes drawerIn { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
  .links a { font-size: 15.5px; padding: 12px 12px; }
  .nav-cta { display: none; }
  .mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 75; display: none; }
  .mask.on { display: block; }
}
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card.span-2, .card.span-3 { grid-column: span 2; }
  .specs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .modules { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .card.span-2, .card.span-3 { grid-column: span 1; }
  .plans { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; gap: 24px; }
  .node { grid-template-columns: 40px 1fr auto; }
  .node .bars { display: none; }
  .hero-actions .btn { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

.note-top { margin-top: 20px; }

.section.no-top { padding-top: 0; }

@media (scripting: none) { .reveal { opacity: 1; transform: none; } }
