/* Full Circle interior pages. Loads after each page's own style block, so it wins on ties. */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--navy); background: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  scrollbar-color: var(--teal) var(--cream-2);
}
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
p, li { text-wrap: pretty; }
img { max-width: 100%; }
a { text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral-ink); outline-offset: 3px; border-radius: 4px; }
.page-hero :focus-visible, .hero :focus-visible, .shop-hero :focus-visible, .cta-band :focus-visible,
.dark-strip :focus-visible, .cta-strip :focus-visible, .included :focus-visible { outline-color: var(--cream); }
main { display: block; }

/* Scroll reveal: content is visible unless JavaScript is running */
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(18px); }

/* Decorative shells left empty by earlier edits */
.hero-blob, .hero-blob2, .page-hero-glow, .ph-blob1, .ph-blob2, .shop-hero-glow, .hero-stars, .hero-glow1, .hero-glow2,
.wc-glow, .who-glow, .pc-glow, .pc-glow2, .cta-glow { display: none !important; }

/* Brand rule under every hero: the six arcs of the logo */
.rainbow {
  height: 6px;
  background: linear-gradient(90deg,
    var(--arc-crimson) 0 16.66%, var(--arc-orange) 0 33.33%, var(--arc-green) 0 50%,
    var(--arc-sky) 0 66.66%, var(--arc-indigo) 0 83.33%, var(--arc-purple) 0 100%);
}

/* ---------- One content edge for the whole page ---------- */
main .wrap { width: min(1200px, 100% - 64px); max-width: none; margin-inline: auto; padding-inline: 0; }

/* ---------- Page hero ---------- */
.page-hero, .hero, .shop-hero {
  background: var(--teal); color: var(--cream); position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 92px);
}
main .page-hero-inner, main .hero-inner { position: relative; z-index: 1; width: min(1200px, 100% - 64px); max-width: none; margin-inline: auto; padding: 0; }
main .page-hero > .wrap, main .hero > .wrap, main .shop-hero > .wrap { position: relative; z-index: 1; }
/* The circle from the logo, bleeding off the right edge */
.page-hero::before, .hero::before, .shop-hero::before {
  content: ''; position: absolute; right: -250px; top: 50%; width: 560px; height: 560px; border-radius: 50%;
  border: 3px solid var(--coral); transform: translateY(-50%); pointer-events: none;
}
.page-hero::after, .hero::after, .shop-hero::after {
  content: ''; position: absolute; right: -20px; top: 50%; width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid rgba(245, 240, 232, .35); transform: translateY(-50%); pointer-events: none;
}
main .page-hero h1, main .hero h1, main .shop-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.12; color: var(--cream); margin-bottom: 22px; max-width: 13em;
}
main .page-hero p, main .page-hero .hero-sub, main .hero p, main .hero .hero-subtitle, main .hero .hero-sub, main .shop-hero p, main .shop-hero .hero-sub {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--cream); opacity: 1; max-width: 36em; margin-bottom: 32px;
}
.page-hero h1 em, .hero h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: .08em; text-underline-offset: .14em; }

/* Kickers: plain, sentence case */
.section-label, .ph-eyebrow, .ph-tag, .hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0; border: 0; background: none;
  font: 600 1rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--coral-ink);
}
.page-hero .section-label, .page-hero .ph-eyebrow, .page-hero .ph-tag, .hero .hero-badge, .shop-hero .section-label,
.page-hero .hero-badge, .shop-hero .hero-badge { color: var(--cream); }
.page-hero .section-label::before, .page-hero .ph-eyebrow::before, .page-hero .ph-tag::before,
.hero .hero-badge::before, .shop-hero .section-label::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex-shrink: 0;
}
.hero-chips, .hero-badges { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 8px; }
.hero-chip, .hero-badges .hero-badge {
  display: inline-flex; align-items: center; margin: 0; padding: 8px 16px; border-radius: 999px;
  background: rgba(245, 240, 232, .14); border: 1px solid rgba(245, 240, 232, .35);
  font: 600 1rem/1.2 var(--sans); color: var(--cream);
}
.hero-chip:empty, .hero-badge:empty { display: none; }
main .tag, main .tag-teal, main .tag-coral, main .who-tag, main .nl-tag, main .card-category, main .grade-label {
  display: inline-block; padding: 0; border: 0; background: none; border-radius: 0;
  font: 600 1rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--coral-ink);
}
main .on-dark { color: var(--cream); }
.hero-btns, .cta-btns, .cta-row, .price-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Section rhythm ---------- */
.section-hdr, .section-intro, .included-header, .who-header, .how-header, .plans-intro { max-width: 40em; }
.section-hdr h2, .section-intro h2, .included-header h2, .who-header h2, .how-header h2, .plans-intro h2,
.mission h2, .values h2, .overview h2, .milestones h2, .addons h2, .workshops h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 16px; }

/* ---------- Cards: quiet surfaces, no tinted glow ---------- */
.val-card, .feat-card, .who-card, .milestone-card, .plan-card, .upgrade-card, .addon-panel, .dark-card, .ws-card,
.for-card, .cred-card, .team-card, .tc, .feat-card, .product-card, .assessment-card, .form-card, .price-card, .ci-box {
  border-radius: 18px;
}
.val-card:hover, .feat-card:hover, .who-card:hover, .milestone-card:hover, .plan-card:hover, .upgrade-card:hover,
.dark-card:hover, .ws-card:hover, .for-card:hover, .cred-card:hover, .team-card:hover, .tc:hover, .product-card:hover {
  transform: none; box-shadow: 0 18px 32px -20px rgba(20, 32, 45, .35);
}

