:root {
  --blue: #2f5597;
  --blue-dark: #1b3461;
  --ink: #17233a;
  --muted: #55617a;
  --line: #dde3ee;
  --tint: #f3f6fb;
  --white: #fff;
  --accent: #f2b632;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 650; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: min(70rem, 100%); margin: 0 auto; padding: 0 1.25rem; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--white); padding: .5rem 1rem; }
.skip:focus { left: .5rem; z-index: 2; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--blue); font-size: 1.2rem; font-weight: 700; text-decoration: none; margin-right: auto; }
.brand img { display: block; }
.nav, .langs { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.nav a, .langs a { color: var(--ink); font-size: .95rem; text-decoration: none; padding: .25rem 0; }
.nav a:hover, .langs a:hover { color: var(--blue); }
.nav a[aria-current] { color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.langs { gap: .75rem; padding-left: 1.25rem; border-left: 1px solid var(--line); }
.langs a { color: var(--muted); font-size: .85rem; }
.langs a[aria-current] { color: var(--blue); font-weight: 700; }

.hero { background: linear-gradient(160deg, var(--blue-dark), var(--blue)); color: var(--white); padding: clamp(3.5rem, 10vw, 7rem) 0; }
.hero h1 { max-width: 18em; }
.hero .lead { color: #dfe7f5; margin-top: 1.25rem; }
.lead { max-width: 40em; font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.button { display: inline-block; background: var(--accent); color: var(--blue-dark); font-weight: 650; text-decoration: none; padding: .75rem 1.35rem; border-radius: 4px; }
.button:hover { background: #ffc94d; color: var(--blue-dark); }
.button-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px #9fb3d6; }
.button-ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.button-light { flex: none; }

.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.page-head .lead { color: var(--muted); margin-top: 1rem; }

.section { padding: clamp(2.75rem, 7vw, 4.75rem) 0; }
.section-tint { background: var(--tint); }
.section h2 + * { margin-top: 1.75rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 1.35rem; background: var(--white); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue); text-decoration: underline; }
.card p { color: var(--muted); margin-top: .5rem; font-size: 1rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 2.25rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; color: var(--blue); font-size: 1.6rem; font-weight: 700; line-height: 1.2; margin-bottom: .35rem; }
.steps-plain li::before { content: none; }
.steps p { color: var(--muted); margin-top: .35rem; font-size: 1rem; }

.band { background: var(--blue-dark); color: var(--white); padding: clamp(2.5rem, 6vw, 3.75rem) 0; }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.band p { color: #dfe7f5; margin-top: .4rem; max-width: 36em; }

.service-list { display: grid; gap: 2.5rem; }
.service { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.service:last-child { border-bottom: 0; padding-bottom: 0; }
.service h2 + p { margin-top: .6rem; color: var(--muted); }
.ticks li { position: relative; padding-left: 1.3rem; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; background: var(--accent); }
.note { color: var(--muted); font-size: .95rem; border-left: 3px solid var(--accent); padding-left: .85rem; margin-top: 1rem; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem 3.5rem; }
.prose { max-width: 44rem; }
.prose p + p { margin-top: 1rem; }
.prose h2 { margin-bottom: 1rem; }
.prose * + h2 { margin-top: 2.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: var(--tint); border: 1px solid var(--line); padding: .3rem .7rem; font-size: .95rem; border-radius: 3px; }

.details { display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.details dt { color: var(--muted); font-size: .9rem; }
.details dd { font-size: 1.1rem; overflow-wrap: anywhere; }

.site-footer { background: var(--ink); color: #c9d2e3; padding: 2.5rem 0; font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.footer-brand { color: var(--white); font-weight: 700; }
.site-footer a { color: #e6ecf7; }
.site-footer li + li { margin-top: .25rem; }

@media (max-width: 40rem) {
  .brand { width: 100%; margin-right: 0; }
  .langs { margin-left: auto; padding-left: 0; border-left: 0; }
}
