/* ============================================================
   Moose — marketing site
   Warm claymorphism: cream canvas, clay/rust accent, peach domes.
   Mirrors the iOS app's design tokens (Theme.swift).
   ============================================================ */

:root {
  --pine:        #C45C38;   /* primary accent — warm clay/rust */
  --pine-deep:   #A24527;
  --peach:       #FFD9B3;
  --peach-soft:  #FFEED9;
  --peach-deep:  #F8B37A;
  --cream:       #FFF8F0;
  --cream-elev:  #FFFBF6;
  --card:        #FFFFFF;
  --ink:         #221E1A;
  --muted:       #7C7067;
  --subtle:      #A99D93;
  --border:      #EFE7DD;
  --amber:       #F69E42;
  --terracotta:  #E87352;
  --sage-soft:   #F9E4D6;

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-soft: 0 10px 30px rgba(120, 72, 40, 0.10);
  --shadow-med:  0 20px 50px rgba(120, 72, 40, 0.16);
  --shadow-lift: 0 30px 70px rgba(120, 72, 40, 0.20);

  --maxw: 1140px;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --focus: 0 0 0 3px #FFF8F0, 0 0 0 6px rgba(196,92,56,0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* ambient warm orbs behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45vw 45vw at 82% -6%, rgba(248, 179, 122, 0.42), transparent 60%),
    radial-gradient(40vw 40vw at -8% 12%, rgba(255, 222, 190, 0.55), transparent 60%),
    radial-gradient(50vw 50vw at 50% 108%, rgba(249, 228, 214, 0.6), transparent 60%),
    var(--cream);
}

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--pine-deep); }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow.accent { color: var(--pine); }
.accent { color: var(--pine); }
.muted { color: var(--muted); }

h1, h2, h3, h4, h5 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-family: var(--display); }
.display, .h1, .article-hero h1, .hub-head h1, .legal h1 { font-family: var(--display); font-optical-sizing: auto; }

.display { font-size: clamp(38px, 6vw, 64px); font-weight: 900; letter-spacing: -0.03em; }
.h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: -0.025em; }
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: min(44ch, 100%); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }

.app-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px 12px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.app-store:hover { color: #fff; transform: translateY(1px) scale(0.985); box-shadow: 0 6px 16px rgba(120,72,40,0.14); }
.app-store:active { transform: translateY(2px) scale(0.97); }
.app-store svg { width: 26px; height: 26px; }
.app-store .small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1; }
.app-store .big { display: block; font-size: 19px; font-weight: 800; line-height: 1.15; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 16px;
  font-weight: 800;
  color: var(--pine);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s;
}
.btn-ghost:hover { transform: translateY(1px) scale(0.985); background: #fff; }
.btn-ghost:active { transform: translateY(2px) scale(0.97); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 248, 240, 0.72);
  border-bottom: 1px solid rgba(239, 231, 221, 0.8);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.topbar nav { display: flex; align-items: center; gap: 26px; }
.topbar nav a { font-weight: 700; color: var(--ink); font-size: 15px; }
.topbar nav a:hover { color: var(--pine); }
.topbar nav a.cta {
  background: var(--pine); color: #fff; padding: 9px 18px; border-radius: 12px;
  box-shadow: 0 8px 20px rgba(196,92,56,0.3);
}
.topbar nav a.cta:hover { background: var(--pine-deep); color: #fff; }
.nav-links { display: flex; align-items: center; gap: 26px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin: 0; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--subtle); font-weight: 600; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  backdrop-filter: blur(6px);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pine); }

