/* ============================================
   留子日历官网 · 蓝色主题
   ============================================ */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --tint: #f8fafc;
  --surface: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --card-hover-border: var(--blue-200);
  --table-head-bg: var(--blue-50);
  --table-head-border: var(--blue-100);
  --tag-bg: var(--blue-100);
  --tag-ink: var(--blue-700);
  --yes-ink: var(--blue-600);

  /* 手机示意图（小程序界面）主题 */
  --mock-bg: #f8fafc;
  --mock-card: #ffffff;
  --mock-ink: #0f172a;
  --mock-ink-2: #334155;
  --mock-ink-3: #64748b;
  --mock-notch: #0f172a;

  /* 顾问工作台示意图主题 */
  --wb-window: #ffffff;
  --wb-bar: #f1f5f9;
  --wb-url-bg: #ffffff;
  --wb-main: #f8fafc;
  --wb-row: #ffffff;
  --wb-ink: #0f172a;
  --wb-ink-3: #64748b;
  --wb-avatar-bg: var(--blue-100);
  --wb-avatar-ink: var(--blue-700);

  --orange: #f59e0b;
  --green: #10b981;
  --red: #ef4444;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.10);
  --shadow-lg: 0 24px 64px rgba(30, 64, 175, 0.16);

  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Segoe UI', sans-serif;
}

/* ---------- 深色模式 ---------- */
:root[data-theme='dark'] {
  --ink: #e6edf7;
  --ink-2: #c3d0e4;
  --ink-3: #8ba1c0;
  --line: #1f3352;
  --paper: #0a1322;
  --tint: #0d1a2e;
  --surface: #12233c;
  --nav-bg: rgba(10, 19, 34, 0.82);
  --card-hover-border: var(--blue-800);
  --table-head-bg: #14294a;
  --table-head-border: #1f3352;
  --tag-bg: rgba(59, 130, 246, 0.16);
  --tag-ink: var(--blue-300);
  --yes-ink: var(--blue-400);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);

  /* 手机示意图深色：小程序界面同步深色 */
  --mock-bg: #0c1728;
  --mock-card: #16253f;
  --mock-ink: #e6edf7;
  --mock-ink-2: #c3d0e4;
  --mock-ink-3: #7e93b4;
  --mock-notch: #050a12;

  /* 顾问工作台示意图深色 */
  --wb-window: #101f38;
  --wb-bar: #16253f;
  --wb-url-bg: #0c1728;
  --wb-main: #0c1728;
  --wb-row: #16253f;
  --wb-ink: #e6edf7;
  --wb-ink-3: #7e93b4;
  --wb-avatar-bg: #1d3a6b;
  --wb-avatar-ink: var(--blue-300);
}

:root[data-theme='dark'] .hero-points li::before { background: transparent; }
:root[data-theme='dark'] .btn-ghost:hover { background: #16294a; border-color: var(--blue-700); }
:root[data-theme='dark'] .nav-links a:hover { background: rgba(59, 130, 246, 0.14); color: var(--blue-300); }
:root[data-theme='dark'] .hero-bg {
  background:
    radial-gradient(720px 420px at 82% 8%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(560px 380px at 8% 88%, rgba(59, 130, 246, 0.1), transparent 60%),
    linear-gradient(180deg, #0d1c33 0%, var(--paper) 78%);
}
/* 产品示意图颜色均走 --mock-* / --wb-* 变量，随主题翻转 */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45); }

.btn-ghost {
  background: var(--surface);
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-300); }

.btn-white { background: #fff; color: var(--blue-700); }
.btn-white:hover { background: var(--blue-50); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.brand-name { font-size: 17px; font-weight: 700; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--blue-50); color: var(--blue-700); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* 深浅色切换 */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.theme-toggle:hover { color: var(--blue-600); border-color: var(--blue-300); }
.theme-toggle svg { width: 20px; height: 20px; }
:root[data-theme='light'] .icon-sun { display: none; }
:root[data-theme='dark'] .icon-moon { display: none; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 82% 8%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(560px 380px at 8% 88%, rgba(147, 197, 253, 0.22), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, var(--paper) 78%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 24px 110px;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-500), var(--blue-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 520px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }

.hero-points { margin-top: 30px; list-style: none; }
.hero-points li {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}
.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-100);
  border: 4px solid var(--blue-500);
  box-sizing: border-box;
}

/* ---------- Hero 手机示意 ---------- */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 65%);
  filter: blur(10px);
}
.phone {
  position: relative;
  width: 300px;
  border-radius: 40px;
  padding: 12px;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 12px;
  background: var(--mock-notch);
  z-index: 2;
}
.phone-screen {
  border-radius: 30px;
  background: var(--mock-bg);
  overflow: hidden;
  padding: 46px 14px 18px;
}
.mini-nav {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--mock-ink);
  padding-bottom: 10px;
}
.mini-cal {
  background: var(--mock-card);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.mini-cal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 14px;
  color: var(--mock-ink);
  margin-bottom: 8px;
}
.mini-cal-year { font-size: 11px; color: var(--mock-ink-3); font-weight: 500; }
.mini-week, .mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.mini-week { font-size: 10px; color: var(--mock-ink-3); margin-bottom: 4px; }
.mini-grid span {
  position: relative;
  font-size: 11px;
  padding: 5px 0 9px;
  color: var(--mock-ink-2);
}
.mini-grid .today {
  background: var(--blue-600);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}
