@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,700&family=Satoshi:wght@300;400;500;700&display=swap');

:root {
  --bg:          #1a1410;
  --bg-warm:     #211b14;
  --bg-panel:    #2a221a;
  --fg:          #f0ebe3;
  --fg-muted:    #a89880;
  --fg-dim:      #6b5d4f;
  --accent:      #d4714a;
  --accent-light:#e8956d;
  --accent-glow: rgba(212, 113, 74, 0.18);
  --amber:       #c9993a;
  --amber-glow:  rgba(201, 153, 58, 0.15);
  --border:      rgba(240, 235, 227, 0.08);
  --border-warm: rgba(212, 113, 74, 0.22);
  --card-bg:     rgba(255, 255, 255, 0.025);
  --font-display:'Fraunces', Georgia, serif;
  --font-body:   'Satoshi', system-ui, sans-serif;
  --max-w:       1140px;
  --r:           6px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-light);
  font-weight: 400;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(201, 153, 58, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(212, 113, 74, 0.06) 0%, transparent 55%),
    var(--bg);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    170deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,0.012) 80px,
    rgba(255,255,255,0.012) 81px
  );
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(201, 153, 58, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--fg);
}

.hero h1 .scratch {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-light);
  position: relative;
  display: inline-block;
}

.hero h1 .scratch::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  clip-path: polygon(0 40%, 2% 0%, 100% 60%, 98% 100%);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-form {
  display: flex;
  gap: 0;
  max-width: 480px;
}

.hero-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-warm);
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.hero-form input[type="email"]::placeholder { color: var(--fg-dim); }

.hero-form input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(212, 113, 74, 0.06);
}

.hero-form button {
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 0 var(--r) var(--r) 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.hero-form button:hover { background: var(--accent-light); }
.hero-form button:active { transform: scale(0.98); }

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--fg-dim);
}

.form-msg {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.form-msg.success { color: #6bcf8a; }
.form-msg.error   { color: #ff7070; }

.hero-categories {
  max-width: var(--max-w);
  margin: 5rem auto 0;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.hero-cat {
  background: var(--card-bg);
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  transition: background 0.2s;
}

.hero-cat:hover { background: var(--accent-glow); }

.hero-cat-icon { font-size: 1.8rem; line-height: 1; }

.hero-cat-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
}

/* ── CATEGORIES SECTION ── */
.categories {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
}

.categories-inner { max-width: var(--max-w); margin: 0 auto; }

.categories h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.categories-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 4rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.cat-card:hover {
  border-color: var(--border-warm);
  background: var(--bg-warm);
  transform: translateY(-3px);
}

.cat-card:hover::before { opacity: 1; }

.cat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.cat-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.cat-count {
  margin-top: 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ── HOW IT WORKS ── */
.how {
  padding: 7rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 120px,
    rgba(255,255,255,0.008) 120px,
    rgba(255,255,255,0.008) 121px
  );
}

.how-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }

.how h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.how-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 4rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.how-step {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  position: relative;
}

.how-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: rgba(212, 113, 74, 0.12);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: -0.04em;
}

.how-step h3 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.how-step p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── WAITLIST ── */
.waitlist {
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 113, 74, 0.1) 0%, transparent 60%),
    var(--bg);
}

.waitlist-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }

.waitlist h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
}

.waitlist p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.waitlist .hero-form { margin: 0 auto; max-width: 480px; }
.waitlist .hero-note { margin-top: 0.8rem; }

/* ── FOOTER ── */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 0.2rem;
}

.footer-brand span { color: var(--accent); }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-dim);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fg); }

/* ── THANK YOU PAGE ── */
.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 113, 74, 0.08) 0%, transparent 60%),
    var(--bg);
}

.thankyou-inner { text-align: center; max-width: 560px; }

.thankyou-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }

.thankyou h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.thankyou p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  font-weight: 300;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border-warm);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.back-link:hover { border-color: var(--accent); }

/* ── GUIDE NAV ── */
.guide-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 20, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.guide-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
}

.guide-nav-logo span { color: var(--accent); }

