/* Creatures, How it works and the FAQ: the pages search engines and assistants
   land on. Built on site.css (doc band, prose, qa); only what they add. */

/* Breadcrumbs ------------------------------------------------------------ */
.crumbs { margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: var(--faint); }
.crumbs a { color: var(--text-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--muted); }
.doc-head .crumbs + .eyebrow { margin-top: 0; }

/* Creature cards ---------------------------------------------------------- */
.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.cx-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
  padding: 14px 10px 16px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.2s, box-shadow 0.2s, transform 0.25s var(--ease);
}
.cx-card::before { content: ''; position: absolute; inset: 8px 18% auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); opacity: 0.55; pointer-events: none; transition: opacity 0.25s; }
.cx-card:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-2px); }
.cx-card:hover::before { opacity: 1; }
.cx-card img { position: relative; width: 100%; max-width: 128px; height: auto; aspect-ratio: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.cx-name { margin-top: 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--text); line-height: 1.25; }
.cx-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.cx-meta i, .cx-odds-card dt i, .odds-table th i, .crt-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.cx-odds { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* /creatures ------------------------------------------------------------- */
.cx-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cx-jump a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; background: rgba(8, 10, 9, 0.5); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.2s; }
.cx-jump a:hover { background: var(--glass-2); }
.cx-jump span { color: var(--muted); font-variant-numeric: tabular-nums; }
.cx-body { position: relative; padding-top: 40px; padding-bottom: 40px; display: grid; gap: 56px; }
.cx-type { scroll-margin-top: 96px; }
.cx-type-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; }
.cx-type-head h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.cx-type-head p { font-size: 15px; color: var(--muted); }
.cx-odds-card { padding: 22px 22px 20px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cx-odds-card h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.cx-odds-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 14px; }
.cx-odds-card dl div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cx-odds-card dt { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); }
.cx-odds-card dd { margin: 0; font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cx-odds-card p { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.cx-odds-card a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
@media (min-width: 700px) { .cx-odds-card dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cx-odds-card dl { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cx-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; } }

/* /creatures/:slug -------------------------------------------------------- */
.crt-band { padding-bottom: 40px; }
.crt-hero { display: grid; gap: 8px; align-items: center; }
.crt-pin { position: relative; width: min(62vw, 280px); margin: 0 auto; }
.crt-pin::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 34%, transparent), transparent); filter: blur(8px); }
.crt-pin img { position: relative; width: 100%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.6)); }
.crt-copy { min-width: 0; }
.crt-copy .eyebrow { margin-top: 6px; }
.crt-copy h1 { margin-top: 8px; }
.crt-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); background: color-mix(in srgb, var(--c) 12%, rgba(8, 10, 9, 0.6)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 38%, transparent); }
.crt-lore { margin-top: 18px; max-width: 34em; }
.crt-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 24px; max-width: 560px; }
.crt-facts div { padding: 12px 0; border-top: 1px solid var(--line-2); }
.crt-facts dt { font-size: 13.5px; color: var(--muted); }
.crt-facts dd { margin: 2px 0 0; font-size: 16px; color: var(--text); line-height: 1.4; }
.crt-cta { margin-top: 28px; }
.crt-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 34em; }
.crt-fabled { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; margin-top: 40px; padding: 18px 22px 18px 14px; border-radius: 24px; background: linear-gradient(120deg, rgba(111, 195, 203, 0.10), rgba(111, 195, 203, 0.02)); box-shadow: inset 0 0 0 1px rgba(111, 195, 203, 0.22); max-width: 860px; }
.crt-fabled img { width: 112px; height: auto; aspect-ratio: 1; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5)); }
.crt-fabled h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.crt-fabled p { margin-top: 6px; font-size: 15.5px; color: var(--text-2); }
.crt-kin { position: relative; padding-top: 64px; padding-bottom: 96px; }
.crt-kin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.crt-kin-head h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.crt-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.crt-pager a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; letter-spacing: -0.01em; transition: background 0.2s; min-width: 0; }
.crt-pager a:hover { background: var(--surface-2); }
.crt-pager a[rel='next'] { justify-content: flex-end; text-align: right; }
.crt-pager span { display: flex; flex-direction: column; min-width: 0; }
.crt-pager small { font-size: 13px; font-weight: 400; color: var(--muted); }
.crt-pager svg { width: 16px; height: 16px; flex: none; color: var(--text-2); }
@media (min-width: 900px) {
  .crt-band { padding-bottom: 64px; }
  .crt-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
  .crt-pin { order: 2; width: 100%; max-width: 500px; }
  .crt-fabled { grid-template-columns: 140px 1fr; padding: 20px 28px 20px 18px; }
  .crt-fabled img { width: 140px; }
}