/* ---------- Phone mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; max-width: 100%; }
.phone {
  position: relative;
  width: 300px; max-width: 84vw;
  aspect-ratio: 300 / 610;
  background: #fff;
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--border);
}
.phone::after { /* notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #fff; border-radius: 0 0 16px 16px; z-index: 3;
  border: 1px solid var(--border); border-top: none;
}
.screen {
  position: relative; height: 100%; width: 100%;
  border-radius: 36px; overflow: hidden;
  background: var(--cream);
  display: flex; flex-direction: column;
}
.screen-dome {
  background: linear-gradient(180deg, var(--peach), var(--peach-soft) 70%, var(--cream));
  padding: 44px 20px 22px; text-align: center;
}
.screen-dome .mini-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pine); }
.ring {
  width: 132px; height: 132px; margin: 8px auto 6px; border-radius: 50%;
  background:
    radial-gradient(closest-side, #fff 78%, transparent 79% 100%),
    conic-gradient(var(--pine) 0 62%, rgba(196,92,56,0.16) 62% 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.ring .moose-in-ring { position: absolute; width: 74px; height: 74px; top: 12px; }
.ring .pct { position: absolute; bottom: 12px; font-weight: 900; font-size: 20px; color: var(--ink); }
.screen-dome .status { font-weight: 800; font-size: 14px; color: var(--ink); margin-top: 2px; }
.screen-dome .sub { font-size: 11px; color: var(--muted); }

.screen-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 12px 13px; box-shadow: 0 6px 16px rgba(120,72,40,0.06);
}
.mock-card .mc-title { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 9px; }
.mile { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.mile .m-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; }
.mile .m-dot.done { background: var(--pine); color: #fff; }
.mile .m-dot.now { background: var(--amber); color: #fff; box-shadow: 0 0 0 4px rgba(246,158,66,0.2); }
.mile .m-dot.next { background: var(--sage-soft); color: var(--subtle); border: 1px dashed var(--peach-deep); }
.mile .m-label { font-size: 13px; font-weight: 700; }
.mile .m-when { margin-left: auto; font-size: 11px; color: var(--subtle); font-weight: 700; }
.mile .m-label.dim { color: var(--subtle); font-weight: 700; }

.mock-stat { display: flex; align-items: center; gap: 10px; }
.mock-stat .val { font-size: 22px; font-weight: 900; color: var(--pine); }
.mock-stat .lbl { font-size: 11px; color: var(--muted); font-weight: 700; }

/* floating clay accents around phone */
.float {
  position: absolute; width: 92px; height: 92px; filter: drop-shadow(0 14px 22px rgba(120,72,40,0.22));
  animation: floaty 6s ease-in-out infinite;
}
.float.a { top: -6%; left: -4%; width: 104px; animation-delay: 0s; }
.float.b { bottom: 6%; right: -6%; width: 96px; animation-delay: 1.4s; }
.float.c { top: 40%; right: -12%; width: 78px; animation-delay: .7s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ---------- Trust strip ---------- */
.trust { padding: 8px 0 4px; }
.trust-inner {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  padding: 20px 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.6); border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; flex: 1 1 130px; }
.stat .n { font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--pine); line-height: 1; }
.stat .t { font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.muted-bg { background: linear-gradient(180deg, transparent, rgba(249,228,214,0.5) 20% 80%, transparent); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head em { font-style: italic; color: var(--pine); }

/* Features */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.feature:hover { transform: translateY(2px); box-shadow: 0 8px 22px rgba(120,72,40,0.12); }
.feature .clay { width: 76px; height: 76px; margin-bottom: 14px; filter: drop-shadow(0 10px 16px rgba(120,72,40,0.16)); }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,0.7); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 22px;
  backdrop-filter: blur(6px);
}
.step .step-img { width: 66px; height: 66px; flex: none; filter: drop-shadow(0 8px 14px rgba(120,72,40,0.16)); }
.step .label { font-size: 12px; font-weight: 800; color: var(--pine); text-transform: uppercase; letter-spacing: .1em; }
.step h4 { font-size: 19px; font-weight: 800; margin: 3px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Journey roadmap */
.journey { position: relative; }
.road {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  position: relative;
}
.stop {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.stop img { width: 62px; height: 62px; flex: none; filter: drop-shadow(0 8px 14px rgba(120,72,40,0.16)); }
.stop .phase { font-size: 11px; font-weight: 800; color: var(--pine); text-transform: uppercase; letter-spacing: .09em; }
.stop h4 { font-size: 18px; font-weight: 800; margin: 2px 0 4px; }
.stop p { margin: 0; font-size: 14px; color: var(--muted); }
.stop .tag { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--muted); background: var(--sage-soft); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 6px 20px;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 14px 0;
  font-weight: 800; font-size: 16.5px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 700; color: var(--pine); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* Final CTA */
.final-cta { padding: clamp(60px, 9vw, 112px) 0; text-align: center; }
.final-cta .card {
  max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--peach-soft), #fff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-med);
  position: relative; overflow: hidden;
}
.final-cta .cheer { width: 128px; height: 128px; margin: 0 auto 8px; filter: drop-shadow(0 16px 24px rgba(120,72,40,0.2)); }
.final-cta .btn-row { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--border); background: rgba(255,251,246,0.7); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; margin: 12px 0 0; }
.footer-col h5 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.footer-col a:hover { color: var(--pine); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  color: var(--subtle); font-size: 13px; font-weight: 600;
}
.disclaimer { color: var(--subtle); font-size: 12.5px; margin-top: 14px; max-width: 70ch; }

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 88px) 0 64px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; margin-bottom: 10px; }
.legal .updated { color: var(--subtle); font-weight: 700; font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 15.5px; }
.legal ul { padding-left: 1.2em; }
.legal a { font-weight: 700; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 620px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 719px) {
  .nav-links { display: none; }
}

