:root{
  --bg:#ffffff;
  --text:#0B1F3A;
  --muted:#6E7B8B;
  --rule:#E5E9F0;
  --accent:#2E4057;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.wrap{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px;
}

.site-header{
  border-bottom:1px solid var(--rule);
  background:var(--bg);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:28px;
  padding:18px 0 14px;
}

.brand__name{
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, Georgia, serif;
  font-size: 20px;
  letter-spacing:0.2px;
  color:var(--text);
  text-decoration:none;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand__logo{
  height:34px;
  width:auto;
  display:block;
}

.brand__identity{
  display:flex;
  flex-direction:column;
}


.brand__sub{
  margin-top:4px;
  font-size: 12px;
  color: var(--muted);
}

.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  justify-content:flex-start;
  align-items:center;
  font-size: 12px;
}

.top-nav a{
  color: var(--muted);
  text-decoration:none;
  padding:4px 0;
  border-bottom:1px solid transparent;
}

.top-nav a:hover{
  color: var(--text);
  border-bottom-color: var(--rule);
}

.doc{
  padding: 34px 0 46px;
}

h1, h2, h3{
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

h1{font-size: 34px; margin:0 0 10px}
h2{font-size: 18px; margin: 0 0 10px}
.lede{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 78ch;
}

.rule{
  height:1px;
  background:var(--rule);
  margin: 18px 0 22px;
}

.content{
  max-width: 78ch;
}

.content p{
  margin: 0 0 14px;
}

.content h3{
  margin: 22px 0 10px;
  font-size: 18px;
}

.content ul{
  margin: 10px 0 16px 18px;
  padding: 0;
}

.content li{margin: 6px 0}

a{color: var(--accent)}
a:hover{color: var(--text)}

.card{
  border:1px solid var(--rule);
  border-radius: 10px;
  padding: 16px 16px 14px;
  background: #fff;
}

.home-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.home-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding: 10px 0 0;
}

.home-nav a{
  text-decoration:none;
  color: var(--text);
  border-bottom:1px solid var(--rule);
  padding: 8px 0;
}

.home-nav a span{
  display:block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.figure{
  margin: 22px 0 0;
}

.figure img{
  width:100%;
  height:auto;
  border:1px solid var(--rule);
  border-radius: 10px;
  background:#fff;
}

.site-footer{
  border-top:1px solid var(--rule);
  padding: 18px 0 26px;
  font-size: 12px;
  color: var(--muted);
}

.footer-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}

.footer-title{
  color: var(--text);
  margin-bottom:4px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  justify-content:flex-end;
}

.footer-links a{
  color: var(--muted);
  text-decoration:none;
  border-bottom:1px solid transparent;
}

.footer-links a:hover{
  color: var(--text);
  border-bottom-color: var(--rule);
}

@media (min-width: 860px){
  .home-grid{grid-template-columns: 1.05fr 0.95fr}
}


/* Charter homepage layout */
.contents-list {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-left: 1.2rem;
}

.canonical-figure {
  margin: 2.5rem 0;
  text-align: center;
}

.canonical-figure img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.canonical-figure figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.75rem;
}


/* Reference-figure integration (A3.2B.11, charter base) */
.reference-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e6e6e6;
}

.canonical-figure--constrained img {
  max-width: 980px;
  width: 100%;
  height: auto;
}

.canonical-figure a {
  display: inline-block;
  width: 100%;
}


/* Header layout: brand on first row, nav below */
.header-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding:18px 0 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand__logo{
  height:34px;
  width:auto;
  display:block;
}

.brand__identity{
  display:flex;
  flex-direction:column;
}