.guide-nav-back {
  font-size: 0.85rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.guide-nav-back:hover { color: var(--fg); }

/* ── GUIDE HERO ── */
.guide-hero {
  padding: 4rem 2rem 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 153, 58, 0.06) 0%, transparent 60%),
    var(--bg);
}

.guide-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.guide-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

/* Badges */
.guide-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-badge--category {
  background: var(--accent-glow);
  border: 1px solid var(--border-warm);
  color: var(--accent-light);
}

.guide-badge--difficulty.guide-badge--beginner {
  background: rgba(107, 207, 138, 0.1);
  border: 1px solid rgba(107, 207, 138, 0.25);
  color: #6bcf8a;
}

.guide-badge--difficulty.guide-badge--intermediate {
  background: rgba(201, 153, 58, 0.12);
  border: 1px solid rgba(201, 153, 58, 0.3);
  color: var(--amber);
}

.guide-badge--difficulty.guide-badge--advanced {
  background: rgba(212, 113, 74, 0.12);
  border: 1px solid var(--border-warm);
  color: var(--accent-light);
}

.guide-badge--time {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}

.guide-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.guide-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.guide-hero-img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 0;
  background: var(--bg-panel);
}

.guide-hero-img svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── GUIDE BODY LAYOUT ── */
.guide-body {
  padding: 4rem 2rem 6rem;
}

.guide-body-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── SIDEBAR ── */
.guide-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-sidebar-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.sidebar-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.tools-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tools-list li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.tools-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.supplies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.supplies-table th {
  text-align: left;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--border);
}

.supplies-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  vertical-align: top;
}

.supplies-table tr:last-child td { border-bottom: none; }

.supply-note {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: 0.15rem;
  font-style: italic;
}

.supply-qty {
  white-space: nowrap;
  color: var(--fg);
  font-weight: 500;
  padding-left: 0.75rem;
  min-width: 60px;
}

/* ── STEPS ── */
.steps-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  padding-top: 0.15rem;
  letter-spacing: -0.04em;
}

.step-heading {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.step-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.step-tip {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--amber-glow);
  border: 1px solid rgba(201, 153, 58, 0.2);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-tip-label {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.35rem;
}

/* ── COMMON MISTAKES CALLOUT ── */
.mistakes-callout {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.mistakes-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
}

.mistakes-icon { font-size: 1.2rem; }

.mistakes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mistakes-list li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.65;
}

.mistakes-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.65;
}

/* ── GUIDE CTA ── */
.guide-cta {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guide-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(212, 113, 74, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.guide-cta-inner { position: relative; z-index: 1; }

.guide-cta-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.guide-cta-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 460px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.75;
}

.guide-cta-form {
  margin: 0 auto;
  max-width: 460px;
}

/* ── GUIDES HUB ── */
.guides-hub {
  padding: 5rem 2rem 7rem;
  min-height: 80vh;
}

.guides-hub-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.guides-hub-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.guides-hub-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  font-weight: 300;
  margin-bottom: 3rem;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, background 0.25s;
  position: relative;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.guide-card:hover {
  border-color: var(--border-warm);
  background: var(--bg-warm);
  transform: translateY(-4px);
}

.guide-card:hover::before { opacity: 1; }

.guide-card-icon {
  font-size: 3rem;
  padding: 2rem 2rem 1rem;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.guide-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.guide-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.guide-card-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.guide-card-time { color: var(--fg-dim); }

.guide-card-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.guide-card:hover .guide-card-link { color: var(--accent-light); }

/* ── GUIDES NAV LINKS ── */
.guide-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.guide-nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.guide-nav-link:hover,
.guide-nav-link--active { color: var(--fg); }

.guide-nav-signup {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border-warm);
  padding: 0.45rem 1rem;
  border-radius: var(--r);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.guide-nav-signup:hover {
  background: var(--accent);
  color: #fff;
}

/* ── GUIDES HUB HEADER ── */
.guides-hub-header {
  margin-bottom: 2.5rem;
}

/* ── FILTER BAR ── */
.guides-filter-bar {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 2rem;
  transition: box-shadow 0.25s;
}

/* Sticky state on desktop — adds shadow when scrolled past header */
.guides-filter-bar--stuck {
  position: sticky;
  top: 60px;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-radius: 0 0 10px 10px;
  border-top: none;
}

.guides-filter-bar-inner {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
}

/* Search */
.guides-search-wrap {
  position: relative;
  flex: 0 0 220px;
  align-self: center;
}

.guides-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-dim);
  pointer-events: none;
}

