:root{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#17211d;
  background:#f5f5f0;
  line-height:1.55;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:#f5f5f0;
  color:#17211d;
}

a{
  color:#36584a;
}

.site-header,
main,
footer{
  max-width:1120px;
  margin:0 auto;
}

.site-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 28px;
}

.brand{
  color:inherit;
  font-weight:800;
  text-decoration:none;
}

h1{
  margin:.2em 0;
  font-size:clamp(2.2rem,5vw,4.7rem);
  line-height:1.04;
  letter-spacing:-.015em;
}

h2{
  font-size:1.45rem;
  line-height:1.22;
}

h3{
  line-height:1.28;
}

.eyebrow{
  color:#53635b;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.lede{
  max-width:760px;
  color:#46534d;
  font-size:1.15rem;
}

/* Homepage hero */
.hero{
  max-width:1120px;
  margin:0 auto;
  padding:68px 28px 50px;
  text-align:center;
}

.hero h1{
  max-width:930px;
  margin:0 auto;
}

.hero-title{
  font-size:clamp(2.8rem,5.4vw,5rem);
  line-height:1.02;
  letter-spacing:-.01em;
}

.hero-line{
  display:block;
}

/* Homepage search */
.search-form{
  max-width:920px;
  margin:40px auto 0;
}

.search-form label{
  display:block;
  margin-bottom:8px;
  font-weight:700;
}

.search-row{
  display:flex;
  width:100%;
  gap:12px;
}

.search-row input{
  flex:1;
  min-width:0;
  height:64px;
  padding:18px 20px;
  border:1px solid #98a39d;
  border-radius:14px;
  background:#fff;
  color:#17211d;
  font:inherit;
  font-size:1.1rem;
  text-align:left;
  transition:border-color .15s ease,box-shadow .15s ease;
}

.search-row input::placeholder{
  color:#717873;
}

.search-row input:focus{
  border-color:#17211d;
  outline:none;
  box-shadow:0 0 0 3px rgba(23,33,29,.12);
}

.search-row button{
  height:64px;
  padding:0 30px;
  border:0;
  border-radius:14px;
  background:#17211d;
  color:#fff;
  font:inherit;
  font-size:1rem;
  font-weight:800;
  cursor:pointer;
  transition:background .15s ease,transform .08s ease;
}

.search-row button:hover{
  background:#26332d;
}

.search-row button:active{
  transform:translateY(1px);
}

/* Homepage value propositions */
.trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  padding:10px 28px 30px;
}

.trust-grid article{
  min-height:220px;
  padding:28px 26px;
  border:1px solid #d9ddda;
  border-radius:18px;
  background:#fff;
}

.trust-grid article h2{
  margin:0 0 14px;
  color:#17211d;
  font-size:1.18rem;
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.01em;
}

.trust-grid article p{
  margin:0;
  color:#35403a;
  font-size:1rem;
  line-height:1.58;
}

/* Internal page headers */
.profile-head,
.page-head{
  padding:72px 28px 46px;
}

.profile-head h1,
.page-head h1{
  font-size:clamp(2rem,4vw,3.8rem);
}

/* General content */
.two-col{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  padding:0 28px 28px;
}

.content-card,
.facts{
  margin:0 28px 20px;
  padding:24px;
  border:1px solid #dde0dc;
  border-radius:16px;
  background:#fff;
}

.facts{
  background:#e9eee8;
}

.analysis-card{
  border-color:#d4dbd6;
}

.analysis-subsection{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid #e3e4e1;
}

.analysis-subsection h3{
  margin-top:0;
}

.year-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.year-nav a{
  padding:5px 10px;
  border:1px solid #cfd5d1;
  border-radius:999px;
  text-decoration:none;
}

.year-nav .year-current{
  border-color:#17211d;
  color:#17211d;
  font-weight:800;
}

.big-number{
  font-size:2.7rem;
  font-weight:800;
  letter-spacing:-.02em;
}

