/* =========================================================================
   StackScout — 开发者/终端暗色风软件评测站
   独立设计语言：GitHub-dark 深底 + 终端绿/青强调 + JetBrains Mono 品牌等宽
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --card: #ffffff;
  --card-2: #f6f8fa;
  --line: #d0d7de;
  --line-strong: #afb8c1;
  --ink: #1f2328;
  --ink-soft: #57606a;
  --ink-faint: #8b949e;
  --accent: #0969da;
  --accent-2: #1a7f37;
  --green: #1a7f37;
  --gold: #9a6700;
  --shadow: 0 1px 3px rgba(31, 35, 40, 0.08), 0 4px 12px rgba(31, 35, 40, 0.06);
  --shadow-lg: 0 4px 14px rgba(31, 35, 40, 0.12), 0 16px 40px rgba(31, 35, 40, 0.12);
  --radius: 8px;

  --font-display: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

html[data-theme="dark"] {
  --bg: #0d1117;
  --bg-soft: #161b22;
  --card: #161b22;
  --card-2: #21262d;
  --line: #30363d;
  --line-strong: #484f58;
  --ink: #e6edf3;
  --ink-soft: #8b949e;
  --ink-faint: #6e7681;
  --accent: #58a6ff;
  --accent-2: #3fb950;
  --green: #3fb950;
  --gold: #d29922;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.45), 0 16px 40px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; display: block; }

.line-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }
.mono { font-family: var(--font-mono); }

/* =========================================================================
   页头
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .site-header { background: rgba(13, 17, 23, 0.88); backdrop-filter: saturate(180%) blur(8px); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--accent-2);
  font-size: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.brand-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav > a,
.nav-drop > summary {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 7px;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
}
.nav > a:hover,
.nav-drop[open] > summary { background: var(--bg-soft); color: var(--accent); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: ' ▾'; font-size: 10px; color: var(--ink-soft); }
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 224px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 60;
}
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}
.nav-drop-menu a:hover { background: var(--bg-soft); color: var(--accent); text-decoration: none; }
.nav-tool-icon { font-size: 20px; color: var(--accent-2); width: 22px; text-align: center; flex: none; }
.nav-tool-icon .line-icon { width: 20px; height: 20px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--bg-soft); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.lang-select {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.lang-select:focus { outline: none; border-color: var(--accent); }

/* 广告槽 */
.ad-slot { margin: 16px auto; text-align: center; min-height: 0; }

