/* Public-site visual system: local, dependency-free, and content-neutral. */
:root {
  --mint: #A9BAC8;
  --mint-light: #E7EBEE;
  --mint-dark: #738A9C;
  --coral: #D69A32;
  --coral-dark: #B97C1C;
  --coral-for-text: #9A6414;
  --white: #FFFCF7;
  --text: #17243A;
  --text-dark: #17243A;
  --text-mid: #4E5B6C;
  --text-light: #748091;
  --card-bg: #E7EBEE;
  --product-img-bg: #ECEFF1;
  --btn-gray: #E7EBEE;
  --border: rgba(23, 36, 58, .14);
  --shadow-light: rgba(23, 36, 58, .06);
  --shadow-md: rgba(23, 36, 58, .12);
  --radius: 12px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --light-gray: #ECEFF1;
  --sage: #A9BAC8;
  --sage-light: #E7EBEE;
  --gold: #D69A32;
  --gold-light: #F5E6C6;
  --forest: #17243A;
  --forest-dark: #101A2B;
  --off-white: #F5F1E9;
}

html { background: #F5F1E9; }
body {
  background: #F5F1E9;
  color: #202124;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -.005em;
}
h1, h2, h3, h4, h5, .btn, .navbar-logo, .footer-brand-logo {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
h1, h2, h3 { color: #17243A; text-wrap: balance; }
p { text-wrap: pretty; }
.container { max-width: 1240px; padding-inline: clamp(20px, 4vw, 44px); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(214,154,50,.52); outline-offset: 4px; }

/* Shared navigation */
.navbar {
  background: rgba(245,241,233,.94);
  border-bottom: 1px solid rgba(23,36,58,.12);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(120%);
}
.navbar-inner { max-width: 1320px; padding: 16px 32px; }
.navbar-logo {
  color: #17243A;
  text-transform: none;
  letter-spacing: -.02em;
  font-size: .98rem;
  font-weight: 750;
}
.navbar-logo img {
  width: 38px; height: 38px;
  border: 2px solid #F5F1E9;
  box-shadow: 0 0 0 1px rgba(23,36,58,.18);
}
@media (min-width:1100px) {
  .navbar-nav { gap: 8px; }
  .navbar-nav a {
    color: #4E5B6C;
    font-size: .79rem;
    letter-spacing: .055em;
    border-radius: 8px;
    padding: 9px 11px;
  }
  .navbar-nav a:hover, .navbar-nav a.active { color: #17243A; background: rgba(169,186,200,.24); }
}
.hamburger span { background: #17243A; }
.mobile-menu { background: #F5F1E9; }
.mobile-menu a { color: #17243A; border-color: rgba(23,36,58,.13); border-radius: 6px; }

/* Shared actions */
.btn {
  min-height: 48px;
  border-radius: 10px;
  letter-spacing: .035em;
  box-shadow: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary, .btn-gold {
  background: #D69A32;
  border-color: #D69A32;
  color: #17243A;
}
.btn-primary:hover, .btn-gold:hover {
  background: #C78A28;
  border-color: #C78A28;
  color: #17243A;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(154,100,20,.18);
}
.btn-secondary, .btn-outline {
  background: transparent;
  border: 1px solid rgba(23,36,58,.42);
  color: #17243A;
}
.btn-secondary:hover, .btn-outline:hover { background: #17243A; border-color: #17243A; color: #FFFCF7; }
.btn:active { transform: translateY(0) scale(.985); }
.navbar-actions .btn { min-height: 42px; padding-inline: 22px; }

/* Shared internal-page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 26%, rgba(169,186,200,.46), transparent 34%),
    #F5F1E9 !important;
  padding: 142px 0 92px;
  text-align: left;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -150px; top: 82px;
  border: 1px solid rgba(23,36,58,.11);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .divider { background: #D69A32 !important; margin: 0 0 22px !important; width: 52px; height: 6px; border-radius: 0; }
.page-hero h1, .page-hero h1[style] {
  max-width: 820px;
  color: #17243A !important;
  font-size: clamp(3rem, 6vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: none;
  margin-bottom: 24px;
}
.page-hero p, .page-hero p[style] {
  max-width: 690px;
  margin: 0 !important;
  color: #4E5B6C !important;
  font-size: 1.05rem;
  line-height: 1.7;
}
.page-hero .btn { background: rgba(255,252,247,.55); }

/* Products: preserve desktop alternation and mobile media-first ordering */
body:has(.product-full-card) > section:nth-of-type(2) { background: #E7EBEE; padding: 76px 0 110px !important; }
.product-full-card {
  grid-template-columns: 1fr 1fr !important;
  margin-bottom: 26px !important;
  background: #FFFCF7 !important;
  border: 1px solid rgba(23,36,58,.14) !important;
  border-radius: 16px 16px 64px 16px !important;
  box-shadow: none !important;
  min-height: 570px;
}
.product-full-card:hover { transform: none; border-color: rgba(23,36,58,.28) !important; }
.product-full-card > div:has(> img) {
  background: #F5F1E9 !important;
  padding: clamp(32px,5vw,64px) !important;
  min-width: 0;
}
.product-full-card > div:has(> img) img {
  width: min(100%, 430px) !important;
  max-width: 100%;
  height: 410px !important;
  max-height: none !important;
  object-fit: contain !important;
  margin-inline: auto;
}
.product-full-card > div:not(:has(> img)) { padding: clamp(34px,4vw,54px) !important; min-width: 0; }
.product-full-card h2[style] {
  color: #17243A !important;
  font-size: clamp(1.7rem,2.4vw,2.35rem) !important;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.product-full-card > div:not(:has(> img)) > div:first-child {
  background: #E7EBEE !important;
  color: #17243A !important;
  border: 1px solid rgba(23,36,58,.12);
  border-radius: 6px !important;
}
.product-full-card div[style*="border-left"] {
  background: #F5F1E9 !important;
  border-left-color: #D69A32 !important;
  border-radius: 7px !important;
}
.product-full-card div[style*="grid-template-columns:1fr 1fr"] > div {
  background: #E7EBEE !important;
  border-radius: 8px !important;
}
.product-full-card div[style*="font-size:1.3rem"] { color: #17243A !important; }
.product-full-card .btn { background: #17243A; border-color: #17243A; color: #FFFCF7; }
body:has(.product-full-card) > section:nth-of-type(2) .container > div:last-child {
  background: #17243A !important;
  border-radius: 16px 16px 64px 16px !important;
  border: 0 !important;
}
body:has(.product-full-card) > section:nth-of-type(2) .container > div:last-child a:first-of-type {
  background: #D69A32 !important; border-color: #D69A32 !important; color: #17243A !important;
}

/* Blog listing */
body:has(.blog-grid) > section:not(.page-hero) { background: #F5F1E9; }
body:has(.blog-grid) > section:nth-of-type(even):not(.page-hero) { background: #E7EBEE; }
body:has(.blog-grid) > section[style*="padding:50px"] { padding: 78px 0 !important; }
body:has(.blog-grid) > section[style*="padding:24px"] { padding: 82px 0 !important; }
.blog-grid { gap: 18px; }
.blog-card {
  min-width: 0;
  background: #FFFCF7;
  border: 1px solid rgba(23,36,58,.12);
  border-radius: 12px 12px 38px 12px;
  box-shadow: none;
  overflow: hidden;
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(23,36,58,.28); }
.blog-card-img { aspect-ratio: 16/10; background: #A9BAC8; }
.blog-card-img img { object-fit: cover; }
.blog-card-body { padding: 24px 22px 28px; }
.blog-card-cat {
  display: inline-flex;
  background: #F5E6C6;
  color: #17243A;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: .7rem;
  letter-spacing: .045em;
}
.blog-card-title { color: #17243A; text-transform: none; letter-spacing: -.025em; font-size: 1.18rem; line-height: 1.28; }
.blog-card-excerpt { color: #4E5B6C; font-size: .9rem; line-height: 1.65; }
.blog-card-meta { color: #748091; }
body:has(.blog-grid) > section[style*="background:linear-gradient"] {
  background: #17243A !important;
  padding: 72px 0 !important;
}
body:has(.blog-grid) > section[style*="background:linear-gradient"] h2,
body:has(.blog-grid) > section[style*="background:linear-gradient"] p { color: #FFFCF7 !important; }

/* Community: retain main/sidebar relationship */
.community-section { background: #E7EBEE; padding: 82px 0 110px; }
.community-grid { grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 22px; align-items: start; }
.community-main, .community-sidebar { gap: 18px; }
.community-card, .sidebar-widget {
  background: #FFFCF7;
  border: 1px solid rgba(23,36,58,.13);
  border-radius: 12px 12px 34px 12px;
  box-shadow: none;
  padding: 24px;
}
.community-card:hover { transform: none; border-color: rgba(23,36,58,.26); }
.community-card-title, .sidebar-widget-title { color: #17243A; letter-spacing: -.015em; }
.community-card div[style*="background:var(--light-gray)"] { background: #F5F1E9 !important; border-radius: 8px !important; }
.community-card div[style*="background:linear-gradient"] { background: #F5F1E9 !important; }
.community-card span[style*="background:"] { background: #F5E6C6 !important; color: #17243A !important; border-radius: 5px !important; }
.community-sidebar .sidebar-widget[style*="background:linear-gradient"] {
  background: #17243A !important;
  border-radius: 12px 12px 44px 12px !important;
}
.contributor-avatar { background: #E7EBEE; color: #17243A; border-radius: 8px; }

/* Coaching: person-first clinical tone, not a product layout */
.coach-hero {
  min-height: 680px;
  padding: 150px 0 100px !important;
  background-position: center !important;
  text-align: left !important;
  position: relative;
  isolation: isolate;
}
.coach-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(245,241,233,.98) 0 45%, rgba(245,241,233,.76) 66%, rgba(245,241,233,.2));
}
.coach-hero .container { max-width: 1240px; }
.coach-hero .hero-badge { background: #F5E6C6 !important; color: #17243A !important; border-radius: 6px !important; }
.coach-hero h1 {
  max-width: 720px;
  color: #17243A !important;
  font-size: clamp(3rem,6vw,5.35rem) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  text-transform: none !important;
}
.coach-hero h1 em { color: #9A6414 !important; }
.coach-hero p { max-width: 650px !important; margin: 0 0 30px !important; color: #334155 !important; }
.coach-pain, .coach-services, .coach-journey, .coach-faq { background: #E7EBEE !important; padding: 96px 0 !important; }
.coach-about, .coach-results, .coach-value { background: #F5F1E9 !important; padding: 96px 0 !important; }
.pain-grid, .results-grid, .service-list, .value-grid { gap: 16px !important; }
.pain-card, .result-card, .service-item, .value-card {
  background: #FFFCF7 !important;
  border: 1px solid rgba(23,36,58,.13) !important;
  border-radius: 12px 12px 34px 12px !important;
  box-shadow: none !important;
}
.pain-card:hover, .result-card:hover, .service-item:hover, .value-card:hover { transform: translateY(-3px); }
.pain-icon, .service-icon, .value-icon { background: #17243A !important; border-radius: 8px !important; }
.pain-icon svg, .service-icon svg, .value-icon svg { stroke: #F5F1E9 !important; }
.about-image img { border-radius: 16px 16px 72px 16px !important; }
.about-badge { background: #FFFCF7 !important; border-left: 5px solid #D69A32; border-radius: 4px 12px 12px 4px !important; }
.result-photo img { object-fit: cover; }
.result-tag { background: #D69A32 !important; color: #17243A !important; border-radius: 5px !important; }
.journey-timeline::before { background: rgba(23,36,58,.2) !important; }
.journey-dot { background: #D69A32 !important; border-color: #E7EBEE !important; }
.journey-card {
  background: #FFFCF7 !important;
  border: 1px solid rgba(23,36,58,.13) !important;
  border-radius: 10px 10px 28px 10px !important;
  box-shadow: none !important;
}
.journey-time { color: #9A6414 !important; }
.coach-faq .faq-list { max-width: 880px; width: 100%; gap: 12px; }
.coach-faq .faq-item {
  width: 100%;
  background: #FFFCF7 !important;
  border: 1px solid rgba(23,36,58,.15) !important;
  border-left: 4px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.coach-faq .faq-item:hover, .coach-faq .faq-item.open { border-left-color: #D69A32 !important; }
.coach-faq .faq-q { min-height: 64px; padding: 18px 20px !important; color: #17243A; }
.coach-faq .faq-a { padding: 0 20px 22px !important; color: #4E5B6C; }
.coach-cta {
  background-position: center !important;
  position: relative;
  isolation: isolate;
}
.coach-cta::before { content:""; position:absolute; inset:0; background:rgba(23,36,58,.84); z-index:-1; }
.coach-cta .btn { background:#D69A32 !important; color:#17243A !important; border-color:#D69A32 !important; }
.coach-cta .btn-outline { background:transparent !important; color:#FFFCF7 !important; border-color:rgba(255,252,247,.7) !important; }

/* Article templates: readable editorial measure */
body:has(.blog-post-container) { background: #FFFCF7; }
.blog-post-hero {
  height: min(68vh, 660px);
  min-height: 480px;
  background: #17243A;
}
.blog-post-hero img { opacity: .6; object-fit: cover; }
.blog-post-hero-overlay {
  background: linear-gradient(90deg, rgba(23,36,58,.94), rgba(23,36,58,.44)) !important;
  align-items: flex-end;
  padding-bottom: 72px;
}
.blog-post-hero-overlay .container { width: 100%; }
.blog-post-hero h1, .blog-post-hero .blog-post-title {
  max-width: 900px;
  color: #FFFCF7 !important;
  font-size: clamp(2.7rem,5.6vw,5rem) !important;
  line-height: 1 !important;
  letter-spacing: -.05em !important;
  text-transform: none !important;
}
.blog-post-container { max-width: 760px; padding: 58px 24px 96px; }
.blog-post-meta { color: #748091; border-bottom: 1px solid rgba(23,36,58,.12); padding-bottom: 18px; }
.blog-post-title {
  color: #17243A;
  font-size: clamp(2.2rem,5vw,3.8rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-transform: none;
}
.blog-post-content {
  max-width: 65ch;
  color: #3E4A5B;
  font-size: 1.06rem;
  line-height: 1.82;
}
.blog-post-content h2 {
  color: #17243A;
  font-size: clamp(1.65rem,3vw,2.15rem);
  line-height: 1.18;
  letter-spacing: -.03em;
  text-transform: none;
  margin: 46px 0 16px;
}
.blog-post-content h3 { color: #17243A; margin: 32px 0 12px; }
.blog-post-content a { color: #9A6414; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.blog-post-content blockquote,
.blog-post-content div[style*="background"],
.blog-post-content aside {
  background: #F5F1E9 !important;
  border-left-color: #D69A32 !important;
  border-radius: 8px !important;
}
.blog-share { border-top-color: rgba(23,36,58,.14); }
.blog-share a, .blog-share button { min-height: 44px; }

/* Shared footer */
.footer { background: #17243A; color: #F5F1E9; padding-top: 72px; }
.footer-brand-logo { color: #FFFCF7; text-transform: none; letter-spacing: -.02em; }
.footer-social a { border-radius: 8px; }
.footer-social a:hover { background: #D69A32; color: #17243A; }
.footer-links a:hover { color: #D69A32; }

@media (max-width:1099px) {
  .navbar-inner { padding: 12px 20px; }
  .navbar-logo span { display: inline; max-width: 220px; line-height: 1.12; }
  .navbar-actions .btn { display: none; }
}

@media (max-width:767px) {
  .container { padding-inline: 20px; }
  .navbar-logo { font-size: .78rem; max-width: calc(100vw - 76px); }
  .navbar-logo img { width: 34px; height: 34px; flex: 0 0 auto; }
  .mobile-menu { padding: 78px 20px 32px; }
  .page-hero { padding: 112px 0 64px; }
  .page-hero h1, .page-hero h1[style] { font-size: clamp(2.55rem,12vw,3.5rem); }
  .page-hero p, .page-hero p[style] { font-size: .96rem; }
  .page-hero div[style*="display:flex"] { justify-content: flex-start !important; }
  .page-hero .btn { min-height: 44px; }

  body:has(.product-full-card) > section:nth-of-type(2) { padding: 52px 0 76px !important; }
  .product-full-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
    margin-bottom: 20px !important;
    border-radius: 12px 12px 40px 12px !important;
  }
  .product-full-card > div:has(> img) { order: 1 !important; padding: 28px 20px !important; }
  .product-full-card > div:has(> img) img { height: 260px !important; }
  .product-full-card > div:not(:has(> img)) { order: 2 !important; padding: 28px 22px 34px !important; }
  .product-full-card div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }
  .product-full-card .btn { min-height: 48px; }
  body:has(.product-full-card) > section:nth-of-type(2) .container > div:last-child { padding: 30px 22px !important; }

  .blog-grid { grid-template-columns: 1fr !important; gap: 14px; }
  body:has(.blog-grid) > section[style*="padding"] { padding: 58px 0 !important; }
  .blog-card-body { padding: 22px 20px 26px; }

  .community-section { padding: 58px 0 78px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-card, .sidebar-widget { padding: 20px; }
  .community-card div[style*="display:flex"][style*="gap:16px"] { gap: 12px !important; }
  .community-card div[style*="width:52px"] { width: 44px !important; height: 44px !important; }

  .coach-hero { min-height: auto; padding: 120px 0 76px !important; background-position: 66% center !important; }
  .coach-hero::before { background: rgba(245,241,233,.9); }
  .coach-hero h1 { font-size: clamp(2.55rem,12vw,3.5rem) !important; }
  .coach-pain, .coach-about, .coach-results, .coach-services, .coach-value, .coach-journey, .coach-faq { padding: 72px 0 !important; }
  .pain-grid, .results-grid, .service-list, .value-grid { grid-template-columns: 1fr !important; }
  .about-grid { grid-template-columns: 1fr !important; }
  .journey-step, .journey-step:nth-child(even) { flex-direction: row !important; }
  .coach-faq .faq-q { min-height: 64px; }

  .blog-post-hero { min-height: 440px; height: 58vh; }
  .blog-post-hero-overlay { padding-bottom: 48px; }
  .blog-post-hero h1, .blog-post-hero .blog-post-title { font-size: clamp(2.3rem,11vw,3.3rem) !important; }
  .blog-post-container { padding: 42px 20px 76px; }
  .blog-post-content { font-size: 1rem; line-height: 1.75; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