/* The decorative clay floats use negative offsets and are only positioned
   correctly around the phone in the 2-column hero (>=920px). Below that the
   hero is single-column, so hide them to avoid horizontal overflow. */
@media (max-width: 919px) {
  .float { display: none; }
}

/* Small phones: tighten rhythm */
@media (max-width: 680px) {
  .hero-grid { gap: 32px; }
  .phone { width: 280px; }
}

@media (max-width: 400px) {
  .container, .narrow { padding-left: 18px; padding-right: 18px; }
  .btn-row { gap: 10px; }
  .app-store, .btn-ghost { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Guides & Tools — content hub, articles, interactive tools
   ============================================================ */

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--subtle); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pine); }
.crumbs .sep { color: var(--border); }

/* Guides hub header */
.hub-head { padding: clamp(40px, 7vw, 80px) 0 clamp(20px, 3vw, 36px); }
.hub-head h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 14px; }
.hub-head .lede { max-width: 58ch; }

/* Tag / category chips */
.g-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--pine); background: var(--sage-soft);
  padding: 5px 11px; border-radius: 999px;
}
.g-tag.tool { color: #fff; background: var(--pine); }

/* Guide card grid */
.guide-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.guide-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.guide-card:hover { transform: translateY(2px); box-shadow: 0 8px 22px rgba(120,72,40,0.12); }
.guide-card .gc-top { display: flex; align-items: center; gap: 14px; }
.guide-card img { width: 56px; height: 56px; flex: none; filter: drop-shadow(0 8px 14px rgba(120,72,40,0.16)); }
.guide-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.guide-card .gc-more { margin-top: auto; font-weight: 800; color: var(--pine); font-size: 14px; }
.guide-card:hover .gc-more { color: var(--pine-deep); }
.guide-card.featured { background: linear-gradient(180deg, var(--peach-soft), #fff); }

/* Article layout */
.article { padding: clamp(32px, 5vw, 56px) 0 40px; }
.article-hero { max-width: 760px; margin: 0 auto 8px; }
.article-hero h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; letter-spacing: -0.03em; margin: 10px 0 14px; line-height: 1.08; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--subtle); font-size: 13.5px; font-weight: 700; }
.article-meta .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--subtle); }

/* Prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * { max-width: 100%; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -0.02em; margin: 40px 0 12px; scroll-margin-top: 90px; }
.prose h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; margin: 28px 0 8px; scroll-margin-top: 90px; }
.prose p { font-size: 16.5px; color: var(--ink); margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 18px; }
.prose li { font-size: 16.5px; color: var(--ink); margin: 0 0 8px; }
.prose li::marker { color: var(--pine); font-weight: 800; }
.prose a { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(196,92,56,0.35); text-underline-offset: 3px; }
.prose strong { font-weight: 800; }
.prose blockquote {
  margin: 22px 0; padding: 16px 20px;
  border-left: 4px solid var(--pine); border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,0.7); color: var(--ink); font-size: 16px;
}

/* Callout box */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--peach-soft); border: 1px solid var(--peach-deep);
  border-radius: var(--radius-md); padding: 16px 18px; margin: 22px 0;
}
.callout .ic { font-size: 22px; line-height: 1; flex: none; }
.callout p { margin: 0; font-size: 15px; color: var(--ink); }
.callout.note { background: rgba(255,255,255,0.72); border-color: var(--border); }

