/* PDFHub Guides & Tips — Unified Design System & Integration Stylesheet */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #07070d;
  --s1: #0f0f1a;
  --s2: #161625;
  --border: #252538;
  --text: #eeeef8;
  --muted: #8585a8;
  --muted2: #5d5d7e;
  --accent: #7c6aff;
  --a2: #ff5f7e;
  --a3: #00e5a0;
  --a4: #ffb347;
  --a5: #38d9f5;
  --a6: #c084fc;
  --nav-bg: rgba(7, 7, 13, 0.94);
  --card-hover-bg: rgba(124, 106, 255, 0.04);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
}

body.light {
  --bg: #f2f2f8;
  --s1: #ffffff;
  --s2: #ebebf5;
  --border: #d5d5e8;
  --text: #18182e;
  --muted: #6868a0;
  --muted2: #8f8fb8;
  --nav-bg: rgba(242, 242, 248, 0.96);
  --card-hover-bg: rgba(124, 106, 255, 0.05);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 10% 0%, rgba(124, 106, 255, 0.12), transparent 60%),
              radial-gradient(ellipse 60% 45% at 90% 100%, rgba(0, 229, 160, 0.06), transparent 60%);
  z-index: 0;
}

/* ─────────────────────────────────────────────────────────────
   MAIN SHARED HEADER & NAVIGATION
───────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, 6%);
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-nav .nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c6aff 0%, #38d9f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
}

body.light .logo {
  background: linear-gradient(135deg, #5b47e0 0%, #0284c7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(124, 106, 255, 0.25);
  filter: none !important;
  mix-blend-mode: normal !important;
}

body.light .logo-mark {
  filter: none !important;
  mix-blend-mode: normal !important;
  box-shadow: 0 2px 10px rgba(91, 71, 224, 0.2);
}

.nav-divider {
  color: var(--border);
  font-size: 0.95rem;
  font-weight: 300;
  user-select: none;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(124, 106, 255, 0.1);
  padding: 4px 11px;
  border-radius: 99px;
  border: 1px solid rgba(124, 106, 255, 0.25);
  white-space: nowrap;
}

body.light .nav-badge {
  background: rgba(124, 106, 255, 0.08);
  color: #5544cb;
  border-color: rgba(124, 106, 255, 0.3);
}

.nav-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-sub-link:hover,
.nav-sub-link:focus-visible {
  color: var(--accent);
  background: rgba(124, 106, 255, 0.08);
}

.nav-current-tool {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(124, 106, 255, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
  background: #6a56f8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 106, 255, 0.5);
  color: #fff;
}

.nav-subtle-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--s1);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-subtle-link:hover,
.nav-subtle-link:focus-visible {
  color: var(--text);
  border-color: var(--accent);
}

/* THEME TOGGLE */
.global-theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--s1);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.global-theme-toggle:hover {
  border-color: var(--accent);
}

.global-theme-toggle .t-label {
  font-size: 0.68rem;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.global-theme-toggle .toggle-track {
  width: 36px;
  height: 20px;
  background: var(--s2);
  border-radius: 99px;
  position: relative;
  transition: background 0.3s;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.global-theme-toggle .toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: #fff;
}

body.light .global-theme-toggle .toggle-knob {
  transform: translateX(16px);
  background: var(--accent);
}

/* MENU TOGGLE & SITE MENU */
.menu-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--s1);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.site-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: max(20px, 6%);
  width: min(348px, calc(100vw - 28px));
  max-height: calc(100vh - 80px);
  padding: 16px;
  border: 1px solid rgba(124, 106, 255, 0.24);
  border-radius: 18px;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  display: none;
  flex-direction: column;
  z-index: 600;
  box-sizing: border-box;
  overflow: hidden;
}

.site-menu.open {
  display: flex !important;
  animation: menuIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.menu-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--s2);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  transition: all 0.2s ease;
}

.menu-close-btn:hover,
.menu-close-btn:focus-visible {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

body.light .menu-close-btn {
  background: var(--s2);
  border-color: var(--border);
  color: var(--muted);
}

body.light .menu-close-btn:hover,
body.light .menu-close-btn:focus-visible {
  color: #fff;
  background: var(--accent);
}

.menu-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  margin-top: 6px;
}

