* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --background: #f6f3ee;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --text: #1c2329;
  --muted: #5e6a72;
  --border: rgba(28, 35, 41, 0.12);
  --accent: #aa9072;
  --accent-strong: #8f7456;
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.08);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(170, 144, 114, 0.16), transparent 32%),
    linear-gradient(180deg, #fbf8f4 0%, var(--background) 100%);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  padding: 24px 16px 40px;
}

.policy-shell {
  margin: 0 auto;
  max-width: 960px;
}

.policy-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.policy-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14212b 0%, #30414d 100%);
  color: #f8f7f4;
  font-size: 14px;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-link,
.policy-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.policy-link:hover,
.policy-link:focus-visible {
  border-color: rgba(170, 144, 114, 0.5);
  color: var(--accent-strong);
  outline: none;
}

.policy-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.policy-hero {
  padding: 28px 28px 18px;
  background:
    linear-gradient(145deg, rgba(20, 33, 43, 0.96) 0%, rgba(36, 52, 62, 0.92) 100%),
    linear-gradient(135deg, rgba(170, 144, 114, 0.18), transparent 55%);
  color: #f8f7f4;
}

.policy-kicker {
  margin: 0 0 10px;
  color: rgba(248, 247, 244, 0.76);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.policy-subtitle {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(248, 247, 244, 0.82);
  font-size: 15px;
  line-height: 1.7;
}

.policy-body {
  padding: 26px 28px 30px;
  background: var(--panel-strong);
}

.policy-copy {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.9;
}

.policy-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.policy-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  body {
    padding: 16px 12px 28px;
  }

  .policy-hero,
  .policy-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .policy-link,
  .policy-chip {
    width: 100%;
  }

  .policy-actions,
  .policy-footer-nav {
    width: 100%;
  }
}
