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

:root {
  --bg: #181613;
  --card: #232018;
  --card2: #2A2620;
  --accent: #E8846A;
  --accent-hover: #D4755C;
  --text: #F0EDE8;
  --text2: #C4BFB9;
  --text3: #7A746E;
  --border: #302C28;
  --yellow: #F5C842;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== FOUNDER NOTE ===== */
.founder-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--border);
  flex: 1;
}
.founder-avatars {
  display: flex;
  gap: -6px;
  flex-shrink: 0;
}
.founder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  margin-right: -8px;
}
.founder-text {
  flex: 1;
}
.founder-names {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.founder-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

/* ===== AUDIENCE TAG ===== */
.audience-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
}

/* ===== AUDIENCE LINK ===== */
.audience-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.audience-link:hover {
  border-bottom-color: var(--accent);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 22, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.logo span { color: var(--yellow); }
.btn-header {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-header:hover { background: var(--accent-hover); }

/* ===== GALLERY ===== */
.gallery-section {
  overflow: hidden;
  padding: 32px 0 0;
  position: relative;
}
.gallery-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll-gallery 75s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes scroll-gallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gallery-item {
  width: 260px;
  height: 174px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  background: var(--card);
}
.gallery-item:hover { transform: scale(1.03); opacity: 0.9; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text3);
  text-align: center;
  padding: 12px;
}
.gallery-placeholder-1 { background: linear-gradient(135deg, #2a2620 0%, #3a3020 100%); }
.gallery-placeholder-2 { background: linear-gradient(135deg, #201e2a 0%, #2a2035 100%); }
.gallery-placeholder-3 { background: linear-gradient(135deg, #1e2a20 0%, #203530 100%); }
.gallery-placeholder-4 { background: linear-gradient(135deg, #2a201e 0%, #352020 100%); }
.gallery-placeholder-5 { background: linear-gradient(135deg, #2a2820 0%, #35300e 100%); }
.gallery-placeholder-icon {
  font-size: 28px;
  opacity: 0.5;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 95vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.15s ease;
  transform-origin: center center;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { opacity: 1; }

/* ===== LIGHTBOX ZOOM CONTROLS ===== */
.lightbox-zoom {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1001;
}
.lightbox-zoom button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
  padding-bottom: 2px;
}
.lightbox-zoom button:hover { background: rgba(255,255,255,0.15); }

/* ===== HERO ===== */
.hero {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.hero-inner {
  display: flex;
  align-items: stretch;
  gap: 36px;
}
.hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero-meta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badge strong { color: var(--accent); }

/* ===== HERO VIDEO ===== */
.hero-video-wrap {
  flex-shrink: 0;
  width: 45%;
  position: relative;
}
.hero-video-embed {
  width: 100%;
  position: relative;
  padding-top: 75%;
  border-radius: 14px;
  overflow: hidden;
  background: #0e0c0a;
  border: 2px solid var(--accent);
  animation: video-glow 2.8s ease-in-out infinite;
}
@keyframes video-glow {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(232, 93, 47, 0.25); }
  50%       { box-shadow: 0 0 22px 6px rgba(232, 93, 47, 0.55); }
}
.hero-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1a1612 25%, #2a2218 50%, #1a1612 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  z-index: 2;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 760px) {
  .hero-inner {
    flex-direction: column;
  }
  .hero-video-wrap {
    width: 100%;
  }
}

/* ===== LAYOUT ===== */
.page-layout {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 20px;
  display: block;
}
@media (min-width: 1200px) {
  .page-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
  }
}

/* ===== TOC SIDEBAR ===== */
.toc-sidebar {
  display: none;
}
@media (min-width: 1200px) {
  .toc-sidebar {
    display: block;
    position: sticky;
    top: 80px;
    align-self: start;
    background: #1E1B17;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
  .toc-sidebar::-webkit-scrollbar { width: 4px; }
  .toc-sidebar::-webkit-scrollbar-track { background: transparent; }
  .toc-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
}
.toc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.toc-list { list-style: none; }
.toc-list a {
  display: block;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s;
  line-height: 1.4;
}
.toc-list a:hover { color: var(--text); background: var(--card2); }
.toc-list a.active { color: var(--text); background: var(--card2); border-left-color: var(--accent); }
.toc-list .toc-sub a { padding-left: 20px; font-size: 13px; }

/* ===== TOC ACCORDION (mobile) ===== */
.toc-accordion {
  display: block;
  margin-bottom: 24px;
  position: sticky;
  top: 60px;
  z-index: 50;
  background: var(--bg);
  padding: 8px 0 0;
}
@media (min-width: 1200px) { .toc-accordion { display: none; } }
.toc-accordion-btn {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.toc-accordion-btn:hover { background: var(--card2); }
.toc-accordion-arrow {
  font-size: 12px;
  transition: transform 0.3s;
  color: var(--text2);
}
.toc-accordion.open .toc-accordion-arrow { transform: rotate(180deg); }
.toc-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.toc-accordion.open .toc-accordion-body { max-height: 600px; }
.toc-accordion-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 8px 12px 12px;
}
.toc-accordion-inner .toc-list a { font-size: 14px; }

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 720px;
  padding-bottom: 40px;
}

.main-content h2 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  margin: 48px 0 16px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.main-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  line-height: 1.4;
}
.main-content p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ===== STEPS LIST ===== */
.steps-list {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0;
}
.steps-list li {
  counter-increment: steps;
  padding: 4px 0 4px 28px;
  position: relative;
  line-height: 1.65;
  color: var(--text);
}
.steps-list li::before {
  content: counter(steps) '.';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}

/* ===== AUDIENCE LIST ===== */
.audience-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 24px 0;
}
.audience-item { display: block; }
.audience-who {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.audience-problem {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}
.audience-solution {
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
}
.audience-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ===== REQUIREMENTS GRID ===== */
.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 600px) { .requirements-grid { grid-template-columns: 1fr; } }
.req-card {
  background: var(--card);
  border-radius: 12px;
  padding: 18px 20px;
}
.req-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.req-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.req-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}
.req-list li strong { color: var(--text); }

/* ===== TIPS LIST ===== */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}
.tip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tip-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.tip-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-top: 0;
  letter-spacing: -0.02em;
}
.tip-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.tip-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.hero-lead {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.65;
  margin: 10px 0 0;
}

/* ===== MINI INSTRUCTION ===== */
.mini-instruction {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 28px;
}
.mini-step {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.55;
}
.mini-step-num {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -0.02em;
  width: 24px;
  text-align: right;
}
.mini-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.mini-link:hover {
  border-bottom-color: var(--accent);
}

/* ===== PROMPT BLOCKS ===== */
.prompt-block {
  background: var(--card);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  margin: 28px 0;
}
.prompt-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.prompt-text-wrap {
  background: #181410;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.copy-btn {
  display: block;
  margin-left: auto;
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.copy-btn:hover { background: var(--accent); color: #fff; }
.copy-btn.copied { color: #5EC785; border-color: #5EC785; background: transparent; }
.prompt-when {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.6;
}
.prompt-text {
  font-family: inherit;
  font-size: 14px;
  color: #C8C4BE;
  line-height: 1.65;
  flex: 1;
}
.prompt-result {
  margin: 12px 0 14px;
  cursor: pointer;
  transition: opacity 0.2s;
  border-radius: 10px;
  overflow: hidden;
}
.prompt-result:hover { opacity: 0.92; }
.prompt-result img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.prompt-result-placeholder {
  background: linear-gradient(135deg, var(--card2) 0%, #1e1a16 100%);
  border: 1px dashed var(--border);
  border-radius: 10px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  gap: 8px;
}

/* ===== LIFEHACKS ===== */
.lifehacks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}
.lifehack-card {
  background: var(--card2);
  border-radius: 12px;
  padding: 18px 20px 18px 64px;
  position: relative;
}
.lifehack-num {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
}
.lifehack-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}
.lifehack-card p { margin-bottom: 0; font-size: 15px; color: var(--text); }

/* ===== ERRORS LIST ===== */
.errors-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.errors-list li {
  background: var(--card);
  border-radius: 10px;
  padding: 12px 16px 12px 44px;
  position: relative;
  font-size: 15px;
  color: var(--text);
}
.errors-list li::before {
  content: '⚠';
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--accent);
  font-size: 14px;
}
.errors-list li strong { color: var(--text); }

/* ===== CHECKLIST ===== */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  padding: 10px 14px;
  background: var(--card);
  border-radius: 10px;
  transition: background 0.15s;
}
.checklist li:hover { background: var(--card2); }
.check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.15s, border-color 0.15s;
}
.checklist li.checked .check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.check-box svg { display: none; }
.checklist li.checked .check-box svg { display: block; }
.check-label { transition: opacity 0.15s; }
.checklist li.checked .check-label {
  text-decoration: line-through;
  opacity: 0.45;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  background: var(--card);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  margin: 48px 0;
  border: 1px solid var(--border);
}
.cta-block h2 {
  margin: 0 0 10px !important;
}
.cta-subtitle {
  color: var(--text2);
  margin-bottom: 28px !important;
  font-size: 16px;
}
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cta-stats {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text3);
}

/* ===== RELATED LINKS ===== */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--card);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  display: block;
}
.related-card:hover { border-color: var(--accent); background: var(--card2); }
.related-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.related-card-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ===== ABOUT FOUNDERS ===== */
.about-founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.about-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.about-avatar-wrap {
  flex-shrink: 0;
}
.about-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.about-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.about-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.about-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0 0 10px;
}
.about-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.about-link:hover { border-bottom-color: var(--accent); }
@media (max-width: 600px) {
  .about-founders {
    grid-template-columns: 1fr;
  }
}

