:root {
  --bg-base: #0b0f14;
  --bg-elevated: #101620;
  --bg-surface: #151e2c;
  --bg-terminal: #070a0f;
  --border-subtle: #1e293b;
  --border-strong: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --mint: #5eead4;
  --mint-dim: rgba(94, 234, 212, 0.13);
  --mint-border: rgba(94, 234, 212, 0.38);
  --sky: #38bdf8;
  --sky-dim: rgba(56, 189, 248, 0.13);
  --amber: #fbbf24;
  --danger: #f87171;
  --success: #34d399;
  --font-sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Hiragino Sans", "Yu Gothic UI", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-lg: 0 22px 50px -12px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(circle at 18% 0%, rgba(94, 234, 212, 0.08), transparent 42%),
    radial-gradient(circle at 85% 8%, rgba(56, 189, 248, 0.08), transparent 40%);
  color: var(--text-primary);
  overflow-x: hidden;
}

a {
  color: var(--mint);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--sky);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--mint);
  color: #061014;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 999;
}

.skip-link:focus {
  top: 12px;
}

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

/* Top Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text-primary);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #132232, #090d14);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--mint-dim);
  color: var(--mint);
  border: 1px solid var(--mint-border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.header-nav a {
  color: var(--text-secondary);
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--mint);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switch a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.lang-switch a:hover {
  color: var(--text-primary);
}

.lang-switch a[aria-current="page"] {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: #051014;
}
/* Hero Section */
.hero {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 22, 32, 0.9);
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mint);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero-gradient {
  background: linear-gradient(95deg, var(--mint) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 58ch;
}

.hero-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.meta-pill strong {
  color: var(--mint);
  font-family: var(--font-mono);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: #041014;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(94, 234, 212, 0.4);
}

.btn-primary:hover {
  color: #041014;
  opacity: 0.94;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

/* Hero Phone Mockup with Scene Animation */
.hero-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: 100%;
  max-width: 356px;
  background: #080c12;
  border-radius: 34px;
  padding: 12px;
  border: 2px solid #293548;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(94, 234, 212, 0.12);
  position: relative;
}

.phone-notch {
  width: 96px;
  height: 18px;
  background: #04070b;
  border-radius: 99px;
  margin: 2px auto 10px;
  border: 1px solid #1e293b;
}

.phone-screen {
  background: var(--bg-terminal);
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  min-height: 410px;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #0d141f;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.usage-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 24, 38, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.usage-meter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mint);
}

.usage-bar-mini {
  width: 44px;
  height: 5px;
  background: #1e293b;
  border-radius: 99px;
  overflow: hidden;
}

.usage-bar-mini span {
  display: block;
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, var(--mint), var(--sky));
}

.phone-scenes {
  position: relative;
  height: 342px;
}

.phone-scene {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.scene-sessions {
  animation: showSessions 9s infinite;
}

.scene-terminal {
  animation: showTerminal 9s infinite;
  background: var(--bg-terminal);
}

@keyframes showSessions {
  0%, 42% { opacity: 1; transform: translateY(0); pointer-events: auto; }
  48%, 92% { opacity: 0; transform: translateY(-6px); pointer-events: none; }
  98%, 100% { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

@keyframes showTerminal {
  0%, 42% { opacity: 0; transform: translateY(6px); pointer-events: none; }
  48%, 92% { opacity: 1; transform: translateY(0); pointer-events: auto; }
  98%, 100% { opacity: 0; transform: translateY(6px); pointer-events: none; }
}

.phone-frame[data-scene="sessions"] .scene-sessions {
  animation: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.phone-frame[data-scene="sessions"] .scene-terminal {
  animation: none;
  opacity: 0;
  pointer-events: none;
}
.phone-frame[data-scene="terminal"] .scene-sessions {
  animation: none;
  opacity: 0;
  pointer-events: none;
}
.phone-frame[data-scene="terminal"] .scene-terminal {
  animation: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.session-card-mock {
  background: #101927;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 9px;
  position: relative;
}

.session-card-mock.active-card {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.25);
}

.tap-indicator {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.28);
  border: 1.5px solid var(--mint);
  animation: tapPulse 2.2s infinite;
}

@keyframes tapPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.22); opacity: 1; }
}

.session-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}

.session-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--mint-dim);
  color: var(--mint);
}

.session-state-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--sky-dim);
  color: var(--sky);
}

.session-preview {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.term-lines {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.term-lines .t-cmd { color: var(--mint); font-weight: 700; }
.term-lines .t-add { color: var(--success); }
.term-lines .t-ask { color: var(--sky); font-weight: 700; }

.choice-sheet-mock {
  background: #101927;
  border: 1px solid var(--mint-border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
}

.choice-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}

.choice-btn-primary {
  background: var(--mint);
  color: #051014;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 6px;
  text-align: center;
}

.choice-btn-sec {
  background: #182334;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid var(--border-strong);
}

.special-key-bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  background: #0f1724;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.special-key-bar span {
  background: #192436;
  padding: 4px 2px;
  border-radius: 4px;
  color: var(--text-primary);
  border-bottom: 2px solid #090d14;
}

.phone-scene-controls {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  background: var(--bg-elevated);
  padding: 4px;
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
}

.scene-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 99px;
  cursor: pointer;
  font-family: var(--font-sans);
}

.scene-btn[aria-pressed="true"] {
  background: var(--bg-surface);
  color: var(--mint);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-sessions { animation: none; opacity: 0; pointer-events: none; }
  .scene-terminal { animation: none; opacity: 1; transform: none; pointer-events: auto; }
  .tap-indicator { animation: none; }
}
/* Main Guide Layout & Sticky / Mobile TOC */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px 0 64px;
  align-items: start;
}

