
	/* ═══════════════════════════════════════════
   ReviewLens — How To page layout
   Two-column: aside (nav) + main (content)
═══════════════════════════════════════════ */

.howto-layout {
  display: flex;
  gap: 0;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
.howto-sidebar {
  width: 250px;
  min-width: 250px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 40px 0 60px;
  border-right: 1px solid rgba(10,10,15,0.09);
  background: #f5f3ee;
  scrollbar-width: thin;
  scrollbar-color: rgba(10,10,15,0.1) transparent;
}

.howto-sidebar::-webkit-scrollbar { width: 3px; }
.howto-sidebar::-webkit-scrollbar-thumb { background: rgba(10,10,15,0.1); border-radius: 2px; }

.sidebar-intro {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(10,10,15,0.09);
  margin-bottom: 20px;
}

.sidebar-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8431a;
  margin-bottom: 4px;
}

.sidebar-heading {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0a0f;
  line-height: 1.3;
}

/* Nav groups */
.nav-group {
  margin-bottom: 6px;
}

.nav-group-label {
  padding: 4px 24px 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,15,0.28);
}

.ht-nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.845rem;
  color: #7a7972;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1.3;
}

.ht-nav-link:hover {
  color: #0a0a0f;
  background: rgba(10,10,15,0.04);
  border-left-color: rgba(10,10,15,0.12);
}

.ht-nav-link.active {
  color: #0a0a0f;
  font-weight: 500;
  border-left-color: #e8431a;
  background: rgba(232,67,26,0.05);
}

.ht-nav-link .nl-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  width: 17px;
  text-align: center;
}

.ht-nav-sub {
  display: block;
  padding: 5px 24px 5px 49px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.79rem;
  color: #7a7972;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.4;
}

.ht-nav-sub:hover { color: #0a0a0f; }
.ht-nav-sub.active { color: #e8431a; font-weight: 500; }

/* ── MAIN CONTENT ── */
.howto-main {
  flex: 1;
  padding: 0px 72px 120px;
  min-width: 0;
  max-width: 820px;
}

/* Page header */
.ht-page-header {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(10,10,15,0.09);
}

.ht-page-tag {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8431a;
  margin-bottom: 14px;
}

.ht-page-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #0a0a0f;
  margin-bottom: 14px;
}

.ht-page-header p {
  font-size: 1rem;
  color: #7a7972;
  max-width: 500px;
  line-height: 1.75;
}

/* ── DOC SECTIONS ── */
.doc-section {
  margin-bottom: 76px;
  scroll-margin-top: 32px;
}

.section-eyebrow {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8431a;
  margin-bottom: 10px;
}

.doc-section > h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: #0a0a0f;
  margin-bottom: 8px;
}

