:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1d2430;
  --muted: #596373;
  --accent: #0f5bd8;
  --accent-contrast: #ffffff;
  --border: #d8dde5;
  --radius: 0.65rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef2f7 0%, var(--bg) 45%);
  line-height: 1.6;
}

.container {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.menu {
  display: flex;
  list-style: none;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
}

.menu a:hover,
.menu a:focus-visible {
  background: #e8effc;
  outline: none;
}

.hero-top {
  position: relative;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(14rem, 40vh, 28rem);
  background: #dfe6ef;
}

.hero-top__bg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(14rem, 40vh, 28rem);
  object-fit: cover;
}

.hero-top__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(9rem, 25vw, 18rem);
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.hero,
.page {
  margin: 2rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  line-height: 1.2;
  margin-top: 0.5rem;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  border: 1px solid #203143;
  text-decoration: none;
  color: #ffffff;
  background: #203143;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.button-secondary {
  color: #ffffff;
  background: #203143;
  border-color: #203143;
}

.subnav {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.subnav h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.subnav ul {
  margin: 0;
  padding-left: 1.25rem;
}

.subnav a {
  color: var(--accent);
}

.site-footer {
  margin-top: 2rem;
  color: #dbe4ef;
  background: #203143;
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.footer-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-meta {
  margin: 0;
}

.site-footer p {
  margin: 0 0 0.45rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 42rem) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    flex-wrap: wrap;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .button {
    width: 100%;
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
