@font-face{font-family:'Signika';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/signika-600.0ca2c4c7b7.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+0152-0153,U+2009,U+2013-2014,U+2018-2019,U+201C-201D,U+2026,U+202F,U+20AC,U+2122}
@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ubuntu-sans-400.46099a000a.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+0152-0153,U+2009,U+2013-2014,U+2018-2019,U+201C-201D,U+2026,U+202F,U+20AC,U+2122}
@font-face{font-family:'Ubuntu Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ubuntu-sans-500.22860051bc.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+0152-0153,U+2009,U+2013-2014,U+2018-2019,U+201C-201D,U+2026,U+202F,U+20AC,U+2122}
/* site.css: the one stylesheet (compose.mjs prepends the @font-face block and writes /dist/site.<hash>.css). */
:root {
  --bg-wh8: #ffffff;
  --surface: #f1f5fb;
  --text-wh8: #17202e;
  --muted-wh8: #475263;
  --accent-wh8: #1d4f9c;
  --accent-dark: #163d7a;
  --on-accent: #ffffff;
  --hi: #fff3c4;
  --line-wh8: #d6deea;
  --field: #8a98ad;
  --off: #eef1f5;
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --radius-wh8: 10px;
  --container: 1160px;
  --measure: 62ch;
  --f-head: 'Signika', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Ubuntu Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-wh8);
  color: var(--text-wh8);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  font-variant-numeric: normal;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.22; margin: 0 0 var(--s3); color: var(--text-wh8); }
h1 { font-size: 2.369rem; letter-spacing: -0.01em; }
h2 { font-size: 1.777rem; }
h3 { font-size: 1.333rem; }
p { margin: 0 0 var(--s4); }
a { color: var(--accent-wh8); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, .text-field:focus-visible {
  outline: 3px solid var(--accent-wh8);
  outline-offset: 2px;
  border-radius: 4px;
}

.l-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s5); }
.prose > p, .prose > ul, .prose > .source, .lede { max-width: var(--measure); }

/* ------------------------------------------------------------------ header */
.site-header { position: relative; z-index: 20; background: var(--bg-wh8); border-bottom: 1px solid var(--line-wh8); }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: var(--s4); }
.logo { display: inline-flex; align-items: center; padding: var(--s1) 0; }
.logo img { display: block; width: 232px; height: 48px; }
.nav-toggle { display: none; }
.nav-list { position: relative; display: flex; align-items: center; gap: var(--s1); margin: 0; padding: 0; list-style: none; }
.nav-list > li > a, .nav-list > li > button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-wh8);
  font: 500 1rem/1.2 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li > button:hover, .has-panel.is-open > button { background: var(--surface); color: var(--accent-wh8); }
.caret { width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.has-panel.is-open .caret { transform: translateY(2px) rotate(225deg); }
.nav-panel { display: none; position: absolute; top: 100%; right: 0; z-index: 30; width: min(640px, calc(100vw - 2rem)); padding-top: 12px; }
.has-panel.is-open .nav-panel { display: block; }
html:not(.js) .has-panel:hover .nav-panel, html:not(.js) .has-panel:focus-within .nav-panel { display: block; }
.nav-panel-inner { background: var(--bg-wh8); border: 1px solid var(--line-wh8); border-radius: var(--radius-wh8); box-shadow: 0 14px 36px rgba(23, 32, 46, 0.14); padding: var(--s4); }
.panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px var(--s2); margin: 0; padding: 0; list-style: none; }
.panel-grid a { display: block; padding: 0.5rem 0.65rem; border-radius: 6px; color: var(--text-wh8); text-decoration: none; font-weight: 400; }
.panel-grid a:hover { background: var(--surface); color: var(--accent-wh8); }