.doc-section > .lead {
  font-size: 0.93rem;
  color: #7a7972;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

/* Sub-sections */
.doc-subsection {
  margin-bottom: 44px;
  scroll-margin-top: 32px;
}

.doc-subsection h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #0a0a0f;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.h3-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── GIF BLOCK ── */
.gif-block {
  margin: 20px 0 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(10,10,15,0.09);
  background: #fff;
  box-shadow: 0 4px 20px rgba(10,10,15,0.07);
}

.gif-bar {
  background: #f0efeb;
  border-bottom: 1px solid rgba(10,10,15,0.08);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gif-dots { display: flex; gap: 5px; }
.gif-dot { width: 9px; height: 9px; border-radius: 50%; }
.gif-dot:nth-child(1) { background: #ff5f57; }
.gif-dot:nth-child(2) { background: #ffbd2e; }
.gif-dot:nth-child(3) { background: #28ca41; }

.gif-bar-label {
  font-size: 0.7rem;
  color: #999;
  margin-left: 4px;
  font-family: 'DM Sans', sans-serif;
}

.gif-body {
  position: relative;
  background: linear-gradient(135deg, #f8f7f3 0%, #eeeae2 100%);
  overflow: hidden;
}

/* real gif just needs: .gif-body img { width:100%; display:block; } */
.gif-body img {
  width: 100%;
  display: block;
}

/* placeholder shown when no gif yet */
.gif-placeholder {
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gif-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: ht-shimmer 2s infinite linear;
}

@keyframes ht-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.gif-placeholder-icon {
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.gif-placeholder-text {
  font-size: 0.78rem;
  color: #7a7972;
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 320px;
  line-height: 1.5;
}

.gif-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10,10,15,0.55);
  color: rgba(255,255,255,0.75);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
}

/* ── STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(10,10,15,0.07);
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #0a0a0f;
  color: #f5f3ee;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.step-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #0a0a0f;
}

.step-body p {
  font-size: 0.865rem;
  color: #7a7972;
  line-height: 1.7;
}

.step-body a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,0.3);
  transition: border-color 0.15s;
}
.step-body a:hover { border-color: #2563eb; }

/* ── CALLOUT ── */
.callout {
  display: flex;
  gap: 13px;
  padding: 14px 18px;
  border-radius: 10px;
  margin: 18px 0;
  font-size: 0.865rem;
  line-height: 1.65;
  font-family: 'DM Sans', sans-serif;
}

.callout.info {
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(37,99,235,0.14);
  color: #1e3a5f;
}

.callout.warn {
  background: rgba(232,67,26,0.07);
  border: 1px solid rgba(232,67,26,0.14);
  color: #7a1a00;
}

.callout.tip {
  background: rgba(22,163,74,0.07);
  border: 1px solid rgba(22,163,74,0.14);
  color: #14532d;
}

.callout-icon { font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }

/* ── FEATURE LIST ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.fitem {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid rgba(10,10,15,0.09);
  border-radius: 10px;
}

.fitem-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.fitem-body strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: #0a0a0f;
  font-family: 'DM Sans', sans-serif;
}

.fitem-body p {
  font-size: 0.825rem;
  color: #7a7972;
  line-height: 1.65;
}

.fitem-body a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,0.3);
}
.fitem-body a:hover { border-color: #2563eb; }

/* ── KEY ACTIVATION VISUAL ── */
.key-visual {
  background: #fff;
  border: 1px solid rgba(10,10,15,0.09);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.key-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.key-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #7a7972;
  width: 96px;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}

.key-input-mock {
  flex: 1;
  background: #f0efeb;
  border: 1px solid rgba(10,10,15,0.09);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-family: 'Fira Code', 'Consolas', monospace;
  color: #0a0a0f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.key-input-mock .ki-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

.key-status {
  font-size: 0.82rem;
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
}

.key-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

/* ── CODE BLOCK ── */
.code-wrap {
  background: #0f1117;
  border-radius: 12px;
  overflow: hidden;
  margin: 18px 0 26px;
  box-shadow: 0 4px 24px rgba(10,10,15,0.14);
}

.code-bar {
  background: #1a1d27;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.code-lang {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: 'DM Sans', sans-serif;
}

.code-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.18s;
}
.code-copy:hover { color: rgba(255,255,255,0.7); }

.code-wrap pre {
  padding: 20px 22px;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.8;
  color: #e2e8f0;
  font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
}

/* syntax tokens */
.t-key  { color: #7dd3fc; }
.t-str  { color: #86efac; }
.t-num  { color: #fbbf24; }
.t-bool { color: #f472b6; }
.t-null { color: #94a3b8; }
.t-cmt  { color: #475569; font-style: italic; }

/* ── INLINE CODE ── */
.howto-main code,
.howto-sidebar code {
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.82em;
  background: rgba(10,10,15,0.07);
  padding: 2px 6px;
  border-radius: 4px;
  color: #e8431a;
}

/* ── DIVIDER ── */
.doc-divider {
  border: none;
  border-top: 1px solid rgba(10,10,15,0.08);
  margin: 64px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .howto-sidebar { display: none; }
  .howto-main { padding: 36px 24px 80px; }
}
section{
  padding: 0;
}