/* How it works: the odds table ------------------------------------------- */
.odds-table { width: 100%; max-width: 440px; margin-top: 16px; border-collapse: collapse; font-size: 16px; }
.odds-table th, .odds-table td { padding: 11px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.odds-table tr:last-child th, .odds-table tr:last-child td { border-bottom: 1px solid var(--line); }
.odds-table thead th { font-size: 14px; color: var(--muted); border-top: 0; padding-top: 0; }
.odds-table tbody th { display: flex; align-items: center; gap: 10px; color: var(--text); }
.odds-table td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.prose .qa summary span { color: var(--text); }

/* /fun-running-and-walking-app -------------------------------------------- */
.fun .doc-head h1 { max-width: 15ch; }
.fun .doc-intro .cta-row { margin-top: 28px; }
.fun-micro { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.fun-sec { position: relative; padding-top: clamp(56px, 7vw, 96px); }
.fun-h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; color: var(--text); max-width: 22ch; text-wrap: balance; }
.fun-sub { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 40em; text-wrap: pretty; }

.fun-who { display: grid; gap: 12px; margin-top: 28px; }
.fun-who li { padding: 22px 22px 24px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fun-who h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.fun-who p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 700px) { .fun-who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .fun-who { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.fun-rows { display: grid; gap: 56px; margin-top: 44px; }
.fun-row { display: grid; gap: 24px; align-items: center; scroll-margin-top: 96px; }
.fun-phone { width: min(64vw, 260px); margin: 0 auto; aspect-ratio: 640 / 1391; border-radius: 13.6% / 6.3%; padding: 2.4%;
  background: linear-gradient(160deg, #2A2F2C, #111412 40%, #1B1F1D);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.10), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 30px 60px -40px rgba(66, 130, 198, 0.3); }
.fun-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 11.4% / 5.25%; background: #0B0D0C; }
.fun-copy { max-width: 30em; }
.fun-n { font-size: 15px; font-weight: 500; color: var(--moss); font-variant-numeric: tabular-nums; }
.fun-copy h3 { margin-top: 6px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; color: var(--text); }
.fun-why { margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--text); letter-spacing: -0.01em; }
.fun-copy p:last-child { margin-top: 10px; font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
@media (min-width: 900px) {
  .fun-rows { gap: 88px; margin-top: 64px; }
  .fun-row { grid-template-columns: 300px minmax(0, 1fr); gap: 80px; max-width: 980px; margin-inline: auto; }
  .fun-row.flip { grid-template-columns: minmax(0, 1fr) 300px; }
  .fun-row.flip .fun-phone { order: 2; }
  .fun-phone { width: 300px; }
}
.fun-goals { margin: 64px auto 0; max-width: 980px; padding: 20px 24px; border-radius: 20px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); background: linear-gradient(120deg, var(--moss-glow), rgba(66, 130, 198, 0.03)); box-shadow: inset 0 0 0 1px rgba(94, 155, 219, 0.22); }
.fun-goals strong { color: var(--text); font-weight: 600; }

.fun-split { display: grid; gap: 56px; }
@media (min-width: 900px) { .fun-split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.fun-ticks { margin-top: 22px; display: grid; gap: 0; }
.fun-ticks li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); }
.fun-ticks li:last-child { border-bottom: 1px solid var(--line); }
.fun-ticks li::before { content: ''; position: absolute; left: 3px; top: 19px; width: 11px; height: 6px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.fun-not { margin-top: 22px; }
.fun-not div { padding: 13px 0; border-top: 1px solid var(--line); }
.fun-not div:last-child { border-bottom: 1px solid var(--line); }
.fun-not dt { font-size: 16px; font-weight: 600; color: var(--text); }
.fun-not dd { margin: 3px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }

.fun-qa .prose { margin-top: 20px; max-width: 820px; }
.fun-next { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 800px) { .fun-next { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.fun-next a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.2s, box-shadow 0.2s; }
.fun-next a:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.fun-next-h { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--text); }
.fun-next-h svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.fun-next a:hover .fun-next-h svg { transform: translateX(3px); }
.fun-next a > span:last-child { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.fun-contact { margin-top: 20px; padding-bottom: clamp(64px, 8vw, 112px); font-size: 15px; color: var(--muted); }
.fun-contact a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
