/* css/getting-started.css */
/* Nusupa Quick Start Guide — Editorial Visual Reference */

:root {
  --nb-bg: #fafaf7;
  --nb-panel-bg: #f4f3ee;
  --nb-card-border: #e6e4dc;
  --nb-text-main: #1c1b1a;
  --nb-text-muted: #736f69;
  --nb-text-faint: #9c978f;
  --nb-accent-earthen: #a85a44;
  --nb-accent-ochre: #b8860b;
  --nb-accent-olive: #4a5d4e;
  --nb-focus-ring: rgba(168, 90, 68, 0.35);

  --nb-font-editorial: 'Songti SC', 'Source Han Serif SC', 'Noto Serif CJK SC', 'Noto Serif SC', 'SimSun', Georgia, serif;
  --nb-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --nb-font-mono: 'SF Mono', Consolas, Menlo, Monaco, monospace;
}

body.guide-body {
  background-color: var(--nb-bg);
  color: var(--nb-text-main);
  font-family: var(--nb-font-ui);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

/* Header */
.guide-header {
  height: 72px;
  border-bottom: 1px solid var(--nb-card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background-color: var(--nb-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.guide-header-left {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.guide-brand {
  font-family: var(--nb-font-editorial);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--nb-text-main);
  text-decoration: none;
}

.guide-subtrack {
  font-size: 0.875rem;
  color: var(--nb-text-muted);
  font-weight: 400;
}

.guide-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guide-nav-link {
  font-size: 0.9rem;
  color: var(--nb-accent-earthen);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: opacity 0.15s ease;
}

.guide-nav-link:hover {
  opacity: 0.85;
}

/* Language Switcher */
.nb-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nb-text-muted);
  border: 1px solid var(--nb-card-border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  background-color: #ffffff;
}

.nb-lang-btn {
  background: none;
  border: none;
  color: var(--nb-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.15rem 0.3rem;
  border-radius: 2px;
  transition: color 0.15s ease;
}

.nb-lang-btn:hover {
  color: var(--nb-text-main);
}

.nb-lang-btn.active {
  color: var(--nb-text-main);
  font-weight: 700;
}

.nb-lang-sep {
  color: var(--nb-card-border);
  user-select: none;
}

/* Guide Container */
.guide-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2rem 6rem;
}

/* Hero Section */
.guide-hero {
  margin-bottom: 4rem;
  text-align: left;
}

.guide-tag {
  font-family: var(--nb-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--nb-accent-earthen);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.guide-hero-title {
  font-family: var(--nb-font-editorial);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--nb-text-main);
  margin: 0 0 1.25rem 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.guide-hero-subtitle {
  font-size: 1.15rem;
  color: var(--nb-text-muted);
  margin: 0;
  max-width: 760px;
  line-height: 1.7;
}

/* Section Cards */
.guide-sections-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.guide-section-card {
  background-color: #ffffff;
  border: 1px solid var(--nb-card-border);
  border-radius: 8px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease;
}

.guide-section-card:hover {
  border-color: #d8d4c7;
}

.guide-step-tag {
  font-family: var(--nb-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--nb-accent-ochre);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.guide-section-heading {
  font-family: var(--nb-font-editorial);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--nb-text-main);
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.guide-section-body {
  font-size: 1.025rem;
  color: var(--nb-text-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

/* Tips & Callouts */
.guide-tips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.guide-tip-pill {
  font-size: 0.875rem;
  background-color: var(--nb-panel-bg);
  border: 1px solid var(--nb-card-border);
  color: var(--nb-text-main);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Quotes & Examples */
.guide-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.guide-example-item {
  background-color: var(--nb-bg);
  border-left: 2px solid var(--nb-accent-earthen);
  padding: 0.85rem 1.15rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.925rem;
  color: var(--nb-text-main);
  font-style: normal;
  line-height: 1.5;
}

/* Invariant Callout */
.guide-callout {
  background-color: rgba(168, 90, 68, 0.05);
  border: 1px solid rgba(168, 90, 68, 0.2);
  border-radius: 6px;
  padding: 1.15rem 1.35rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--nb-accent-earthen);
  font-weight: 500;
  line-height: 1.5;
}

/* Bullet list */
.guide-bullets {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.guide-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--nb-text-main);
}

.guide-bullets li::before {
  content: "•";
  color: var(--nb-accent-earthen);
  font-size: 1.3rem;
  position: absolute;
  left: 0.25rem;
  top: -0.15rem;
}

/* Core Highlight Quote */
.guide-core-quote {
  font-family: var(--nb-font-editorial);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--nb-text-main);
  border-left: 3px solid var(--nb-accent-olive);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 1.75rem 0 0.5rem 0;
  font-weight: 500;
}

/* CTA Footer Block */
.guide-cta-card {
  background-color: var(--nb-panel-bg);
  border: 1px solid var(--nb-card-border);
  border-radius: 8px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin-top: 4rem;
}

.guide-cta-title {
  font-family: var(--nb-font-editorial);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--nb-text-main);
  margin: 0 0 1rem 0;
}

.guide-cta-subtitle {
  font-size: 1.05rem;
  color: var(--nb-text-muted);
  margin: 0 0 2rem 0;
}

.guide-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--nb-accent-earthen);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.95rem 2.25rem;
  border-radius: 6px;
  transition: opacity 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 14px rgba(168, 90, 68, 0.25);
}

.guide-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.guide-btn-primary:active {
  transform: translateY(1px);
}

/* Responsive */
@media (max-width: 768px) {
  .guide-header {
    padding: 0 1.25rem;
  }
  .guide-container {
    padding: 2rem 1.25rem 4rem;
  }
  .guide-hero-title {
    font-size: 1.85rem;
  }
  .guide-section-card {
    padding: 1.75rem 1.5rem;
  }
  .guide-examples-grid {
    grid-template-columns: 1fr;
  }
  .guide-cta-card {
    padding: 2.5rem 1.5rem;
  }
}
