:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #152027;
  background: #f4f7f5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(21, 32, 39, 0.1);
  background: rgba(244, 247, 245, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  color: #152027;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header nav a {
  color: #405057;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-header nav a:hover,
.brand:hover,
.back-link:hover {
  color: #2d8f7c;
}

.hero {
  min-height: calc(72vh - 64px);
  display: grid;
  align-items: center;
  padding: 48px 20px;
  background:
    linear-gradient(rgba(16, 31, 33, 0.78), rgba(16, 31, 33, 0.64)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-inner,
.grid,
.band {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 12px;
  color: #8fe3cf;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: #e7f1ee;
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  background: #2db898;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 44px 20px;
}

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

article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid #d8e2df;
  border-radius: 8px;
  background: #fff;
}

article span {
  display: block;
  margin-bottom: 26px;
  color: #2d8f7c;
  font-weight: 900;
}

h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

p,
dd {
  color: #405057;
  font-size: 16px;
  line-height: 1.65;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  margin-bottom: 56px;
  padding: 28px;
  border: 1px solid #d8e2df;
  border-radius: 8px;
  background: #fff;
}

.band p {
  margin-bottom: 0;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dt {
  color: #657279;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.terms-page {
  padding: 36px 20px 64px;
}

.terms-shell {
  width: min(860px, 100%);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #2d8f7c;
  font-weight: 900;
  text-decoration: none;
}

.terms-shell h1 {
  max-width: 820px;
  color: #152027;
  font-size: clamp(34px, 6vw, 58px);
}

.updated {
  margin: 0 0 24px;
  color: #657279;
  font-size: 14px;
  font-weight: 800;
}

.notice {
  margin: 26px 0 36px;
  padding: 20px;
  border-left: 5px solid #2db898;
  border-radius: 8px;
  background: #ffffff;
  color: #1d2b32;
  font-size: 17px;
  line-height: 1.65;
}

.terms-shell h2 {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #d8e2df;
}

.terms-shell p {
  margin: 0 0 14px;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 68vh;
    padding: 36px 18px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 17px;
  }

  .grid,
  .band {
    grid-template-columns: 1fr;
  }

  .band {
    width: calc(100% - 28px);
    padding: 22px;
  }
}
