/* Inzepto site styles: direction A (finance-native) */

/* Self-hosted fonts: variable woff2 from Google Fonts, latin and latin-ext subsets, licence in fonts/OFL.txt.
   The files hold the full axes (Newsreader wght 200-800 and opsz 6-72, Public Sans wght 100-900);
   the font-weight ranges below expose only the weights the site uses. */
@font-face {
  font-family: 'Newsreader'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(/assets/fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/public-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/public-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #14233C;
  --ground: #F5F7FA;
  --paper: #FFFFFF;
  --green: #1F6B4A;
  --green-light: #8FD1AE;
  --rule: #D5DCE5;
  --rule-soft: #E3E8EE;
  --muted: #3F4B5C;
  --muted-2: #5A6575;
  --field: #8E9AAA;
  --red: #A23B2A;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ground); }
img, svg { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 20px; padding-right: 20px; } }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand span { font-weight: 600; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font: inherit; font-weight: 600; border: 0; border-radius: 4px; padding: 14px 24px; cursor: pointer; line-height: 1.3; }
.nav .btn { padding: 12px 20px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22375A; color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #185A3E; color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Type */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 58px); line-height: 1.08; letter-spacing: -0.01em; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 42px); line-height: 1.15; }
.h3 { font-size: 20px; font-weight: 600; line-height: 1.35; }
.lede { font-size: 19px; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.tool { font-size: 15px; font-weight: 600; color: var(--green); }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-white { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-navy { background: var(--ink); color: #fff; }
.section-navy a { color: #fff; }
@media (max-width: 600px) { .section { padding-top: 64px; padding-bottom: 64px; } }
.stack { display: flex; flex-direction: column; gap: 20px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }

/* Home hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.report { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 28px 28px 20px; }
.report figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.report-title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.report-note { font-size: 14px; color: var(--muted-2); }
.table-scroll { overflow-x: auto; }
.report table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
.report th { padding: 8px 0 8px 12px; text-align: right; font-weight: 600; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.report th:first-child { text-align: left; padding-left: 0; font-weight: 500; color: var(--muted-2); }
.report td { padding: 10px 0 10px 12px; text-align: right; border-bottom: 1px solid var(--rule-soft); white-space: nowrap; }
.report td:first-child { text-align: left; padding-left: 0; }
.report tr.subtotal td { font-weight: 600; border-bottom: 1px solid var(--ink); }
.report tr.total td { font-weight: 600; border-bottom: 3px double var(--ink); }
.report .fav { color: var(--green); font-weight: 600; }
.report .adv { color: var(--red); font-weight: 600; }
.report > p { margin-top: 14px; font-size: 14px; color: var(--muted-2); }

/* Service rows (home) */
.rows { border-top: 2px solid var(--ink); margin-top: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.row > div { flex: 999 1 520px; min-width: 0; }
.row > p { flex: 1 1 220px; font-size: 15px; color: var(--muted-2); }
.row h3 { margin-bottom: 4px; }

/* Steps */
.steps { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; counter-reset: step; }
.steps li { border-top: 2px solid var(--ink); padding-top: 16px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 26px; color: var(--green); margin-bottom: 6px; }
.steps h3 { margin-bottom: 6px; }

/* Bands */
.band { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; justify-content: space-between; }
.band-text { flex: 999 1 480px; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.3; }

/* Page intro */
.page-intro { padding-top: 88px; padding-bottom: 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chips a { text-decoration: none; border: 1px solid var(--field); border-radius: 999px; padding: 8px 16px; font-size: 15px; background: var(--paper); }

/* Service detail cards */
.services { display: flex; flex-direction: column; gap: 24px; padding-bottom: 88px; }
.service { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 56px; scroll-margin-top: 24px; }
.service > div { flex: 1 1 340px; min-width: 0; }
.service h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.15; margin: 10px 0 12px; }
.service h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.service ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.service-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-dark .tool { color: var(--green-light); }
.service-dark p, .service-dark ul { color: #C9D2DD; }
@media (max-width: 600px) { .service { padding: 28px 24px; } }

/* About */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: 40px; }
.principles > div { border-top: 2px solid var(--ink); padding-top: 20px; }
.principles h3 { margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.facts h3 { font-size: 15px; font-weight: 600; color: #C9D2DD; margin-bottom: 6px; }
.person { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 48px; align-items: center; }
.person img { width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; gap: 28px; } .person img { max-width: 280px; } }

/* Contact + forms */
.message-section .form { max-width: 760px; margin: 0 auto; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 32px; }
@media (max-width: 600px) { .card { padding: 24px 20px; } }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-row > .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 12px; border: 1px solid var(--field); border-radius: 4px; background: var(--paper); width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field .opt { font-weight: 400; color: var(--muted-2); }
fieldset { margin: 0; padding: 0; border: 0; }
legend { font-size: 15px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 16px; font-size: 15px; }
.checks label { display: flex; gap: 8px; align-items: center; }
.checks input { width: 18px; height: 18px; accent-color: var(--green); }
.form .btn { align-self: flex-start; }
.status { font-size: 15px; min-height: 1.6em; }
.status.ok { color: var(--green); font-weight: 600; }
.status.err { color: var(--red); font-weight: 600; }
.form-note { font-size: 14px; color: var(--muted-2); }
.cal-embed { min-height: 620px; border: 1px solid var(--rule-soft); border-radius: 4px; overflow: auto; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
