:root {
  color-scheme: light;
  --navy: #10283e;
  --ink: #172f46;
  --muted: #455d70;
  --accent: #136b61;
  --accent-dark: #0c544c;
  --mint: #89dec9;
  --line: #d7e3ed;
  --paper: #f5f8fa;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1978a4; outline-offset: 4px; }
.site-header a:focus-visible { outline-color: var(--mint); }
h1, h2, h3, p { margin: 0; }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }

.site-header { color: #fff; background: var(--navy); }
.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-block: 12px;
  gap: 16px;
}
.wordmark {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .45rem;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 720;
  line-height: 1.22;
  text-decoration: none;
  color: var(--mint);
}
.wordmark-brand { color: #fff; font-weight: 850; letter-spacing: .035em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 680;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.25;
  text-align: center;
}
.button-header { color: #fff; border-color: #7090a8; min-width: 90px; }
.button-header:hover { background: #25465e; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { color: var(--accent-dark); border-color: #b7cfcf; background: #fff; }
.button-secondary:hover { background: #e8f4f1; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 62px);
  padding-block: clamp(44px, 5vw, 76px);
}
.hero h1 {
  font-size: clamp(2.2rem, 3.45vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 740;
  text-wrap: balance;
}
.hero p {
  margin-top: 18px;
  max-width: 48ch;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.5;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  object-position: 76% 50%;
  border-radius: 22px 22px 48px 22px;
  background: #152942;
  box-shadow: 0 16px 38px rgb(16 40 62 / 13%);
}

.features { background: #fff; border-block: 1px solid var(--line); padding-block: clamp(36px, 4vw, 64px); }
.features h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.035em; line-height: 1.15; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.features article {
  padding: clamp(16px, 2.25vw, 27px);
  border: 1px solid var(--line);
  border-top: 3px solid #286d9c;
  border-radius: 12px;
  background: var(--paper);
}
.features article:nth-child(2) { border-top-color: var(--accent); }
.features article:nth-child(3) { border-top-color: #744f99; }
.features h3 { font-size: 1.14rem; line-height: 1.25; }
.features p { margin-top: 9px; font-size: 1rem; line-height: 1.55; color: var(--muted); }

.site-footer { font-size: .9rem; color: var(--muted); }
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding-block: 14px;
}
.site-footer a { color: var(--accent-dark); font-weight: 700; text-underline-offset: .18em; }

@media (max-width: 930px) {
  .shell { width: calc(100% - 52px); }
  .hero { gap: 30px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .header-layout { min-height: 64px; }
  .button-header { min-width: auto; min-height: 44px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 37px; }
  .hero h1 { font-size: clamp(1.8125rem, 7.7vw, 2.85rem); }
  .hero p { margin-top: 15px; }
  .actions { margin-top: 20px; }
  .hero-image { aspect-ratio: 16 / 10; border-radius: 16px 16px 34px 16px; }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
}
