/* The Careful Optimist shared website shell — 06 August 2026. */
:root{--tco-shell-navy:#16273b;--tco-shell-deep:#0b1826;--tco-shell-gold:#cba85a;--tco-shell-bright:#e6c97e;--tco-shell-cream:#f4ead6;--tco-shell-muted:#9fb0c4}

/* The inner and member banners now use the same clean white brand asset treatment as the outer ecosystem. */
.tco-inner-header,.tco-member-header{position:sticky!important;top:0!important;z-index:1100!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #dce2e8!important;box-shadow:0 8px 28px rgba(7,22,47,.06)!important;backdrop-filter:blur(12px)}
.tco-inner-brand,.tco-member-brand{box-sizing:border-box;width:min(calc(100% - 40px),1160px)!important;max-width:none!important;min-height:86px!important;margin:0 auto!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:30px!important}
.tco-inner-brand img,.tco-member-brand img{display:block!important;width:310px!important;max-width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important;background:transparent!important}
.tco-inner-nav,.tco-member-nav{position:sticky!important;top:86px!important;z-index:1090!important;background:#fffdf8!important;border-bottom:1px solid rgba(203,168,90,.42)!important;box-shadow:0 4px 14px rgba(7,22,47,.035)}

/* Minimal branded shell used on confirmation and delivery pages. */
.tco-transaction-header{position:sticky;top:0;z-index:1100;background:rgba(255,255,255,.98);border-bottom:1px solid #dce2e8;box-shadow:0 8px 28px rgba(7,22,47,.06);backdrop-filter:blur(12px)}
.tco-transaction-header-inner{box-sizing:border-box;width:min(calc(100% - 40px),1160px);min-height:86px;margin:auto;display:flex;align-items:center}
.tco-transaction-brand{display:block}.tco-transaction-brand img{display:block;width:310px;max-width:100%;height:auto}

/* One governed footer structure. Link groups vary by environment; legal details do not. */
.tco-site-footer{box-sizing:border-box;background:var(--tco-shell-deep)!important;color:var(--tco-shell-muted)!important;padding:52px 24px 42px!important;text-align:left!important;font-size:14px!important}
.tco-site-footer *{box-sizing:border-box}.tco-site-footer-wrap{max-width:1180px;margin:0 auto}.tco-site-footer-title{color:var(--tco-shell-cream);font:600 31px/1.1 'Cormorant Garamond',Georgia,serif}.tco-site-footer-tag{color:var(--tco-shell-bright);font:italic 18px/1.4 'Cormorant Garamond',Georgia,serif;margin:7px 0 26px}.tco-site-footer-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.tco-site-footer-groups--outer{grid-template-columns:1.2fr 1fr 1fr}.tco-site-footer-groups--transaction{grid-template-columns:1fr 1fr;max-width:720px}.tco-site-footer h3{color:var(--tco-shell-cream)!important;font:700 12px/1.4 Barlow,Arial,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important;margin:0 0 12px!important}.tco-site-footer a{display:block;color:var(--tco-shell-bright)!important;text-decoration:none!important;margin:8px 0!important}.tco-site-footer a:hover,.tco-site-footer a:focus{text-decoration:underline!important}.tco-site-footer-legal{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px;margin-top:30px;padding-top:28px;border-top:1px solid rgba(203,168,90,.28);line-height:1.65}.tco-site-footer-legal strong{display:block;color:var(--tco-shell-cream);margin-bottom:7px}.tco-site-footer-legal span{display:block}.tco-site-footer-legal address{font-style:normal}.tco-site-footer-email{display:inline-block!important;margin-top:8px!important}

/* Thank-you page: explicit contrast and first-read structure. */
.ty-page{background:#f7f2e8;color:#16273b}.ty-wrap{width:min(calc(100% - 40px),980px);margin:auto}.ty-hero{padding:82px 0 76px;background:linear-gradient(140deg,#07162f,#0c2343);color:#fff}.ty-hero .eyebrow{color:#d7ad4f!important}.ty-hero h1{color:#f7f0df!important;font-family:Georgia,serif!important;font-size:clamp(42px,6vw,68px)!important;line-height:1.05!important;margin:0 0 22px!important;max-width:900px}.ty-hero p{font-size:19px;line-height:1.65;color:#d9e4f1!important;max-width:790px}.ty-hero .ty-email-instruction{color:#fff!important;font-weight:650}.ty-section{padding:72px 0}.ty-section--cream{background:#efe2c5}.ty-section h2{color:#0c2343!important;font:600 clamp(34px,4.4vw,50px)/1.08 'Cormorant Garamond',Georgia,serif;margin:0 0 18px}.ty-lead{font-size:18px;line-height:1.68;max-width:820px;color:#41546b}.ty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}.ty-card{background:#fff;border:1px solid #dce2e8;border-top:4px solid #cba85a;border-radius:18px;padding:28px;box-shadow:0 14px 35px rgba(7,22,47,.06)}.ty-card h3{color:#0c2343!important;font-size:24px;margin:0 0 10px}.ty-card p{color:#41546b;line-height:1.65}.ty-outcome{margin-top:28px;background:#0c2343;border:1px solid #cba85a;border-radius:18px;padding:30px;color:#f4ead6}.ty-outcome h3{color:#e6c97e!important;margin:0 0 14px;font-size:28px}.ty-outcome ul{margin:0;padding-left:22px;columns:2;column-gap:44px}.ty-outcome li{break-inside:avoid;margin:9px 0;line-height:1.5}.ty-reassurance{margin-top:26px;padding:18px 20px;background:#fff;border-left:4px solid #cba85a;color:#41546b}.ty-bridge{background:#fff;border:1px solid #cba85a;border-radius:22px;padding:clamp(28px,5vw,48px);box-shadow:0 14px 35px rgba(7,22,47,.06)}.ty-bridge p{color:#41546b;font-size:17px;line-height:1.72;max-width:850px}.ty-bridge .btn{margin-top:10px}.ty-search-term{white-space:nowrap;color:#e6c97e;font-weight:700}

@media(max-width:980px){.tco-inner-brand,.tco-member-brand{width:min(calc(100% - 26px),1160px)!important}.tco-inner-brand img,.tco-member-brand img{width:250px!important}}
@media(max-width:760px){.tco-inner-brand,.tco-member-brand{min-height:74px!important}.tco-inner-brand img,.tco-member-brand img{width:210px!important}.tco-inner-nav,.tco-member-nav{top:74px!important}.tco-transaction-header-inner{width:min(calc(100% - 26px),1160px);min-height:74px}.tco-transaction-brand img{width:210px}.tco-site-footer-groups,.tco-site-footer-groups--outer,.tco-site-footer-groups--transaction,.tco-site-footer-legal{grid-template-columns:1fr}.ty-grid{grid-template-columns:1fr}.ty-outcome ul{columns:1}.ty-wrap{width:min(calc(100% - 26px),980px)}}

/* Thank-you delivery confirmation and email-correction modal — 06 August 2026. */
.ty-delivery-card{max-width:790px;margin:25px 0 24px;padding:25px 27px;background:rgba(255,255,255,.07);border:1px solid rgba(230,201,126,.48);border-radius:16px}.ty-delivery-row{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:start;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12)}.ty-delivery-row:last-of-type{border-bottom:0}.ty-delivery-label{color:#e6c97e;font-size:12px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}.ty-delivery-row strong{display:block;color:#fff;font-size:19px;overflow-wrap:anywhere}.ty-delivery-row a{display:block;color:#e6c97e!important;margin-top:3px;overflow-wrap:anywhere}.ty-correction-prompt{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);color:#d9e4f1}.ty-correction-button{appearance:none;border:1px solid #e6c97e;border-radius:7px;background:transparent;color:#e6c97e;padding:11px 15px;font:700 12px/1.2 Barlow,Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;cursor:pointer}.ty-correction-button:hover,.ty-correction-button:focus{background:#e6c97e;color:#07162f;outline:2px solid transparent}.ty-modal[hidden]{display:none}.ty-modal{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:22px}.ty-modal-backdrop{position:absolute;inset:0;background:rgba(4,13,26,.78);backdrop-filter:blur(4px)}.ty-modal-dialog{position:relative;z-index:1;width:min(100%,660px);max-height:calc(100vh - 44px);overflow:auto;background:#fffdf8;border:1px solid #cba85a;border-radius:20px;padding:clamp(25px,5vw,42px);box-shadow:0 30px 90px rgba(0,0,0,.34)}.ty-modal-dialog h2{color:#0c2343!important;font:600 clamp(32px,4.4vw,45px)/1.08 'Cormorant Garamond',Georgia,serif;margin:0 42px 14px 0}.ty-modal-intro{color:#41546b;line-height:1.65;margin-bottom:24px}.ty-modal-close{position:absolute;right:18px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:#0c2343;color:#fff;font-size:28px;line-height:1;cursor:pointer}.ty-correction-form{margin:0!important;box-shadow:none!important;border:1px solid #dce2e8!important}.ty-correction-form .guide-form-status{margin:16px 0 0}.ty-correction-form .guide-form-status.is-error{color:#8f1f1f}.ty-correction-success h3{color:#0c2343!important;font:600 31px/1.14 'Cormorant Garamond',Georgia,serif}.ty-correction-success strong{display:block;margin:12px 0 18px;color:#0c2343;font-size:19px;overflow-wrap:anywhere}.ty-correction-success p{color:#41546b}.ty-modal-open{overflow:hidden}@media(max-width:620px){.ty-delivery-row{grid-template-columns:1fr;gap:5px}.ty-modal{padding:10px}.ty-modal-dialog{max-height:calc(100vh - 20px);border-radius:14px;padding:25px 18px}.ty-correction-prompt{align-items:flex-start;flex-direction:column}}

/* Header and navigation hardening — 06 August 2026, pass 4.
   This block deliberately owns the complete inner/member shell so every page
   renders the same banner and tabs even when older page CSS is cached or absent. */
.tco-inner-header,.tco-member-header{
  display:block!important;
  width:100%!important;
  position:sticky!important;
  top:0!important;
  z-index:1100!important;
  background:rgba(255,255,255,.985)!important;
  border:0!important;
  border-bottom:1px solid #dce2e8!important;
  box-shadow:0 8px 28px rgba(7,22,47,.06)!important;
}
.tco-inner-brand,.tco-member-brand{
  box-sizing:border-box!important;
  width:min(calc(100% - 40px),1160px)!important;
  max-width:1160px!important;
  min-height:86px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:30px!important;
}
.tco-inner-brand>a,.tco-member-brand>a{display:block!important;line-height:0!important;text-decoration:none!important;flex:0 1 auto!important}
.tco-inner-brand img,.tco-member-brand img{
  display:block!important;
  width:310px!important;
  max-width:100%!important;
  max-height:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  background:transparent!important;
}
.tco-menu-button{
  display:none!important;
  appearance:none!important;
  border:1px solid var(--tco-shell-navy)!important;
  background:var(--tco-shell-navy)!important;
  color:var(--tco-shell-cream)!important;
  padding:10px 14px!important;
  border-radius:5px!important;
  font:700 12px/1.2 Barlow,Arial,sans-serif!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  cursor:pointer!important;
}
.tco-inner-nav,.tco-member-nav{
  display:block!important;
  width:100%!important;
  position:sticky!important;
  top:86px!important;
  z-index:1090!important;
  background:#fffdf8!important;
  border:0!important;
  border-bottom:1px solid rgba(203,168,90,.42)!important;
  box-shadow:0 4px 14px rgba(7,22,47,.035)!important;
  color:var(--tco-shell-navy)!important;
}
.tco-inner-nav-inner,.tco-member-nav-inner{
  box-sizing:border-box!important;
  width:min(calc(100% - 36px),1180px)!important;
  max-width:1180px!important;
  min-height:46px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  background:transparent!important;
}
.tco-inner-nav a,.tco-member-nav a{
  box-sizing:border-box!important;
  display:block!important;
  margin:0!important;
  padding:14px 13px 11px!important;
  color:var(--tco-shell-navy)!important;
  background:transparent!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  letter-spacing:.075em!important;
  font:700 11.5px/1.25 Barlow,Arial,sans-serif!important;
  border:0!important;
  border-bottom:3px solid transparent!important;
  border-radius:0!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.tco-inner-nav a:hover,.tco-inner-nav a:focus,.tco-inner-nav a[aria-current="page"],
.tco-member-nav a:hover,.tco-member-nav a:focus,.tco-member-nav a[aria-current="page"]{
  color:#8f6c22!important;
  border-bottom-color:var(--tco-shell-gold)!important;
  outline:none!important;
}
.tco-inner-nav .tco-nav-cta{
  margin-left:8px!important;
  padding:10px 15px!important;
  color:var(--tco-shell-cream)!important;
  background:var(--tco-shell-navy)!important;
  border:1px solid var(--tco-shell-navy)!important;
  border-bottom:3px solid var(--tco-shell-deep)!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
.tco-inner-nav .tco-nav-cta:hover,.tco-inner-nav .tco-nav-cta:focus{
  color:var(--tco-shell-cream)!important;
  background:var(--tco-shell-deep)!important;
  border-color:var(--tco-shell-deep)!important;
}

/* Keep the sender name and sender address together in the value column. */
.ty-delivery-value{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
.ty-delivery-value strong{margin:0!important}
.ty-delivery-value .ty-sender-email{
  display:inline-block!important;
  width:auto!important;
  margin:0!important;
  color:#e6c97e!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  line-height:1.35!important;
}

@media(max-width:760px){
  .tco-inner-brand,.tco-member-brand{width:min(calc(100% - 26px),1160px)!important;min-height:74px!important;gap:16px!important}
  .tco-inner-brand img,.tco-member-brand img{width:210px!important}
  .tco-menu-button{display:block!important;flex:0 0 auto!important}
  .tco-inner-nav,.tco-member-nav{top:74px!important}
  .tco-inner-nav-inner,.tco-member-nav-inner{
    width:100%!important;
    min-height:0!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    padding:8px 18px 16px!important;
  }
  .tco-inner-nav-inner.open,.tco-member-nav-inner.open{display:flex!important}
  .tco-inner-nav a,.tco-member-nav a{
    width:100%!important;
    padding:12px 4px!important;
    white-space:normal!important;
    border-bottom:1px solid rgba(22,39,59,.12)!important;
  }
  .tco-inner-nav .tco-nav-cta{margin:8px 0 0!important;text-align:center!important;border-bottom:3px solid var(--tco-shell-deep)!important}
}
@media(max-width:430px){
  .tco-inner-brand img,.tco-member-brand img{width:185px!important}
  .tco-menu-button{padding:9px 11px!important;font-size:11px!important}
  .ty-delivery-value .ty-sender-email{font-size:15px!important;letter-spacing:-.01em!important}
}



/* Final visual refinement pass — 06 August 2026 */
.ty-person-name{color:#e6c97e!important}
.closer-editorial>h3{color:#f7ead7!important}
.comparison-row .comparison-check{color:#2f7d4a!important;font-size:1.38rem!important;line-height:1!important;font-weight:800!important}
.comparison-row .comparison-none{color:#687480!important;font-size:1.05rem!important;font-weight:700!important}

/* The four-part Complete Guide sequence is deliberately balanced 2 x 2. */
.tco-plain-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Professional purchase-form layout and natural-height checkout panel. */
.tco-buy-book-page .section.cream>.wrap.grid-2{align-items:start!important}
.tco-buy-book-page .payment-capture,.tco-buy-book-page .payment-panel{height:auto!important;align-self:start!important}
.tco-buy-book-page .payment-capture .checkbox-line{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
.tco-buy-book-page .payment-capture .checkbox-line>input{width:18px!important;height:18px!important;margin:4px 0 0!important}
.tco-buy-book-page .agreement-copy{display:block!important;min-width:0!important;font-weight:400!important;line-height:1.6!important}
.tco-buy-book-page .agreement-copy a{display:inline!important;white-space:normal!important}
.tco-buy-book-page .field-title{display:block;font-weight:700}
.tco-buy-book-page .field-help{display:block;margin:3px 0 7px;color:#80631f;font-size:.88rem;font-weight:600;line-height:1.35}
.tco-buy-book-page .payment-panel{min-height:0!important}

/* Governed breathing room below the inner tab bar. */
.tco-page-how-circle .tco-inner-nav+main>.hero{padding-top:42px!important}
.tco-page-how-circle .tco-inner-nav+main>.hero>.wrap{padding-top:0!important}

/* Ensure all dark editorial surfaces keep readable headings. */
.closer-editorial h3,.closer-editorial h4,.section.dark h1,.section.dark h2,.section.dark h3,.section.dark h4{color:#f7ead7!important}

@media(max-width:760px){
  .tco-plain-grid.two{grid-template-columns:1fr!important}
  .tco-buy-book-page .payment-capture,.tco-buy-book-page .payment-panel{padding:26px 22px!important}
  .tco-page-how-circle .tco-inner-nav+main>.hero{padding-top:34px!important}
}


/* Full-site balance and shell harmonisation — 12 August 2026. */
/* Public, inner, member and transaction banners share the same width, height and logo scale. */
.tco-public-header{background:rgba(255,255,255,.985)!important;border-bottom:1px solid #dce2e8!important;box-shadow:0 8px 28px rgba(7,22,47,.06)!important}
.tco-public-header-shell{box-sizing:border-box!important;width:min(calc(100% - 40px),1160px)!important;max-width:1160px!important}
.tco-public-header-inner{min-height:86px!important;gap:30px!important}
.tco-public-brand img{width:310px!important;max-width:100%!important;height:auto!important}
.tco-transaction-header{display:block!important;width:100%!important;background:rgba(255,255,255,.985)!important;border-bottom:1px solid #dce2e8!important;box-shadow:0 8px 28px rgba(7,22,47,.06)!important}
.tco-transaction-header-inner{box-sizing:border-box!important;width:min(calc(100% - 40px),1160px)!important;max-width:1160px!important;min-height:86px!important;margin:0 auto!important;padding:0!important}
.tco-transaction-brand{display:block!important;line-height:0!important}.tco-transaction-brand img{display:block!important;width:310px!important;max-width:100%!important;height:auto!important}
/* Consistent section rhythm without flattening deliberate hero/editorial variations. */
main>.section:not(.hero),main>.tco-plain-section{scroll-margin-top:150px}
.section>.wrap,.section>.narrow,.hero>.wrap,.tco-plain-section>.tco-plain-wrap{box-sizing:border-box}
/* Balanced three-card member row used by Closer Access. */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
/* Four-offer orientation row on the Circle page. */
.orientation-grid-four{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
/* Transaction pages use the governed legal footer rather than a separate visual system. */
.payment-thanks .tco-site-footer{margin-top:0!important}.payment-thanks .tco-site-footer span{display:block}.payment-thanks .tco-site-footer a{display:block}
@media(max-width:1040px){.orientation-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.tco-public-header-shell{width:min(calc(100% - 26px),1160px)!important}.tco-public-brand img{width:250px!important}}
@media(max-width:760px){.tco-public-header-inner,.tco-transaction-header-inner{min-height:74px!important}.tco-public-brand img,.tco-transaction-brand img{width:210px!important}.tco-transaction-header-inner{width:min(calc(100% - 26px),1160px)!important}.orientation-grid-four,.grid-3{grid-template-columns:1fr!important}}
@media(max-width:430px){.tco-public-brand img,.tco-transaction-brand img{width:185px!important}}