.menu-body::-webkit-scrollbar {
  width: 5px;
}
.menu-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 99px;
}
.menu-body::-webkit-scrollbar-thumb {
  background: rgba(124, 106, 255, 0.35);
  border-radius: 99px;
}
.menu-body::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 106, 255, 0.6);
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 5px 13px;
  border-bottom: 1px solid var(--border);
  font-family: 'Syne', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.menu-heading small {
  padding: 4px 8px;
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 99px;
  background: rgba(0, 229, 160, 0.06);
  font: 700 0.58rem 'DM Sans', sans-serif;
  color: var(--a3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0 4px;
  position: relative;
}

.menu-search i.fa-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.75rem;
  pointer-events: none;
}

.menu-search input {
  min-width: 0;
  flex: 1;
  min-height: 40px;
  padding: 8px 12px 8px 32px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--s2);
  color: var(--text);
  font: 500 0.8rem 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.menu-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 106, 255, 0.14);
}

.menu-search button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.menu-search button:hover {
  background: #6a56f8;
}

.menu-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 4px;
  color: var(--muted);
  font-size: 0.65rem;
}

.menu-status i {
  color: var(--a3);
}

.menu-status-dot {
  color: var(--border);
  font-size: 0.5rem;
}

.menu-list {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.menu-section-label {
  padding: 8px 8px 2px;
  color: var(--muted2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  font: 600 0.78rem 'DM Sans', sans-serif;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.menu-action:hover,
.menu-action:focus-visible {
  background: rgba(124, 106, 255, 0.12);
  border-color: rgba(124, 106, 255, 0.22);
  color: #fff;
}

.menu-action.active-page {
  background: rgba(124, 106, 255, 0.16);
  border-color: rgba(124, 106, 255, 0.35);
  color: var(--accent);
}

.menu-action i {
  width: 18px;
  color: #9e91ff;
  text-align: center;
}

.menu-action:hover i {
  color: #fff;
}

.menu-action-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 500;
}

.menu-action.menu-featured {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(124, 106, 255, 0.24);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(124, 106, 255, 0.13), rgba(56, 217, 245, 0.06));
}

.menu-action.menu-featured:hover {
  border-color: rgba(124, 106, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 106, 255, 0.2), rgba(56, 217, 245, 0.1));
}

.menu-feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 106, 255, 0.25);
  border-radius: 12px;
  background: rgba(124, 106, 255, 0.14);
  color: #b8adff;
}

.menu-feature-icon i {
  font-size: 1rem;
}

.menu-feature-copy {
  display: grid;
  gap: 3px;
  align-content: center;
}

.menu-feature-title {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.menu-feature-subtitle {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

.menu-feature-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.menu-feature-count {
  min-width: 22px;
  padding: 2px 7px;
  border: 1px solid rgba(124, 106, 255, 0.24);
  border-radius: 99px;
  background: rgba(124, 106, 255, 0.14);
  color: #c8c0ff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
}

.menu-note {
  margin: 10px 2px 0;
  padding: 11px 8px 2px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* Light Theme Menu Overrides */
body.light .site-menu {
  background: rgba(255, 255, 255, 0.99);
  border-color: rgba(124, 106, 255, 0.2);
  box-shadow: 0 22px 60px rgba(48, 42, 100, 0.16);
}

body.light .menu-heading {
  border-color: var(--border);
  color: var(--text);
}

body.light .menu-search input {
  background: var(--s2);
  border-color: var(--border);
  color: var(--text);
}

body.light .menu-action {
  color: var(--text);
}

body.light .menu-action:hover {
  background: rgba(124, 106, 255, 0.08);
  color: var(--text);
}

body.light .menu-action:hover i {
  color: var(--accent);
}

body.light .menu-note {
  border-color: var(--border);
}

/* ─────────────────────────────────────────────────────────────
   GUIDE SHELL & LAYOUT
───────────────────────────────────────────────────────────── */
.guide-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 88px;
}

/* BREADCRUMBS */
.guide-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.guide-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.guide-breadcrumbs a:hover {
  color: var(--accent);
}

.guide-breadcrumbs .crumb-sep {
  color: var(--border);
  font-size: 0.7rem;
}

.guide-breadcrumbs .crumb-current {
  color: var(--text);
  font-weight: 700;
}

/* HERO SECTION (Detail Page) */
.guide-detail-hero {
  max-width: 900px;
  margin-bottom: 28px;
}

.guide-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--a3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.25);
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

body.light .guide-hero-badge {
  color: #0b8e62;
  background: rgba(0, 229, 160, 0.12);
  border-color: rgba(0, 229, 160, 0.35);
}

.guide-title {
  font: 800 clamp(2rem, 4.5vw, 3.6rem) / 1.08 'Syne', sans-serif;
  letter-spacing: -1.2px;
  margin: 0 0 14px;
  color: var(--text);
}

.guide-lead {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: var(--s1);
  font: 700 0.8rem 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.guide-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.guide-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 106, 255, 0.35);
}