/* ---------- Icon shells that lost their emoji ---------- */
.val-icon:empty, .ci-icon:empty, .ii-icon:empty, .book-icon:empty, .trust-item-icon:empty, .cred-icon:empty,
.for-icon:empty, .dk-icon:empty, .upgrade-icon:empty, .tc-stars:empty, .success-icon:empty, .tc-line:empty { display: none; }
.pf-check:empty, .check-dot:empty, .addon-dot:empty {
  display: inline-block; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F0E8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plan-card.featured .pf-check:empty { background-color: var(--coral); }

/* ---------- Footer tweaks for pages with their own tokens ---------- */
footer { margin-top: 0; }

@media (max-width: 900px) {
  main .wrap, main .page-hero-inner, main .hero-inner { width: min(1200px, 100% - 40px); }
  .page-hero::before, .hero::before, .shop-hero::before { width: 340px; height: 340px; right: -170px; top: auto; bottom: -190px; transform: none; }
  .page-hero::after, .hero::after, .shop-hero::after { display: none; }
}

/* ---------- Shared pieces that used to live in the old global stylesheet ---------- */
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); color: var(--navy); margin-bottom: 16px; }
.section-title.white { color: var(--cream); }
.section-sub { font-size: 1.1875rem; line-height: 1.6; color: var(--soft); max-width: 34em; }
.section-sub.white { color: var(--cream); }
.section-hdr { margin-bottom: 48px; }
.section-hdr.center { text-align: center; }
.section-hdr.center .section-sub, .section-hdr.center h2 { margin-inline: auto; }
.card { background: var(--white); border-radius: 18px; border: 1px solid var(--border); padding: 32px; }

/* ---------- Closing band: coral, same as the homepage ---------- */
.cta-band, .cta-strip, .cta-section {
  background: var(--coral); color: var(--ink); text-align: center; position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0;
}
.cta-band::before, .cta-strip::before, .cta-section::before, .cta-band::after, .cta-strip::after, .cta-section::after {
  content: ''; position: absolute; border-radius: 50%; border: 3px solid rgba(20, 32, 45, .22); pointer-events: none;
}
.cta-band::before, .cta-strip::before, .cta-section::before { width: 460px; height: 460px; left: -190px; top: -220px; }
.cta-band::after, .cta-strip::after, .cta-section::after { width: 340px; height: 340px; right: -130px; bottom: -170px; }
.cta-band > *, .cta-strip > *, .cta-section > * { position: relative; z-index: 1; }
.cta-band > :not(.wrap):not(.cta-btns):not(.cta-row), .cta-strip > :not(.wrap), .cta-section > :not(.wrap) { width: min(900px, 100% - 64px); margin-inline: auto; }
main .cta-band h2, main .cta-strip h2, main .cta-section h2, main .cta-band h3, main .cta-strip h3 {
  color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 16em; margin: 0 auto 18px;
}
main .cta-band p, main .cta-strip p, main .cta-section p { color: var(--ink); font-size: 1.1875rem; max-width: 32em; margin: 0 auto 32px; opacity: 1; }
.cta-band .cta-btns, .cta-strip .cta-row, .cta-section .cta-row, .cta-band .cta-row { justify-content: center; }
.cta-band .btn-coral, .cta-strip .btn-coral, .cta-section .btn-coral { background: var(--navy); color: var(--cream); box-shadow: none; }
.cta-band .btn-coral:hover, .cta-strip .btn-coral:hover, .cta-section .btn-coral:hover { background: #0F1B29; }
.cta-band .btn-ghost-white, .cta-band .btn-outline-white, .cta-strip .btn-ghost-white, .cta-strip .btn-outline-white,
.cta-section .btn-ghost-white, .cta-section .btn-outline-white, .cta-band .btn-ghost-teal, .cta-strip .btn-ghost-teal {
  border-color: var(--ink); color: var(--ink); background: transparent;
}
.cta-band .btn-ghost-white:hover, .cta-band .btn-outline-white:hover, .cta-strip .btn-ghost-white:hover, .cta-strip .btn-outline-white:hover,
.cta-section .btn-ghost-white:hover, .cta-section .btn-outline-white:hover, .cta-band .btn-ghost-teal:hover, .cta-strip .btn-ghost-teal:hover {
  background: var(--ink); color: var(--cream);
}
.cta-band :focus-visible, .cta-strip :focus-visible, .cta-section :focus-visible { outline-color: var(--ink); }
@media (max-width: 900px) {
  .cta-band > :not(.wrap):not(.cta-btns):not(.cta-row), .cta-strip > :not(.wrap), .cta-section > :not(.wrap) { width: min(900px, 100% - 40px); }
}

/* Grid children may shrink below their content width, so long words never force sideways scroll */
main [class*="grid"] > *, main [class*="layout"] > *, main [class*="-row"] > * { min-width: 0; }
main h1, main h2, main h3 { overflow-wrap: break-word; }

/* Pages that carry inline styles */
main .page-hero[style], main .hero[style], main .shop-hero[style] { background: var(--teal) !important; }
main div:empty[style*="font-size"], main span:empty[style*="font-size"] { display: none; }
@media (max-width: 760px) {
  main [style*="grid-template-columns:repeat(3"], main [style*="grid-template-columns:repeat(4"], main [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