/* ===== SOURCES ===== */
.sources-list {
  list-style: none;
  counter-reset: sources;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sources-list li {
  counter-increment: sources;
  font-size: 13px;
  color: var(--text3);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.sources-list li::before {
  content: counter(sources) '.';
  position: absolute;
  left: 0;
  color: var(--text3);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111008;
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: var(--text3);
}
.footer-copy a { color: var(--text2); text-decoration: none; }
.footer-copy a:hover { color: var(--accent); }

/* ===== GHOST BUTTON ===== */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--card2); color: var(--text); }

/* ===== HEADER ACTIONS ===== */
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-icon { display: none; }
@media (min-width: 640px) { .btn-icon { display: inline-flex; align-items: center; gap: 5px; } }

/* ===== HERO ACTIONS (mobile only) ===== */
.hero-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
@media (min-width: 640px) { .hero-actions { display: none; } }

/* ===== INLINE HIGHLIGHT ===== */
.highlight { color: var(--accent); font-weight: 600; }

/* ===== PRINT ===== */
@media print {
  .site-header, .gallery-section, .toc-sidebar, .toc-accordion, .cta-block { display: none !important; }
  body { background: #fff; color: #000; }
  .prompt-text { background: #f5f5f5; color: #222; border: 1px solid #ccc; }
  .main-content { max-width: 100%; }
  .prompt-block { border: 1px solid #ddd; break-inside: avoid; }
}

/* ===== GUIDES HUB ===== */
.guides-hub {
  background: #0F0D0A;
  border-top: 1px solid var(--border);
  padding: 64px 20px 72px;
}
.guides-hub-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.guides-hub-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.guides-hub-heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) { .guides-grid { grid-template-columns: repeat(3, 1fr); } }

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  min-height: 130px;
}
.guide-card-available:hover {
  border-color: var(--accent);
  background: var(--card2);
  transform: translateY(-2px);
}
.guide-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text3);
}
.guide-card-available .guide-num-badge {
  background: rgba(232, 132, 106, 0.15);
  border-color: rgba(232, 132, 106, 0.35);
  color: var(--accent);
}
.guide-card-body { flex: 1; }
.guide-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 5px;
}
.guide-card-desc {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.4;
  margin-bottom: 10px;
}
.guide-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.guide-card-soon {
  font-size: 12px;
  color: var(--text3);
}
.guide-card-you {
  font-size: 12px;
  color: var(--text2);
}
.guide-card-locked {
  opacity: 0.4;
  cursor: default;
}
.guide-card-current {
  border-color: rgba(232, 132, 106, 0.4);
  background: rgba(232, 132, 106, 0.04);
  cursor: default;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding-bottom: 18px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
  margin: 0;
}

/* ===== UTILITY ===== */
.text2 { color: var(--text2); }
