/* Shared ink-and-paper identity for Resonate's patient-facing pages. */
.editorial-site{--paper:#fff;--ink:#080808;--muted:#42424a;--blue:#0047ff;--line:#dedee1;--lavender:#f3f5ff;--mint:#fff;--peach:#fff;background:#fff;color:var(--ink);font-family:"DM Sans",system-ui,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;}
.editorial-site *{box-sizing:border-box;}
.editorial-site .wrap{max-width:1328px;margin-inline:auto;padding-inline:52px;}
.editorial-site h1,.editorial-site h2,.editorial-site h3,.editorial-site .brand-wordmark{font-family:"Times New Roman",Times,serif;font-weight:400;font-style:normal;letter-spacing:-.045em;}
.editorial-site h1 em,.editorial-site h2 em{font-style:normal;color:inherit;}
.editorial-site a{color:var(--blue);text-underline-offset:4px;}
.editorial-site p{line-height:1.7;}
.editorial-site .site-nav{position:relative;top:auto;background:#fff;border:0;z-index:20;}
.editorial-site .nav-inner{display:flex;align-items:center;justify-content:space-between;min-height:156px;gap:40px;}
.editorial-site .brand{position:relative;display:block;width:max-content;color:#080808;text-decoration:none;padding-top:14px;line-height:.95;}
.editorial-site .brand-wordmark{display:block;font-size:55px;line-height:.9;letter-spacing:-3px;color:#080808;}
.editorial-site .brand-wordmark>span{display:block;color:#080808;font:600 12px/1.5 "DM Sans",sans-serif;letter-spacing:6px;text-transform:uppercase;text-align:center;padding:10px 0 0 6px;}
.editorial-site .brand-rays{display:flex;gap:7px;position:absolute;left:42px;top:-7px;height:22px;align-items:flex-start;transform:rotate(-5deg);}
.editorial-site .brand-rays i{height:18px;width:5px;background:var(--blue);border-radius:5px;transform:rotate(-27deg);}
.editorial-site .brand-rays i:nth-child(2){height:23px;transform:translateY(-6px) rotate(5deg);}
.editorial-site .brand-rays i:nth-child(3){transform:rotate(31deg);}
.editorial-site .nav-links{display:flex;align-items:center;gap:31px;margin:0;padding:0;list-style:none;}
.editorial-site .nav-links a{font:400 14px/1.5 "DM Sans",sans-serif;color:#080808;text-decoration:none;white-space:nowrap;}
.editorial-site .nav-links a:not(.button):hover{text-decoration:underline;text-underline-offset:5px;}
.editorial-site .button,.editorial-site .nav-links .button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;border:1px solid var(--blue);border-radius:100px;background:var(--blue);color:#fff;padding:15px 25px;font:500 16px/1.4 "DM Sans",sans-serif;text-decoration:none;box-shadow:none;cursor:pointer;}
.editorial-site .nav-links .button{font-size:14px;padding:13px 21px;}
.editorial-site .nav-links .button span{display:none;}
.editorial-site .button:hover{background:#0039ce;border-color:#0039ce;transform:none;}
.editorial-site .button:disabled{opacity:.65;cursor:default;}
.editorial-site .menu-button{display:none;color:#080808;min-height:44px;font:400 15px/1.5 "DM Sans",sans-serif;}
.editorial-site :is(a,button,input,select,summary):focus-visible{outline:3px solid #0047ff;outline-offset:5px;}
.editorial-site .button:focus-visible{outline-color:#080808;}
.editorial-site .skip{position:absolute;left:16px;top:-100px;background:#fff;padding:12px;z-index:100;}
.editorial-site .skip:focus{top:10px;}
.editorial-site .site-footer{background:#fff;color:#080808;border-top:1px solid #080808;padding:60px 0 24px;margin-top:70px;}
.editorial-site .site-footer .footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:40px;margin-bottom:35px;}
.editorial-site .footer-links{display:flex;flex-wrap:wrap;gap:24px;font-size:14px;}
.editorial-site .site-footer .brand{display:inline-block;margin-bottom:18px;}
.editorial-site .site-footer p{margin:0 0 18px;max-width:82ch;}
.editorial-site .site-footer .small{font-size:13px;line-height:1.7;color:#42424a;}
.editorial-site .footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:23px;margin-top:26px;font-size:11px;}
.editorial-site .ink-arrow,.editorial-site .interest-form .button span{display:inline-block;font-size:0;width:12px;height:12px;position:relative;margin-left:4px;vertical-align:baseline;}
.editorial-site .ink-arrow::before,.editorial-site .interest-form .button span::before{content:"";position:absolute;width:9px;height:9px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;right:0;top:0;}
.editorial-site .ink-arrow::after,.editorial-site .interest-form .button span::after{content:"";position:absolute;width:14px;height:1.5px;background:currentColor;right:-1px;top:5px;transform:rotate(-45deg);}
.editorial-site .eyebrow{color:#45454d;font:500 10px/1.5 "DM Sans",sans-serif;letter-spacing:2px;text-transform:uppercase;margin-bottom:20px;}
.editorial-site .interest-form input[type=email],.editorial-site .interest-form input[type=text]{border:1px solid #888;background:#fff;border-radius:4px;min-height:51px;color:#080808;}
.editorial-site .interest-form input[type=checkbox]{accent-color:var(--blue);}
.editorial-site .interest-form .check{font-size:13px;line-height:1.6;}
.editorial-site .interest-form .small{font-size:12px;line-height:1.6;color:#42424a;}
.editorial-site .interest-form [aria-invalid=true]{outline:2px solid #ba1a1a;outline-offset:2px;}
.editorial-site .form-status[data-state=error]{color:#a00f21;}
.editorial-site .form-status[data-state=success]{color:#165b35;}
.editorial-site .faq summary{font-size:18px;min-height:56px;}
.editorial-site .faq p{font-size:16px;color:#42424a;}
.editorial-site .care-details>h2{margin:0 0 30px;}
.editorial-site #planned-care-details{scroll-margin-top:24px;}

/* Content-page layouts retain each page's text and existing form wiring. */
.editorial-page h1{font-size:clamp(49px,6.4vw,88px);line-height:1.02;margin:0 0 28px;max-width:20ch;}
.editorial-page h2{font-size:clamp(35px,4vw,54px);line-height:1.08;margin:0 0 25px;}
.editorial-page h3{font-size:31px;line-height:1.16;margin:0 0 19px;}
.editorial-page p{margin:0 0 20px;}
.editorial-page .page-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:55px;align-items:center;max-width:none;padding:46px 0 64px;}
.editorial-page .page-hero p{font-size:20px;color:#071a80;line-height:1.65;max-width:51ch;margin-bottom:0;}
.editorial-page .page-hero-copy{min-width:0;}
.editorial-page .page-ink-scene{margin:0;min-width:0;justify-self:center;width:100%;}
.editorial-page .page-ink-scene img{display:block;width:100%;height:auto;object-fit:contain;}
.editorial-page .scene-hero-square,.editorial-page .scene-hero-arch{max-width:290px;}
.editorial-page .page-ink-scene figcaption{font-size:12px;line-height:1.6;text-align:center;color:#42424a;margin-top:14px;}
.editorial-page .section{padding:56px 0;}
.editorial-page .rule{border-top:1px solid var(--line);}
.editorial-page .split{gap:70px;align-items:center;}
.editorial-page .portrait-frame{border:0;border-radius:0;background:none;padding:0;max-width:400px;margin-inline:auto;box-shadow:none;transform:none;}
.editorial-page .portrait{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:0;}
.editorial-page .card{background:transparent;border:0;border-top:1px solid #080808;border-radius:0;padding:28px 0 15px;box-shadow:none;}
.editorial-page .grid{gap:40px;}
.editorial-page .number{font:500 11px/1.5 "DM Sans",sans-serif;color:var(--blue);letter-spacing:1.5px;}
.editorial-page .notice{background:#f3f5ff;border:0;border-left:3px solid var(--blue);border-radius:0;padding:23px 28px;color:#263052;}
.editorial-page .notice p:last-child{margin-bottom:0;}
.editorial-page .narrow{max-width:820px;margin-inline:auto;}
.editorial-page .signup-section{background:#f3f5ff;border-radius:0;padding:48px;gap:70px;margin:0;}
.editorial-page .signup-section h2{font-size:48px;}
.editorial-page .signup-section .small{color:#42424a;}
.editorial-page .legal{padding:46px 0 10px;}
.editorial-page .legal h1{margin-bottom:30px;}
.editorial-page .legal h2{font-size:31px;margin-top:37px;margin-bottom:15px;}
.editorial-page .legal p,.editorial-page .legal li{font-size:17px;line-height:1.8;}
.editorial-page .actions{gap:24px;margin-top:30px;}
.page-cash-pay .page-hero{padding-bottom:70px;}
.page-cash-pay .card{padding-top:30px;}
.page-condition-adhd .page-hero{grid-template-columns:minmax(0,1.6fr) minmax(220px,.6fr);}
.page-condition-adhd h1{font-size:clamp(45px,5.8vw,76px);}

/* Library discovery controls and article cards. */
.editorial-page .library-review .page-hero{grid-template-columns:minmax(0,1fr) 300px;gap:45px;padding:42px 0 52px;}
.editorial-page .library-review .page-hero h1{font-size:clamp(48px,5.5vw,74px);}
.editorial-page .library-scene{display:block;margin:0;max-width:none;}
.editorial-page .library-scene img{border-radius:0;display:block;width:100%;height:auto;}
.editorial-page .library-scene figcaption{font:400 12px/1.6 "DM Sans",sans-serif;color:#42424a;margin-top:14px;}
.editorial-page .library-browser>h2{font-size:36px;margin-bottom:25px;}
.editorial-page #library-controls{padding:28px;background:#f3f5ff;border:1px solid #d9def2;border-radius:0;margin-bottom:35px;}
.editorial-page .search-input-row input{border:1px solid #888;border-radius:4px;background:#fff;}
.editorial-page .search-input-row button,.editorial-page #empty-reset{background:var(--blue);color:#fff;min-height:48px;}
.editorial-page #topic-buttons button{background:#fff;border-color:#9eabc9;color:#080808;min-height:44px;}
.editorial-page #topic-buttons button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff;}
.editorial-page .library-toolbar select{background:#fff;border:1px solid #888;min-height:44px;}
.editorial-page #clear-filters{color:var(--blue);min-height:44px;}
.editorial-page .resource-grid{gap:36px;}
.editorial-page .resource-card{background:#fff;border:0;border-top:1px solid #080808;border-radius:0;padding:25px 0 0;min-height:0;}
.editorial-page .resource-topic{background:none;color:var(--blue);border-radius:0;padding:0;font-size:11px;letter-spacing:1.3px;text-transform:uppercase;margin-bottom:20px;}
.editorial-page .resource-card h3{font-family:"Times New Roman",Times,serif;font-size:30px;line-height:1.15;margin-bottom:20px;}
.editorial-page .resource-card h3 a{text-decoration:none;color:#080808;}
.editorial-page .resource-card h3 a:hover{text-decoration:underline;text-underline-offset:5px;}
.editorial-page .resource-summary{font-size:15px;line-height:1.7;color:#42424a;margin-bottom:22px;}
.editorial-page .resource-meta{font-size:12px;color:#42424a;}
.editorial-page .empty-results{border-radius:0;background:#fff;border-color:#9eabc9;}
.editorial-page .article-number{font-family:"Times New Roman",Times,serif;color:var(--blue);}

@media(min-width:1081px){.editorial-site .nav-inner{flex-wrap:nowrap;padding-block:0}.editorial-site .nav-links{display:flex;width:auto;flex-direction:row}.editorial-site .nav-links a{padding:0}.editorial-site .nav-links .button{padding:13px 21px;margin:0}}
@media(max-width:1080px){
 .editorial-site .wrap{padding-inline:35px;}.editorial-site .nav-inner{min-height:132px;flex-wrap:wrap;padding-block:24px;gap:20px;}
 .editorial-site .menu-button{display:block;border:1px solid #080808;background:white;border-radius:30px;padding:10px 18px;}
 .editorial-site .nav-links{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;}
 .editorial-site .nav-links.open{display:flex;}.editorial-site .nav-links a{padding:13px 4px;font-size:16px;}.editorial-site .nav-links .button{margin-top:10px;}
 .editorial-page .page-hero{gap:35px;grid-template-columns:minmax(0,1.3fr) minmax(180px,.7fr);}
 .editorial-page .page-hero p{font-size:18px;}.editorial-page .split{gap:40px;}.editorial-page .signup-section{gap:40px;padding:36px;}
 .editorial-page .library-review .page-hero{grid-template-columns:minmax(0,1fr) 230px;gap:30px;}
}
@media(max-width:720px){
 .editorial-site .wrap{padding-inline:22px;}.editorial-site .nav-inner{min-height:110px;padding-block:25px 16px;gap:16px;}
 .editorial-site .brand-wordmark{font-size:39px;letter-spacing:-2px;}.editorial-site .brand-wordmark>span{font-size:8px;letter-spacing:4.5px;padding-top:8px;}
 .editorial-site .brand-rays{left:31px;top:-1px;gap:5px;height:14px;}.editorial-site .brand-rays i{height:12px;width:3px;}.editorial-site .brand-rays i:nth-child(2){height:15px;transform:translateY(-4px) rotate(5deg);}
 .editorial-site .menu-button{font-size:13px;padding:8px 15px;}.editorial-site .site-footer{padding-top:43px;margin-top:50px;}
 .editorial-site .site-footer .footer-top{display:block;margin-bottom:30px;}.editorial-site .footer-links{margin-top:28px;gap:22px;}
 .editorial-site .footer-bottom{flex-direction:column;gap:12px;}.editorial-site .faq summary{font-size:16px;}
 .editorial-page h1{font-size:clamp(43px,9.5vw,64px);line-height:1.05;margin-bottom:23px;}.editorial-page h2{font-size:39px;}.editorial-page h3{font-size:29px;}
 .editorial-page .page-hero,.editorial-page .library-review .page-hero{grid-template-columns:1fr;gap:26px;padding:32px 0 38px;}
 .editorial-page .page-hero p{font-size:17px;}.editorial-page .page-ink-scene{max-width:300px;}.editorial-page .scene-hero-square,.editorial-page .scene-hero-arch{max-width:155px;}
 .editorial-page .page-ink-scene figcaption{font-size:11px;margin-top:10px;}.editorial-page .section{padding:38px 0;}.editorial-page .split{gap:30px;}
 .editorial-page .portrait-frame{max-width:320px;}.editorial-page .grid{gap:24px;}.editorial-page .card{padding-top:23px;}
 .editorial-page .notice{padding:20px 22px;}.editorial-page .signup-section{padding:28px 22px;margin-inline:-6px;gap:25px;}.editorial-page .signup-section h2{font-size:38px;}
 .editorial-page .legal{padding-top:34px;}.editorial-page .legal h2{font-size:29px;}.editorial-page .legal p,.editorial-page .legal li{font-size:16px;}
 .editorial-page .library-review .page-hero{display:block;padding-bottom:34px;}.editorial-page .library-review .page-hero h1{font-size:43px;}.editorial-page .library-scene{display:none;}
 .editorial-page .library-browser>h2{font-size:31px;}.editorial-page #library-controls{padding:20px;}.editorial-page .resource-grid{gap:30px;}.editorial-page .resource-card h3{font-size:30px;}
 .editorial-page .resource-summary{font-size:15px;}.editorial-page .resource-meta{font-size:12px;}
}
@media(max-width:380px){.editorial-site .wrap{padding-inline:18px}.editorial-site .brand-wordmark{font-size:35px}.editorial-site .menu-button{padding:8px 12px}.editorial-page h1,.editorial-page .library-review .page-hero h1{font-size:40px}.editorial-page h2{font-size:35px}.editorial-page .signup-section{padding:25px 18px}.editorial-page .signup-section h2{font-size:34px}.editorial-page #library-controls{padding:17px}}
@media(prefers-reduced-motion:reduce){.editorial-site *,.editorial-site *::before,.editorial-site *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}

/* Override legacy dark-footer ink and retain the established face-centered crop. */
.editorial-site .site-footer .footer-brand .brand-wordmark{color:#080808;}
.editorial-page .portrait-frame{width:min(100%,380px);aspect-ratio:1;}
.editorial-page .portrait-frame .portrait{position:absolute;width:142.857143%;max-width:none;height:auto;aspect-ratio:auto;left:-42.857143%;top:-10.714286%;margin:0;object-fit:contain;border-radius:0;}
/* Non-sticky navigation should land directly on useful content, without a long page sweep. */
html{scroll-behavior:auto;scroll-padding-top:24px;}
.editorial-site #planned-care-details{scroll-margin-top:0;}