.guide-btn.primary:hover {
  background: #6a56f8;
  box-shadow: 0 6px 20px rgba(124, 106, 255, 0.5);
  color: #fff;
}

.guide-btn.accent {
  background: rgba(124, 106, 255, 0.12);
  border-color: rgba(124, 106, 255, 0.35);
  color: #b8adff;
}

.guide-btn.accent:hover {
  background: rgba(124, 106, 255, 0.22);
  border-color: var(--accent);
  color: #fff;
}

body.light .guide-btn.accent {
  background: rgba(124, 106, 255, 0.1);
  color: #5544cb;
}

/* ─────────────────────────────────────────────────────────────
   STICKY QUICK GUIDE SECTION NAVIGATION
───────────────────────────────────────────────────────────── */
.guide-quick-nav {
  position: sticky;
  top: 62px;
  z-index: 250;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 calc(-1 * max(20px, 6%)) 34px;
  padding: 8px max(20px, 6%);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.quick-nav-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.quick-nav-track::-webkit-scrollbar {
  display: none;
}

.quick-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  user-select: none;
}

.quick-nav-link:hover,
.quick-nav-link:focus-visible {
  color: var(--text);
  background: var(--s2);
  border-color: var(--border);
}

.quick-nav-link.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(124, 106, 255, 0.4);
}

.quick-nav-link .nav-count {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

/* SECTION ANCHOR SCROLL OFFSET */
section[id] {
  scroll-margin-top: 135px;
}

/* ─────────────────────────────────────────────────────────────
   GUIDE DETAIL CONTENT SECTIONS
───────────────────────────────────────────────────────────── */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 24px;
}

.detail-main {
  display: grid;
  gap: 22px;
  align-content: start;
}

.detail-aside {
  display: grid;
  gap: 22px;
  align-content: start;
}

.guide-section {
  padding: 26px;
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, background 0.3s ease;
}

.guide-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.guide-section-header i {
  color: var(--accent);
  font-size: 1.15rem;
}

.guide-section h2 {
  font: 700 1.28rem 'Syne', sans-serif;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.2px;
}

.guide-section p,
.guide-section li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* FACTS GRID (Before You Start) */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.fact {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--s2);
  border: 1px solid var(--border);
}

.fact strong {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.fact span {
  display: block;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
}

/* STEP-BY-STEP INSTRUCTIONS LIST */
.guide-step-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
  counter-reset: step-counter;
}

.guide-step-list li {
  position: relative;
  padding: 12px 14px 12px 48px;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.6;
}

.guide-step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* TIPS, MISTAKES, TROUBLESHOOTING LISTS */
.tips-list,
.mistakes-list,
.trouble-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.tips-list li,
.mistakes-list li,
.trouble-list li {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--s2);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tips-list li i {
  color: var(--a3);
  margin-top: 3px;
  flex-shrink: 0;
}

.mistakes-list li i {
  color: var(--a2);
  margin-top: 3px;
  flex-shrink: 0;
}

.trouble-list li i {
  color: var(--a4);
  margin-top: 3px;
  flex-shrink: 0;
}

/* FAQ CARDS */
.faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.faq-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--s2);
  border: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-question i {
  color: var(--accent);
  font-size: 0.82rem;
}

