/* ==========================================================================
   Flexodus — shared styles
   Direction: "training chart". The app's own anatomy-diagram language —
   cream paper, forest-green ink, yellow highlighter, mono micro-labels,
   hairline rules. Palette and type are taken from the app itself so the
   site and the product read as one thing.

   v2 (Oct 2026): softer surfaces, larger radii and deliberate hover states,
   to match the app's current card style. Palette and type are unchanged.
   ========================================================================== */

:root {
  --ink:        #1E2610;
  --olive:      #4B5D23;
  --olive-deep: #2E3A15;
  --yellow:     #FFDE42;
  --paper:      #F7F6F0;
  --sage:       #EEF2E4;
  --sage-2:     #E4ECD6;
  --butter:     #FBF6D9;
  --rule:       #E2DFD1;
  --muted:      #6F6B5C;
  --white:      #FFFFFF;
  --ok:         #8A9A6E;   /* the app's "trained" green  */
  --warn:       #C9786B;   /* the app's "not yet" red    */

  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --ease: cubic-bezier(.2,.7,.3,1);
  --shadow-sm: 0 1px 2px rgba(30,38,16,.04), 0 4px 14px rgba(30,38,16,.05);
  --shadow-lg: 0 2px 4px rgba(30,38,16,.04), 0 22px 50px rgba(30,38,16,.13);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--yellow); color: var(--olive-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* --- the mono micro-label, lifted straight from the app's UI ------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow--light { color: rgba(255,255,255,.62); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.2; }

p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: #3B4530; max-width: 56ch; }

/* --- buttons ------------------------------------------------------------ */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 15px;
  padding: 15px 28px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
/* a highlight that sweeps across on hover */
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn__arrow { font-style: normal; display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-deep); box-shadow: 0 10px 24px rgba(46,58,21,.28); }
.btn--ghost { border-color: var(--olive); color: var(--olive); }
.btn--ghost:hover { background: var(--olive); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--olive-deep); }
.btn--yellow:hover { background: #ffd400; box-shadow: 0 10px 26px rgba(255,222,66,.32); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* --- scroll progress ---------------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* --- header ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,240,.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled { background: rgba(247,246,240,.9); border-color: var(--rule); box-shadow: 0 6px 24px rgba(30,38,16,.06); }
/* text pages don't load motion.js, so give them the settled header from the start */
html:not(.js) .nav { background: rgba(247,246,240,.94); border-color: var(--rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; transition: padding .3s ease; }
.nav.is-scrolled .nav__in { padding-block: 10px; }
.brand { display: flex; align-items: center; text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.brand__mark { width: auto; height: 30px; flex: none; margin-right: 10px; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand span:first-of-type { color: var(--olive-deep); }
.brand span:last-of-type { color: var(--olive); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) {
  position: relative; font-size: 15px; font-weight: 600; color: var(--olive-deep); text-decoration: none;
}
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__links .btn { padding: 11px 22px; font-size: 14px; }
@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
  .nav__links .btn { padding: 10px 18px; font-size: 13px; }
  .brand { font-size: 19px; }
  .brand__mark { height: 26px; margin-right: 8px; }
}

/* --- hero: the muscle map is the thesis --------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; width: 760px; height: 760px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,222,66,.30), rgba(255,222,66,0) 62%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 8vw, 110px);
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--olive); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 20px; letter-spacing: .04em; }

.chart { position: relative; perspective: 1200px; }
.chart__plate {
  background: var(--white); border-radius: 32px; padding: clamp(18px, 3vw, 34px) clamp(12px, 2vw, 24px);
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease), box-shadow .5s ease;
  transform-style: preserve-3d;
}
.chart__figs { display: flex; align-items: center; justify-content: center; gap: 4%; }
.chart__figs img { height: clamp(280px, 34vw, 440px); width: auto; }
.chart__cap {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-align: center; margin-top: 18px;
}
.tag {
  position: absolute; display: flex; align-items: center; gap: 8px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  background: rgba(255,255,255,.92); color: var(--olive-deep);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 7px 13px; white-space: nowrap;
  box-shadow: 0 10px 26px rgba(30,38,16,.12);
  animation: tagIn .7s var(--ease) both, bob 5s ease-in-out infinite;
}
.tag b { font-family: var(--display); font-size: 11px; letter-spacing: 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(138,154,110,.22); }
.dot--warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(201,120,107,.22); }
.tag--a { top: 20%; left: -6%; animation-delay: .4s, .4s; }
.tag--b { top: 34%; right: -5%; animation-delay: .6s, 1.6s; }
.tag--c { bottom: 24%; right: -2%; animation-delay: .8s, 2.8s; }
@keyframes tagIn { from { opacity: 0; transform: translateY(10px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .chart { order: -1; max-width: 440px; width: 100%; margin-inline: auto; }
  .tag--a { left: -2%; } .tag--b { right: -2%; } .tag--c { right: 0; }
}
@media (max-width: 520px) { .tag { font-size: 9.5px; padding: 5px 10px; } .tag b { font-size: 10px; } }

/* --- section heads ------------------------------------------------------ */
.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
/* yellow highlighter that draws itself in when the heading is revealed */
.hl {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 90%, transparent 90%) no-repeat 0 0 / 0% 100%;
  color: inherit; padding: 0 .06em; transition: background-size 1.1s var(--ease) .35s;
}
.is-in .hl, .hl.is-in { background-size: 100% 100%; }

/* --- pillars ------------------------------------------------------------ */
.pillars { background: var(--olive-deep); color: #fff; }
.pillars__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar {
  position: relative; padding: clamp(30px, 4vw, 48px) clamp(20px, 3vw, 38px);
  border-right: 1px solid rgba(255,255,255,.12); overflow: hidden;
  transition: background .4s ease;
}
.pillar:last-child { border-right: 0; }
.pillar::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.pillar:hover { background: rgba(255,255,255,.04); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__n {
  position: absolute; right: 18px; top: 8px; font-family: var(--display); font-size: 74px; line-height: 1;
  color: rgba(255,255,255,.05); transition: color .4s ease, transform .5s var(--ease);
}
.pillar:hover .pillar__n { color: rgba(255,222,66,.16); transform: translateY(6px); }
.pillar h3 { color: var(--yellow); margin-bottom: 10px; }
.pillar p { color: rgba(255,255,255,.78); font-size: 15.5px; margin: 0; }
@media (max-width: 780px) {
  .pillars__in { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .pillar:last-child { border-bottom: 0; }
}

/* --- trust strip: a slow marquee --------------------------------------- */
.trust { background: var(--sage); border-block: 1px solid var(--rule); overflow: hidden; }
.trust__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__set {
  display: flex; flex: none; align-items: center; gap: 46px; padding: 17px 23px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--olive-deep); white-space: nowrap;
}
.trust__set span { display: inline-flex; align-items: center; gap: 10px; }
.trust__set span::before {
  content: ''; flex: none; width: 7px; height: 7px; border-radius: 2px;
  background: var(--yellow); border: 1.5px solid var(--olive-deep);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; width: auto; justify-content: center; }
  .trust__set { flex-wrap: wrap; justify-content: center; white-space: normal; gap: 10px 30px; }
  .trust__set[aria-hidden] { display: none; }
}

/* --- bento feature grids ------------------------------------------------- */
.bento-sec { padding-block: clamp(64px, 9vw, 120px); }
.bento-sec--sage { background: var(--sage); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--rule); border-radius: 24px;
  padding: 28px 26px; min-height: 200px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.tile::after {   /* soft spotlight that follows the cursor (set by motion.js) */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,222,66,.18), transparent 60%);
  transition: opacity .35s ease;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #CFD8B8; }
.tile:hover::after { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile h3 { font-size: clamp(18px, 1.9vw, 22px); margin-bottom: 10px; }
.tile p { font-size: 15px; color: var(--muted); margin: 0; }
.tile__ix { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--olive); display: block; margin-bottom: 14px; }
.tile--dark { background: linear-gradient(140deg, #5A6E2B, var(--olive-deep) 70%); border-color: transparent; color: #fff; }
.tile--dark p { color: rgba(255,255,255,.78); }
.tile--dark .tile__ix { color: var(--yellow); }
.tile--dark:hover { border-color: transparent; }
.tile--butter { background: var(--butter); border-color: #EFE4AE; }
.tile--butter .tile__ix { color: #8A7A10; }
.bento-sec--sage .tile { border-color: #DCE3CB; }

/* the little UI echoes inside the wide tiles */
.days { display: flex; gap: 8px; margin-top: auto; padding-top: 22px; }
.days span {
  width: 38px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--body); font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  transition: transform .35s var(--ease), background .35s ease;
}
.days .is-done { background: rgba(255,222,66,.22); color: var(--yellow); }
.days .is-today { background: #fff; color: var(--olive-deep); }
.tile:hover .days span { transform: translateY(-3px); }
.tile:hover .days span:nth-child(2) { transition-delay: .03s; }
.tile:hover .days span:nth-child(3) { transition-delay: .06s; }
.tile:hover .days span:nth-child(4) { transition-delay: .09s; }
.tile:hover .days span:nth-child(5) { transition-delay: .12s; }
.tile:hover .days span:nth-child(6) { transition-delay: .15s; }
.tile:hover .days span:nth-child(7) { transition-delay: .18s; }
.ways { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.ways span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.ways span:hover { background: var(--yellow); color: var(--olive-deep); border-color: var(--yellow); }

@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .days span { width: 32px; height: 38px; font-size: 13px; }
}

/* --- everything-else grid ---------------------------------------------- */
.more { padding-block: clamp(64px, 9vw, 120px); }
.more__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--rule); border-radius: 20px; padding: 26px 24px;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.card::before {
  content: ''; position: absolute; left: 24px; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--yellow); transition: width .45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CFD8B8; }
.card:hover::before { width: calc(100% - 48px); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }
.card__ix { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--olive); display: block; margin-bottom: 12px; }

/* --- pricing ------------------------------------------------------------ */
.price { padding-block: clamp(64px, 9vw, 120px); background: var(--white); border-block: 1px solid var(--rule); }
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 26px; padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--hero { background: linear-gradient(160deg, #56692A, var(--olive-deep) 65%); border-color: transparent; color: #fff; position: relative; }
.plan--hero:hover { box-shadow: 0 26px 60px rgba(46,58,21,.35); }
.plan--hero .plan__name { color: var(--yellow); }
.plan--hero .plan__cost small { color: rgba(255,255,255,.6); }
.plan--hero .plan__list li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.14); }
.plan__flag {
  position: absolute; top: -12px; left: 28px; background: var(--yellow); color: var(--olive-deep);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; padding: 5px 12px; border-radius: 999px;
}
.plan__name { font-family: var(--display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--olive); }
.plan__cost { font-family: var(--display); font-size: 38px; margin: 12px 0 4px; letter-spacing: -.02em; }
.plan__cost small { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__year { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 18px; }
.plan--hero .plan__year { color: rgba(255,255,255,.6); }
.plan__list { list-style: none; margin: 0; padding: 0; }
.plan__list li { position: relative; font-size: 14.5px; padding: 10px 0 10px 24px; border-top: 1px solid var(--rule); }
.plan__list li::before {
  content: ''; position: absolute; left: 2px; top: 16px; width: 10px; height: 6px;
  border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg);
}
.plan--hero .plan__list li::before { border-color: var(--yellow); }
.plan__for {
  font-size: 13.5px; line-height: 1.5; color: var(--muted);
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--rule);
}
.plan--hero .plan__for { color: rgba(255,255,255,.66); border-color: rgba(255,255,255,.14); }
.price__note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 28px; line-height: 1.7; max-width: 110ch; }
@media (max-width: 860px) { .price__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* --- faq ---------------------------------------------------------------- */
.faq { padding-block: clamp(64px, 9vw, 120px); }
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--display); font-size: 17px; letter-spacing: -.01em;
  transition: color .25s ease, padding-left .3s var(--ease);
}
.faq summary:hover { color: var(--olive); padding-left: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  display: grid; place-items: center; border-radius: 50%;
  font-family: var(--mono); font-size: 18px; color: var(--olive); background: var(--sage);
  transition: transform .35s var(--ease), background .25s ease, color .25s ease;
}
.faq summary:hover::after { background: var(--yellow); color: var(--olive-deep); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq details p { color: var(--muted); font-size: 15.5px; padding-right: 40px; margin-bottom: 22px; }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } }

/* --- closing cta -------------------------------------------------------- */
.close {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: var(--olive-deep); padding-block: clamp(72px, 10vw, 130px);
}
.close__glow {
  position: absolute; width: 900px; height: 900px; left: 50%; top: 40%; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,222,66,.16), rgba(255,222,66,0) 60%); pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { scale: 1; opacity: .8; } 50% { scale: 1.12; opacity: 1; } }
.close .wrap { position: relative; }
.close h2 { max-width: 18ch; margin-inline: auto; color: #fff; font-size: clamp(34px, 5.4vw, 64px); }
.close p { max-width: 50ch; margin: 22px auto 34px; color: rgba(255,255,255,.75); }
.close__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- footer ------------------------------------------------------------- */
.foot { background: #252F11; color: rgba(255,255,255,.72); padding-block: 56px 40px; font-size: 14.5px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 16px; font-weight: 400; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 10px; }
.foot a { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: var(--yellow); }
.foot__brand { display: flex; align-items: center; font-family: var(--display); font-size: 22px; color: #fff; margin-bottom: 14px; }
.foot__mark { width: auto; height: 32px; flex: none; margin-right: 10px; }
.foot__brand em { font-style: normal; color: var(--yellow); }
.foot__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   Legal / text pages
   ========================================================================== */
.doc { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.doc__head { border-bottom: 2px solid var(--olive-deep); padding-bottom: 26px; margin-bottom: 40px; }
.doc__head h1 { font-size: clamp(32px, 5vw, 52px); }
.doc__meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; margin-top: 14px; }
.doc__body { max-width: 76ch; }
.doc__body h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 44px 0 14px; }
.doc__body h3 { font-size: 17px; margin: 28px 0 10px; }
.doc__body p, .doc__body li { color: #33402A; font-size: 16.5px; }
.doc__body ul, .doc__body ol { padding-left: 22px; margin-bottom: 1.2em; }
.doc__body li { margin-bottom: 9px; }
.doc__body table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.doc__body th, .doc__body td { text-align: left; padding: 12px 14px; border: 1px solid var(--rule); vertical-align: top; }
.doc__body th { background: var(--sage); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }
.doc__toc { background: var(--white); border: 1px solid var(--rule); border-radius: 18px; padding: 24px 26px; margin-bottom: 40px; }
.doc__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.doc__toc li { margin-bottom: 7px; font-size: 15px; }
@media (max-width: 620px) {
  .doc__toc ol { columns: 1; }
  .doc__body table { display: block; overflow-x: auto; }
}

.callout { background: var(--butter); border: 1px solid #EBDF9E; border-left: 4px solid var(--yellow); border-radius: 12px; padding: 20px 24px; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--olive-deep); }
.callout--warn { background: #FDF1EC; border-color: #F0CDBC; border-left-color: #C2703D; }

.contact-box { background: var(--sage); border-radius: 18px; padding: 26px 28px; margin: 32px 0; }
.contact-box p:last-child { margin-bottom: 0; }