/* Data table */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
table.data { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; min-width: 460px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { background: var(--peach-soft); font-weight: 800; color: var(--ink); font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
table.data tr:last-child td { border-bottom: none; }
table.data td.num { font-weight: 800; color: var(--pine); font-variant-numeric: tabular-nums; }

/* Table of contents */
.toc { background: rgba(255,255,255,0.65); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; margin: 0 0 30px; }
.toc h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.toc a { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.toc a:hover { color: var(--pine); }

/* Inline app CTA banner inside articles */
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  background: linear-gradient(180deg, var(--peach-soft), #fff);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; margin: 34px 0; box-shadow: var(--shadow-soft);
}
.inline-cta img { width: 68px; height: 68px; flex: none; filter: drop-shadow(0 10px 16px rgba(120,72,40,0.18)); }
.inline-cta .txt { flex: 1 1 240px; }
.inline-cta h4 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.inline-cta p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Related articles */
.related { max-width: 760px; margin: 40px auto 0; }
.related h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.related-card { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; box-shadow: var(--shadow-soft); transition: transform .25s; }
.related-card:hover { transform: translateY(1px); }
.related-card img { width: 40px; height: 40px; flex: none; }
.related-card span { font-weight: 800; color: var(--ink); font-size: 14.5px; }
.related-card small { display: block; color: var(--subtle); font-weight: 700; font-size: 12px; }

/* ---------- Interactive tools ---------- */
.tool {
  max-width: 760px; margin: 6px auto 30px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-med);
}
.tool-legend { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.field .hint { font-weight: 600; font-size: 13px; color: var(--muted); margin: -3px 0 8px; }
.field select, .field input[type="number"], .field input[type="date"] {
  width: 100%; font-family: var(--font); font-size: 16px; font-weight: 700; color: var(--ink);
  background: var(--cream-elev); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 14px; -webkit-appearance: none; appearance: none;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(196,92,56,0.14); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  font-family: var(--font); font-weight: 800; font-size: 14px; cursor: pointer;
  background: var(--cream-elev); border: 1.5px solid var(--border); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; transition: all .2s;
}
.seg button.active { background: var(--pine); color: #fff; border-color: var(--pine); box-shadow: 0 8px 18px rgba(196,92,56,0.28); }
.tool-result {
  margin-top: 6px; text-align: center;
  background: linear-gradient(180deg, var(--peach-soft), #fff);
  border: 1px solid var(--peach-deep); border-radius: var(--radius-lg);
  padding: 26px 20px;
}
.tool-result .score { font-size: clamp(44px, 9vw, 64px); font-weight: 900; color: var(--pine); line-height: 1; font-variant-numeric: tabular-nums; }
.tool-result .score-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.tool-result .verdict { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 14px; max-width: 42ch; margin-inline: auto; }
.breakdown { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 1px dashed var(--border); padding-bottom: 8px; }
.breakdown li span:last-child { color: var(--pine); font-variant-numeric: tabular-nums; }

@media (min-width: 620px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row.two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 920px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-card.span2 { grid-column: span 2; }
}

/* Skip link & mobile nav */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; width: auto; height: auto; z-index: 100;
  background: var(--pine); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 800; font-size: 14px; box-shadow: var(--shadow-med);
}
.desktop-nav { display: none; align-items: center; gap: 26px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 9px 14px; font-weight: 800; font-size: 14px; color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--pine); color: var(--pine); }
.mobile-drawer {
  border-top: 1px solid var(--border); background: rgba(255, 248, 240, 0.96);
  padding: 16px 0 20px;
}
.mobile-drawer[hidden] { display: none; }
.drawer-inner { display: flex; flex-direction: column; gap: 14px; }
.drawer-inner a { font-weight: 700; font-size: 16px; color: var(--ink); }
.drawer-inner a.active { color: var(--pine); }
.drawer-cta { align-self: flex-start; margin-top: 4px; }
@media (min-width: 720px) {
  .desktop-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-drawer { display: none !important; }
}
.topbar nav a.active { color: var(--pine); }

/* Hub filters & source lists */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-filter {
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 800; color: var(--muted); cursor: pointer;
}
.chip-filter.active, .chip-filter[aria-pressed="true"] {
  background: var(--pine); color: #fff; border-color: var(--pine);
}
.source-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.source-list a { font-weight: 700; }

/* Tool extras */
.tool-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.tool-toolbar input[type="search"], .tool-toolbar select {
  flex: 1 1 200px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; font-weight: 600; background: #fff;
}
.tool-toolbar input:focus, .tool-toolbar select:focus {
  outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(196,92,56,0.14);
}
.tool-meta { font-size: 13px; font-weight: 700; color: var(--subtle); margin-bottom: 12px; }
.milestone-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.milestone-list li {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline;
  padding: 12px 14px; background: rgba(255,255,255,0.65); border: 1px solid var(--border); border-radius: 12px;
}
.milestone-list .ml-title { font-weight: 800; color: var(--ink); }
.milestone-list .ml-range { font-weight: 700; color: var(--pine); font-variant-numeric: tabular-nums; }
.improve-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.improve-list li {
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,0.7);
}
.improve-list .il-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; margin-bottom: 6px; }
.improve-list .il-gain { color: var(--pine); font-variant-numeric: tabular-nums; white-space: nowrap; }
.improve-list p { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.share-row button {
  background: var(--sage-soft); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 14px; font-weight: 800; font-size: 13px; cursor: pointer; color: var(--ink);
}
.share-row button:hover { border-color: var(--pine); color: var(--pine); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hub-section { padding-top: 0; }
.hub-guides-label { margin-top: 40px; }


/* ============================================================
   Redesign system — focus, hero shots, journey, live proof
   ============================================================ */

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible,
.chip-filter:focus-visible, .seg button:focus-visible,
.nav-toggle:focus-visible, .app-store:focus-visible, .btn-ghost:focus-visible {
  box-shadow: var(--focus);
}

.seg button[aria-pressed="true"], .seg button.active {
  background: var(--pine); color: #fff; border-color: var(--pine);
  box-shadow: 0 8px 18px rgba(196,92,56,0.28);
}

/* Real screenshot phone */
.phone-shot {
  position: relative;
  width: min(300px, 84vw);
  margin: 0 auto;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #fff, #FFF4E8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
}
.phone-shot::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 22px; background: #1a1714; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-shot img {
  width: 100%; height: auto; border-radius: 28px; display: block;
  background: var(--cream);
}
.hero-shots {
  display: grid; grid-template-columns: 1fr; gap: 16px; align-items: end; justify-items: center;
}
.hero-shots .phone-shot:nth-child(2) { transform: none; }
@media (min-width: 920px) {
  .hero-shots { grid-template-columns: 0.85fr 1fr 0.85fr; gap: 12px; }
  .hero-shots .phone-shot:nth-child(1) { transform: translateY(28px) rotate(-4deg); }
  .hero-shots .phone-shot:nth-child(2) { transform: translateY(0); z-index: 2; }
  .hero-shots .phone-shot:nth-child(3) { transform: translateY(36px) rotate(4deg); }
}

.live-proof {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px;
}
.live-card {
  background: rgba(255,255,255,0.78); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-soft);
}
.live-card .lp-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); }
.live-card .lp-value { font-family: var(--display); font-size: 28px; font-weight: 700; margin: 4px 0 2px; }
.live-card .lp-meta { font-size: 13px; font-weight: 700; color: var(--muted); }
@media (min-width: 720px) {
  .live-proof { grid-template-columns: repeat(3, 1fr); }
}

