/*
  The Weed Shop - shared component + page-chrome CSS for the Guides hub and guide pages.
  Every rule below is ported verbatim (values unchanged) from index.html, EXCEPT the four
  net-new guide component groups at the bottom (short-answer callout, guide grid, coming-soon
  card, article reading column), which are authored from the locked 01-UI-SPEC using existing
  tokens only. Homepage-only component rules are intentionally omitted; only guide/hub-relevant
  chrome and content components are ported here. Requires tokens.css to be loaded first.
*/

/* Skip link */
.skip{
  position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--bg-deep);
  padding:10px 18px;border-radius:0 0 12px 0;font-weight:600;z-index:300;
}
.skip:focus{left:0}

/* Buttons (pill system) */
.btn{
  display:inline-flex;align-items:center;gap:9px;white-space:nowrap;
  background:var(--gold);color:var(--bg-deep);
  padding:13px 26px;border-radius:999px;text-decoration:none;
  font-family:var(--font-display);font-weight:600;font-size:.95rem;
  border:none;cursor:pointer;
}
.btn:hover{background:#D8BC79}
.btn:active{transform:translateY(1px) scale(.985)}
.btn:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.btn.ghost{
  background:transparent;color:var(--bone);
  border:1.5px solid rgba(240,237,226,.3);
}
.btn.ghost:hover{border-color:var(--gold);color:var(--gold);background:var(--gold-soft)}

/* Notice bar */
.notice-bar{
  background:var(--bg-deep);color:var(--bone-faint);
  font-size:.8rem;text-align:center;padding:9px 16px;
  border-bottom:1px solid var(--line);
}
.notice-bar strong{color:var(--gold);font-weight:600}

/* Nav */
nav{
  position:sticky;top:0;z-index:50;
  background:rgba(11,22,15,.86);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 24px;height:68px;max-width:var(--maxw);margin:0 auto;
}
.logo{
  font-family:var(--font-display);font-weight:700;font-size:1.18rem;
  color:var(--bone);text-decoration:none;display:flex;align-items:center;gap:10px;
}
.logo .icon{width:26px;height:26px;color:var(--gold)}
.nav-links{display:flex;gap:30px;list-style:none;align-items:center}
.nav-links a{text-decoration:none;color:var(--bone-dim);font-size:.94rem;font-weight:500;transition:color .15s}
.nav-links a:hover{color:var(--gold)}
.nav-links .btn{padding:11px 22px;font-size:.9rem}
.hamburger{
  display:none;background:none;border:none;cursor:pointer;padding:10px;
}
.hamburger span{display:block;width:22px;height:2px;background:var(--bone);margin:5px 0;border-radius:2px}

/* Sections + eyebrow */
section{padding:96px 0}
.sec-head{max-width:660px;margin-bottom:52px}
.sec-head h1,.sec-head h2{font-size:clamp(1.7rem,3.2vw,2.4rem);color:var(--bone);margin-bottom:16px}
.sec-head p{color:var(--bone-dim)}
.eyebrow{
  font-family:var(--font-display);font-size:.8rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:14px;display:block;
}

/* Numbered vertical timeline */
.timeline{max-width:760px;display:grid;gap:0}
.t-step{
  display:grid;grid-template-columns:64px 1fr;gap:26px;position:relative;
  padding-bottom:48px;
}
.t-step:last-child{padding-bottom:0}
.t-step::before{
  content:"";position:absolute;left:31px;top:64px;bottom:8px;width:1px;
  background:var(--line);
}
.t-step:last-child::before{display:none}
.t-num{
  width:64px;height:64px;border-radius:50%;
  background:var(--surface);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:1.25rem;color:var(--gold);
}
.t-step h3{font-size:1.22rem;color:var(--bone);margin:14px 0 10px}
.t-step p{color:var(--bone-dim);font-size:.98rem;max-width:56ch}
.t-step .note{
  margin-top:12px;font-size:.86rem;color:var(--gold);font-weight:500;
  display:flex;align-items:center;gap:8px;
}

/* Card base only (bento cell styling; the 12-column grid + span classes stay on the homepage) */
.b-cell{
  border-radius:var(--radius);padding:30px 28px;
  border:1px solid var(--line);background:var(--surface);
}
.b-cell .icon{width:28px;height:28px;color:var(--gold);margin-bottom:16px}
a.b-cell:not(.coming-soon):hover,a.b-cell:not(.coming-soon):focus-visible{border-color:rgba(201,169,97,.4)}
.b-cell h3{font-size:1.08rem;color:var(--bone);margin-bottom:8px}
.b-cell p{font-size:.93rem;color:var(--bone-dim)}

/* Gold-check list */
ul.checks{list-style:none;margin-top:26px;display:grid;gap:14px}
ul.checks li{display:flex;gap:13px;align-items:flex-start;font-size:.97rem;color:var(--bone-dim)}
ul.checks .icon{width:20px;height:20px;color:var(--gold);margin-top:3px}

/* FAQ accordion */
.faq-wrap{max-width:800px}
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-of-type{border-top:1px solid var(--line)}
.faq summary{
  cursor:pointer;padding:24px 8px;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  font-family:var(--font-display);font-weight:600;font-size:1.05rem;color:var(--bone);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary .icon{width:18px;height:18px;color:var(--gold);transition:transform .25s cubic-bezier(.16,1,.3,1)}
.faq details[open] summary .icon{transform:rotate(45deg)}
.faq .a{padding:0 8px 26px;color:var(--bone-dim);font-size:.97rem;max-width:65ch}

/* Legal box */
.legal-box{
  background:var(--surface);border:1px solid rgba(201,169,97,.35);border-radius:var(--radius);
  padding:44px 42px;
}
.legal-box h2{display:flex;align-items:center;gap:13px;font-size:1.4rem;color:var(--bone);margin-bottom:24px}
.legal-box h2 .icon{width:26px;height:26px;color:var(--gold)}
.legal-box ul{list-style:none;display:grid;gap:13px}
.legal-box li{display:flex;gap:12px;align-items:flex-start;font-size:.95rem;color:var(--bone-dim)}
.legal-box li .icon{width:19px;height:19px;color:var(--gold);margin-top:4px}
.legal-box .fine{
  margin-top:26px;padding-top:20px;border-top:1px dashed var(--line);
  font-size:.84rem;color:var(--bone-faint);
}

/* Footer */
footer{background:var(--bg-deep);color:var(--bone-faint);padding:60px 0 34px;font-size:.9rem;border-top:1px solid var(--line)}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:44px;margin-bottom:44px}
footer h4{color:var(--bone);font-family:var(--font-display);font-size:1rem;margin-bottom:14px}
footer ul{list-style:none;display:grid;gap:9px}
footer a{color:var(--bone-faint);text-decoration:none}
footer a:hover{color:var(--gold)}
footer address{font-style:normal;line-height:1.7}
.foot-bottom{
  border-top:1px solid var(--line);padding-top:22px;font-size:.8rem;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
}

/* Age gate (20+) */
.agegate{
  /* No backdrop-filter here: the full-viewport blur cost ~2s of first paint in software rendering (synced from index.html). */
  position:fixed;inset:0;z-index:200;background:rgba(8,17,9,.975);
  display:flex;padding:24px;overflow-y:auto;
}
.agegate[hidden]{display:none}
.agegate .panel{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  max-width:470px;width:100%;padding:46px 40px;text-align:center;margin:auto;
}
@media (max-height:560px){
  .agegate .panel{padding:26px 28px}
  .agegate .panel .icon{width:34px;height:34px;margin-bottom:12px}
  .agegate p{margin-bottom:18px}
}
.agegate .panel .icon{width:46px;height:46px;color:var(--gold);margin:0 auto 20px}
.agegate h2{font-size:1.4rem;color:var(--bone);margin-bottom:12px}
.agegate p{color:var(--bone-dim);font-size:.94rem;margin-bottom:28px}
.agegate .row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* Scroll reveal (motion gated behind prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
  .reveal.in{opacity:1;transform:none}
}

/* Guide/hub-relevant responsive rules (ported from index.html; homepage-only media rules omitted) */
@media (max-width:860px){
  section{padding:64px 0}
  .foot-grid{grid-template-columns:1fr}
}
@media (max-width:767.98px){
  .nav-links{
    display:none;position:absolute;top:100%;left:0;right:0;
    background:var(--bg-deep);flex-direction:column;padding:24px;gap:20px;
    border-bottom:1px solid var(--line);
  }
  .nav-links.open{display:flex}
  .hamburger{display:block}
}
@media (max-width:520px){
  .legal-box{padding:32px 24px}
}

/* ============================================================
   Net-new guide components (authored from 01-UI-SPEC.md locked
   specs, assembled from existing tokens only). This is the shared
   contract that the hub and guide plans 01-02 and 01-03 consume.
   ============================================================ */

/* "The short answer" TL;DR callout (D-05) */
.short-answer{
  background:var(--surface);
  border:1px solid rgba(201,169,97,.35);
  border-radius:var(--radius);
  padding:24px 28px;
}
.short-answer .sa-label{
  display:block;margin-bottom:12px;
  font-family:var(--font-display);font-weight:600;font-size:.85rem;
  text-transform:uppercase;letter-spacing:.1em;color:var(--gold);
}
.short-answer .sa-body{
  font-family:var(--font-body);font-weight:500;font-size:16.5px;
  line-height:1.6;color:var(--bone);
}

/* Hub 2-column guide grid */
.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
@media (max-width:520px){
  .guide-grid{grid-template-columns:1fr}
}

/* Recessed, non-interactive "Coming soon" card (Phase-2 placeholders) */
.b-cell.coming-soon{cursor:default;opacity:.55}
.b-cell.coming-soon .icon{color:var(--bone-faint)}
.cs-badge{
  display:inline-block;margin-bottom:16px;padding:6px 14px;
  border:1px solid var(--line);border-radius:999px;background:transparent;
  font-family:var(--font-display);font-weight:600;font-size:.85rem;
  text-transform:uppercase;letter-spacing:.1em;color:var(--bone-faint);
}

/* Article reading column (guide pages load this; the hub uses the full-width grid instead) */
.article-col{max-width:var(--maxw-read);margin:0 auto}
.article-col h1{font-size:clamp(2rem,3.4vw,2.7rem);font-weight:700;line-height:1.15;letter-spacing:-.015em}
.article-col h2{font-size:clamp(1.5rem,2.6vw,1.9rem);color:var(--bone);margin:48px 0 16px}
.article-col p{color:var(--bone-dim)}
.article-col p + p{margin-top:32px}
.article-col .article-dek{font-size:1.12rem;color:var(--bone-dim);max-width:52ch;margin-top:14px}
.article-col .article-meta{font-size:.84rem;color:var(--bone-faint);margin-top:10px}

/* "More guides" sibling-links foot block (D-08). Net-new in Phase 2:
   every guide foot lists its 3 sibling guides as plain links, bone-dim
   at rest and gold on hover, beside the "Back to guides" ghost button.
   Values mirror existing chrome (foot text size, footer ul rhythm,
   nav-link color transition); existing tokens only. */
.more-guides{font-size:.95rem}
.more-guides .mg-label{display:block;color:var(--bone-faint);margin-bottom:10px}
.more-guides ul{list-style:none;display:grid;gap:9px}
.more-guides a{color:var(--bone-dim);text-decoration:none;transition:color .15s}
.more-guides a:hover{color:var(--gold)}
