:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #5f6b7a;
  --line: #dce1e7;
  --brand: #185a9d;
  --brand-dark: #123f70;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-dark);
}

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

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

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

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 44px;
  max-width: 164px;
  object-fit: contain;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
  font-size: 14px;
}

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

.hero {
  padding: 46px 0 28px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  margin: 0 auto 44px;
}

.content h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.content p,
.content ul,
.content ol {
  margin-top: 0;
}

.content li + li {
  margin-top: 6px;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #edf7f5;
  padding: 14px 16px;
  margin: 22px 0;
}

.details {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 18px;
  margin: 22px 0;
}

.details dt {
  color: var(--muted);
  font-weight: 700;
}

.details dd {
  margin: 0;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfcfd;
  text-decoration: none;
}

.policy-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.policy-card span {
  display: block;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.footer-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.policy-actions {
  display: flex;
  justify-content: center;
  margin: -18px auto 44px;
}

.return-home {
  background: var(--accent);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  text-decoration: none;
}

.return-home:hover,
.return-home:focus {
  background: #115e59;
  color: #ffffff;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    height: 38px;
    max-width: 150px;
  }

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

  .content {
    padding: 24px 18px;
    margin-bottom: 28px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .policy-actions {
    justify-content: flex-start;
    margin: -10px auto 34px;
  }

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

  .return-home {
    width: 100%;
  }
}