.faq-answer {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}

/* RELATED TOOLS (Detail Page) */
.related-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--s2);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateX(3px);
  background: rgba(124, 106, 255, 0.08);
  color: var(--accent);
}

.related-card i {
  color: var(--accent);
  transition: transform 0.2s ease;
}

.related-card:hover i {
  transform: translateX(3px);
}

/* ─────────────────────────────────────────────────────────────
   VISUAL WALKTHROUGH SECTION & CARDS
───────────────────────────────────────────────────────────── */
.visual-walkthrough-section {
  padding: 26px;
}

.walk-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.walk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.walk-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 680px;
}

.walk-start-tour-btn {
  padding: 10px 18px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* STEP PROGRESS BAR & CHIPS */
.walk-progress-nav {
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--s2);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.walk-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

body.light .walk-progress-track {
  background: rgba(0, 0, 0, 0.08);
}

.walk-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--a3));
  border-radius: 99px;
  transition: width 0.3s ease;
}

.walk-step-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.walk-step-chips::-webkit-scrollbar {
  height: 4px;
}

.walk-step-chips::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.walk-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--s1);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 0.73rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.walk-step-chip:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.walk-step-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 3px 10px rgba(124, 106, 255, 0.4);
}

.walk-step-chip .chip-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.walk-step-chip.active .chip-num {
  background: #fff;
  color: var(--accent);
}

/* WALKTHROUGH CARDS */
img {
  max-width: 100%;
  height: auto;
}

.detail-main,
.detail-aside,
.guide-section,
.walkthrough,
.walk-card,
.walk-media-btn {
  min-width: 0;
  max-width: 100%;
}

.walkthrough {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

.walk-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.walk-card:hover {
  border-color: rgba(124, 106, 255, 0.45);
  box-shadow: var(--shadow-md);
}

.walk-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.walk-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 106, 255, 0.14);
  border: 1px solid rgba(124, 106, 255, 0.4);
  color: #c7baff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.light .walk-step-pill {
  background: rgba(124, 106, 255, 0.1);
  color: #5b47e0;
}

.walk-control-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.35);
  color: #00e5a0;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
}

body.light .walk-control-badge {
  background: rgba(0, 229, 160, 0.1);
  color: #009e6c;
}

.walk-media-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1440 / 1000;
  background: #07070d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.walk-media-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.walk-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.walk-media-btn:hover .walk-img,
.walk-media-btn:focus-visible .walk-img {
  transform: scale(1.02);
}

.walk-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(15, 15, 26, 0.94);
  border: 1.5px solid var(--accent);
  color: #eeeef8;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.walk-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(15, 15, 26, 0.94);
  border: 1.5px solid rgba(124, 106, 255, 0.6);
  color: #fff;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.walk-media-btn:hover .walk-zoom-hint,
.walk-media-btn:focus-visible .walk-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.walk-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.walk-title {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}

/* STRUCTURED STEP INSTRUCTIONS */
.walk-field-group {
  display: grid;
  gap: 10px;
}

.walk-field {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(15, 15, 26, 0.65);
  border-left: 3.5px solid var(--border);
}

body.light .walk-field {
  background: rgba(255, 255, 255, 0.85);
}

.walk-field.what-to-do {
  border-left-color: var(--accent);
  background: rgba(124, 106, 255, 0.07);
}

.walk-field.what-you-see {
  border-left-color: var(--a5);
  background: rgba(56, 217, 245, 0.06);
}

.walk-field.next-action {
  border-left-color: var(--a4);
  background: rgba(255, 179, 71, 0.06);
}

.walk-field.tip-box {
  border-left-color: var(--a3);
  background: rgba(0, 229, 160, 0.06);
}

.walk-field-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.what-to-do .walk-field-badge { color: var(--accent); }
.what-you-see .walk-field-badge { color: var(--a5); }
.next-action .walk-field-badge { color: var(--a4); }
.tip-box .walk-field-badge { color: var(--a3); }

.walk-field-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
}

body.light .walk-field-desc {
  color: #24243a;
}

