/* generated by scripts/build_guides.py — styles for /guides/ */

/* breadcrumbs ----------------------------------------------------------- */
.crumbs {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
  padding-top: 22px;
}
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { color: var(--ink-faint); margin: 0 2px; }

/* guide hero ------------------------------------------------------------ */
.guide-hero { padding: clamp(30px, 5vw, 56px) 0 clamp(36px, 5vw, 60px); }
.guide-hero .hero-grid { align-items: start; }
.guide-hero h1 {
  font-size: clamp(34px, 5vw, 58px); font-weight: 700;
  line-height: 1.02; letter-spacing: -0.03em; margin: 16px 0 12px;
}
.guide-hero .locale {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 18px;
}
.guide-hero .lead { font-size: 16.5px; color: var(--ink-muted); max-width: 560px; }
.provenance {
  margin-top: 20px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em;
  color: var(--ink-faint);
}
.provenance a { color: var(--red); text-decoration: underline; text-decoration-color: var(--red-line); }
.map-fine {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-top: 12px; text-align: center;
}

/* quick facts — the answer block ---------------------------------------- */
.qf {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin-bottom: 46px;
}
.qf h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 6px; }
.qf .qf-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px;
}
.qf ul { list-style: none; columns: 2; column-gap: 40px; }
.qf li {
  padding: 8px 0; color: var(--ink-muted); font-size: 15px;
  break-inside: avoid; display: flex; gap: 11px; align-items: flex-start;
  border-bottom: 1px solid var(--line-soft);
}
.qf li::before {
  content: ""; flex: none; margin-top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}
@media (max-width: 720px) { .qf ul { columns: 1; } .qf { padding: 22px 20px; } }

/* corner chips ----------------------------------------------------------- */
.corner-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.corner-chips .chip {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.corner-chips .chip:hover { border-color: var(--red-line); color: var(--red); }
.corner-chips .chip.locked { color: var(--ink-faint); border-style: dashed; }

/* corner sections --------------------------------------------------------- */
.corner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin-bottom: 22px;
  scroll-margin-top: 90px;
}
.corner-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.corner-head h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; letter-spacing: -0.015em; }
.corner-tags { display: inline-flex; gap: 7px; }
.corner-tags span {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-muted);
}
.corner-note { font-size: 14px; color: var(--ink-faint); font-style: italic; margin-bottom: 14px; }

.table-scroll { overflow-x: auto; margin: 16px 0 18px; }
.corner-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.corner-table th {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint);
  text-align: left; padding: 0 18px 9px 0; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.corner-table td {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding: 12px 18px 4px 0; white-space: nowrap; vertical-align: top;
}
.corner-table td .alt { display: block; font-size: 11px; color: var(--ink-faint); font-weight: 400; }
.table-note {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--ink-faint); margin: -6px 0 18px;
}
.table-note a { color: var(--red); text-decoration: underline; text-decoration-color: var(--red-line); }
.corner-prose p { color: var(--ink-muted); font-size: 15.5px; }
.corner-prose p + p { margin-top: 12px; }

/* locked corner ----------------------------------------------------------- */
.locked-prose { position: relative; border-radius: var(--radius); overflow: hidden; }
.locked-prose .blurred {
  filter: blur(7px); opacity: 0.55;
  user-select: none; -webkit-user-select: none; pointer-events: none;
  color: var(--ink-muted); font-size: 15.5px;
}
.lock-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 18px;
  background: linear-gradient(180deg, rgba(23,26,31,0.15), rgba(23,26,31,0.72));
}
.lock-overlay .lock-ic { color: var(--amber); }
.lock-overlay .lock-msg { font-size: 14.5px; font-weight: 600; color: var(--ink); max-width: 420px; }
.lock-overlay .btn-ghost { padding: 10px 18px; font-size: 13.5px; background: var(--bg); }

