:root {
  color-scheme: light;
  --ink: #172d40;
  --muted: #465d70;
  --accent: #2f5f86;
  --panel: #edf5fa;
  --line: #cfdee9;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: white;
  color: var(--ink);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, sans-serif;
}
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(calc(100% - 2.5rem), 68rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .4rem .8rem; background: white; transform: translateY(-170%); }
.skip:focus { transform: none; }
.intro { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0, .8fr); align-items: center; gap: clamp(1.2rem, 5vw, 4rem); padding-block: clamp(2.4rem, 10vw, 7rem); }
.logo { width: 100%; height: auto; max-width: 27rem; justify-self: end; }
.site-name { color: var(--accent); font-weight: 750; margin-bottom: .65rem; }
h1 { font-size: clamp(2.15rem, 5.15vw, 4.65rem); line-height: 1.04; letter-spacing: -.055em; max-width: 13ch; }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; padding-bottom: clamp(2.25rem, 6vw, 5.5rem); }
.card { padding: clamp(1.1rem, 3.6vw, 2.25rem); background: var(--panel); border: 1px solid var(--line); border-radius: .42rem; }
h2 { font-size: clamp(1.25rem, 2.8vw, 1.82rem); line-height: 1.25; letter-spacing: -.026em; }
.person { margin: .45rem 0 1.1rem; color: var(--muted); }
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .62rem; }
.contacts a { font-weight: 700; color: var(--accent); overflow-wrap: anywhere; }
.contacts a:hover, .footer a:hover { color: var(--ink); }
.footer { border-top: 1px solid var(--line); padding-block: 1.25rem; color: var(--muted); font-size: .925rem; }
.footer .shell { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; justify-content: space-between; }
.legal { max-width: 75ch; padding-block: clamp(2rem, 8vw, 6rem); overflow-wrap: anywhere; }
.legal nav { margin-bottom: 1.3rem; }
.legal a { color: var(--accent); font-weight: 700; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 4rem); max-width: none; }
.legal h2, .legal h3 { margin-top: 1.4em; }
.legal p { margin-top: 1em; }
@media (max-width: 45rem) {
  .intro { grid-template-columns: 1fr; }
  .logo { grid-row: 1; justify-self: start; max-width: 12rem; }
}
@media (max-width: 37rem) {
  .cards { grid-template-columns: 1fr; }
  .shell { width: calc(100% - 1.8rem); }
}