.guides-search {
  width: 100%;
  padding: 0.55rem 0.9rem 0.55rem 2.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.guides-search::placeholder { color: var(--fg-dim); }
.guides-search::-webkit-search-cancel-button { display: none; }

.guides-search:focus {
  border-color: var(--accent);
  background: rgba(212, 113, 74, 0.06);
}

/* Filter groups */
.guides-filter-group {
  flex: 1;
  min-width: 0;
}

.guides-filter-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 0.55rem;
}

.guides-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.guides-pill {
  padding: 0.35rem 0.8rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  line-height: 1;
  white-space: nowrap;
}

.guides-pill:hover {
  border-color: var(--border-warm);
  color: var(--fg);
}

.guides-pill--active {
  background: var(--accent-glow);
  border-color: var(--border-warm);
  color: var(--accent-light);
}

/* Difficulty pill tints */
.guides-pill--beginner.guides-pill--active {
  background: rgba(107, 207, 138, 0.1);
  border-color: rgba(107, 207, 138, 0.35);
  color: #6bcf8a;
}

.guides-pill--intermediate.guides-pill--active {
  background: rgba(201, 153, 58, 0.12);
  border-color: rgba(201, 153, 58, 0.35);
  color: var(--amber);
}

.guides-pill--advanced.guides-pill--active {
  background: rgba(212, 113, 74, 0.12);
  border-color: var(--border-warm);
  color: var(--accent-light);
}

/* Results count */
.guides-count {
  font-size: 0.82rem;
  color: var(--fg-dim);
  margin-bottom: 0.75rem;
  min-height: 1.2em;
  font-weight: 500;
}

/* Placeholder card */
.guide-card--placeholder {
  cursor: default;
  pointer-events: none;
  opacity: 0.55;
}

.guide-card-icon--placeholder {
  font-size: 2rem;
  background: var(--bg-warm);
  color: var(--fg-dim);
}

.guide-badge--coming-soon {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--fg-dim);
}

.guide-card-link--muted { color: var(--fg-dim); }

/* Empty state */
.guides-empty {
  padding: 5rem 2rem;
  text-align: center;
}

.guides-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.guides-empty-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.guides-empty-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

.guides-empty-reset {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-warm);
  border-radius: var(--r);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.guides-empty-reset:hover { background: var(--accent-glow); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-categories { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: 1fr; }

  /* Guide pages */
  .guide-body-inner { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 5rem); }

  .hero-form { flex-direction: column; gap: 0.6rem; }
  .hero-form input[type="email"],
  .hero-form button {
    border-radius: var(--r);
    border-right: 1px solid var(--border-warm);
  }

  .hero-categories { grid-template-columns: repeat(3, 1fr); }

  .categories, .how, .waitlist { padding: 4rem 1.25rem; }
  .categories-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  /* Guide pages */
  .guide-hero { padding: 2.5rem 1.25rem 0; }
  .guide-body { padding: 2.5rem 1.25rem 4rem; }
  .guide-nav-inner { padding: 0.75rem 1.25rem; }
  .step { grid-template-columns: 40px 1fr; gap: 1rem; }
  .guides-hub { padding: 3rem 1.25rem 5rem; }
  .guides-grid { grid-template-columns: 1fr; }
  .guide-cta { padding: 2rem 1.25rem; }

  /* Filter bar — stack on mobile */
  .guides-filter-bar-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .guides-search-wrap { flex: 1 1 100%; }
  .guides-search { width: 100%; }

  .guides-filter-group { flex: 1 1 100%; }

  /* Nav links collapse on mobile */
  .guide-nav-signup { display: none; }
}
