/* B.M.S. Coaching website styles
   Direction C "Approachable" (approved 2026-11-15). Colors and fonts: 01-website/design-decisions.md */

:root {
  --navy: #162539;
  --teal: #006B70;
  --teal-bright: #3FC1C6;
  --tint: #E9F3F3;
  --grey: #F8FAFA;
  --rule: #D5E0E2;
  --helper: #3E4A55;
  --white: #FFFFFF;
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }

.pad { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }

/* ---------- Header ---------- */
.site-header .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--navy); text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.logo span { color: var(--teal); font-weight: 500; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.site-nav a { color: var(--helper); text-decoration: none; font-size: .97rem; }
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.site-nav a.portal { color: var(--teal); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 13px 28px; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #0F1B2A; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--tint); }
.link-arrow { font-weight: 700; color: var(--teal); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding-block: 8px 40px; }
.hero .box { background: var(--tint); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); max-width: 16ch; }
.hero p { color: var(--helper); font-size: 1.12rem; max-width: 48ch; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }

/* ---------- Section basics ---------- */
.section { padding-block: clamp(44px, 7vw, 72px); }
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.section-head p { color: var(--helper); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--teal); }
.eyebrow img { width: 22px; height: 22px; }

/* ---------- Body / Mind / Spirit bands ---------- */
.pillar { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 96px); }
.pillar + .pillar { border-top: 1px solid var(--rule); }
.pillar.mind { background: var(--grey); }
.pillar .art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 4%; pointer-events: none; }
.pillar .art img { height: 100%; max-height: 360px; width: auto; max-width: 60%; opacity: .16; }
.pillar.mind .art { justify-content: center; align-items: flex-end; padding-right: 0; }
.pillar.mind .art img { width: 100%; max-width: none; max-height: none; height: 75%; object-fit: cover; object-position: bottom; opacity: .22; }
.pillar .inner { position: relative; display: flex; flex-direction: column; gap: 10px; }
.pillar h3 { font-size: clamp(1.6rem, 4vw, 2.5rem); max-width: 20ch; }
.pillar p { color: var(--helper); max-width: 44ch; }
.questions { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.questions li { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.85rem); line-height: 1.2; text-wrap: balance; padding-left: 18px; border-left: 3px solid var(--teal); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.answer { padding-block: 40px 56px; border-top: 1px solid var(--rule); }
.answer-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.answer-box h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--grey); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; position: relative; }
.card h3 { font-size: 1.4rem; }
.card .price { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--navy); }
.card .price small { font-size: 1rem; font-weight: 500; color: var(--helper); }
.card .for { font-style: italic; color: var(--helper); }
.card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.card .upgrade { font-size: .92rem; color: var(--helper); border-top: 1px solid var(--rule); padding-top: 12px; margin-top: auto; }
.card.featured { background: var(--tint); border: 2px solid var(--teal); }
.badge { align-self: flex-start; background: var(--teal); color: var(--white); font-family: var(--display); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }

.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 28px; padding: 0; margin: 0; list-style: none; }
.included li { display: flex; gap: 10px; align-items: baseline; }
.included li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--teal); transform: translateY(-1px); }

/* ---------- Prose (About, policies) ---------- */
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 18px; }
.prose h3 { font-size: 1.2rem; margin-top: 10px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose .lead { font-size: 1.15rem; }
.pillars-list { list-style: none; padding: 0 !important; display: grid; gap: 12px !important; }
.pillars-list li { background: var(--grey); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 16px 20px; }
.pillars-list strong { color: var(--teal); font-family: var(--display); }

.policy { background: var(--grey); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: clamp(20px, 4vw, 36px); }
.policy .prose { gap: 12px; font-size: .97rem; }
.policy .prose h3 { font-size: 1.1rem; }
.policy-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: step; background: var(--tint); border-radius: var(--radius-md); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.1rem; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 26px; }
.q { border: 0; margin: 0; padding: 0 0 22px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.q legend, .q > label.qlabel { font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 0; margin-bottom: 4px; }
.q .num { color: var(--teal); margin-right: 8px; }
.q .hint { font-size: .9rem; color: var(--helper); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: .95rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea { font: inherit; color: var(--navy); background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 11px 14px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.options label { display: flex; align-items: center; gap: 8px; background: var(--grey); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.options input { accent-color: var(--teal); width: 18px; height: 18px; margin: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--tint); border-radius: var(--radius-md); padding: 18px; }
.consent input { accent-color: var(--teal); width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.small { font-size: .9rem; color: var(--helper); }
.req { color: var(--teal); }

/* ---------- Closing CTA ---------- */
.closing { padding-block: 24px 64px; }
.closing .box { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.closing h2 { font-size: 1.7rem; }
.closing p { color: #C9D5DD; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); border-top: 1px solid var(--rule); padding-block: 40px; font-size: .93rem; color: var(--helper); }
.site-footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.site-footer a { color: var(--helper); }
.site-footer .logo { font-size: 1.1rem; }
.site-footer .logo img { width: 28px; height: 28px; }
.site-footer .legal { flex-basis: 100%; border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .pillar .art { justify-content: center; padding-right: 0; }
  .pillar .art img { max-width: 100%; opacity: .1; }
  .pillar.mind .art img { opacity: .18; }
}
