:root {
  --font-body: "Segoe UI", Tahoma, sans-serif;
  --font-heading: Bahnschrift, "Segoe UI", sans-serif;
  --ink: #102d50;
  --muted: #52657a;
  --blue: #2057d5;
  --blue-hover: #1747b5;
  --line: #cdd9e8;
  --pale: #f2f6fc;
  --page: var(--pale);
  --soft: #edf3ff;
  --control-border: #8297b1;
  --focus: #a96100;
  --success: #256849;
  --danger: #9e3028;
  --text-body: 18px;
  --text-prose: 18px;
  --text-lead: 19px;
  --text-small: 14px;
  --text-label: 16px;
  --text-button: 16px;
  --text-nav: 15px;
  --text-input: 17px;
  --heading-hero: 56px;
  --heading-section: 38px;
  --heading-card: 26px;
  --leading-body: 1.6;
  --leading-small: 1.6;
  --container-max: 1200px;
  --page-gutter: 48px;
  --section-space: 80px;
  --card-padding: 28px;
  --grid-gap: 24px;
  --radius-card: 12px;
  --radius-control: 8px;
  --control-height: 52px;
  --shadow-card: 0 12px 32px #153e700a;
  font-family: var(--font-body);
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: var(--text-body); line-height: var(--leading-body); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
a { color: var(--blue); text-underline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -.035em; }
h3 { font-weight: 600; letter-spacing: -.018em; }
:is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
[hidden] { display: none !important; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: var(--text-button);
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: var(--blue-hover); }
.secondary { background: #fff; border-color: var(--control-border); color: var(--ink); }
.secondary:hover { background: var(--pale); }
.button:disabled { cursor: wait; opacity: .72; }

:is(.logo, .brand) {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
}
:is(.logo img, .brand .brand-full) { display: block; width: 200px; height: auto; }
:is(.logo > small, .brand .brand-subtitle) {
  font-size: var(--text-small);
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--muted);
}
.external-icon {
  display: inline-block; width: 24px; height: 24px; margin-left: 5px; vertical-align: -5px;
  fill: none; stroke: currentColor; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.mail-icon {
  display: inline-block; width: 16px; height: 16px; margin-left: 5px; vertical-align: -2px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.skip {
  position: absolute; top: -100px; left: 20px; z-index: 100;
  padding: 10px 14px; background: #fff;
}
.skip:focus { top: 10px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 1100px) {
  :root { --page-gutter: 28px; }
}
@media (max-width: 600px) {
  :root {
    --page-gutter: 20px;
    --text-body: 17px;
    --text-prose: 17px;
    --text-lead: 17px;
    --heading-hero: 36px;
    --heading-section: 29px;
    --heading-card: 24px;
    --section-space: 48px;
    --card-padding: 22px;
    --grid-gap: 16px;
  }
  :is(.logo img, .brand .brand-full) { width: 175px; }
}
@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .16s, border-color .16s; }
}
