@font-face {
  font-family: Cantarell;
  src: url("/fonts/Cantarell-VF.otf") format("opentype");
  font-weight: 100 800;
  font-display: swap;
}
:root {
  --ground: #f5f8ff;
  --white: #fff;
  --cobalt: #214cda;
  --deep: #153496;
  --sky: #c6eefe;
  --lilac: #eae1ff;
  --accent-ink: #5530a6;
  --text: #18295e;
  --muted: #4a5880;
  --rule: #c8d3ef;
  --on-primary: #fff;
  --pad: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 1rem/1.5 Cantarell, system-ui, sans-serif;
}
a { color: var(--cobalt); text-underline-offset: 0.22em; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: var(--pad); }

.bar { background: var(--white); border-bottom: 1px solid var(--rule); }
.bar .wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cobalt); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); gap: 2px; }
.brand-mark i { background: currentColor; }
.brand-mark i:nth-child(1) { grid-area: 1 / 2; }
.brand-mark i:nth-child(2) { grid-area: 2 / 1; }
.brand-mark i:nth-child(3) { grid-area: 2 / 3; }
.brand-mark i:nth-child(4) { grid-area: 3 / 2; }
.wordmark { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em; }
.bar nav { display: flex; gap: 4px; }
.bar nav a { min-height: 48px; display: inline-flex; align-items: center; padding-inline: 12px; font-weight: 750; text-decoration: none; }
.bar nav a[aria-current="page"] { background: var(--cobalt); color: var(--on-primary); }

.ui-icon {
  width: 24px; height: 24px; flex: 0 0 auto; display: inline-block;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.plane { background: var(--cobalt); color: var(--on-primary); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-block: 72px; }
.display { margin: 0; font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.hero p { margin: 20px 0 32px; max-width: 34ch; font-size: 1.25rem; color: var(--sky); }
.btn {
  min-height: 56px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 14px 22px; font-weight: 750; text-decoration: none;
  background: var(--white); color: var(--cobalt);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalt); color: var(--on-primary); }
.cross-field { display: grid; grid-template: 1fr 1fr / 1fr 1fr; aspect-ratio: 1; width: min(100%, 300px); gap: 22px; justify-self: center; color: var(--sky); }
.cross-field i { background: currentColor; }
.cross-field i:nth-child(1) { border-radius: 100% 0 0 0; }
.cross-field i:nth-child(2) { border-radius: 0 100% 0 0; }
.cross-field i:nth-child(3) { border-radius: 0 0 0 100%; }
.cross-field i:nth-child(4) { border-radius: 0 0 100% 0; }

section { padding-block: 56px; }
h2 { margin: 0 0 20px; font-size: 1.75rem; font-weight: 750; letter-spacing: -0.02em; color: var(--cobalt); line-height: 1.15; }
h3 { margin: 0 0 4px; font-size: 1.125rem; font-weight: 750; }
.rows { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.rows li { display: flex; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.rows .ui-icon { color: var(--cobalt); margin-top: 2px; }
.rows p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.field { background: var(--sky); }
.field .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.field .seal { width: 64px; height: 64px; display: grid; place-items: center; background: var(--cobalt); color: var(--on-primary); }
.field p { margin: 0 0 20px; max-width: 60ch; }
.cta { background: var(--white); border-block: 1px solid var(--rule); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0; }

.doc { padding-block: 48px 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 2.625rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; color: var(--cobalt); }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { margin: 36px 0 12px; font-size: 1.25rem; padding-top: 28px; border-top: 1px solid var(--rule); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }

footer { padding-block: 32px; color: var(--muted); font-size: 0.875rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 700px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px; }
  .cross-field { width: 180px; gap: 14px; justify-self: start; }
  .rows { grid-template-columns: 1fr; }
  .field .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
@media (forced-colors: active) { .brand-mark i, .cross-field i, .ui-icon { background: CanvasText; } }