/* =========================================================================
   Hero（终端窗口）
   ========================================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0 44px;
}
.hero-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-2);
}
.hero-eyebrow .prompt { color: var(--accent-2); margin-right: 4px; }
.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero .sub { font-size: 17.5px; color: var(--ink-soft); max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.cta, .cta-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(9, 105, 218, 0.28);
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(9, 105, 218, 0.36); text-decoration: none; color: #fff; }
html[data-theme="dark"] .cta { background: #238636; box-shadow: 0 4px 14px rgba(35, 134, 54, 0.3); }
html[data-theme="dark"] .cta:hover { box-shadow: 0 6px 18px rgba(35, 134, 54, 0.4); }
.cta-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line-strong);
}
.cta-ghost:hover { background: var(--bg-soft); text-decoration: none; border-color: var(--accent); }

/* 终端窗口装饰（恒为暗色，模拟终端） */
.hero-terminal {
  font-family: var(--font-mono);
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.9;
  color: #e6edf3;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}
.term-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.term-bar .dot.r { background: #ff5f56; }
.term-bar .dot.y { background: #ffbd2e; }
.term-bar .dot.g { background: #27c93f; }
.term-title { margin-left: 8px; font-size: 12px; color: #8b949e; letter-spacing: 0.02em; }
.term-body { padding: 14px 16px 18px; }
.term-body p { margin: 0 0 2px; }
.term-prompt { color: #3fb950; font-weight: 600; margin-right: 8px; }
.term-out { color: #e6edf3; padding-left: 18px; }
.term-ok { color: #3fb950; font-weight: 700; margin-right: 6px; }
.term-dim { color: #8b949e; }
.term-cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: #3fb950;
  vertical-align: -2px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* =========================================================================
   区块标题
   ========================================================================= */
.section-title {
  margin: 34px 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--accent-2);
  border-radius: 2px;
  flex: none;
}
.section-more { margin-top: 22px; text-align: center; }

/* =========================================================================
   分类卡
   ========================================================================= */
.cat-section, .featured-section, .guide-section { margin-top: 8px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 14px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 22px 12px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  border-color: var(--accent-2);
}
.category-icon { font-size: 34px; color: var(--accent-2); line-height: 1; }
.category-icon .line-icon { width: 34px; height: 34px; }
.category-name { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; text-align: center; line-height: 1.35; }

/* =========================================================================
   评测卡
   ========================================================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.review-grid-sm { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; border-color: var(--line-strong); }
.review-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--ink-faint); }
.thumb-empty .line-icon { width: 46px; height: 46px; }
.review-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
}
html[data-theme="dark"] .review-tag { background: rgba(22, 27, 34, 0.92); color: #58a6ff; }
.review-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; }
.review-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.3;
  color: var(--ink);
}
.review-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-price { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.badge-rating { color: var(--gold); border-color: var(--gold); background: transparent; }

/* =========================================================================
   指南列表
   ========================================================================= */
.guide-list { display: flex; flex-direction: column; gap: 12px; }
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.guide-card:hover { text-decoration: none; background: var(--bg-soft); }
.guide-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.guide-intro { color: var(--ink-soft); font-size: 14.5px; }

/* =========================================================================
   列表页
   ========================================================================= */
.page-head { padding: 40px 0 8px; }
.page-head .hero-eyebrow { margin-bottom: 6px; }
.page-head h1 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; }
.page-head .sub { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 68ch; }

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 8px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-right: 4px; white-space: nowrap; }
.chip {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
}
.chip:hover { text-decoration: none; border-color: var(--accent); }
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.review-count { margin: 16px 0 2px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); }
.empty-note { padding: 40px; text-align: center; color: var(--ink-soft); font-size: 16px; }

/* =========================================================================
   评测详情页
   ========================================================================= */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 18px 0 0; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.breadcrumb .sep { color: var(--ink-faint); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.review { padding-bottom: 10px; }
.review-head { padding: 22px 0 6px; }
.review-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.review-cat .line-icon { width: 16px; height: 16px; }
.review-head h1 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.review-intro { margin: 0 0 20px; color: var(--ink-soft); font-size: 16.5px; max-width: 70ch; }

.review-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat-wide { grid-column: 1 / -1; }
.stat-label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.rating-value { font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.rating-value em { font-style: normal; font-size: 15px; color: var(--ink-faint); font-weight: 500; }
.stat-text { font-size: 16px; font-weight: 600; color: var(--ink); }

.review-hero-img {
  margin: 8px 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.review-hero-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

.review-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.review-pros .section-title::before { background: var(--green); }
.review-cons .section-title::before { background: var(--accent); }

.pros-list, .cons-list { list-style: none; margin: 0; padding: 0; }
.pros-list li, .cons-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.pros-list li:last-child, .cons-list li:last-child { border-bottom: none; }
.pros-list .check, .cons-list .cross { flex: none; width: 18px; height: 18px; margin-top: 3px; position: relative; }
.pros-list .check::before, .cons-list .cross::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.pros-list .check::before { content: '✓'; background: var(--green); }
.cons-list .cross::before { content: '✕'; background: var(--accent); }

.review-verdict {
  margin-top: 30px;
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius);
}
.review-verdict .section-title { margin: 0 0 12px; }
.review-verdict p { margin: 0; color: var(--ink); font-size: 15.5px; }
.review-verdict a { color: var(--accent); }

/* =========================================================================
   相关评测 / 相关文章
   ========================================================================= */
.related { margin: 34px 0 40px; }
.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.related-list a {
  display: inline-block;
  padding: 11px 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink);
}
.related-list a:hover { background: var(--bg-soft); text-decoration: none; }

/* =========================================================================
   文章 / 隐私 / 关于 / 条款
   ========================================================================= */
.article { max-width: 760px; padding: 24px 0 10px; }
.article h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.article .intro { color: var(--ink-soft); font-size: 16.5px; }
.article-section { margin: 26px 0; }
.article-section h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.article-section p { margin: 0 0 12px; }
.verdict-box {
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius);
}
.verdict-box p { margin: 0; }
.faq-item { margin: 14px 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item h3 { margin: 0 0 6px; font-size: 16px; }
.faq-item p { margin: 0; color: var(--ink-soft); }

/* =========================================================================
   联系表单
   ========================================================================= */
.contact-email { font-family: var(--font-mono); font-size: 15px; }
.contact-success { padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--green); border-radius: var(--radius); color: var(--green); }
.contact-form { max-width: 520px; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.contact-form button {
  align-self: flex-start;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button:hover { box-shadow: 0 6px 18px rgba(9, 105, 218, 0.3); }
html[data-theme="dark"] .contact-form button { background: #238636; }
html[data-theme="dark"] .contact-form button:hover { box-shadow: 0 6px 18px rgba(35, 134, 54, 0.4); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* =========================================================================
   404
   ========================================================================= */
.hero-single { display: block; padding: 60px 0; text-align: center; }
.hero-single .sub { margin: 0 auto 22px; }
.notfound-link {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.notfound-link:hover { text-decoration: none; opacity: .92; }

/* =========================================================================
   页脚
   ========================================================================= */
.site-footer {
  margin-top: 40px;
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  text-align: center;
}
.friend-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.friend-links a { color: var(--ink-soft); font-size: 14px; }
.footer-brand { margin: 0 0 6px; color: var(--ink); }
.brand-mono { font-family: var(--font-mono); font-weight: 700; color: var(--accent-2); }
.site-footer .privacy { margin: 0 0 12px; color: var(--ink-soft); font-size: 13.5px; }
.legal-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.legal-links a { color: var(--ink-soft); font-size: 13.5px; }

/* =========================================================================
   响应式
   ========================================================================= */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 36px 0 24px; }
  .hero-terminal { max-width: 420px; }
  .review-cols { grid-template-columns: 1fr; gap: 10px; }
  .header-inner { gap: 10px; }
  .header-actions { margin-left: 0; }
  .nav { order: 3; width: 100%; }
}