.has-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.dot-blue::after { background: var(--blue-500); }
.dot-orange::after { background: var(--orange); }
.dot-green::after { background: var(--green); }
.dot-red::after { background: #fff; }
.mini-grid .today.has-dot::after { background: #fff; }

.mini-list { margin-top: 12px; display: grid; gap: 8px; }
.mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mock-card);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.mini-item strong { display: block; font-size: 12px; color: var(--mock-ink); }
.mini-item small { font-size: 10px; color: var(--mock-ink-3); }
.mini-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
}
.b-blue { background: var(--blue-100); color: var(--blue-700); }
.b-red { background: #fee2e2; color: #b91c1c; }
.b-green { background: #d1fae5; color: #047857; }

/* ---------- 通用 section ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-blue {
  background: linear-gradient(160deg, var(--blue-800) 0%, var(--blue-600) 60%, var(--blue-500) 100%);
  color: #fff;
}

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-size: 13px;
  font-weight: 700;
}
.section-tag.on-blue { background: rgba(255, 255, 255, 0.16); color: #fff; }
.section-head h2, .split-copy h2 {
  margin-top: 16px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.section-head p { margin-top: 14px; font-size: 16px; color: var(--ink-3); }
.section-blue .split-lead { color: var(--blue-100); }

/* ---------- 卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-md);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-3); }

/* ---------- 顾问端 split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.split-lead { margin-top: 16px; font-size: 16px; }
.feature-list { margin-top: 28px; list-style: none; display: grid; gap: 18px; }
.feature-list li {
  position: relative;
  padding-left: 28px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-300);
  box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.25);
}
.feature-list strong { display: block; font-size: 16px; }
.feature-list span { font-size: 14px; color: var(--blue-100); }

/* ---------- 顾问工作台示意 ---------- */
.browser {
  border-radius: 16px;
  overflow: hidden;
  background: var(--wb-window);
  color: var(--wb-ink);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.35);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--wb-bar);
  border-bottom: 1px solid var(--line);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #f87171; }
.dot.y { background: #fbbf24; }
.dot.g { background: #34d399; }
.browser-url {
  margin-left: 10px;
  flex: 1;
  max-width: 260px;
  background: var(--wb-url-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  color: var(--wb-ink-3);
  padding: 4px 12px;
}
.browser-body { display: grid; grid-template-columns: 132px 1fr; min-height: 320px; }
.wb-side {
  background: var(--blue-900);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wb-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  margin: 2px 6px 12px;
}
.wb-nav-item {
  font-size: 12px;
  color: var(--blue-200);
  padding: 8px 12px;
  border-radius: 8px;
}
.wb-nav-item.active { background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 600; }
.wb-main { padding: 18px; background: var(--wb-main); }
.wb-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--wb-ink); }
.wb-count { font-size: 11px; font-weight: 500; color: var(--wb-ink-3); margin-left: 6px; }
.wb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wb-row);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.wb-row.muted { opacity: 0.75; }
.wb-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wb-avatar-bg);
  color: var(--wb-avatar-ink);
  font-size: 13px;
  font-weight: 700;
}
.wb-info { flex: 1; min-width: 0; }
.wb-info strong { display: block; font-size: 13px; color: var(--wb-ink); }
.wb-info small { font-size: 11px; color: var(--wb-ink-3); }
.wb-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.t-red { background: #fee2e2; color: #b91c1c; }
.t-orange { background: #fef3c7; color: #b45309; }
.t-green { background: #d1fae5; color: #047857; }
.t-blue { background: var(--blue-100); color: var(--blue-700); }

/* ---------- 对照表 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th { background: var(--table-head-bg); border-bottom: 1px solid var(--table-head-border); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--tint); }
.compare-table td:first-child { font-weight: 600; }
.th-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.tb-student { background: var(--blue-600); color: #fff; }
.tb-consultant { background: var(--blue-900); color: #fff; }
.yes { color: var(--yes-ink); font-weight: 800; margin-right: 4px; }
.no { color: var(--ink-3); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(150deg, var(--blue-700), var(--blue-500));
  color: #fff;
  padding: 96px 0;
}
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.4px; }
.cta p { margin-top: 14px; font-size: 16px; color: var(--blue-100); }

/* ---------- 即将上线徽章 ---------- */
.soon {
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ---------- 绑定流程 ---------- */
.flow-step { position: relative; padding-top: 66px; }
.flow-num {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tag-bg);
  color: var(--tag-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--ink-3);
  font-size: 18px;
  font-weight: 400;
  flex: none;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---------- CTA 双轨 ---------- */
.cta-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
  text-align: left;
}
.cta-track {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 28px;
}
.cta-track h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #fff; }
.cta-track p { font-size: 14px; color: var(--blue-100); margin: 0 0 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: var(--blue-200); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 56px 24px 32px;
}
.footer .brand { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 13px; color: var(--blue-300); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a {
  color: var(--blue-200);
  font-size: 14px;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(147, 197, 253, 0.18);
  font-size: 13px;
  color: var(--blue-300);
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 24px 88px; gap: 48px; }
  .hero-visual { order: -1; }
  .phone { width: 270px; transform: rotate(0deg); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-duo { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  .grid-4 { grid-template-columns: 1fr; }
  .browser-body { grid-template-columns: 1fr; }
  .wb-side { display: none; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
}
