/* ============================================================
   TabMe 官网样式 — 纯 CSS，无外部依赖
   ============================================================ */

:root {
  --primary: #2080f0;
  --primary-dark: #1668c7;
  --accent: #38bdf8;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --line: #e3ebf3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(28, 60, 100, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 60, 100, 0.14);
  --nav-h: 64px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-weight: 600; font-size: 15px;
  padding: 10px 24px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(32, 128, 240, .35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(28, 60, 100, .06); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .2px; }
.brand-name em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 6px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav-links > a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero（含安装入口） ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 52px) 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 320px at 85% 8%, rgba(56, 189, 248, .16), transparent 70%),
    radial-gradient(700px 380px at 8% 20%, rgba(32, 128, 240, .10), transparent 70%);
}
.hero-inner {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-copy { max-width: 780px; }
.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary);
  background: rgba(32, 128, 240, .1); border: 1px solid rgba(32, 128, 240, .25);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.25; font-weight: 800; letter-spacing: .5px; }
.grad-text {
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 18px auto 30px; font-size: 17px; color: var(--muted); }
.hero-install { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-install .btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero-install .btn-ghost { background: #fff; }
.btn-ghost .ico-chrome { color: #4285f4; }
.btn-ghost .ico-edge { color: #0c88c9; }
.btn-ghost .ico-firefox { color: #ff7139; }
.btn-ghost .ico-offline { color: #0d9488; }
.install-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero-visual { margin-top: 52px; width: 100%; max-width: 980px; }
/* ---------- Hero 真实截图 ---------- */
.hero-shot {
  --mk-bg: #eef4fa;
  --mk-panel: #ffffff;
  --mk-muted: #8494a6;
  --mk-line: #e6edf4;
  margin: 0;
  background: var(--mk-panel);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-shot img { width: 100%; height: auto; display: block; }

/* ---------- 产品界面模拟 ---------- */
.mockup {
  --mk-primary: #2080f0;
  --mk-accent: #38bdf8;
  --mk-bg: #eef4fa;
  --mk-panel: #ffffff;
  --mk-text: #243040;
  --mk-muted: #8494a6;
  --mk-line: #e6edf4;
  --mk-radius: 12px;
  --mk-tile: 64px;
  --mk-gap: 14px;
  background: var(--mk-bg);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: background .25s;
}
.mockup.dark {
  --mk-bg: #141a22;
  --mk-panel: #1e2632;
  --mk-text: #e6edf5;
  --mk-muted: #7d8b9c;
  --mk-line: #2c3644;
}
.mk-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--mk-panel); border-bottom: 1px solid var(--mk-line);
}
.mk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mk-line); }
.mk-dot:nth-child(1) { background: #ff5f57; }
.mk-dot:nth-child(2) { background: #febc2e; }
.mk-dot:nth-child(3) { background: #28c840; }
.mk-url {
  margin-left: 10px; font-size: 11.5px; color: var(--mk-muted);
  background: var(--mk-bg); border-radius: 999px; padding: 2px 14px;
}
.mk-body { display: flex; min-height: 300px; }
.mk-sidebar {
  width: 148px; flex-shrink: 0; background: var(--mk-panel);
  border-right: 1px solid var(--mk-line);
  padding: 14px 10px; display: flex; flex-direction: column; position: relative;
}
.mk-logo { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; color: var(--mk-text); padding: 0 6px 12px; }
.mk-logo img { width: 20px; height: 20px; }
.mk-folders { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mk-folders li {
  font-size: 12.5px; color: var(--mk-muted); padding: 7px 10px;
  border-radius: calc(var(--mk-radius) * .6); transition: background .2s, color .2s;
}
.mk-folders li.active { background: color-mix(in srgb, var(--mk-primary) 14%, transparent); color: var(--mk-primary); font-weight: 600; }
.mk-collapse {
  position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--mk-bg); color: var(--mk-muted);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.mk-main { flex: 1; padding: 20px; min-width: 0; }
.mk-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--mk-panel); border: 1px solid var(--mk-line);
  border-radius: 999px; padding: 8px 8px 8px 16px;
  box-shadow: 0 2px 10px rgba(20, 40, 70, .05);
}
.mk-engine { color: var(--mk-muted); display: flex; }
.mk-placeholder { flex: 1; font-size: 12.5px; color: var(--mk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-search-btn {
  background: var(--mk-primary); color: #fff; font-size: 12px; font-weight: 600;
  padding: 6px 18px; border-radius: 999px; transition: background .25s;
}
.mk-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--mk-gap); margin-top: 20px;
}
.mk-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0;
  padding: 10px 4px; border-radius: var(--mk-radius); transition: background .15s, border-radius .25s;
}
.mk-tile:hover { background: var(--mk-panel); }
.mk-icon {
  width: var(--mk-tile); height: var(--mk-tile); border-radius: calc(var(--mk-radius) + 4px);
  background: color-mix(in srgb, var(--c, var(--mk-primary)) 14%, var(--mk-panel));
  color: var(--c, var(--mk-primary));
  display: flex; align-items: center; justify-content: center;
  font-size: calc(var(--mk-tile) * .4); font-weight: 700;
  border: 1px solid var(--mk-line);
  transition: width .25s, height .25s, font-size .25s, border-radius .25s;
}
.mk-name { font-size: 12px; color: var(--mk-text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-desc { display: none; }
.mk-rec { margin-top: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mk-rec-title { font-size: 11.5px; color: var(--mk-muted); }
.mk-rec-item {
  font-size: 11.5px; color: var(--mk-text); background: var(--mk-panel);
  border: 1px solid var(--mk-line); padding: 3px 12px; border-radius: 999px;
}

/* 卡片视图 */
.mockup.view-card .mk-tiles { grid-template-columns: repeat(2, 1fr); }
.mockup.view-card .mk-tile {
  display: grid; grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px;
  align-items: center; text-align: left;
  background: var(--mk-panel); border: 1px solid var(--mk-line); padding: 10px 14px;
}
.mockup.view-card .mk-icon { grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; font-size: 17px; flex-shrink: 0; }
.mockup.view-card .mk-name { grid-column: 2; grid-row: 1; font-size: 13px; font-weight: 600; }
.mockup.view-card .mk-desc {
  grid-column: 2; grid-row: 2; display: block; font-size: 11px; color: var(--mk-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 密度 */
.mockup.density-compact { --mk-tile: 52px; --mk-gap: 8px; }
.mockup.density-loose { --mk-tile: 76px; --mk-gap: 20px; }

/* 迷你预览：无搜索框，图标默认 6 列 × 3 行 */
.mockup-mini { box-shadow: var(--shadow); }
.mockup-mini .mk-body { min-height: 0; }
.mockup-mini .mk-main { padding: 18px; }
.mockup-mini .mk-tiles { grid-template-columns: repeat(6, 1fr); margin-top: 0; }
.mockup-mini .mk-icon { width: 100%; max-width: var(--mk-tile); height: auto; aspect-ratio: 1; }
.mockup-mini.view-card .mk-tiles { grid-template-columns: repeat(3, 1fr); }

/* ---------- 通用 Section ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--primary); margin-bottom: 12px;
}
.section-head h2, .split-copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.35; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(32, 128, 240, .1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 左右分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-reverse .split-visual { order: 1; }
.split-copy p { margin: 16px 0 20px; color: var(--muted); font-size: 16px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(32, 128, 240, .12);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="%232080f0" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ---------- 演示面板 ---------- */
.demo-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.demo-row {
  display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500;
  padding: 10px 12px; border-radius: 10px; border: 1px solid transparent;
}
.demo-row-head { font-weight: 700; color: var(--muted); font-size: 13px; padding: 6px 12px 2px; }
.demo-folder-ico { font-size: 14px; }
.demo-grip { color: #b6c2cf; font-size: 13px; }
.demo-site-ico {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: color-mix(in srgb, var(--c, #2080f0) 14%, #fff);
  color: var(--c, #2080f0); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.demo-tag { margin-left: auto; font-size: 11.5px; color: var(--muted); background: var(--bg-alt); padding: 2px 10px; border-radius: 999px; }
.demo-tag-accent { color: var(--primary); background: rgba(32, 128, 240, .1); }
.demo-dragging {
  border: 1.5px dashed var(--primary); background: rgba(32, 128, 240, .05);
  transform: rotate(-1deg) scale(1.02); box-shadow: var(--shadow);
}
.demo-search {
  display: flex; align-items: center; gap: 10px; font-size: 14px;
  border: 1.5px solid var(--primary); border-radius: 999px; padding: 10px 18px; margin-bottom: 6px;
}
.demo-caret { width: 1.5px; height: 16px; background: var(--primary); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-suggest { font-size: 13.5px; color: var(--muted); padding: 8px 16px; border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.demo-suggest:hover { background: var(--bg-alt); }
.demo-suggest-bookmark { color: var(--ink); font-weight: 600; background: var(--bg-alt); }
.demo-rec-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.demo-rec-label { font-size: 12px; color: var(--muted); }
.demo-rec-chip { font-size: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(32, 128, 240, .08); color: var(--primary); font-weight: 600; }

/* ---------- 外观实验室 ---------- */
.appearance-lab {
  display: grid; grid-template-columns: 340px 1fr; gap: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow);
}
.lab-controls { display: flex; flex-direction: column; gap: 20px; }
.lab-label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.swatch {
  width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent;
  outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s, transform .15s;
  padding: 0;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { outline-color: var(--sw-color); }
.seg { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button {
  border: none; background: transparent; font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 6px 16px; border-radius: 999px; transition: background .15s, color .15s;
}
.seg button.active { background: var(--primary); color: #fff; }
.lab-preview { display: flex; align-items: center; }
.lab-preview .mockup { width: 100%; }

/* ---------- 隐私面板 ---------- */
.privacy-panel { align-items: stretch; }
.privacy-shield { display: flex; justify-content: center; color: var(--primary); padding: 10px 0 16px; }
.privacy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px; padding: 11px 4px; border-top: 1px solid var(--line);
}
.privacy-badge { font-size: 12px; font-weight: 600; color: var(--primary); background: rgba(32, 128, 240, .1); padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.privacy-badge-none { color: #16a34a; background: rgba(22, 163, 74, .1); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 15.5px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s; margin-top: -4px;
}
.faq-item[open] .faq-arrow { transform: rotate(225deg); margin-top: 4px; }
.faq-body { padding: 0 22px 18px; }
.faq-body p { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  padding: 72px 0; text-align: center; color: #fff;
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { margin: 12px 0 28px; opacity: .92; font-size: 15.5px; }

/* ---------- 隐私政策页 ---------- */
.policy-hero { padding: calc(var(--nav-h) + 56px) 0 8px; }
.policy-hero h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.3; }
.policy-date { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.policy-lead {
  margin-top: 20px; font-size: 16px; color: var(--ink);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px;
}
.policy-body { padding-top: 40px; }
.policy-body h2 { font-size: 20px; font-weight: 800; margin: 36px 0 12px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.policy-body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.policy-body li { font-size: 15px; color: var(--muted); }
.policy-body strong { color: var(--ink); }
.policy-back { margin-top: 44px; }

/* ---------- 页脚 ---------- */
.footer { background: #101820; color: #9aa8b6; padding: 52px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; }
.footer .brand-name { color: #fff; }
.footer .brand-name em { color: #7d8b9c; }
.footer-brand p { margin-top: 14px; font-size: 14px; }
.footer-featured h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-badges a {
  display: inline-flex; border-radius: 6px; overflow: hidden;
  transition: opacity .15s, transform .15s;
}
.footer-badges a:hover { opacity: .88; transform: translateY(-2px); }
.footer-badges img { display: block; width: 200px; max-width: 100%; height: auto; }
.footer-bottom {
  border-top: 1px solid #232f3b; padding-top: 20px; padding-bottom: 24px;
  font-size: 12.5px; color: #6b7a89;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { transition: color .15s; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
  .appearance-lab { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(16, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 18px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .2s, opacity .2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--bg-alt); font-size: 16px; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-visual { order: 2; }
  .split-visual { max-width: 560px; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-install { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 420px; }
  .hero-install .btn { width: 100%; padding: 12px 10px; font-size: 14.5px; }
  .hero-visual { margin-top: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(8, 1fr); }
  .appearance-lab { padding: 20px 16px; }
  .mk-sidebar { width: 112px; }
  .mk-folders li { font-size: 11.5px; padding: 6px 8px; }
  .mk-main { padding: 14px; }
  .mk-tiles { grid-template-columns: repeat(3, 1fr); }
  .mockup.view-card .mk-tiles { grid-template-columns: 1fr; }
  .mockup-mini { --mk-tile: 40px; --mk-gap: 8px; }
  .mockup-mini .mk-main { padding: 14px; }
  .mockup-mini.view-card .mk-tiles { grid-template-columns: repeat(2, 1fr); }
  .mk-rec { display: none; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-badges { gap: 10px; }
}

@media (max-width: 380px) {
  .mk-sidebar { display: none; }
  .mk-tiles { grid-template-columns: repeat(3, 1fr); }
}