/* CARD FOOTER WITH STEP NAV */
.walk-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.walk-nav-btn {
  background: var(--s1);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.walk-nav-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: #fff;
  background: rgba(124, 106, 255, 0.15);
  transform: translateY(-1px);
}

.walk-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.walk-step-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────
   CLICK-TO-ZOOM IMAGE LIGHTBOX
───────────────────────────────────────────────────────────── */
body.lightbox-locked {
  overflow: hidden !important;
  touch-action: none;
}

.walk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.walk-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.walk-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 13, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.walk-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1380px, 95vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  outline: none;
}

.walk-lightbox-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px;
}

.walk-lightbox-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.walk-lightbox-counter {
  background: rgba(124, 106, 255, 0.18);
  border: 1px solid var(--accent);
  color: #c4baff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 11px;
  border-radius: 99px;
}

.walk-lightbox-tool {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.walk-lightbox-control {
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.35);
  color: #00e5a0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.walk-lightbox-close {
  background: rgba(22, 22, 37, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.walk-lightbox-close:hover {
  background: var(--a2);
  border-color: var(--a2);
  color: #fff;
  transform: scale(1.08);
}

.walk-lightbox-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.walk-lightbox-body {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.walk-lightbox-nav {
  background: rgba(22, 22, 37, 0.88);
  border: 1px solid var(--border);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.walk-lightbox-nav:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.walk-lightbox-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.walk-lightbox-nav:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: none;
}

.walk-lightbox-figure-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: calc(88vh - 110px);
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.walk-lightbox-img-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.walk-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(66vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.75);
  background: #07070d;
}

.walk-lightbox-caption {
  margin-top: 12px;
  width: 100%;
  max-width: 960px;
  background: rgba(15, 15, 26, 0.88);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

body.light .walk-lightbox-caption {
  background: rgba(244, 244, 248, 0.94);
}

.walk-lightbox-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
}

.walk-lightbox-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.lb-info-block {
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(22, 22, 37, 0.7);
  border-left: 3px solid var(--border);
}

body.light .lb-info-block {
  background: #fff;
}

.lb-info-block.what-to-do { border-left-color: var(--accent); }
.lb-info-block.what-you-see { border-left-color: var(--a5); }
.lb-info-block.next-action { border-left-color: var(--a4); }
.lb-info-block.tip-box { border-left-color: var(--a3); }

.lb-info-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.lb-info-block.what-to-do .lb-info-label { color: var(--accent); }
.lb-info-block.what-you-see .lb-info-label { color: var(--a5); }
.lb-info-block.next-action .lb-info-label { color: var(--a4); }
.lb-info-block.tip-box .lb-info-label { color: var(--a3); }

.lb-info-text {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
}

.walk-lightbox-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.72rem;
  flex-wrap: wrap;
}

.walk-lightbox-footer kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text);
}

/* ─────────────────────────────────────────────────────────────
   LANDING PAGE STYLES (/guides/)
───────────────────────────────────────────────────────────── */
.guide-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.guide-hero h1 {
  font: 800 clamp(2.2rem, 5vw, 4.2rem) / 1.05 'Syne', sans-serif;
  margin: 14px 0 16px;
  letter-spacing: -1.5px;
  color: var(--text);
}

.guide-hero p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.guide-search-wrap {
  position: relative;
  max-width: 560px;
  margin-top: 24px;
}

.guide-search-wrap i.si {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.88rem;
  pointer-events: none;
}

.guide-input {
  width: 100%;
  padding: 14px 44px 14px 44px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--s1);
  color: var(--text);
  font: 500 0.92rem 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guide-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 106, 255, 0.16);
}

.guide-search-wrap .clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 6px;
  display: none;
}