.brand__name{
  font-size:16px;
  font-weight:600;
  color: var(--text, #0B1F3A);
  white-space:nowrap;
}

.brand__sub{
  font-size:11px;
  color: var(--muted, #6E7B8B);
}

.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  justify-content:flex-start;
  align-items:center;
  font-size:12px;
  margin:0;
  padding:0;
}

/* Remove any right-justification coming from earlier rules */
.site-header .wrap, .site-header .inner, .header-row{
  justify-content:flex-start !important;
}


/* Increase logo visibility and align with institutional header scale */
.brand__logo{
  height:56px !important;
  width:auto;
  display:block;
}

/* Add proper spacing between logo and identity text */
.brand{
  gap:16px;
}

/* Slightly increase identity block vertical rhythm */
.brand__identity{
  gap:2px;
}

/* Ensure header spacing accommodates larger logo */
.header-stack{
  gap:14px;
  padding:22px 0 16px;
}



/* Institutional header logo scale — primary identity anchor */
.brand__logo{
  height:84px !important;
  width:auto !important;
  display:block;
}

/* Ensure identity block aligns vertically with larger logo */
.brand{
  gap:18px;
  align-items:center;
}

/* Slightly increase header vertical space */
.header-stack{
  padding:26px 0 18px;
  gap:12px;
}

/* Adjust identity typography spacing relative to larger logo */
.brand__identity{
  gap:3px;
}



/* Increase logo to optimal institutional scale */
.brand__logo{
  height:104px !important;
  width:auto !important;
  display:block;
}

/* Increase header vertical padding slightly */
.header-stack{
  padding:30px 0 20px;
}

/* Maintain balanced spacing */
.brand{
  gap:20px;
}



/* ===== Horizon Synergy Institutional Header Layout ===== */
.site-header{
  background:#ffffff;
}

.header-identity{
  display:flex;
  align-items:center;
  gap:20px;
  padding-top:28px;
  padding-bottom:14px;
  border-bottom:1px solid var(--rule, #E5E9F0);
}

.brand{
  display:flex;
  align-items:center;
  gap:20px;
  text-decoration:none;
}

.brand__logo{
  height:104px;
  width:auto;
  display:block;
}

.brand__identity{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.brand__name{
  font-size:18px;
  font-weight:600;
  color:var(--text, #0B1F3A);
  white-space:nowrap;
}

.brand__sub{
  font-size:12px;
  color:var(--muted, #6E7B8B);
}

.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  justify-content:flex-start;
  align-items:center;
  padding-top:10px;
  padding-bottom:14px;
  border-bottom:1px solid #F0F3F6;
  font-size:12px;
}

.top-nav a{
  color:var(--accent, #2E4057);
  text-decoration:none;
}

.top-nav a:hover{
  text-decoration:underline;
}

/* Give content clear separation from nav */
main{
  padding-top:28px;
}
/* ===== End Institutional Header Layout ===== */


/* ===== Refined institutional header spacing and divider consistency ===== */

/* Reduce vertical padding around identity */
.header-identity{
  padding-top:18px !important;
  padding-bottom:10px !important;
}

/* Make nav divider same width as identity divider */
.wrap{
  max-width:1100px;
  margin:0 auto;
}

/* Remove full-width divider and use wrap-based divider instead */
.top-nav{
  border-bottom:none !important;
  padding-bottom:10px;
}

/* Add matching divider under nav using wrap container alignment */
.wrap + main{
  border-top:1px solid var(--rule, #E5E9F0);
  margin-top:12px;
  padding-top:24px;
}

/* Slightly reduce header stack spacing */
.brand{
  gap:16px;
}

.brand__logo{
  height:104px;
}



/* ===== Ensure divider lines match exactly ===== */

/* Identity divider remains constrained */
.header-identity{
  border-bottom:1px solid var(--rule, #E5E9F0);
}

/* Remove any full-width divider from nav */
.top-nav{
  border-bottom:none !important;
}

/* Add divider under nav using same wrap constraint */
.wrap nav.top-nav::after{
  content:"";
  display:block;
  margin-top:10px;
  border-bottom:1px solid var(--rule, #E5E9F0);
}

/* Ensure wrap truly constrains all divider geometry */
.wrap{
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
}



/* ===== v11: remove accidental full-width divider under nav ===== */
.wrap + main{
  border-top:none !important;
  margin-top:0 !important;
  padding-top:28px !important; /* keep breathing room without drawing a full-width rule */
}


/* ===== v12: remove full-width site-header border; use constrained dividers only ===== */
.site-header{
  border-bottom:none !important;
}

/* Ensure nav divider is constrained and matches identity divider */
.wrap > nav.top-nav::after{
  content:"";
  display:block;
  margin-top:10px;
  border-bottom:1px solid var(--rule, #E5E9F0);
}


/* ===== v13: explicit nav divider element (constrained to wrap) ===== */
.nav-divider{
  width:100%;
  border-bottom:1px solid var(--rule, #E5E9F0);
  margin-top:10px;
}


/* ===== v14: identical divider elements for identity and nav ===== */
.header-identity{
  border-bottom:none !important;
}

.section-divider,
.nav-divider{
  width:100%;
  border-bottom:1px solid var(--rule, #E5E9F0);
  margin-top:12px;
}
/* nav divider should sit closer */
.nav-divider{
  margin-top:10px;
}



/* ===== v15: dividers as their own rows to avoid flex placement issues ===== */
.section-divider,
.nav-divider{
  width:100%;
  border-bottom:1px solid var(--rule, #E5E9F0);
}

/* spacing for divider rows */
.section-divider{ margin: 10px 0 0; }
.nav-divider{ margin: 10px 0 0; }



/* =========================================================
   Horizon Synergy — Canonical Institutional Layout Lock
   ========================================================= */

/* Core geometry container */
.wrap{
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
  padding-left:0;
  padding-right:0;
}

/* Identity row */
.header-identity{
  display:flex;
  align-items:center;
  gap:16px;
  padding-top:18px;
  padding-bottom:8px;
}

/* Brand block */
.brand{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
}

.brand__logo{
  height:110px;
  width:auto;
  display:block;
}

.brand__identity{
  display:flex;
  flex-direction:column;
}

.brand__name{
  font-size:18px;
  font-weight:600;
  color:#0B1F3A;
}

.brand__sub{
  font-size:12px;
  color:#6E7B8B;
}

/* Divider system — universal */
.section-divider{
  width:100%;
  border-bottom:1px solid #E5E9F0;
  margin-top:10px;
}

/* Navigation layer */
.top-nav{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  padding-top:10px;
  padding-bottom:8px;
  font-size:12px;
}

.top-nav a{
  text-decoration:none;
  color:#2E4057;
}

.top-nav a:hover{
  text-decoration:underline;
}

/* Content separation */
main{
  padding-top:28px;
}

/* Footer structure */
footer{
  margin-top:40px;
  padding-bottom:24px;
}

/* Footer divider spacing */
.footer-divider{
  margin-top:40px;
  margin-bottom:16px;
}

/* Footer text */
.footer-text{
  font-size:11px;
  color:#6E7B8B;
}

/* Lock header/footer visual integrity */
header, footer{
  background:#FFFFFF;
}

/* Prevent accidental full-width borders */
.site-header,
header,
footer{
  border:none !important;
}

/* =========================================================
   End Canonical Institutional Layout Lock
   ========================================================= */



/* ===== v16: footer divider restored inside .site-footer ===== */
.site-footer .footer-divider{
  margin-top:0;
  margin-bottom:16px;
}
.site-footer{
  padding-top:0;
}
