/* Shared stylesheet for /guides/ — mirrors the tokens and header/footer
   from the root marketing page (index.html) so the section feels native,
   not bolted on. Self-contained on purpose: no bundler, no build step. */

:root {
  --yellow: #f9c154;
  --yellow-deep: #e0a83a;
  --yellow-text: var(--ink);
  --ink: #1a1a1a;
  --cream: #fffdf8;
  --bone: #f3eddf;
  --navy: #1c1d1f;
  --muted: #6b6b6b;
  --hairline: rgba(26, 26, 26, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ---------- HEADER (copied from index.html) ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 10px 10px 22px;
  background: rgba(26, 26, 26, 0.92);
  color: var(--cream);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  flex-shrink: 0;
}
.nav-logo img { display: block; border-radius: 6px; flex-shrink: 0; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 400; opacity: 0.78; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-cta {
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--yellow-deep); }
.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--cream);
  flex-shrink: 0;
}
.nav-menu-btn:hover { background: rgba(255,255,255,0.08); }
.nav-menu-btn svg { width: 22px; height: 22px; display: block; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.mobile-menu-brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}
.mobile-menu-brand img { width: 26px; height: 26px; border-radius: 6px; }
.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  color: var(--cream);
}
.mobile-menu-close svg { width: 22px; height: 22px; display: block; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-link {
  display: block;
  padding: 16px 4px;
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: opacity 0.2s;
}
.mobile-menu-link:hover { opacity: 0.75; }
.mobile-menu-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
.mobile-menu-getapp {
  display: block;
  text-align: center;
  background: var(--yellow);
  color: var(--ink);
  padding: 16px;
  border-radius: 999px;
  font-weight: 600;
}
body.menu-open { overflow: hidden; }

/* ---------- SHARED SECTION / TYPE ---------- */
.section { padding: clamp(64px, 10vw, 120px) 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-narrow { max-width: 720px; margin: 0 auto; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0.55;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-text);
  box-shadow: 0 4px 16px rgba(249, 193, 84, 0.3);
}
.btn-yellow:hover { transform: translateY(-2px); background: var(--yellow-deep); }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.12);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26, 26, 26, 0.2); }

/* ---------- GUIDES INDEX ---------- */
.guides-hero {
  padding: clamp(140px, 20vw, 200px) 24px 40px;
  text-align: center;
}
.guides-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 780px;
  margin: 0 auto;
}
.guides-hero h1 em { font-style: italic; }
.guides-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 20px auto 0;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 24px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.tag-pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tag-pill:hover { border-color: var(--ink); }
.tag-pill[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 20px;
  background: var(--bone);
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26,26,26,0.08); }
.guide-card-tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--yellow-deep);
}
.guide-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.guide-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.guide-card-meta { font-size: 12.5px; color: var(--muted); opacity: 0.8; margin-top: auto; }
.guide-empty { display: none; text-align: center; padding: 60px 24px; color: var(--muted); }
.guide-empty[data-visible="true"] { display: block; }

/* ---------- ARTICLE ---------- */
.article-head {
  padding: clamp(130px, 18vw, 170px) 24px 0;
  max-width: 720px;
  margin: 0 auto;
}
.article-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.article-breadcrumb a:hover { color: var(--ink); }
.article-tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--yellow-deep);
  margin-bottom: 16px;
}
.article-head h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.article-dek {
  font-size: 18px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.6;
}
.article-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 20px;
  font-size: 17px;
  line-height: 1.75;
}
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
}
.article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 22px; }
.article-body li { margin-bottom: 10px; }
.article-note {
  background: var(--bone);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 15px;
  color: var(--ink-soft, #2d2d2d);
  margin: 32px 0;
}
.article-note strong { font-weight: 600; }

.article-cta {
  max-width: 680px;
  margin: 24px auto 0;
  padding: 32px 24px 8px;
}
.article-cta-box {
  background: var(--navy);
  color: var(--cream);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.article-cta-box h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
}
.article-cta-box p { font-size: 14px; color: rgba(255,253,248,0.65); margin-top: 6px; max-width: 360px; }

.related-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 120px;
}
.related-section h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--bone);
  transition: transform 0.2s;
}
.related-card:hover { transform: translateY(-2px); }
.related-card-tag {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--yellow-deep);
  display: block;
  margin-bottom: 8px;
}
.related-card span.title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
}

/* ---------- FOOTER (copied from index.html) ---------- */
footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.55);
  padding: 32px 24px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 253, 248, 0.08);
}
.footer-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav { gap: 12px; padding: 8px 8px 8px 18px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .footer-row { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .guide-grid { grid-template-columns: 1fr; }
  .article-cta-box { flex-direction: column; align-items: flex-start; }
}