.toc-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.toc-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.toc-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--text-primary);
}

.toc-progress-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--mint-dim);
  color: var(--mint);
}

.toc-toggle-btn {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.toc-progress-bar {
  height: 5px;
  background: #090d14;
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 12px;
}

.toc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  transition: width 0.25s ease;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.toc-panel[data-open="true"] .toc-list {
  display: flex;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  background: #090d14;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0;
}

.toc-check[aria-pressed="true"] {
  background: var(--mint);
  border-color: var(--mint);
  color: #051014;
}

.toc-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.toc-link:hover,
.toc-link.is-active {
  background: var(--bg-surface);
  color: var(--mint);
}

.toc-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Step Cards */
.steps-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  scroll-margin-top: 84px;
  transition: border-color 0.2s ease;
}

.step-card[data-completed="true"] {
  border-color: rgba(94, 234, 212, 0.45);
}

.step-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.step-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--mint-dim), var(--sky-dim));
  color: var(--mint);
  border: 1px solid var(--mint-border);
}

.step-duration {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #0b1018;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.step-done-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0b1018;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
}

.step-done-btn[aria-pressed="true"] {
  background: var(--mint-dim);
  color: var(--mint);
  border-color: var(--mint);
}

.step-card h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.step-card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}
/* Prep Grid & Architecture Flow */
.prep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.prep-item {
  background: #0b1018;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.prep-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.prep-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.myth-box {
  background: linear-gradient(180deg, rgba(21, 30, 44, 0.9), rgba(12, 18, 28, 0.95));
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 16px 0;
}

.myth-q {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.myth-a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.arch-diagram {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 16px 0;
  overflow-x: auto;
}

.arch-nodes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.arch-node {
  background: #101824;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px;
  position: relative;
}

.arch-node-step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--mint);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.arch-node-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.arch-node-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* Code Blocks & Copy Button */
.code-block {
  background: var(--bg-terminal);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  margin: 14px 0;
  overflow: hidden;
}

.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #0e1520;
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}

.code-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.win-dots {
  display: inline-flex;
  gap: 5px;
}

.win-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.win-dots i:nth-child(1) { background: #f87171; }
.win-dots i:nth-child(2) { background: #fbbf24; }
.win-dots i:nth-child(3) { background: #34d399; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-surface);
  color: var(--mint);
  border: 1px solid var(--mint-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  background: var(--mint);
  color: #051014;
}

.copy-btn[data-copied="true"] {
  background: var(--success);
  color: #04130d;
  border-color: var(--success);
}

.code-pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-primary);
}

/* Mockup Windows (macOS Settings, Spotlight, Terminal, Phone) */
.mock-window {
  background: #0c121b;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  margin: 16px 0;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #131c2a;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mock-body {
  padding: 16px;
}

.mac-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #121b28;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 10px;
}

.mac-toggle-on {
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 24px;
  border-radius: 99px;
  background: var(--mint);
  padding: 2px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.mac-toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #061217;
}
.spotlight-mock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #131c2b;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  margin: 6px 0 12px;
}

.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  background: #1b2638;
  border: 1px solid var(--border-strong);
  color: var(--mint);
}

.term-output-mock {
  background: #06090e;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-secondary);
  overflow-x: auto;
}

.term-highlight-box {
  border: 1px dashed var(--mint-border);
  background: rgba(94, 234, 212, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}

.tmux-statusbar-mock {
  display: flex;
  justify-content: space-between;
  background: #10b981;
  color: #03120c;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  margin-top: 8px;
}

.phone-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.phone-mini-card {
  background: #090d14;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
}

.phone-mini-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sky);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.form-row-mock {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  background: #111926;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.78rem;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.form-row-mock span:first-child { color: var(--text-muted); }
.form-row-mock span:last-child { color: var(--mint); font-weight: 700; }

/* Success Check Box & Expandable Stuck Help */
.success-box {
  background: rgba(94, 234, 212, 0.07);
  border: 1px solid var(--mint-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 16px;
}

.success-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--mint);
  margin-bottom: 4px;
}

.success-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.help-details {
  margin-top: 12px;
  background: #0b1018;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.help-details summary {
  padding: 11px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.help-details summary::-webkit-details-marker { display: none; }

.help-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--sky);
}

.help-details[open] summary::after {
  content: "−";
}

.help-body {
  padding: 0 14px 14px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

/* Tips Grid & FAQ Accordion */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.tip-card {
  background: #0b1018;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.tip-card h3 {
  font-size: 0.94rem;
  margin: 0 0 6px;
  color: var(--mint);
}

.tip-card p {
  font-size: 0.84rem;
  margin: 0;
  color: var(--text-secondary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Footer & Privacy Page */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #080b10;
  padding: 36px 0 48px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.privacy-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

.privacy-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

@media (min-width: 920px) {
  .header-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .guide-layout { grid-template-columns: 270px 1fr; gap: 36px; }
  .toc-panel {
    position: sticky;
    top: 84px;
  }
  .toc-toggle-btn { display: none; }
  .toc-list { display: flex !important; }
  .step-card { padding: 28px 30px; }
}

/* 모바일 가로 넘침 방지: 그리드·플렉스 자식이 코드 블록 폭만큼 늘어나지 않게 */
.guide-layout > *, .steps-column, .step-card, .toc-panel, .hero-grid > * { min-width: 0; }
.code-pre, .mock-window pre { max-width: 100%; }
.brand, .brand-badge, .lang-switch a { white-space: nowrap; }
.brand { min-width: 0; }
@media (max-width: 560px) {
  .brand-badge { display: none; }
  .lang-switch a { padding-left: 9px; padding-right: 9px; font-size: 0.8rem; }
}
