:root {
  color-scheme: light;
  --background: #f5faf7;
  --surface: #ffffff;
  --text: #293044;
  --muted: #677167;
  --line: #dce8e1;
  --accent: #e86f7d;
  --accent-dark: #b9495b;
  --mint: #dff3e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 2px;
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 750;
}

.nav-links,
.footer-links,
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero,
.policy {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(41, 48, 68, 0.08);
}

.hero img {
  display: block;
  width: 100%;
  max-height: 410px;
  object-fit: cover;
}

.hero-copy {
  padding: 34px;
}

.label {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  margin: 30px 0 8px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.hero-copy > p:not(.label) {
  max-width: 620px;
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.button:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.text-link {
  font-weight: 700;
}

.policy-page {
  width: min(760px, calc(100% - 32px));
}

.policy-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 34%;
}

.policy-content {
  padding: 36px;
}

.policy-content h1 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 7vw, 3rem);
}

.policy-content p {
  color: #424b46;
}

.updated {
  margin-bottom: 30px;
  color: var(--muted) !important;
  font-size: 0.92rem;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--mint);
  color: var(--text);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 2px 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .hero-copy,
  .policy-content {
    padding: 24px;
  }

  .hero img {
    height: 240px;
  }

  .policy-image {
    height: 170px;
  }

  footer {
    flex-direction: column;
  }
}
