:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --panel: #ffffff;
  --text: #1c2630;
  --muted: #5c6670;
  --line: #d9dedc;
  --accent: #166a7a;
  --accent-strong: #0d4f5c;
  --soft: #e7f3f4;
  --shadow: 0 18px 45px rgba(28, 38, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(22, 106, 122, 0.14), transparent 34%),
    linear-gradient(315deg, rgba(184, 94, 67, 0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.page.narrow {
  width: min(820px, calc(100% - 40px));
}

.hero {
  display: grid;
  gap: 22px;
  min-height: 58vh;
  align-content: center;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

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

.content-grid article,
.notice,
.policy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.content-grid article {
  padding: 24px;
}

.content-grid p,
.notice p,
.policy p {
  color: var(--muted);
}

.content-grid p:last-child,
.notice p:last-child,
.policy p:last-child {
  margin-bottom: 0;
}

.notice {
  margin-top: 24px;
  padding: 28px;
  background: var(--soft);
}

.top-link {
  margin-bottom: 20px;
}

.top-link a {
  font-weight: 700;
  text-decoration: none;
}

.policy {
  padding: 42px;
  box-shadow: var(--shadow);
}

.policy h1 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}

.policy h2 {
  margin-top: 32px;
}

.updated {
  margin-bottom: 34px;
}

@media (max-width: 780px) {
  .page,
  .page.narrow {
    width: min(100% - 28px, 1120px);
    padding: 28px 0;
  }

  .hero,
  .policy {
    padding: 28px;
  }

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

  .lead {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }
}
