/* coachconnect.fit: shared styles for the marketing pages ("warm coach" redesign, Nov 2026).
   Tokens come from the app (coachconnect lib/core/theme). Section layouts are inline in each page. */
:root {
  --ground: #FAFAF8; --surface: #FFFFFF;
  --ink: #141A33; --ink-2: #3D4254; --ink-muted: #6B7083; --ink-hint: #8A8F9E; --ink-faint: #B8BCC8;
  --navy: #122169; --navy-deep: #0A0F25; --navy-tint: #E3EAF7; --on-navy-muted: #D7E4F1; --on-navy-faint: #B9CDE4;
  --success: #6F9A6E; --success-tint: #E6EFE4; --success-text: #4F7A4E;
  --gold: #B8860B; --gold-tint: #FBF0C9; --gold-text: #8A6508;
  --warm-tint: #F7EFE2; --sand: #E9E4DA; --fill: #F3F0EA;
  --line: #E6E3DC; --line-soft: #F1EDE5; --line-input: #DDD8CE;
  --shadow-card: 0 2px 14px rgba(18,33,105,.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); font-family: 'Host Grotesk', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); }
input, textarea, button { font-family: inherit; }
img { max-width: 100%; }
::selection { background: var(--navy-tint); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: relative; left: 0; right: 0; top: 0; z-index: 30; background: rgba(250,250,248,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: background .25s, border-color .25s; }
.site-header.is-fixed { position: fixed; }
.site-header__bar { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { display: flex; align-items: center; position: relative; flex-shrink: 0; }
.site-header__logo img { height: 30px; width: auto; display: block; }
.site-header__logo .logo-light { display: none; }
.site-header__dot { position: absolute; left: 12.3%; top: 20%; width: 5px; height: 5px; border-radius: 50%; animation: cc-dot 1.1s ease-out .4s 1; }
@keyframes cc-dot { 0% { box-shadow: 0 0 0 0 rgba(46,111,255,.55); } 100% { box-shadow: 0 0 0 14px rgba(46,111,255,0); } }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--navy); }
.site-header__cta { height: 44px; padding: 0 22px; border-radius: 999px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; flex-shrink: 0; transition: background .15s, opacity .15s; }
.site-header__cta:hover { color: #fff; opacity: .9; }
.site-header__mobile { display: none; align-items: center; gap: 10px; }
.site-header__mobile .site-header__cta { height: 40px; padding: 0 16px; font-size: 14px; }
.site-header__burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(18,33,105,.08); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.site-header__burger .icon-close { display: none; }
.site-header.menu-open .site-header__burger .icon-open { display: none; }
.site-header.menu-open .site-header__burger .icon-close { display: block; }
.site-menu { position: absolute; left: 0; right: 0; top: 68px; background: var(--ground); border-radius: 0 0 26px 26px; padding: 10px 20px 28px; box-shadow: 0 24px 40px rgba(0,0,0,.1); flex-direction: column; gap: 4px; display: none; }
.site-header.menu-open .site-menu { display: flex; }
.site-menu > a { font-size: 22px; font-weight: 600; letter-spacing: -.3px; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
.site-menu > a:last-of-type { border-bottom: 0; }
.site-menu__stores { display: flex; gap: 10px; margin-top: 14px; }
.site-menu__stores a { flex: 1; height: 52px; border-radius: 14px; background: var(--navy-deep); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; }
.site-menu__stores a:hover { color: #fff; background: var(--navy); }
/* transparent over the Home hero */
.site-header.is-over { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-over .logo-dark { display: none; }
.site-header.is-over .logo-light { display: block; }
.site-header.is-over .site-nav a { color: var(--on-navy-muted); }
.site-header.is-over .site-nav a:hover, .site-header.is-over .site-nav a[aria-current="page"] { color: #fff; }
.site-header.is-over .site-header__cta { background: #fff; color: var(--navy-deep); }
.site-header.is-over .site-header__burger { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.site-header.is-over :focus-visible { outline-color: #fff; }
@media (max-width: 899px) {
  .site-nav, .site-header__bar > .site-header__cta { display: none; }
  .site-header__mobile { display: flex; }
}
@media (min-width: 900px) { .site-menu { display: none !important; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ground); }
.site-footer__inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px 36px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; align-items: start; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { height: 28px; width: auto; align-self: flex-start; }
.site-footer__brand p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 300px; text-wrap: pretty; }
.site-footer__stores { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer__stores a { height: 48px; padding: 0 16px; border-radius: 12px; background: var(--navy-deep); color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.site-footer__stores a:hover { background: var(--navy); color: #fff; }
.store-label { display: flex; flex-direction: column; line-height: 1.1; }
.store-label small { font-size: 10px; opacity: .8; }
.store-label strong { font-size: 15px; font-weight: 600; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.site-footer__col h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; color: var(--ink-muted); }
.site-footer__col a { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.site-footer__col a:hover { color: var(--navy); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-muted); }

/* ---------- Reveals ---------- */
.js-reveal [data-reveal].is-hidden { opacity: 0; transform: translateY(18px); }
.js-reveal [data-reveal] { transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }

/* ---------- FAQ ---------- */
.faq-q { width: 100%; background: none; border: 0; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; letter-spacing: -.1px; }
.faq-q:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; border-radius: 8px; }
.faq-q svg { flex-shrink: 0; transition: transform .25s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a p { margin: 0; padding: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-sent { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.contact-sent__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--success-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-sent strong { display: block; font-size: 18px; font-weight: 600; }
.contact-sent span { font-size: 14px; color: var(--ink-2); }

/* ---------- Phone mock: rest screen ---------- */
@keyframes cc-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.phone { flex-shrink: 0; }

/* ---------- How it works timeline: one column on phones ---------- */
@media (max-width: 759px) {
  .tl-row { grid-template-columns: minmax(0, 1fr) !important; }
  .tl-row > .tl-rail { display: none !important; }
  .tl-row > .tl-text { grid-area: 1 / 1 !important; text-align: left !important; align-items: flex-start !important; padding-top: 8px !important; padding-bottom: 28px !important; }
  .tl-row > .tl-phone { grid-area: 2 / 1 !important; }
}

/* ---------- Article template (guides, research, legal) ---------- */
.article-head { max-width: 800px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 24px 0; display: flex; flex-direction: column; gap: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--ink-muted); }
.article-tag { background: var(--navy-tint); color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: .4px; }
.article-head h1 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.article-lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.article-byline { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.article-byline img { width: 22px; height: auto; }
.article-hero { max-width: 1000px; margin: clamp(32px, 4vw, 56px) auto 0; padding: 0 24px; }
.article-hero img { width: 100%; height: clamp(240px, 36vw, 480px); object-fit: cover; border-radius: 26px; display: block; }
.prose { max-width: 728px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) 24px 0; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { margin: 2em 0 .6em; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 21px; line-height: 1.25; letter-spacing: -.2px; font-weight: 600; color: var(--ink); }
.prose h4 { margin: 1.4em 0 .4em; font-size: 18px; font-weight: 600; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--on-navy-faint); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--navy); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--navy); font-size: 22px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose img { border-radius: 22px; height: auto; display: block; }
.prose figure { margin: 1.8em 0; background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow-card); }
.prose figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose thead th { text-align: left; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--navy); padding: 10px 12px 10px 0; vertical-align: bottom; }
.prose td, .prose tbody th { border-bottom: 1px solid var(--line); padding: 12px 12px 12px 0; vertical-align: top; text-align: left; }
.prose tbody th { color: var(--ink); font-weight: 600; }
.prose aside, .prose .callout, .prose .note { background: var(--warm-tint); border-radius: 22px; padding: 20px 22px; font-size: 16px; line-height: 1.55; }
.prose .key-takeaways, .prose .takeaways, .prose .summary-box, .prose .tldr { background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow-card); font-size: 16px; line-height: 1.55; }
.prose .key-takeaways h2, .prose .takeaways h2, .prose .summary-box h2, .prose .tldr h2 { margin-top: 0; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--navy); }
.prose details { background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-card); margin: .8em 0; }
.prose summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.article-cta { max-width: 728px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 24px; }
.article-cta__card { background: var(--navy); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.article-cta__card h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -.025em; font-weight: 600; }
.article-cta__card p { margin: 0; color: var(--on-navy-muted); font-size: 16px; line-height: 1.5; max-width: 52ch; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.store-buttons a { height: 52px; padding: 0 18px; border-radius: 14px; background: #fff; color: var(--navy-deep); display: inline-flex; align-items: center; gap: 10px; }
.store-buttons a:hover { background: var(--navy-tint); color: var(--navy-deep); }
.store-buttons .store-label small { opacity: .7; }
.related { max-width: 1200px; margin: clamp(64px, 8vw, 104px) auto 0; padding: 0 24px clamp(72px, 9vw, 120px); }
.related h2 { margin: 0 0 24px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.025em; font-weight: 600; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.related__card { background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform .2s; }
.related__card:hover { color: var(--ink); transform: translateY(-2px); }
.related__card span { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; color: var(--navy); }
.related__card strong { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.2px; }
.related__card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal].is-hidden { opacity: 1; transform: none; }
}

/* ---------- Hover and focus states from the design (generated class names) ---------- */
.xebfc2f:hover { background: rgb(227, 234, 247) !important; }
.x6dedf6:focus-visible { outline: rgb(255, 255, 255) solid 2px !important; outline-offset: 3px !important; }
.x1d1198:focus-visible { outline: rgb(18, 33, 105) solid 2px !important; outline-offset: -2px !important; border-radius: 8px !important; }
.x4f986e:hover { border-color: rgb(18, 33, 105) !important; }
.x2df664:focus { outline: none !important; border-color: rgb(18, 33, 105) !important; box-shadow: rgb(227, 234, 247) 0px 0px 0px 3px !important; }
.xd0f91c:hover { background: rgb(10, 15, 37) !important; }
.xec65ac:focus-visible { outline: rgb(18, 33, 105) solid 2px !important; outline-offset: 3px !important; }
.x29f19e:hover { background: rgb(18, 33, 105) !important; }
.x71313b:hover { color: rgb(18, 33, 105) !important; }
.x0086f8:hover { color: rgb(20, 26, 51) !important; }
.xefd1a1:hover { opacity: 0.9 !important; }
.xf8ecf3:focus-visible { outline: rgb(18, 33, 105) solid 2px !important; outline-offset: 2px !important; }
.x56f742:hover { transform: translateY(-2px) !important; }
.x7fc50b:hover { transform: translateY(-3px) !important; }

/* Footer partner logos */
.site-footer__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--ink); }
.site-footer__partners > span:first-child { color: var(--ink-muted); }
.site-footer__partners .partner { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__partners .partner img { height: 18px; width: auto; display: block; }
.site-footer__partners .partner b { font-weight: 600; }
.site-footer__partners .partner small { font-size: 13px; color: var(--ink-muted); }
