:root {
  --bg: #f4f6f9;
  --panel: #ffffff;
  --text: #142033;
  --muted: #5b6879;
  --border: #d9e1ea;
  --accent: #b88a2f;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(244, 246, 249, 0.96) 100%),
    url("./assets/login-background.jpg") center / cover no-repeat fixed;
}

.policy-shell {
  min-height: 100vh;
  padding: 32px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.policy-card {
  width: min(100%, 760px);
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.back-page-link {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  padding: 2px 0;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: auto;
}

.back-page-link::before {
  content: "‹";
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.back-page-link:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-wordmark {
  display: block;
  height: 44px;
  width: auto;
  margin: 20px 0 22px;
}

.policy-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .policy-card {
    padding: 24px 20px;
  }

  .policy-wordmark {
    height: 38px;
  }

  h1 {
    font-size: 26px;
  }
}
