/* The BuzzBuzz Trail — shared by /guides and article pages.
   Visual language matches the marketing site: cream ground, honey accent,
   Baloo headings, 2px warm borders, rounded cards. */

:root {
  --bg: #f5efdf;
  --ink: #2d221c;
  --muted: #5a4b41;
  --soft: #7a695f;
  --card: #fffaf1;
  --line: #eadbc7;
  --honey: #efaa08;
  --chip: #a08c75;
  --shadow: 0 14px 32px rgba(65, 45, 10, .1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; }

h1, h2, h3, .brand span, .kicker, .store-badge .badge-large, .bee-says-label, .area-head h2 {
  font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, sans-serif;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff7eb;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 18px rgba(65, 45, 10, .14);
  object-fit: cover;
}
.brand span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1;
}
.brand:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 12px; }

.back-link {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--honey);
  outline: none;
}

.trail-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 24px 12px;
  text-align: center;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 110'><polygon points='50,4 96,28 96,82 50,106 4,82 4,28' fill='none' stroke='%23efaa08' stroke-width='1.6' opacity='0.28'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 110'><polygon points='50,4 96,28 96,82 50,106 4,82 4,28' fill='none' stroke='%23efaa08' stroke-width='1.6' opacity='0.22'/></svg>");
  background-repeat: no-repeat;
  background-position: 4% 18%, 96% 78%;
  background-size: 120px 132px, 78px 86px;
}

.trail-hero .bee-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 0 0 8px var(--bg);
}

.trail-hero h1 {
  font-size: clamp(46px, 8vw, 80px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -2px;
  margin: 0 0 30px;
}

.mark {
  position: relative;
  display: inline-block;
}
.mark img {
  position: absolute;
  left: -8%;
  width: 116%;
  height: auto;
  bottom: -.28em;
  pointer-events: none;
  z-index: 0;
}
.mark span { position: relative; z-index: 1; }

.lede {
  margin: 0 auto 10px;
  max-width: 28em;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.support {
  margin: 0 auto;
  max-width: 36em;
  font-size: 17px;
  color: var(--muted);
  text-wrap: balance;
}

.trail {
  position: relative;
  max-width: 1040px;
  margin: 18px auto 0;
  padding: 8px 0 20px;
}

.trail::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  bottom: 24px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--honey) 0 9px,
    transparent 9px 18px
  );
  z-index: 0;
}

.area { position: relative; }

.area-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 16px 14px 0;
  max-width: 520px;
}

.area-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.area-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--bg);
}

.quests,
.next-stops {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quest-card {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 16px 14px 68px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 28px;
  padding: 22px 22px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(65, 45, 10, .04);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.quest-card:hover,
.quest-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--honey);
  box-shadow: var(--shadow);
  outline: none;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--honey);
  flex-shrink: 0;
}

.quest-card h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.05;
}

.dek {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.meta {
  margin: 0;
  color: var(--chip);
  font-size: 14px;
  font-weight: 600;
}

.trail-end {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 16px 8px 0;
  max-width: 420px;
}
.trail-end p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  text-wrap: balance;
}

.sheet,
.still,
.cta {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.sheet { padding: 28px 0 10px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 14px;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid #d9c9b3;
}
.crumbs a:hover,
.crumbs a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--honey);
  outline: none;
}
.crumbs [aria-current="page"] { color: var(--ink); }

.sheet .kicker { margin-bottom: 12px; font-size: 13px; }

.sheet h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.6px;
  text-wrap: balance;
}

.sheet .dek {
  margin: 0 0 14px;
  font-size: 19px;
  color: var(--muted);
}

.sheet .meta { margin-bottom: 6px; }

.byline {
  margin: 0 0 22px;
  color: var(--chip);
  font-size: 14px;
}

