/* Open Solutions — minimal site stylesheet. No frameworks, no web fonts. */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f6;
  --ink: #15181c;
  --muted: #4a5059;
  --line: #e1e5e7;
  --accent: #2b6764;
  --accent-hover: #1f4d4b;
  --accent-ink: #ffffff;
  --accent-soft: #e5efee;
  --focus: #1a6fd6;
  --wrap: 1120px;
  --measure: 70ch;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1214;
    --bg-soft: #171b1e;
    --ink: #e9ecee;
    --muted: #b2b9bf;
    --line: #2a3035;
    --accent: #7cc5bf;
    --accent-hover: #a5dcd7;
    --accent-ink: #0f1214;
    --accent-soft: #18292a;
    --focus: #8ab4f8;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--font);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; margin-top: 2.2em; }
h3 { font-size: 1.2rem; font-weight: 650; margin-top: 1.6em; }
p, ul, ol, table { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.prose { max-width: var(--measure); }
.wrap.prose { max-width: var(--wrap); }
.wrap.prose :is(p, ul, ol, h1, h2, h3, .note) { max-width: var(--measure); }
.wrap.prose .lead { max-width: 62ch; }
.muted { color: var(--muted); }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 62ch; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.nav li + li { margin: 0; }
.nav a, .nav summary { display: inline-block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .98rem; cursor: pointer; }
.nav a:hover, .nav summary:hover { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-left: 4px; }
.nav .nav-cta:hover { background: var(--accent-hover); color: var(--accent-ink); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.nav details[open] summary::after { transform: translateY(.05em) rotate(-135deg); }
.subnav { list-style: none; margin: 6px 0 0; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.08); min-width: 260px; }
.subnav a { display: block; }
@media (min-width: 720px) { .subnav { position: absolute; top: 100%; left: 0; z-index: 5; } }

/* Breadcrumbs */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 24px 0 0; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Sections */
.hero { padding: 56px 0 40px; }
.hero.home { padding: 72px 0 48px; }
.hero h1 { max-width: 20ch; }
.section { padding: 8px 0 24px; }
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; margin: 48px 0 0; }
.band h2 { margin-top: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 2px solid var(--accent); line-height: 1.3; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn.secondary { background: transparent; color: var(--accent); }
.btn.secondary:hover { background: var(--accent-soft); color: var(--accent-hover); }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); padding: 0; margin: 24px 0 0; list-style: none; }
.cards li + li { margin: 0; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--bg); }
.card:hover { border-color: var(--accent); }
.card h3, .card h2 { margin: 0 0 .4em; font-size: 1.15rem; }
.card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.card h3 a::after, .card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { margin: 0; color: var(--muted); }
.card .meta { font-size: .9rem; margin-bottom: .4em; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.steps li { counter-increment: step; margin: 0; padding-top: 8px; border-top: 2px solid var(--accent); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 700; color: var(--accent); font-size: .95rem; margin-bottom: 4px; }
.steps strong { display: block; }

/* Checklists & notes */
.check { list-style: none; padding-left: 0; }
.check li { position: relative; padding-left: 1.7em; }
.check li::before { content: ""; position: absolute; left: .15em; top: .5em; width: .9em; height: .5em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.note { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.4em; }
.note p:last-child { margin-bottom: 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; margin: 0; font-size: .98rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-weight: 650; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
caption { text-align: left; padding: 10px 14px; color: var(--muted); caption-side: bottom; font-size: .9rem; }

/* FAQ */
.faq h3 { font-size: 1.08rem; }

/* Article */
.article-meta { color: var(--muted); font-size: .95rem; margin-top: -0.2em; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 640px; margin-top: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid #8a9297; border-radius: 8px; padding: 10px 12px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form button { font: inherit; cursor: pointer; justify-self: start; }

/* Contact list */
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: 0 0 .6em; }
.contact-list strong { display: inline-block; min-width: 6.5em; }

/* Footer */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: .96rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h2 { font-size: 1rem; margin: 0 0 .7em; color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .4em; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .site-header nav, .site-footer, .actions, .skip { display: none; } }
.note h2 { margin-top: 0; font-size: 1.25rem; }
article .hero { padding-bottom: 24px; }

.hero nav p { margin: 20px 0 0; }
.cards + p { margin-top: 20px; }
main:has(> .band:last-child) + .site-footer { margin-top: 0; border-top: 0; }
