:root {
  --primary: #17324D;
  --secondary: #8C6A3C;
  --accent: #C7922F;
  --growth-green: #2F855A;
  --text: #1F2630;
  --muted: #5D6775;
  --surface: #F5F1EA;
  --surface-alt: #FFFFFF;
  --border: #D7CCBB;
  --white: #ffffff;
  --body-font: 'Source Sans 3', system-ui, sans-serif;
  --heading-font: 'Libre Baskerville', Georgia, serif;
  --container-width: 1160px;
  --section-space: 3rem;
  --shadow-soft: 0 14px 35px rgba(18, 27, 36, 0.08);
  --radius-shell: 24px;
  --radius-card: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body-font); color: var(--text); line-height: 1.68; background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0.98)); }
a { color: var(--secondary); text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
a:hover { text-decoration: underline; }
.container { width: min(var(--container-width), calc(100% - 2rem)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-topline { font-size: 0.88rem; }
.site-topline .container { padding: 0.6rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.logo { display: inline-flex; align-items: center; gap: 0.9rem; color: var(--text); text-decoration: none; min-width: 0; }
.logo:hover { color: var(--text); text-decoration: none; }
.logo-mark { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
.logo-mark-image { display: block; width: 100%; height: 100%; }
.logo-copy { display: grid; gap: 0.15rem; min-width: 0; }
.logo-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.logo-wordmark { font-family: var(--heading-font); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.1; color: var(--primary); }
nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
nav a { font-weight: 600; color: var(--primary); font-size: 0.95rem; }
nav a:hover { color: var(--accent); text-decoration: none; }
.mobile-menu-btn { display: none; background: none; border: 0; color: var(--primary); font-size: 1.6rem; cursor: pointer; }
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.breadcrumbs .container { padding: 0.8rem 0; }
main { padding: 0 0 calc(var(--section-space) + 0.75rem); }

/* Hero Sections */
.site-hero { padding: calc(var(--section-space) + 2rem) 0 calc(var(--section-space) + 1rem); background: linear-gradient(135deg, var(--surface) 0%, #ffffff 100%); border-bottom: 1px solid var(--border); }
.page-hero { padding: calc(var(--section-space) - 0.4rem) 0 calc(var(--section-space) - 0.9rem); background: var(--surface); border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1.2fr 0.8fr; }
.hero-copy h1,
.page-hero h1 { font-size: clamp(2.35rem, 4.2vw, 4.4rem); margin: 0 0 1rem; color: var(--primary); }
.hero-eyebrow,
.page-hero-label { margin: 0 0 0.7rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secondary); }
.hero-summary,
.page-hero-summary { font-size: clamp(1.05rem, 1.55vw, 1.2rem); color: var(--muted); max-width: 64ch; margin: 0; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-link { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 8px; background: var(--primary); color: var(--white); font-weight: 600; box-shadow: var(--shadow-soft); transition: all 0.2s ease; }
.hero-link:hover { color: var(--white); text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 50, 77, 0.2); }
.hero-link--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.hero-link--outline:hover { color: var(--white); background: var(--primary); }
.hero-panel { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 2rem; box-shadow: var(--shadow-soft); position: relative; }
.hero-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); border-radius: var(--radius-card) 0 0 var(--radius-card); }
.hero-panel-label { margin: 0 0 0.85rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--secondary); }

/* Trust Strip */
.trust-strip { padding: 2rem 0; border-bottom: 1px solid var(--border); background: #faf8f5; text-align: center; }
.trust-strip-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 1rem 0; }
.trust-strip-logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; opacity: 0.5; filter: grayscale(100%); transition: opacity 0.3s ease; }
.trust-strip:hover .trust-strip-logos { opacity: 0.8; }
.logo-text { font-family: var(--heading-font); font-size: 1.2rem; font-weight: 700; color: var(--primary); }

/* Layout & Typography */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; margin-top: 2.5rem; }
.content-grid.content-single { grid-template-columns: minmax(0, 800px); justify-content: center; }
article { min-width: 0; }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--primary); line-height: 1.2; }
h1 { font-size: clamp(2rem, 3.4vw, 3.3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.65rem, 2.5vw, 2.2rem); margin: 3rem 0 1.2rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--surface); }
h3 { font-size: 1.3rem; margin: 1.8rem 0 0.8rem; }
p, ul, ol, table { margin: 0 0 1.2rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.5rem; }
.article-intro { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.8; }
.article-body > *:first-child { margin-top: 0; }