.meta-row,
.result-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:#5c6661;
  font-size:.9rem;
}

/* Search results */
.results{
  display:grid;
  gap:10px;
}

.result{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:18px;
  border:1px solid #dde0dc;
  border-radius:12px;
  background:#fff;
  color:inherit;
  text-decoration:none;
}

.result:hover{
  border-color:#b8bfba;
}

.result div:first-child{
  display:grid;
}

.result-meta{
  justify-content:flex-end;
}

/* Notices and muted explanatory copy */
.notice,
.warning{
  padding:12px 14px;
  border-left:4px solid #737d77;
  background:#f1f2ef;
}

.warning{
  border-left-color:#8b4d4a;
  background:#f6efed;
}

.muted{
  color:#5c6661;
}

.table-subtext{
  color:#66716b;
  font-size:.85rem;
}

.detail-row td{
  padding-top:0;
}

.source-record-list{
  margin:.75rem 0 0;
  padding-left:1.2rem;
}

.meta-block{
  margin-top:22px;
  padding-top:14px;
  border-top:1px solid #e3e4e1;
  color:#5c6661;
  font-size:.9rem;
}

.meta-block p{
  margin:.35rem 0;
}

/* Tables */
table{
  width:100%;
  margin-top:12px;
  border-collapse:collapse;
}

th,
td{
  padding:11px 8px;
  border-bottom:1px solid #e3e4e1;
  text-align:left;
  vertical-align:top;
}

th{
  color:#58625d;
  font-size:.82rem;
}

details{
  margin-top:18px;
}

summary{
  cursor:pointer;
  font-weight:700;
}

/* Footer editorial disclaimer */
footer{
  padding:38px 28px 60px;
  color:#8b4d4a;
  font-size:.9rem;
  line-height:1.5;
  text-align:center;
}

.site-note{
  max-width:900px;
  margin:0 auto;
  color:#8b4d4a;
  font-weight:500;
  text-align:center;
}

@media(max-width:760px){
  .site-header{
    align-items:flex-start;
    gap:12px;
  }

  .hero{
    padding-top:48px;
    padding-bottom:40px;
  }

  .hero-title{
    font-size:clamp(2.45rem,11vw,3.8rem);
    line-height:1.03;
    letter-spacing:-.005em;
  }

  .search-form{
    margin-top:32px;
  }

  .search-row{
    flex-direction:column;
  }

  .search-row button{
    width:100%;
  }

  .trust-grid,
  .two-col{
    grid-template-columns:1fr;
  }

  .trust-grid{
    gap:14px;
  }

  .trust-grid article{
    min-height:auto;
  }

  .profile-head,
  .page-head{
    padding-top:48px;
  }

  .result{
    display:block;
  }

  .result-meta{
    justify-content:flex-start;
    margin-top:10px;
  }

  table{
    display:block;
    overflow-x:auto;
    font-size:.9rem;
  }
}

/* Trust navigation and landing-page explanatory copy */
.trust-nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:.95rem;
}

.trust-nav a{
  color:#27312c;
  text-decoration:none;
}

.trust-nav a:hover,
.trust-nav a:focus-visible{
  color:#17211d;
  text-decoration:underline;
  text-underline-offset:4px;
}

.hero-subtitle{
  max-width:820px;
  margin:28px auto 0;
  color:#3f4944;
  font-size:1.15rem;
  line-height:1.55;
}

.search-trust{
  max-width:760px;
  margin:18px auto 0;
  color:#65706a;
  font-size:.92rem;
}

.trust-page-head{
  max-width:860px;
}

.trust-copy{
  max-width:860px;
}

.trust-copy h2{
  margin-top:30px;
}

.trust-copy h2:first-child{
  margin-top:0;
}

.qa-list h2{
  scroll-margin-top:24px;
}

@media(max-width:760px){
  .site-header{
    flex-direction:column;
  }

  .trust-nav{
    width:100%;
    gap:18px;
    font-size:.9rem;
  }

  .hero-subtitle{
    margin-top:22px;
    font-size:1rem;
  }

  .search-trust{
    font-size:.88rem;
  }
}

