/* legal.simplehealthkit.com: static copy of the www legal pages' look (no JavaScript). */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url("/assets/fonts/dm-sans-latin.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500 700;font-display:swap;src:url("/assets/fonts/inter-latin.woff2") format("woff2")}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#fff;color:#0a0a0a;font-family:"DM Sans",sans-serif;font-size:16px;line-height:1.5}
h1,h2,h3,p{margin:0}
img,svg{display:block}
a{color:inherit}
button{font:inherit;color:inherit}

.skip-link{position:absolute;left:16px;top:-100px;z-index:100;padding:8px 12px;border-radius:8px;background:#333;color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.skip-link:focus{top:16px}

/* Header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid #f0f4f8}
.header-inner{max-width:1200px;height:80px;margin:0 auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{flex-shrink:0}
.main-nav,.header-cta{display:none}
.nav-link,.dd-toggle{font-size:14px;line-height:20px;font-weight:500;color:#1a2332;white-space:nowrap;text-decoration:none}
.nav-link:hover{opacity:.7}
.dd{position:relative}
.dd-toggle{display:flex;align-items:center;gap:4px;padding:0;border:0;background:none;cursor:pointer}
.chev{flex-shrink:0;transition:transform .2s}
.dd-panel{position:absolute;top:100%;left:0;z-index:50;padding-top:8px;visibility:hidden;opacity:0;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility 0s linear .15s}
/* Visible at once on show, so Tab moves straight into the items; hidden after the fade on close. */
.dd:hover .dd-panel,.dd:focus-within .dd-panel{visibility:visible;opacity:1;transform:none;transition:opacity .15s,transform .15s,visibility 0s}
.dd:hover .dd-toggle,.dd:focus-within .dd-toggle{opacity:.7}
.dd:hover .chev,.dd:focus-within .chev{transform:rotate(180deg)}
.dd-card{width:280px;padding:8px;border:1px solid #f0f4f8;border-radius:16px;background:#fff}
.dd-item{display:block;padding:12px 16px;border-radius:12px;text-decoration:none;transition:background-color .15s}
.dd-item:hover,.dd-item:focus-visible{background:#f7f7f7}
.dd-title{display:block;font-size:14px;line-height:21px;font-weight:500;color:#1a2332}
.dd-desc{display:block;margin-top:2px;font-size:12px;line-height:18px;color:rgba(0,0,0,.5)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:22px;font-size:14px;line-height:20px;font-weight:700;white-space:nowrap;text-decoration:none;transition:background-color .15s,color .15s}
.btn-outline{gap:6px;border:1px solid #333;color:#333}
.btn-outline:hover{background:#f7f7f7}
.btn-dark{gap:8px;background:#333;color:#fff}
.btn-dark:hover{background:#1f1f1f}

/* Mobile menu: a <details> disclosure, so it works without JavaScript */
.mobile-menu>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;border-radius:8px;list-style:none;cursor:pointer}
.mobile-menu>summary::-webkit-details-marker{display:none}
.bar{display:block;width:22px;height:2px;border-radius:9999px;background:#1a2332;transition:transform .2s,opacity .2s}
.mobile-menu[open] .bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.mobile-menu[open] .bar:nth-child(2){opacity:0;transform:scaleX(0)}
.mobile-menu[open] .bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-panel{position:fixed;top:80px;left:0;right:0;z-index:40;max-height:calc(100vh - 80px);overflow-y:auto;border-top:1px solid #f0f4f8;background:#fff}
.mobile-list{display:flex;flex-direction:column;gap:4px;padding:16px}
.m-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 16px;border-radius:12px;font-size:16px;line-height:24px;font-weight:500;color:#1a2332;text-decoration:none;list-style:none;cursor:pointer;transition:background-color .15s}
.m-row::-webkit-details-marker{display:none}
.m-row:hover{background:#f7f7f7}
.m-group[open]>summary .chev{transform:rotate(180deg)}
.m-sub{padding-left:16px}
.m-subitem{display:block;padding:8px 16px;border-radius:10px;text-decoration:none}
.m-subitem:hover{background:#f7f7f7}
.m-subitem .dd-desc{margin-top:0}
.m-cta{display:flex;flex-direction:column;gap:12px;padding:12px 8px 8px}
.btn-block{width:100%;min-height:48px}
.btn-outline-2{gap:8px;border-width:2px}

@media (min-width:640px){.header-inner{padding:0 24px}}
@media (min-width:1024px){
  .header-inner{padding:0 48px}
  .main-nav{display:flex;align-items:center;gap:32px}
  .header-cta{display:flex;align-items:center;gap:16px}
  .mobile-menu{display:none}
}

/* Document */
.legal{background:#fff}
.legal-inner{max-width:860px;margin:0 auto;padding:120px 24px}
.legal h1{font-size:36px;line-height:1.2;font-weight:700;color:#111827}
.notice{margin-bottom:40px;padding:16px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;line-height:21px;color:#374151}
.notice-title{margin-bottom:6px;font-weight:700;color:#111827}
.title-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:40px}
.title-row-tight{margin-bottom:16px}
.title-stack{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}
.related-links{display:flex;flex-wrap:wrap;gap:4px 16px}
.related-links a{font-size:14px;line-height:21px;color:#111827}
.updated{font-size:14px;line-height:21px;color:#6b7280}
.updated-sm{font-size:12px;line-height:18px;color:#000}
.lede{margin-bottom:40px;font-size:14px;line-height:22.4px;font-weight:600;color:#374151}
.toc{margin-bottom:48px;padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#f9fafb}
.toc-title{margin-bottom:12px;font-size:18px;line-height:27px;font-weight:700;color:#111827}
.toc ul{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.toc li{font-size:14px;line-height:21px}
.toc a{color:#111827}
.doc{display:flex;flex-direction:column;gap:48px;color:#111827}
.doc [id]{scroll-margin-top:96px}
.doc h2{margin-bottom:16px;font-size:24px;line-height:36px;font-weight:700}
.doc h3{margin-bottom:12px;font-size:18px;line-height:27px;font-weight:600}
.doc p{margin-bottom:16px}
.doc .semibold{font-weight:600}
.doc .example{font-size:14px;line-height:21px;color:#6b7280}
.doc ul,.doc ol{margin:0 0 24px 24px;padding:0}
.doc ul{list-style:disc}
.doc ol{list-style:decimal}
.doc li{margin-bottom:8px}
.doc strong{font-weight:700}
/* Long URLs (hhs.gov links in the Notice of Privacy Practices) wrap instead of widening the page on phones. */
.doc a{overflow-wrap:anywhere}
.doc .stack{display:flex;flex-direction:column}
.doc .card{padding-left:16px;border-left:2px solid #e5e7eb}
.doc :last-child{margin-bottom:0}
/* Accessibility page: looser type scale */
.doc-a11y{gap:40px;line-height:1.7}
.doc-a11y h2{font-size:22px;line-height:33px}
.doc-a11y h3{font-size:17px;line-height:25.5px;font-weight:700}
.doc .gap-16{gap:16px}
.doc .gap-32{gap:32px}
.doc .mb-0{margin-bottom:0px!important}
.doc .mb-4{margin-bottom:4px!important}
.doc .mb-8{margin-bottom:8px!important}
.doc .mb-10{margin-bottom:10px!important}
.doc .mb-12{margin-bottom:12px!important}
.doc .mb-16{margin-bottom:16px!important}
.doc .mb-24{margin-bottom:24px!important}
.doc .mb-32{margin-bottom:32px!important}

/* Footer */
.site-footer{border-top:1px solid #f0f4f8;background:#fff;font-family:Inter,sans-serif}
.footer-inner{max-width:1200px;margin:0 auto;padding:65px 16px 32px}
.footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding-bottom:48px}
.footer-brand{grid-column:span 2;display:flex;flex-direction:column;gap:16px}
.brand-name{font-size:20px;line-height:28px;font-weight:700;letter-spacing:-.5px;color:#1a2332}
.brand-tagline{font-size:14px;line-height:22.75px;font-weight:700;color:rgba(0,0,0,.6)}
.brand-copy{font-size:12px;line-height:16px;font-weight:700;color:#94a3b8}
.footer-col{display:flex;flex-direction:column;gap:16px}
.footer-heading{font-size:14px;line-height:20px;font-weight:700;color:#1a2332}
.footer-links{display:flex;flex-direction:column;gap:12px}
.footer-links a{font-size:14px;line-height:20px;font-weight:700;color:rgba(0,0,0,.6);text-decoration:none;transition:color .15s}
.footer-links a:hover{color:rgba(20,27,39,.84)}
.footer-credentials{display:flex;flex-direction:column;gap:16px;padding:32px 0 24px;border-top:1px solid #f0f4f8}
.cred-label{font-size:12px;line-height:18px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#94a3b8}
.badges{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.badge{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none}
.badge img{height:40px;width:auto;filter:grayscale(1);opacity:.6}
.badge span{font-size:10px;line-height:15px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:#94a3b8}
.cred-meta{font-size:12px;line-height:18px;font-weight:500;color:#94a3b8}
.footer-bottom{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:16px;padding-top:24px;border-top:1px solid #f0f4f8}
.footer-tagline{font-size:12px;line-height:18px;font-weight:700;color:#94a3b8}
.footer-legal{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.footer-legal a{font-size:12px;line-height:18px;font-weight:700;color:#94a3b8;text-decoration:none}
.footer-legal a:hover{color:#64748b}

@media (min-width:640px){
  .footer-inner{padding-left:24px;padding-right:24px}
  .footer-bottom{flex-direction:row;align-items:center}
  .footer-legal{gap:24px}
}
@media (min-width:1024px){
  .footer-inner{padding-left:48px;padding-right:48px}
  .footer-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:48px}
  .footer-credentials{flex-direction:row;align-items:center;justify-content:space-between}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