/* Sidebar */
aside { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.5rem; position: sticky; top: 106px; box-shadow: var(--shadow-soft); }
aside h3 { margin-top: 0; font-size: 1.1rem; border-bottom: 2px solid var(--accent); padding-bottom: 0.6rem; margin-bottom: 1rem; }
aside ul { list-style: none; padding: 0; margin: 0; }
aside li { border-bottom: 1px solid var(--surface); padding: 0.75rem 0; margin: 0; }
aside li:last-child { border-bottom: 0; }
aside a { color: var(--primary); font-weight: 600; display: block; }
aside a:hover { color: var(--accent); text-decoration: none; transform: translateX(4px); }

/* Grid Cards Component */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card { display: flex; flex-direction: column; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.8rem; text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--growth-green); text-decoration: none; }
.card h3 { margin: 0 0 0.75rem 0; font-size: 1.25rem; color: var(--primary); transition: color 0.2s ease; }
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.6; flex-grow: 1; }
.card:hover h3 { color: var(--growth-green); }
.card-icon { width: 40px; height: 40px; color: var(--growth-green); margin-bottom: 1.2rem; background: rgba(47, 133, 90, 0.1); padding: 8px; border-radius: 8px; }

/* Process Flow Component */
.process-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin: 2.5rem 0; position: relative; }
.process-step { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 2rem 1.5rem; text-align: center; position: relative; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.step-icon { width: 48px; height: 48px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--heading-font); font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.2rem; border: 4px solid var(--surface-alt); box-shadow: 0 0 0 1px var(--border); }
.process-step h4 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.process-step p { margin: 0; font-size: 0.9rem; color: var(--muted); }
@media (min-width: 768px) {
  .process-flow::before { content: ''; position: absolute; top: 48px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 1; }
}

/* Notice Blocks */
.notice-block { display: flex; gap: 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.5rem; margin: 2rem 0; }
.notice-block--warning { background: #FFF9E6; border-color: #F2D699; border-left: 4px solid var(--accent); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.notice-icon { flex-shrink: 0; width: 28px; height: 28px; color: var(--accent); }
.notice-content { font-size: 0.95rem; color: var(--text); line-height: 1.6; }
.notice-content strong { color: var(--primary); font-family: var(--heading-font); display: block; margin-bottom: 0.25rem; font-size: 1.05rem; }

/* Tables & Code */
table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: var(--surface-alt); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
th, td { border-bottom: 1px solid var(--border); padding: 1rem; text-align: left; }
th { background: var(--primary); color: var(--white); font-weight: 600; }
code { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 0.1rem 0.4rem; font-family: monospace; font-size: 0.9em; color: var(--primary); }

/* Footer */
.site-footer { color: #dbe6f6; margin-top: 4rem; background: linear-gradient(180deg, rgba(16,38,58,0.98), rgba(12,27,42,1)); }
.footer-shell { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 3rem; padding: 3.5rem 0 2rem; align-items: start; }
.footer-brand { display: grid; gap: 0.75rem; }
.footer-kicker { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.footer-brand h4 { margin: 0; color: var(--white); font-size: 1.5rem; }
.footer-brand p { margin: 0; color: rgba(219,230,246,0.7); font-size: 0.95rem; line-height: 1.5; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; }
.footer-col h4 { color: var(--white); margin: 0 0 1rem; font-size: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: #a8bcdc; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0 2rem; font-size: 0.85rem; color: #8a9ebf; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  aside { position: static; margin-top: 2rem; }
  .footer-shell { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .mobile-menu-btn { display: block; }
  nav.primary-nav { display: none; width: 100%; padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
  nav.primary-nav.is-open { display: block; }
  nav ul { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .trust-strip-logos { gap: 1.5rem; }
}