.notice-inline{margin:12px 0 18px;padding:10px 12px;border:1px solid #d6d5cc;border-radius:10px;background:#f8f7f2;color:#454b47;font-size:.94rem}

/* M5 trust layer */
.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px;
  margin-top:14px;
  font-size:.86rem;
}

.footer-links a{
  color:#6f524d;
  text-decoration:none;
}

.footer-links a:hover,
.footer-links a:focus-visible{
  text-decoration:underline;
  text-underline-offset:3px;
}

.trust-jump-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 18px;
}

.trust-jump-nav a{
  white-space:nowrap;
}

.qa-index ol{
  columns:2;
  column-gap:36px;
  margin-bottom:0;
  padding-left:1.3rem;
}

.qa-index li{
  break-inside:avoid;
  margin-bottom:.55rem;
}

.qa-list h2,
.trust-copy[id]{
  scroll-margin-top:24px;
}

.trust-meta-list{
  display:grid;
  gap:0;
  margin:16px 0;
  border-top:1px solid #e3e4e1;
}

.trust-meta-list div{
  display:grid;
  grid-template-columns:minmax(170px,220px) 1fr;
  gap:18px;
  padding:10px 0;
  border-bottom:1px solid #e3e4e1;
}

.trust-meta-list dt{
  color:#5c6661;
  font-weight:700;
}

.trust-meta-list dd{
  margin:0;
}

.change-log{
  padding-left:1.2rem;
}

.change-log li{
  margin:.6rem 0;
}

.table-scroll{
  width:100%;
  overflow-x:auto;
}

.button-link{
  display:inline-block;
  padding:11px 16px;
  border-radius:10px;
  background:#17211d;
  color:#fff;
  font-weight:800;
  text-decoration:none;
}

.button-link:hover,
.button-link:focus-visible{
  background:#26332d;
}

.correction-action{
  margin-top:22px;
}

code{
  padding:.1em .3em;
  border-radius:4px;
  background:#f1f2ef;
  font-size:.9em;
}

@media(max-width:760px){
  .qa-index ol{
    columns:1;
  }

  .trust-meta-list div{
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* M6A.2: visible breadcrumb matches doctor-page structured data. */
.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  padding:8px 28px 0;
  color:#64716a;
  font-size:.86rem;
}

.breadcrumb a{
  color:#50645a;
  text-decoration:none;
}

.breadcrumb a:hover{
  text-decoration:underline;
}

/* M7 launch-readiness accessibility and small-screen hardening. */
.skip-link{
  position:fixed;
  top:10px;
  left:10px;
  z-index:1000;
  padding:10px 14px;
  border-radius:8px;
  background:#fff;
  color:#17211d;
  font-weight:800;
  text-decoration:none;
  transform:translateY(-160%);
}

.skip-link:focus{
  transform:translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible{
  outline:3px solid #17211d;
  outline-offset:3px;
}

.search-row button:focus-visible,
.button-link:focus-visible{
  outline-color:#fff;
  box-shadow:0 0 0 6px #17211d;
}

.trust-nav a,
.footer-links a,
.year-nav a{
  display:inline-flex;
  min-height:44px;
  align-items:center;
}

summary{
  min-height:44px;
  align-items:center;
}

body,
p,
li,
td,
th{
  overflow-wrap:break-word;
}

@media(max-width:420px){
  .site-header,
  .hero,
  .profile-head,
  .page-head,
  .breadcrumb,
  footer{
    padding-left:16px;
    padding-right:16px;
  }

  .content-card,
  .facts{
    margin-left:16px;
    margin-right:16px;
    padding:18px;
  }

  .trust-grid,
  .two-col{
    padding-left:16px;
    padding-right:16px;
  }

  .trust-nav{
    flex-wrap:wrap;
    gap:4px 16px;
  }
}
