/* Mental Clarity additions on top of Source 1.7.6.
   Colors, type and the icon here are fallbacks: a Ghost setting (accent color, fonts, icon, logo) wins once it is set. */
@font-face{font-family:"Lora";font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/lora-roman.woff2") format("woff2")}
:root{--gh-font-heading:"Lora",Georgia,"Times New Roman",serif;--mc-navy:#1C4774;--mc-blue:#4075AD;--mc-sky:#9AD0E2;--mc-cream:#F3F1E2;--mc-tan:#D3955E;--mc-ink:#16263A;--mc-line:rgba(28,71,116,.18)}
body{color:var(--mc-ink)}
.mc-hero{padding-top:clamp(40px,7vw,88px);padding-bottom:clamp(28px,4vw,56px)}
.mc-hero-inner{display:block;max-width:1200px}
.mc-hero-title{max-width:900px;font-size:clamp(3.4rem,5vw,5.8rem);line-height:1.08;letter-spacing:-.012em}
.mc-hero-signup{max-width:560px;margin-top:36px;padding-top:28px;border-top:3px solid var(--mc-tan)}
.mc-hero-label{font-size:2.2rem;line-height:1.25;margin-bottom:14px}
.mc-hero-signup .gh-form{max-width:none;margin:0;background:#fff;border:1px solid rgba(28,71,116,.22)}
.mc-hero-note{margin-top:10px;font-size:1.5rem;opacity:.78}
.mc-start{padding-bottom:clamp(32px,5vw,64px)}
.mc-start-card{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#fff;border:1px solid var(--mc-line);border-radius:12px;overflow:hidden;color:inherit;text-decoration:none}
.mc-start-card img{display:block;width:100%;height:100%;object-fit:cover}
.mc-start-text{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:32px 36px}
.mc-kicker{font-size:1.2rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mc-navy)}
.mc-start-title{font-size:clamp(2.2rem,2.4vw,3rem);line-height:1.18}
.mc-start-excerpt{font-size:1.6rem;line-height:1.55;opacity:.9}
.mc-more{font-size:1.5rem;font-weight:600;color:var(--mc-navy);text-decoration:underline;text-decoration-color:var(--mc-tan);text-decoration-thickness:2px;text-underline-offset:4px}
@media (max-width:767px){.mc-start-card{grid-template-columns:1fr}.mc-start-text{padding:22px 20px 26px}}
.mc-disclosure{font-size:1.5rem;line-height:1.5;padding:12px 16px;background:#fff;border:1px solid var(--mc-line);border-radius:8px}
.gh-content a{color:var(--mc-navy);text-decoration:underline;text-decoration-color:var(--mc-tan);text-decoration-thickness:2px;text-underline-offset:3px}
.gh-content h2{margin-top:2.4em}
.kg-callout-card.kg-callout-card-white,.kg-toggle-card,.kg-product-card-container{background:#fff;border:1px solid var(--mc-line);border-radius:8px}
.kg-callout-card.kg-callout-card-white{border-left:6px solid var(--mc-tan)}
.mc-table-wrap{overflow-x:auto;border:1px solid var(--mc-line);border-radius:8px;background:#fff}
.mc-table{width:100%;border-collapse:collapse;font-size:1.6rem;line-height:1.45;margin:0;word-break:normal;overflow-wrap:normal}
/* A table with four or more columns scrolls sideways on a phone. A narrower one fits the screen, so no column is hidden. */
.mc-table:has(th:nth-child(4)){min-width:520px}
.mc-table th{background:var(--mc-navy);color:var(--mc-cream);text-align:left;font-weight:600;padding:10px 14px}
.mc-table td{padding:12px 14px;border-top:1px solid rgba(28,71,116,.12);vertical-align:top}
@media (max-width:480px){.mc-table th,.mc-table td{padding:10px}}
@media (max-width:359px){.mc-table{font-size:1.5rem}.mc-table th,.mc-table td{padding:8px}}
.gh-footer .gh-form{background:#fff;border:1px solid rgba(28,71,116,.22)}
.mc-names{min-width:640px}
.mc-names td:first-child,.mc-names th:first-child{white-space:nowrap}
.kg-toggle-heading-text,.kg-header-card-header{font-family:var(--gh-font-heading)}
/* Round the top "Free Clear Mind Reset" button and all gh-buttons; the serif heading font otherwise squares them to 0 */
.gh-button{border-radius:8px!important}
.mc-logo{display:inline-flex;align-items:center;gap:.4em}
.mc-logo svg{width:1.2em;height:1.2em;flex:none;color:var(--mc-blue)}
.home-template .gh-footer-signup{display:none}
.gh-footer-menu{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 28px}
.gh-footer-menu .nav{flex-wrap:wrap;justify-content:center}
/* Footer Subscribe link: accent color and semi-bold, so it stands apart from Privacy and Terms */
.gh-footer .mc-footer-subscribe a:not(.gh-button){color:var(--ghost-accent-color);font-weight:600;text-decoration:underline;text-decoration-color:var(--mc-tan);text-decoration-thickness:2px;text-underline-offset:4px}
.gh-footer.has-accent-color .mc-footer-subscribe a:not(.gh-button){color:inherit}
/* A long site title wraps instead of making the page wider than the screen */
.gh-navigation-logo,.gh-footer-logo,.gh-footer-copyright{white-space:normal}
.gh-navigation-brand{min-width:0}
@media (max-width:991px){.gh-footer-logo,.gh-footer-copyright{text-align:center}}
/* The image at the top of a page (About) is as wide as the text, not wider */
.page-template .gh-article-image{grid-column:main}
/* The page shown when an address does not exist */
.mc-error{background:var(--mc-cream);color:var(--mc-ink)}
.mc-error-main{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:40px 24px;text-align:center}
.mc-error-logo{font-family:var(--gh-font-heading);font-size:2.2rem;font-weight:700;color:var(--mc-ink);text-decoration:none}
.mc-error-title{font-family:var(--gh-font-heading);font-size:clamp(3.4rem,5vw,5.2rem);line-height:1.1;letter-spacing:-.012em;margin:0}
.mc-error-link{font-size:1.8rem;font-weight:600;color:var(--mc-navy);text-decoration:underline;text-decoration-color:var(--mc-tan);text-decoration-thickness:2px;text-underline-offset:3px}
/* Topic label above each title in the lists */
.gh-container.is-list .gh-card-tag{display:block;margin-bottom:8px;font-size:1.2rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mc-navy)}
/* The Clear Mind Reset: checklist blocks, and a clean printout */
.mc-reset{background:#fff;border:1px solid var(--mc-line);border-radius:8px;padding:20px 24px;margin:0 0 20px}
.gh-content > p + .mc-reset{margin-top:28px}
.mc-reset h3{margin:0 0 10px;font-size:2rem}
.mc-reset ul{margin:0;padding-left:0;list-style:none}
.mc-reset li{position:relative;padding-left:1.9em;margin:0 0 10px;line-height:1.5}
.mc-reset li:last-child{margin-bottom:0}
/* The box and the x share one square, centred on the first line of text: top .28em plus half of .94em is .75em, half of the 1.5 line height. */
.mc-reset li::before{content:"";box-sizing:border-box;position:absolute;left:0;top:.28em;width:.94em;height:.94em;border:.12em solid var(--mc-navy);border-radius:.22em}
.mc-reset.mc-reset-no{border-left:6px solid var(--mc-tan)}
/* The x is two crossed strokes drawn with borders, so it prints even when a browser leaves backgrounds out. */
.mc-reset.mc-reset-no li::before,.mc-reset.mc-reset-no li::after{content:"";box-sizing:content-box;position:absolute;left:.47em;top:.3em;width:0;height:.9em;margin-left:-.085em;border:0;border-left:.17em solid var(--mc-tan);border-radius:0}
.mc-reset.mc-reset-no li::before{transform:rotate(45deg)}
.mc-reset.mc-reset-no li::after{transform:rotate(-45deg)}
.mc-reset small{display:block;margin-top:2px;font-size:1.4rem;opacity:.8}
@media print{.gh-navigation,.gh-footer,.gh-footer-signup,.gh-article-image,.gh-comments{display:none!important}body{background:#fff}.gh-article-header{margin:0 0 12px}.gh-content{font-size:1.4rem}.mc-reset{break-inside:avoid;padding:12px 16px;margin-bottom:12px}}
/* Homepage card for the free reset (older layout, unused) */
.mc-offer{padding-bottom:clamp(20px,3vw,36px)}
.mc-offer-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:760px;padding:24px 28px;background:#fff;border:1px solid var(--mc-line);border-left:6px solid var(--mc-tan);border-radius:8px;color:inherit;text-decoration:none}
.mc-offer-title{font-family:var(--gh-font-heading);font-weight:700;font-size:clamp(2.2rem,2.4vw,2.8rem);line-height:1.2}
.mc-offer-text{font-size:1.6rem;line-height:1.5;opacity:.9}
/* Homepage top: headline and signup on the left, the Clear Mind Reset sheet on the right */
.mc-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(32px,5vw,72px);align-items:center}
.mc-sheet{display:flex;flex-direction:column;align-items:flex-start;gap:8px;color:inherit;text-decoration:none}
.mc-sheet img{width:100%;height:auto;margin-bottom:14px;background:#fff;border:1px solid var(--mc-line);border-radius:4px;box-shadow:0 18px 40px rgba(22,38,58,.18);transform:rotate(2deg)}
.mc-sheet-title{font-family:var(--gh-font-heading);font-weight:700;font-size:2.4rem;line-height:1.2}
.mc-sheet-text{font-size:1.6rem;line-height:1.5;opacity:.9}
@media (max-width:899px){.mc-hero-inner{grid-template-columns:1fr}
.mc-sheet{display:grid;grid-template-columns:104px 1fr;column-gap:18px;row-gap:4px;align-items:start;max-width:560px;margin-top:8px;padding:18px 16px;background:#fff;border:1px solid var(--mc-line);border-radius:10px}
.mc-sheet img{grid-row:1 / span 4;margin:4px 0 0;transform:rotate(-2deg);box-shadow:0 8px 20px rgba(22,38,58,.16)}
.mc-sheet-title{font-size:2.1rem}.mc-sheet-text{font-size:1.5rem}}

/* Clear Mind Reset popup. By itself: a small card in the corner on a computer, a card at the bottom on a phone, never covering the page. From a button: the same card in the middle of the screen. */
.mc-pop{position:fixed;right:24px;bottom:24px;z-index:90;width:min(520px,calc(100vw - 32px));opacity:0;transform:translateY(16px);transition:opacity .2s,transform .2s}
.mc-pop[hidden]{display:none}
.mc-pop.is-open{opacity:1;transform:none}
.mc-pop.is-center{inset:0;z-index:3999990;display:flex;align-items:center;justify-content:center;width:auto;padding:16px;background:rgba(22,38,58,.55);transform:none}
.mc-pop.is-center[hidden]{display:none}
.mc-pop.is-center .mc-pop-card{width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto}
.mc-pop-card{position:relative;display:grid;grid-template-columns:132px 1fr;gap:20px;align-items:center;padding:22px 24px;background:#fff;border:1px solid var(--mc-line);border-top:6px solid var(--mc-tan);border-radius:10px;box-shadow:0 22px 60px rgba(22,38,58,.28);color:var(--mc-ink)}
.mc-pop-img{width:100%;height:auto;border:1px solid var(--mc-line);border-radius:3px;box-shadow:0 8px 20px rgba(22,38,58,.16);transform:rotate(-2deg)}
.mc-pop-title{margin:4px 0 6px;font-family:var(--gh-font-heading);font-weight:700;font-size:2.4rem;line-height:1.15}
.mc-pop-text{margin:0 0 12px;font-size:1.5rem;line-height:1.45}
.mc-pop-form{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.mc-pop-form input{box-sizing:border-box;flex:1 1 150px;min-width:0;max-width:100%;height:44px;padding:0 12px;font-size:1.6rem;border:1px solid rgba(28,71,116,.35);border-radius:8px;background:#fff;color:inherit}
.mc-pop-form .gh-button{height:44px;padding:0 16px;font-size:1.5rem;white-space:nowrap}
.mc-pop-ok,.mc-pop-err{display:none;flex-basis:100%;margin:4px 0 0;font-size:1.4rem}
.mc-pop-form.success .mc-pop-ok{display:block}
.mc-pop-form.success input,.mc-pop-form.success .gh-button{display:none}
.mc-pop-form.error .mc-pop-err{display:block;color:#a33}
.mc-pop-no{margin-top:8px;padding:0;background:none;border:0;font-size:1.3rem;color:inherit;opacity:.7;text-decoration:underline;cursor:pointer}
.mc-pop-close{position:absolute;top:6px;right:8px;width:36px;height:36px;background:none;border:0;font-size:2.6rem;line-height:1;color:inherit;opacity:.6;cursor:pointer}
@media (max-width:600px){.mc-pop{right:8px;left:8px;bottom:8px;width:auto}.mc-pop-card{grid-template-columns:84px 1fr;gap:14px;padding:18px 16px}.mc-pop-title{font-size:2rem}.mc-pop-form input,.mc-pop-form .gh-button{flex:1 1 100%;width:100%}.mc-pop-body{min-width:0}.mc-pop-text{font-size:1.4rem}}

/* The box in place of subscriber-only content */
.mc-gate .mc-gate-text{margin:6px 0 18px;color:#fff;opacity:.92;font-size:1.6rem;line-height:1.5}