.guide-input:not(:placeholder-shown) + .clear-btn {
  display: block;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.filter {
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 7px 14px;
  background: var(--s1);
  color: var(--muted);
  font: 600 0.74rem 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.filter:hover,
.filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 3px 12px rgba(124, 106, 255, 0.35);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 250px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.guide-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(124, 106, 255, 0.14);
  color: var(--accent);
  font-size: 1.1rem;
}

.guide-card h2 {
  font: 700 1.05rem 'Syne', sans-serif;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.2px;
}

.guide-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.guide-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.guide-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-empty {
  grid-column: 1 / -1;
  padding: 48px 20px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 14px;
  text-align: center;
  font-size: 0.95rem;
}

/* ─────────────────────────────────────────────────────────────
   CANONICAL SHARED FOOTER (4-COLUMN RESPONSIVE DESIGN)
───────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  padding: 64px max(20px, 6%) 36px;
  background: var(--bg);
  color: var(--text);
  margin-top: 72px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

body.light .site-footer {
  background: #fbfbfd;
  border-color: var(--border);
}

.footer-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.15fr;
  gap: 48px;
  margin-bottom: 48px;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand .footer-logo,
.site-footer .f-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c6aff 0%, #38d9f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  text-decoration: none;
  margin-bottom: 14px;
}

body.light .footer-brand .footer-logo,
body.light .site-footer .f-logo {
  background: linear-gradient(135deg, #5b47e0 0%, #0284c7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  font-size: 0.83rem;
  line-height: 1.68;
  color: var(--muted);
  margin: 0 0 18px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(124, 106, 255, 0.25);
  background: rgba(124, 106, 255, 0.08);
  color: var(--accent);
  letter-spacing: 0.1px;
}

body.light .footer-badge {
  background: rgba(91, 71, 224, 0.08);
  border-color: rgba(91, 71, 224, 0.22);
  color: #5544cb;
}

.footer-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links li a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}

.footer-links li a:hover,
.footer-links li a:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
}

body.light .footer-links li a:hover,
body.light .footer-links li a:focus-visible {
  color: #5544cb;
}

.footer-more-link {
  font-weight: 600 !important;
  color: var(--accent) !important;
}

.footer-security-note {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 229, 160, 0.04);
  border: 1px solid rgba(0, 229, 160, 0.16);
}

.footer-security-note i {
  color: var(--a3);
  margin-top: 2px;
  flex-shrink: 0;
}

body.light .footer-security-note {
  background: rgba(2, 132, 199, 0.05);
  border-color: rgba(2, 132, 199, 0.2);
}

body.light .footer-security-note i {
  color: #0284c7;
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.76rem;
  color: var(--muted);
}

.footer-bottom-copy a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom-copy a:hover {
  text-decoration: underline;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.73rem;
  color: var(--muted);
  opacity: 0.9;
}

.f-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
  opacity: 0.5;
}

.f-by,
.f-bottom,
.f-copy {
  display: none;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }
  .site-footer {
    padding: 44px 20px 32px;
    margin-top: 48px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom-meta {
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE & ACCESSIBILITY BREAKPOINTS
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 16px;
  }
  .nav-current-tool {
    display: none;
  }
  .guide-shell {
    width: calc(100% - 32px);
    padding: 24px 0 60px;
  }
  .guide-quick-nav {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .walk-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .walk-lightbox-body {
    flex-direction: column;
    gap: 10px;
  }
  .walk-lightbox-nav {
    position: absolute;
    top: 35%;
    z-index: 3;
    width: 38px;
    height: 38px;
    background: rgba(15, 15, 26, 0.9);
  }
  .walk-lightbox-nav.prev { left: 4px; }
  .walk-lightbox-nav.next { right: 4px; }
  .walk-lightbox-img {
    max-height: calc(55vh - 70px);
  }
  .walk-lightbox-info-grid {
    grid-template-columns: 1fr;
  }
  .walk-lightbox-footer {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-nav {
    height: 56px;
  }
  .logo {
    font-size: 1.15rem;
  }
  .logo-mark {
    width: 24px;
    height: 24px;
  }
  .nav-badge,
  .nav-sub-link span {
    display: none;
  }
  .global-theme-toggle .t-label {
    display: none;
  }
  .guide-title {
    font-size: 1.8rem;
  }
  .detail-actions {
    flex-direction: column;
  }
  .detail-actions .guide-btn {
    width: 100%;
    justify-content: center;
  }
  .guide-section {
    padding: 18px 14px;
  }
  .walk-card {
    padding: 14px 12px;
  }
  .f-bottom {
    flex-direction: column;
    gap: 4px;
  }
  .f-dot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