.pricing-strip {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-soft);
}
.price-card.featured {
  background: linear-gradient(180deg, var(--peach-soft), #fff);
  border-color: var(--peach-deep);
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-card ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--muted); font-weight: 600; }
.price-card li { margin-bottom: 6px; }
@media (min-width: 720px) {
  .pricing-strip { grid-template-columns: 1fr 1fr; }
}

.program-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.program-pills span {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 16px; font-weight: 800; font-size: 14px; color: var(--ink);
  box-shadow: 0 6px 14px rgba(120,72,40,0.06);
}

.journey-rail {
  position: relative; display: grid; gap: 0;
}
.journey-rail::before {
  content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 3px;
  background: linear-gradient(180deg, var(--pine), var(--peach-deep)); border-radius: 99px; opacity: .35;
}
.journey-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  padding: 14px 0;
}
.journey-item .ji-icon {
  width: 64px; height: 64px; border-radius: 20px; background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; box-shadow: var(--shadow-soft); position: relative; z-index: 1;
}
.journey-item .ji-icon img { width: 40px; height: 40px; }
.journey-item h3 { font-size: 20px; margin-bottom: 6px; }
.journey-item p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.journey-item .ji-step { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); margin-bottom: 4px; }

.editorial-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 820px) {
  .editorial-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .editorial-grid .guide-card.featured { grid-row: span 2; min-height: 100%; }
}

.hub-search {
  margin-top: 18px; max-width: 420px;
}
.hub-search input {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--border);
  font: inherit; font-weight: 700; background: #fff;
}
.hub-search input:focus { border-color: var(--pine); box-shadow: 0 0 0 4px rgba(196,92,56,0.14); outline: none; }

.gc-cluster { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }

.trust-banner {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  background: rgba(255,255,255,0.72); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-soft);
}
.trust-banner img { width: 72px; height: 72px; }
.trust-banner h3 { font-size: 22px; margin-bottom: 6px; }
.trust-banner p { margin: 0; color: var(--muted); font-weight: 600; }

.cta-note { font-size: 13.5px; font-weight: 700; color: var(--subtle); margin-top: 12px; }

body.nav-open { overflow: hidden; }
