/* Clear Care: the Healthcare satellite's site design (backend/app/services/site_designs).
   Loaded only with <html data-design>; restyles existing elements, adds no content.
   Fonts: SIL OFL 1.1, served from /fonts with their licence (OFL-*.txt). */
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/atkinsonnext-var-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/atkinsonnext-var-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
html[data-design]{--sd-bg:#FFFFFF;--sd-surface:#EFF6F8;--sd-ink:#0E2433;--sd-ink2:#3E5462;--sd-muted:#56697A;--sd-accent:#0B6A86;--sd-accent-h:#08566D;--sd-on-accent:#FFFFFF;--sd-kick:#0B6A86;--sd-mint:#7FD6BC;--sd-mint-wash:#E8F6F1;--sd-border:#DCE7EC;--sd-font-display:'Atkinson Hyperlegible Next',system-ui,sans-serif;--sd-font-body:'Atkinson Hyperlegible Next',system-ui,sans-serif;--sd-r-sm:10px;--sd-r-btn:10px;--sd-r-card:14px;--sd-dur:160ms;--sd-ease:ease-out;--sd-footer-bg:#EFF6F8;--sd-footer-ink:#0E2433;--sd-footer-ink2:#3E5462;--sd-footer-head:#0E2433;--sd-footer-border:#DCE7EC;--sd-footer-hover:#0B6A86;--sd-waves:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 66C240 26 480 106 720 66S1200 26 1440 66V120H0Z' fill='%23E8F6F1'/%3E%3Cpath d='M0 92C260 62 520 122 780 92S1240 62 1440 94V120H0Z' fill='%23DCEFF3'/%3E%3C/svg%3E")}
html[data-design] body{line-height:1.8}
html[data-design] h1,html[data-design] h2,html[data-design] h3,html[data-design] .font-serif{font-weight:700;letter-spacing:-.01em}
html[data-design] :focus-visible{outline:3px solid var(--sd-mint);outline-offset:2px}
html[data-design] .sd-header::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--sd-accent),var(--sd-mint));pointer-events:none}
html[data-design] .sd-nav a{padding:4px 0;border-bottom:2px solid transparent}
html[data-design] .sd-nav a:hover{border-bottom-color:var(--sd-mint)}
html[data-design] .sd-hero{padding-bottom:7rem}
html[data-design] .sd-hero::before{inset:0 calc(50% - 50vw);background:var(--sd-waves) left bottom/100% 110px no-repeat,linear-gradient(180deg,var(--sd-surface),#fff 90%)}
html[data-design] .sd-hero::after{left:64%;right:calc(50% - 50vw);top:22%;height:80px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 80' preserveAspectRatio='xMaxYMid meet'%3E%3Cpath d='M0 44H560l14-1 9-27 16 56 12-40 8 12H900' fill='none' stroke='%230B6A86' stroke-opacity='.35' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") right center/auto 100% no-repeat;animation:sd-draw 2.4s ease-out .3s both}
@media (max-width:1023px){
html[data-design] .sd-hero::after{display:none}
}
@keyframes sd-draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
html[data-design] .sd-kicker{letter-spacing:.16em}
html[data-design] .sd-kicker::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--sd-mint);box-shadow:0 0 0 4px var(--sd-mint-wash);flex:none}
html[data-design] .sd-btn{background-color:#fff}
html[data-design] .sd-posts{gap:18px}
html[data-design] .sd-post{border:1px solid var(--sd-border);border-radius:var(--sd-r-card);padding:24px}
html[data-design] .sd-post:hover{border-color:var(--sd-accent);background-color:#FAFDFD}
html[data-design] .sd-cat{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:var(--sd-mint-wash);color:#0A5D4C;letter-spacing:.08em;font-size:11px}
html[data-design] .sd-cat::before{content:"";width:6px;height:6px;border-radius:50%;background:#2FA585}
html[data-design] .sd-item{padding:20px;border:1px solid var(--sd-border);border-radius:14px}
html[data-design] .sd-item:last-child{border-bottom-width:1px}
html[data-design] .sd-item:hover{border-color:var(--sd-accent)}
html[data-design] .sd-note{background:var(--sd-surface);border-left:4px solid var(--sd-accent);border-radius:8px;padding:10px 14px;color:var(--sd-ink);font-size:13.5px}
html[data-design] .sd-note-ai{font-style:normal}
html[data-design] .sd-article .prose h2{padding-left:14px;border-left:4px solid var(--sd-mint)}
html[data-design] .prose blockquote{border:0;background:var(--sd-mint-wash);border-radius:14px;padding:18px 20px 18px 54px;position:relative;font-style:normal;color:var(--sd-ink)}
html[data-design] .prose blockquote::before{content:"";position:absolute;left:18px;top:20px;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6A86' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.5h.01'/%3E%3C/svg%3E") center/contain no-repeat}
html[data-design] .sd-article .prose table{border:1px solid var(--sd-border);border-radius:14px;border-collapse:separate;border-spacing:0;overflow:hidden}
html[data-design] .sd-article .prose thead th{background:var(--sd-surface)}
html[data-design] .sd-article .prose tbody td{border-top:1px solid var(--sd-border)}
html[data-design] .sd-faq-item:hover{border-color:var(--sd-accent)}
html[data-design] .sd-rel-item:hover{background:var(--sd-surface)}
html[data-design] .sd-badge{background:var(--sd-mint-wash)}
html[data-design] .sd-badge span{color:#0A5D4C}
html[data-design] .sd-field{border-width:2px}
html[data-design] .sd-field:focus{outline:none;box-shadow:0 0 0 3px var(--sd-mint);border-color:var(--sd-accent)}
html[data-design] .sd-err{border-radius:20px;padding-bottom:110px}
html[data-design] .sd-err::before{left:0;right:0;bottom:0;height:90px;background:var(--sd-waves) bottom/100% 100% no-repeat}