/* pro CTA banner ----------------------------------------------------------- */
.pro-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  background: linear-gradient(140deg, rgba(250,59,51,0.10), var(--surface) 55%);
  border: 1px solid var(--red-line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  margin: 40px 0;
}
.pro-cta h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; letter-spacing: -0.015em; margin: 10px 0 8px; }
.pro-cta p { color: var(--ink-muted); font-size: 14.5px; max-width: 540px; }
.pro-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pro-cta .store-note {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* lab link ------------------------------------------------------------------ */
.lab-link {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 20px 26px; margin: 8px 0 40px;
  color: var(--ink-muted); font-size: 15px;
}
.lab-link a { color: var(--red); font-weight: 600; }
.lab-link a:hover { text-decoration: underline; text-decoration-color: var(--red-line); }

/* guide library (index) ------------------------------------------------------ */
.guides-intro { padding: clamp(44px, 7vw, 80px) 0 clamp(26px, 4vw, 44px); }
.guides-intro h1 {
  font-size: clamp(38px, 5.6vw, 66px); font-weight: 700;
  line-height: 1.0; letter-spacing: -0.033em; margin: 18px 0 18px;
}
.guides-intro .subhead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-muted); max-width: 640px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .guide-grid { grid-template-columns: 1fr; } }
a.guide-card { display: block; position: relative; }
a.guide-card .g-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.g-badge.free { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(255,199,41,0.35); }
.g-badge.preview { background: var(--surface-2); color: var(--ink-muted); border: 1px solid var(--line); }
.bundle-card {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  background: linear-gradient(140deg, rgba(255,199,41,0.10), var(--surface) 60%);
  border: 1px solid rgba(255,199,41,0.35);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
}
.bundle-card h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; letter-spacing: -0.015em; margin: 10px 0 8px; }
.bundle-card p { color: var(--ink-muted); font-size: 14.5px; max-width: 560px; }
.bundle-card .price-line { font-family: var(--font-mono); font-size: 15px; margin-top: 8px; color: var(--ink); }
.bundle-card .price-line b { color: var(--amber); font-size: 22px; }

/* long-form additions (methodology, bundle) ---------------------------------- */
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
.prose th {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint);
  text-align: left; padding: 0 14px 8px 0; border-bottom: 1px solid var(--line);
}
.prose td {
  font-size: 13.5px; color: var(--ink-muted);
  padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.prose td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose .pass { color: var(--amber); font-family: var(--font-mono); font-size: 12px; }
.prose .fail { color: var(--red); font-family: var(--font-mono); font-size: 12px; }
.prose .wide { max-width: 1080px; }

/* bundle / checkout ----------------------------------------------------------- */
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 34px 0 10px; }
@media (max-width: 720px) { .buy-row { grid-template-columns: 1fr; } }
.buy-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  display: flex; flex-direction: column; position: relative;
}
.buy-card.featured { border-color: var(--amber); background: linear-gradient(160deg, rgba(255,199,41,0.08), var(--surface) 55%); }
.buy-card .badge {
  position: absolute; top: -11px; right: 18px;
  background: var(--amber); color: #171A1F;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px;
}
.buy-card .tier {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-muted);
}
.buy-card .price { font-family: var(--font-mono); font-size: 42px; font-weight: 700; margin: 10px 0 2px; }
.buy-card .price .unit { font-size: 14px; color: var(--ink-muted); font-family: var(--font-display); font-weight: 500; }
.buy-card ul { list-style: none; margin: 16px 0 22px; }
.buy-card li {
  padding: 7px 0; color: var(--ink-muted); font-size: 14.5px;
  display: flex; gap: 11px; align-items: flex-start;
}
.buy-card li::before { content: ""; flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.buy-card .btn-primary { justify-content: center; margin-top: auto; border: 0; cursor: pointer; font-family: var(--font-display); }
.buy-card button:disabled { opacity: 0.55; cursor: wait; }
.pay-msg { font-size: 14px; color: var(--ink-muted); margin-top: 14px; min-height: 20px; }
.pay-msg.err { color: var(--red); }
.waitlist { display: none; margin-top: 16px; }
.waitlist.show { display: block; }
.waitlist p { font-size: 14px; color: var(--ink-muted); margin-bottom: 10px; }
.waitlist form { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1; min-width: 200px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 18px; font-size: 14.5px; font-family: var(--font-display);
}
.waitlist input[type="email"]:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.waitlist button {
  background: var(--amber); color: #171A1F; border: 0; cursor: pointer;
  font-weight: 700; font-size: 14px; font-family: var(--font-display);
  padding: 12px 22px; border-radius: 999px;
}

/* disclaimer band in footer ---------------------------------------------------- */
.disclaimer-band {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 16px 20px; margin-bottom: 28px;
  color: var(--ink-faint); font-size: 12.5px;
}
.disclaimer-band strong { color: var(--ink-muted); }

/* access page -------------------------------------------------------------------- */
.access-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px; margin: 26px 0;
}
.access-box .status { font-family: var(--font-mono); font-size: 14px; }
.access-box .status.ok { color: var(--amber); }
.access-box .status.err { color: var(--red); }
