:root {
  font-family: Inter, "Segoe UI", sans-serif;
  color: #1d2830;
  background: #fcfbf7;
  --blue: #163cba;
  --ink: #152635;
  --line: #d9dedf;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
.wrap { width: min(1150px, calc(100% - 44px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.nav, nav, .brand, .foot { display: flex; align-items: center; gap: 22px; }
.nav { justify-content: space-between; min-height: 76px; }
nav a, .brand { text-decoration: none; font-weight: 650; }
.brand { color: var(--ink); font-size: 1.3rem; gap: 10px; }
.brand span { background: var(--ink); color: white; padding: 5px 11px; border-radius: 5px; }
.button { display: inline-block; background: var(--blue); color: white; text-decoration: none; font: inherit; font-weight: 650; padding: 12px 17px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; }
.button:hover { background: #102f9c; }
:focus-visible { outline: 3px solid #d87534; outline-offset: 3px; }
.hero { background: #edf1fb; border-bottom: 1px solid var(--line); }
.hero-layout { min-height: 500px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; padding-block: 64px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-weight: 720; letter-spacing: .085em; text-transform: uppercase; font-size: .77rem; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6.1vw, 5.2rem); letter-spacing: -.065em; }
h1 em { color: var(--blue); font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.055em; }
h3 { font-size: 1.14rem; }
p { line-height: 1.6; }
.intro { max-width: 43ch; font-size: 1.08rem; margin-bottom: 25px; }
figure { margin: 0; }
figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 7px; }
figcaption, .muted, small { font-size: .85rem; color: #485767; }
figcaption { margin-top: 7px; }
.section { padding-block: 66px; }
.section-intro { max-width: 65ch; }
.filters { display: flex; gap: 14px; margin-top: 24px; }
label { display: grid; font-weight: 650; gap: 6px; min-width: 0; }
input, textarea, select { width: 100%; min-width: 0; background: #fff; color: var(--ink); font: inherit; padding: 10px; border: 1px solid #a9b2bc; border-radius: 4px; }
.filters label:first-child { width: min(380px, 100%); }
.product-grid, .term-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
article { border: 1px solid var(--line); border-radius: 6px; padding: 22px; background: white; display: flex; flex-direction: column; align-items: start; }
article h3 { margin-top: 7px; }
article p { color: #465462; margin: 12px 0 17px; }
article a { margin-top: auto; font-weight: 680; }
.terms { background: #e9eef5; }
.term-grid { margin-top: 25px; gap: 24px; }
.term-grid div { border-top: 2px solid #8c9dba; padding-top: 13px; }
.quote { display: grid; grid-template-columns: .75fr 1.25fr; gap: 42px; }
form, fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
form { background: white; border: 1px solid var(--line); border-radius: 7px; padding: 24px; }
fieldset { margin: 0; min-width: 0; border: 1px solid var(--line); }
.wide { grid-column: 1 / -1; }
form p { margin: 0; }
form p:empty { display: none; }
footer { background: var(--ink); color: #eef3fa; }
.foot { flex-wrap: wrap; padding-block: 24px; font-size: .88rem; }
@media (max-width: 850px) {
  .hero-layout, .quote { gap: 24px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 8px; min-height: 62px; }
  nav a:not(.button) { display: none; }
  .hero-layout, .quote, .term-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-layout, .section { padding-block: 38px; }
  .filters { flex-wrap: wrap; }
  .filters label { width: 100%; }
  form { padding: 14px; }
}
