:root {
  --accent: #24b9d7;
  --accent-dark: #198195;
  --ink: #232323;
  --text: #363a42;
  --muted: #7a7a7a;
  --line: #e8e8e8;
  --soft: #f6f6f6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--soft);
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent);
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 2px solid var(--soft);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
}

.brand img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.93rem;
  text-transform: uppercase;
  font-weight: 700;
}

.hero {
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.05rem;
}

.lead {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.button:hover,
.button:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  text-decoration: none;
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus {
  color: var(--accent-dark);
  background: var(--soft);
}

.hero-media {
  position: relative;
  min-height: 360px;
  background: var(--soft);
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.band {
  padding: 44px 0;
}

.band.white {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
}

.card svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 18px;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding: 42px 0;
}

.legal-nav {
  align-self: start;
  position: sticky;
  top: 106px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
}

.legal-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-nav a:hover,
.legal-nav a:focus {
  color: var(--accent-dark);
}

.legal-page {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px;
}

.legal-page .updated {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  color: var(--text);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.meta-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.meta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.meta-link:hover,
.meta-link:focus {
  color: var(--accent-dark);
  text-decoration: none;
  border-left-color: var(--accent-dark);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
}

.contact-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.site-footer {
  padding: 34px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .legal-layout,
  .cards,
  .meta-links,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-media,
  .hero-media img {
    min-height: 250px;
  }

  .legal-page {
    padding: 22px;
  }
}