/* ------------------------------------------------------------------ bands, heads, sections */
.band { background: var(--surface); padding: var(--s7) 0 calc(var(--s8) + var(--s6)); text-align: center; }
.band h1 { max-width: 26ch; margin: 0 auto var(--s3); }
.band .lede { margin: 0 auto; font-size: 1.12rem; color: var(--muted-wh8); }
.band--photo { position: relative; overflow: hidden; isolation: isolate; background: #10264d; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.band--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 28, 58, 0.64) 0%, rgba(12, 28, 58, 0.52) 55%, rgba(12, 28, 58, 0.32) 100%); }
.band--photo h1 { max-width: 34ch; font-size: 2.05rem; line-height: 1.2; color: #ffffff; text-shadow: 0 1px 14px rgba(8, 18, 40, 0.45); }
.band--photo .lede { color: #e8eefb; }
.tool-wrap { margin-top: calc(-1 * (var(--s8) + var(--s4))); position: relative; z-index: 2; }
.page-head { padding-top: var(--s7); padding-bottom: var(--s5); }
.entity-head { display: flex; align-items: center; gap: var(--s5); margin-bottom: var(--s3); }
.entity-head h1 { margin: 0; }
.entity-logo { flex: none; display: block; object-fit: contain; }
.lede { font-size: 1.12rem; color: var(--muted-wh8); }
.section { padding: var(--s7) 0; }
.section.is-band { background: var(--surface); }
.section h2 { margin-bottom: var(--s4); }
.section .after { margin-top: var(--s5); }
.bullets { margin: 0 0 var(--s4); padding-left: 1.2rem; }
.bullets li { margin-bottom: var(--s2); }
.source { font-size: 0.85rem; color: var(--muted-wh8); margin: var(--s2) 0 0; }

.photo { display: block; width: 100%; max-width: 760px; height: auto; margin: var(--s5) 0 var(--s4); border-radius: var(--radius-wh8); }
.page-head .photo { margin-bottom: 0; }

/* facts row: plain numbers in the page, no tiles */
.facts { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); margin: var(--s5) 0 var(--s2); padding: 0; list-style: none; }
.fact { display: flex; flex-direction: column; gap: 0.1rem; }
.fact-value { font-family: var(--f-head); font-weight: 600; font-size: 1.777rem; line-height: 1.2; white-space: nowrap; }
.fact.is-key .fact-value span { background: var(--hi); padding: 0 0.2em; border-radius: 4px; }
.fact-label { font-size: 0.95rem; color: var(--muted-wh8); }
.fact--sentence { display: block; }
.fact--sentence .fact-value { display: inline; font-size: 1.42rem; }

/* links */
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 2.75rem; padding: 0.45rem 0.85rem; border: 1px solid var(--line-wh8); border-radius: 8px; background: var(--bg-wh8); color: var(--text-wh8); font-weight: 400; text-decoration: none; }
.link-list a::after { content: "\203A"; color: var(--accent-wh8); font-size: 1.25em; line-height: 1; }
.link-list a:hover, .link-list a:focus-visible { border-color: var(--accent-wh8); color: var(--accent-dark); background: var(--surface); }
.brand-link { margin-top: var(--s5); }

/* ------------------------------------------------------------------ tables */
.table-wrap { width: 100%; overflow-x: auto; margin: var(--s4) 0 var(--s2); border: 1px solid var(--line-wh8); border-radius: var(--radius-wh8); background: var(--bg-wh8); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 0.7rem 0.95rem; text-align: left; vertical-align: top; }
thead th { font-weight: 600; font-family: var(--f-body); border-bottom: 1px solid var(--line-wh8); background: var(--bg-wh8); }
tbody tr:nth-child(even) { background: var(--surface); }
th.num, td.num { text-align: right; white-space: nowrap; }
td.is-key, th.is-key { background-color: rgba(29, 79, 156, 0.08); font-weight: 600; }
td a { font-weight: 500; }

/* ------------------------------------------------------------------ estimator */
.sim-h2 { margin-bottom: var(--s4); }
.sim {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-wh8);
  border: 1px solid var(--line-wh8);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(23, 32, 46, 0.1);
  padding: var(--s6);
  text-align: left;
}
.sim form { margin: 0; }
.step { border: 0; margin: 0 0 var(--s5); padding: 0; min-width: 0; }
.step-title { display: flex; align-items: center; gap: var(--s3); padding: 0; margin-bottom: var(--s3); font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; }
.step-n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent-wh8); color: var(--on-accent); font-size: 0.95rem; }
.car-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: block; }
.field-label { display: block; margin-bottom: 0.35rem; font-weight: 500; }
select {
  width: 100%;
  min-height: 54px;
  padding: 0.6rem 2.6rem 0.6rem 0.9rem;
  border: 1px solid var(--field);
  border-radius: 8px;
  background-color: var(--bg-wh8);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-wh8) 50%), linear-gradient(135deg, var(--text-wh8) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  color: var(--text-wh8);
  font: 400 1rem/1.3 var(--f-body);
  appearance: none;
  cursor: pointer;
}
select:hover:not(:disabled) { border-color: var(--accent-wh8); }
select:disabled { background-color: var(--off); color: #5d6878; cursor: not-allowed; }
.text-field { width: 100%; min-height: 54px; padding: 0.6rem 0.9rem; border: 1px solid var(--field); border-radius: 8px; background: var(--bg-wh8); color: var(--text-wh8); font: 400 1rem/1.3 var(--f-body); }
.text-field:hover { border-color: var(--accent-wh8); }
.field-err { color: #a3261c; font-weight: 500; }
.go { min-height: 54px; padding: 0.6rem 1.6rem; border: 0; border-radius: 8px; background: var(--accent-wh8); color: var(--on-accent); font: 600 1.05rem/1.2 var(--f-body); cursor: pointer; }
.go:hover { filter: brightness(1.12); }
.go[hidden] { display: none; }
.go:focus-visible { outline: 3px solid var(--accent-wh8); outline-offset: 2px; }
.choices { display: grid; gap: var(--s3); }
.choices--4 { grid-template-columns: repeat(4, 1fr); }
.choices--3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--field);
  border-radius: var(--radius-wh8);
  background: var(--bg-wh8);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice:hover { border-color: var(--accent-wh8); background: var(--surface); color: var(--accent-wh8); }
.choice:has(input:checked) { background: var(--accent-wh8); border-color: var(--accent-wh8); color: var(--on-accent); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent-wh8); outline-offset: 2px; }
.choice.is-off, .choice.is-off:hover { background: var(--off); border-color: #c3ccd8; border-style: dashed; color: #6b7585; cursor: not-allowed; }
.choice.is-off input { cursor: not-allowed; }
.hole { margin: var(--s2) 0 0; font-size: 0.9rem; color: var(--muted-wh8); }
.result { margin-top: var(--s2); padding-top: var(--s5); border-top: 1px solid var(--line-wh8); }
.wait { margin: 0; color: var(--muted-wh8); }
.big { margin: 0 0 var(--s2); font-family: var(--f-head); font-weight: 600; font-size: 1.6rem; line-height: 1.3; }
.why { margin: 0 0 var(--s5); color: var(--muted-wh8); font-size: 0.95rem; max-width: 72ch; }
.next h2, .next h3 { font-size: 1.15rem; margin-bottom: var(--s1); }
.next p { margin-bottom: var(--s2); }
.partners { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0 0 var(--s4); padding: 0; list-style: none; }
.partners a { display: inline-block; padding: 0.35rem 0; font-weight: 500; }
.change {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--accent-wh8);
  border-radius: 8px;
  background: var(--bg-wh8);
  color: var(--accent-wh8);
  font: 500 1rem/1.2 var(--f-body);
  cursor: pointer;
}
.change:hover { background: var(--accent-wh8); color: var(--on-accent); }
.page--home .section:first-of-type { padding-top: var(--s7); }
.tool-section .sim { max-width: none; }

