:root {
    color-scheme: light;
    --ink: #28515a;
    --muted: #52747c;
    --teal: #176f78;
    --teal-deep: #185c65;
    --orange: #d36b51;
    --line: #d7e5e7;
    --pale: #edf6f7;
    --paper: #fff;
    --panel: #f5f9fa;
    --shadow: 0 16px 50px rgba(36, 91, 99, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--orange); }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.045em; max-width: 780px; margin-bottom: 22px; }
h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; }
h3 { font-size: 20px; font-weight: 750; margin-bottom: 9px; }
p { font-size: 16px; line-height: 1.75; margin-bottom: 19px; }
.shell { width: min(1460px, calc(100% - 76px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; padding: 8px 16px; background: #fff; z-index: 20; }
.skip-link:focus { top: 8px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.identity { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.identity:hover { color: var(--ink); }
.identity-name { font-size: 20px; letter-spacing: -0.6px; font-weight: 450; white-space: nowrap; }
.identity-name strong { font-weight: 850; }
.identity-sign { display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 37px; height: 37px; padding: 8px 6px; border-radius: 9px; background: var(--teal); }
.identity-sign i { width: 6px; background: #e9f8f9; border-radius: 1px 1px 0 0; }
.identity-sign i:nth-child(1) { height: 10px; }
.identity-sign i:nth-child(2) { height: 19px; }
.identity-sign i:nth-child(3) { height: 14px; }
.desktop-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; }
.desktop-nav a { text-decoration: none; color: var(--muted); font-size: 14px; line-height: 1.3; font-weight: 650; padding: 10px 12px; white-space: nowrap; border-radius: 5px; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--teal); background: var(--pale); }
.mobile-nav { display: none; }
.hero-surface { background: var(--pale); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr); align-items: center; gap: clamp(34px, 5.4vw, 86px); padding-top: 62px; padding-bottom: 62px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 16px; color: var(--teal); font-weight: 750; letter-spacing: 0.025em; margin: 0 0 23px; }
.lead { max-width: 780px; color: var(--muted); margin-bottom: 26px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; }
.action-main { background: var(--teal); color: #fff; padding: 11px 20px; font-weight: 750; text-decoration: none; border-radius: 4px; }
.action-main:hover { background: var(--teal-deep); color: #fff; }
.action-text { font-weight: 750; text-decoration: none; border-bottom: 1px solid #9ac0c4; }
.hero-insight { min-width: 0; position: relative; padding: 0; }
.hero-drawing { height: 162px; position: relative; overflow: hidden; border-bottom: 4px solid #a5cbd0; margin-bottom: 15px; }
.hero-drawing::before { content: ""; width: 104px; height: 104px; border: 1px solid #abcbd0; position: absolute; border-radius: 100%; top: 14px; right: 18px; }
.building { display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 9px 13px; position: absolute; bottom: 0; padding: 17px 15px 0; border: 1px solid #8cb5bc; border-bottom: none; }
.building i { height: 15px; background: #a8ccd1; display: block; border: 1px solid #7daeb6; }
.building-back { left: 10%; height: 120px; width: 31%; background: #d8e9ec; }
.building-front { left: 33%; height: 150px; width: 38%; background: #f9fcfc; border-color: #77a9b0; }
.building-front i:nth-child(2), .building-front i:nth-child(7) { background: var(--orange); border-color: var(--orange); }
.building-side { right: 5%; height: 94px; width: 23%; grid-template-columns: repeat(2, 1fr); background: #c2dfe3; }
.insight-caption { display: flex; flex-direction: column; align-items: flex-start; padding: 0 2px 3px; }
.insight-caption small { font-weight: 800; font-size: 13px; color: var(--teal); letter-spacing: 0.06em; text-transform: uppercase; }
.insight-caption strong { font-size: clamp(42px, 5vw, 70px); font-weight: 850; line-height: 1.17; letter-spacing: -0.06em; color: var(--teal); margin: 4px 0; }
.insight-caption span { color: var(--muted); line-height: 1.5; font-size: 14px; max-width: 450px; }
.reading-shell { max-width: 1180px; padding-top: 38px; padding-bottom: 88px; }
.content-section { padding: 37px 0 46px; border-bottom: 1px solid var(--line); }
.content-section:last-child { border-bottom: none; }
.content-section > p { max-width: 1000px; }
.content-section > p:last-child { margin-bottom: 0; }
.content-section a:not(.editorial-links a) { color: var(--teal); font-weight: 680; }
.source-note { color: var(--muted); padding: 12px 16px; margin-top: 21px; margin-bottom: 10px; border-left: 3px solid #9dc8cd; background: var(--panel); }
.table-wrap { width: 100%; margin: 18px 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
th { background: #eaf4f5; color: var(--ink); text-align: left; font-weight: 750; }
th, td { padding: 13px 17px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: #f8fbfb; }
tbody tr:last-child { font-weight: 720; }
.data-bars { background: #f3f9fa; padding: 25px 26px 19px; margin: 24px 0 26px; border: 1px solid var(--line); }
.bar-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 70px; align-items: center; gap: 16px; padding: 9px 0; font-weight: 680; }
.bar-track { height: 20px; background: #d9e8ea; border-radius: 2px; }
.bar-fill { height: 100%; border-radius: 2px; }
.bar-primary { background: var(--teal); width: 65%; }
.bar-secondary { background: var(--orange); width: 80%; }
.bar-row strong { white-space: nowrap; text-align: right; }
.bar-axis { display: flex; justify-content: space-between; margin: 0 86px 0 136px; font-size: 13px; color: var(--muted); }
.editorial-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 27px; }
.editorial-links a { display: flex; flex-direction: column; gap: 6px; min-width: 0; text-decoration: none; color: var(--ink); border-top: 3px solid var(--teal); border-bottom: 1px solid var(--line); background: var(--panel); padding: 19px 17px 22px; }
.editorial-links a:hover { border-top-color: var(--orange); background: var(--pale); color: var(--ink); }
.editorial-links span { font-size: 14px; font-weight: 800; color: var(--orange); }
.editorial-links strong { font-size: 18px; line-height: 1.25; }
.editorial-links small { font-size: 14px; color: var(--muted); line-height: 1.45; }
.balanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-items: start; margin: 23px 0 25px; }
.soft-panel { background: var(--pale); padding: 24px 24px 9px; border-left: 3px solid #8fc1c6; }
.soft-panel p { margin-bottom: 16px; }
.step-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 23px 0 26px; }
.step { display: flex; align-items: flex-start; gap: 18px; padding: 19px 0; border-top: 1px solid var(--line); }
.step-no { font-size: 22px; font-weight: 850; line-height: 1.2; color: var(--orange); min-width: 40px; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }
.calculator { background: var(--pale); padding: 24px; margin: 20px 0 30px; border: 1px solid #bbd7db; }
.calc-grid, .calc-output { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.calc-grid label { display: flex; flex-direction: column; font-weight: 750; font-size: 15px; gap: 8px; }
.calc-grid input { width: 100%; border: 1px solid #a9cbd0; border-radius: 3px; background: #fff; color: var(--ink); font: inherit; font-size: 18px; padding: 11px 13px; }
.calc-output { border-top: 1px solid #bad9dd; margin-top: 20px; padding-top: 20px; }
.calc-output > div { display: flex; flex-direction: column; gap: 3px; }
.calc-output span { color: var(--muted); font-size: 14px; }
.calc-output strong { font-size: 32px; line-height: 1.3; letter-spacing: -0.035em; color: var(--teal); }
.calc-message { margin: 16px 0 0; color: var(--muted); }
.related-section { padding-top: 43px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { color: var(--teal); text-decoration: none; background: var(--pale); padding: 9px 15px; border-radius: 3px; font-weight: 700; }
.related-links a:hover { background: #d6ebed; }
.site-footer { border-top: 1px solid var(--line); background: #e9f3f5; padding: 42px 0 46px; }
.footer-grid { display: grid; grid-template-columns: minmax(200px, .43fr) minmax(0, 1fr); gap: 45px; }
.footer-lead strong { font-size: 22px; font-weight: 800; }
.footer-lead p { color: var(--muted); margin: 10px 0 0; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 10px 20px; }
.footer-nav a { font-size: 14px; font-weight: 650; text-decoration: none; }
@media (max-width: 1170px) {
    .shell { width: min(100% - 52px, 1200px); }
    .desktop-nav a { padding-inline: 8px; font-size: 13px; }
    .hero-grid { gap: 36px; grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr); }
}
@media (max-width: 1000px) {
    .desktop-nav { display: none; }
    .mobile-nav { display: block; position: relative; }
    .mobile-nav summary { display: flex; align-items: center; cursor: pointer; font-weight: 750; gap: 10px; padding: 10px; list-style: none; }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .hamburger { display: flex; flex-direction: column; gap: 4px; width: 19px; }
    .hamburger i { height: 2px; background: var(--teal); width: 100%; }
    .mobile-nav nav { position: absolute; right: 0; top: calc(100% + 9px); width: min(400px, calc(100vw - 42px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 13px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
    .mobile-nav nav a { display: block; padding: 10px; text-decoration: none; font-size: 14px; line-height: 1.35; font-weight: 650; border-radius: 3px; }
    .mobile-nav nav a[aria-current="page"] { background: var(--pale); }
    .hero-grid { gap: 22px; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); }
    .hero-drawing { height: 133px; }
    .building-front { height: 121px; }
    .building-back { height: 105px; }
    .building-side { height: 84px; }
    .footer-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .shell { width: calc(100% - 34px); }
    .header-inner { min-height: 68px; }
    .identity-name { font-size: 19px; }
    .hero-grid { display: block; padding-top: 37px; padding-bottom: 35px; }
    .hero-insight { margin-top: 32px; border-top: 1px solid #c5e0e3; padding-top: 20px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 20px; align-items: end; }
    .hero-drawing { height: 140px; margin: 0; }
    .insight-caption { padding: 0; }
    .insight-caption strong { font-size: 46px; }
    .reading-shell { padding-top: 5px; padding-bottom: 52px; }
    .content-section { padding: 35px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .hero-insight { grid-template-columns: 1fr; gap: 14px; }
    .hero-drawing { height: 116px; }
    .building-front { height: 107px; }
    .building-back { height: 86px; }
    .building-side { height: 75px; }
    .insight-caption strong { font-size: 43px; }
    .eyebrow { margin-bottom: 14px; }
    h1 { line-height: 1.15; }
    h2 { line-height: 1.23; }
    .editorial-links, .step-stack, .balanced-grid, .calc-grid, .calc-output { grid-template-columns: 1fr; }
    .editorial-links { gap: 8px; }
    .step-stack { gap: 0; }
    .step { gap: 12px; padding: 15px 0; }
    .table-wrap { overflow-x: auto; }
    th, td { padding: 12px 8px; font-size: 14px; }
    .bar-row { grid-template-columns: 87px minmax(0, 1fr) 51px; gap: 8px; font-size: 13px; }
    .bar-axis { margin: 0 57px 0 96px; }
    .data-bars { padding: 18px 11px; }
    .calculator { padding: 17px; }
    .calc-grid, .calc-output { gap: 14px; }
    .calc-output strong { font-size: 29px; }
    .footer-nav { gap: 10px 14px; }
}
@media (max-width: 359px) {
    .identity-name { font-size: 18px; }
    .identity { gap: 8px; }
    .site-header .shell { width: calc(100% - 22px); }
    .hero-actions { gap: 13px; }
    .bar-row { grid-template-columns: 73px minmax(0, 1fr) 48px; gap: 5px; }
    .bar-axis { margin-left: 78px; margin-right: 53px; }
}
@media (max-width: 560px) {
    .table-wrap { overflow: visible; }
    .table-wrap table, .table-wrap tbody, .table-wrap tr { display: block; width: 100%; }
    .table-wrap thead { display: none; }
    .table-wrap tr { padding: 9px 0; border-bottom: 1px solid var(--line); }
    .table-wrap td { display: flex; justify-content: space-between; gap: 14px; padding: 7px 8px; border: 0; text-align: right; }
    .table-wrap td::before { content: attr(data-label); flex: 0 0 48%; text-align: left; font-weight: 720; color: var(--muted); }
}