.quick-answer {
  margin: 4px 0 18px;
  background: var(--card);
  border: 2px solid var(--line);
  border-left: 6px solid var(--honey);
  border-radius: 28px;
  padding: 16px 22px 16px 20px;
}
.quick-answer-kicker {
  margin: 0;
  font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.quick-answer-figure {
  margin: 2px 0 8px;
  font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: .95;
}
.quick-answer-note {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 15.5px;
}

.sources {
  margin-top: 36px;
}
.sources h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -.4px;
}
.sources ul {
  margin: 0;
  padding-left: 1.15em;
  font-size: 15px;
}
.sources li { margin: 0 0 6px; }
.sources a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--honey);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero-fig {
  margin: 0 0 22px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.hero-fig img { display: block; width: 100%; height: auto; }

.prose {
  max-width: 66ch;
  font-size: 18.5px;
  line-height: 1.65;
}
.prose h2 {
  margin: 36px 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  text-wrap: balance;
}
.prose p { margin: 0 0 16px; color: var(--muted); }
.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
  color: var(--muted);
}
.prose li { margin: 0 0 8px; }
.prose li:last-child { margin-bottom: 0; }
.prose a,
.prose a:visited {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--honey);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover,
.prose a:focus-visible { text-decoration-color: var(--ink); }

.bee-says {
  margin: 26px 0;
  background: var(--card);
  border: 2px solid var(--line);
  border-left: 6px solid var(--honey);
  border-radius: 22px;
  padding: 16px 18px 4px;
}
.bee-says-label {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
.bee-says p:last-child { margin-bottom: 12px; }

.still {
  padding: 18px 0 8px;
}
.still h2 {
  margin: 8px 0 16px;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.next-stops { position: relative; }
.next-stops::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 18px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--honey) 0 8px,
    transparent 8px 16px
  );
}
.next-stops .quest-card {
  margin: 0 0 12px 28px;
  padding: 18px 18px 16px;
  border-radius: 22px;
}
.next-stops h3 { font-size: 22px; }

.cta {
  text-align: center;
  padding: 36px 0 28px;
}
.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1;
}
.cta p {
  margin: 0 auto 22px;
  max-width: 30em;
  color: var(--muted);
  font-size: 18px;
  text-wrap: balance;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1410;
  color: #fff7eb;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  min-width: 200px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 10px 24px rgba(65, 45, 10, .18);
}
.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(65, 45, 10, .24);
  background: #2d221c;
  outline: none;
}
.store-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-badge .badge-small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .5px;
  opacity: .85;
  text-transform: uppercase;
}
.store-badge .badge-large {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin-top: 1px;
}

.site-footer {
  text-align: center;
  padding: 28px 24px 88px;
  color: var(--soft);
  font-size: 14px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid #d9c9b3;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--honey);
  outline: none;
}
.footer-links .dot { color: #c7b59f; font-weight: 700; }
.ig-link { display: inline-flex; align-items: center; gap: 6px; }
.ig-link svg { width: 16px; height: 16px; }

@media (min-width: 900px) {
  .trail { margin-top: 28px; }
  .trail::before { left: 50%; margin-left: -1px; }

  .area-head,
  .trail-end {
    flex-direction: column;
    text-align: center;
    width: min(320px, 46%);
    max-width: none;
    margin: 34px auto 16px;
    gap: 10px;
  }
  .trail-end {
    width: min(420px, 72%);
    margin-top: 36px;
    margin-bottom: 4px;
  }

  .side-left,
  .side-right { display: flex; }
  .side-left { justify-content: flex-end; padding: 0 calc(50% + 36px) 0 28px; }
  .side-right { justify-content: flex-start; padding: 0 28px 0 calc(50% + 36px); }

  .quests .quest-card {
    width: min(400px, 100%);
    margin: 0 0 18px;
  }

  .side-left .quest-card::after,
  .side-right .quest-card::after {
    content: "";
    position: absolute;
    top: 28px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--honey);
    box-shadow: 0 0 0 5px var(--bg);
  }
  .side-left .quest-card::after { right: -42px; }
  .side-right .quest-card::after { left: -42px; }
}

@media (max-width: 899px) {
  .trail { margin-left: 8px; margin-right: 8px; }
  .top { padding: 18px 16px 0; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .brand span { font-size: 22px; }
  .trail-hero { padding-top: 28px; }
  .store-badge { min-width: 176px; padding: 10px 16px 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quest-card,
  .store-badge { transition: none; }
  .quest-card:hover,
  .quest-card:focus-visible,
  .store-badge:hover,
  .store-badge:focus-visible { transform: none; }
}