/* ------------------------------------------------------------------ FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-wh8); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 56px; padding: var(--s3) 0; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 1.4rem; color: var(--accent-wh8); }
.faq details[open] summary::after { content: '\2212'; }
.faq summary:hover { color: var(--accent-wh8); }
.faq details p { max-width: var(--measure); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line-wh8); font-size: 0.778rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: var(--s5); padding-top: var(--s7); padding-bottom: var(--s6); }
.footer-about p { max-width: 34ch; margin-top: var(--s3); color: var(--muted-wh8); }
.footer-mark { display: inline-block; }
.footer-mark img { display: block; width: 48px; height: 48px; }
.footer-h { font-family: var(--f-body); font-weight: 600; font-size: 0.85rem; margin: 0 0 var(--s2); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 0.3rem; line-height: 1.4; }
.footer-col a { color: var(--text-wh8); text-decoration: none; }
.footer-col a:hover { color: var(--accent-wh8); text-decoration: underline; }
.legal { background: var(--text-wh8); color: #e3e9f2; padding: var(--s4) 0; }
.legal p { margin: 0 0 var(--s2); max-width: 110ch; }
.legal p:last-child { margin-bottom: 0; }
.legal a { color: #ffffff; }
.legal a:hover { color: var(--hi); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .panel-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--field);
    border-radius: 8px;
    background: var(--bg-wh8);
    color: var(--text-wh8);
    font: 500 1rem/1.2 var(--f-body);
    cursor: pointer;
  }
  .nav-toggle:hover { border-color: var(--accent-wh8); color: var(--accent-wh8); }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; content: ''; position: relative; }
  .burger::before { position: absolute; top: -6px; }
  .burger::after { position: absolute; top: 6px; }
  .site-nav { display: none; position: absolute; top: 100%; left: calc(-1 * var(--s5)); right: calc(-1 * var(--s5)); background: var(--bg-wh8); border-bottom: 1px solid var(--line-wh8); box-shadow: 0 14px 28px rgba(23, 32, 46, 0.12); padding: var(--s2) var(--s5) var(--s4); }
  .site-nav.is-open { display: block; }
  html:not(.js) .site-nav { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 var(--s3); }
  html:not(.js) .header-row { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .nav-list > li > button { width: 100%; min-height: 48px; justify-content: space-between; }
  .nav-panel { position: static; width: auto; padding-top: 0; }
  .nav-panel-inner { border: 0; box-shadow: none; padding: 0 0 var(--s2) var(--s3); }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid a { min-height: 44px; display: flex; align-items: center; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  h1 { font-size: 1.777rem; }
  .band--photo h1 { font-size: 1.6rem; }
  h2 { font-size: 1.42rem; }
  .l-container { padding: 0 var(--s4); }
  .logo img { width: 194px; height: 40px; }
  .header-row { min-height: 64px; }
  .band { padding: var(--s6) 0 calc(var(--s8) + var(--s3)); }
  .band .lede, .lede { font-size: 1rem; }
  .tool-wrap { margin-top: calc(-1 * var(--s8)); }
  .sim { padding: var(--s5) var(--s4); }
  .car-row { grid-template-columns: 1fr; gap: var(--s3); }
  .choices--4 { grid-template-columns: repeat(2, 1fr); }
  .choices--3 { grid-template-columns: repeat(3, 1fr); }
  .choice { min-height: 52px; padding: 0.5rem; font-size: 0.95rem; }
  .big { font-size: 1.333rem; }
  .entity-head { gap: var(--s3); }
  .entity-logo { max-width: 72px; height: auto; }
  .facts { gap: var(--s3) var(--s5); }
  .fact-value { font-size: 1.42rem; }
  .section { padding: var(--s6) 0; }
  .page-head { padding-top: var(--s5); }
  th, td { padding: 0.5rem 0.4rem; }
  table { font-size: 0.84rem; }
  th.num, td.num { white-space: normal; }
  thead th { overflow-wrap: anywhere; hyphens: auto; }
}
