@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --max-width: 960px;
  --bg: #f4f6fa;
  --ink: #131a2a;
  --muted: #5a6378;
  --line: #d7deea;
  --surface: #ffffff;
  --brand: #0d4eff;
  --brand-deep: #0736b4;
  --accent: #ff9f1a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 5%, rgba(13, 78, 255, 0.16), transparent 38%),
    radial-gradient(circle at 88% 0%, rgba(255, 159, 26, 0.16), transparent 34%),
    var(--bg);
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  top: -52px;
  left: 12px;
  z-index: 100;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--brand-deep);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

.policy-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(101, 116, 154, 0.2);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: var(--brand-deep);
  font-weight: 800;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}

.policy-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 12px;
  transition: border-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.policy-nav a:hover {
  color: var(--brand-deep);
  border-color: rgba(13, 78, 255, 0.5);
  transform: translateY(-1px);
}

.policy-main {
  padding: 34px 0 50px;
}

.policy-hero {
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8d4f00;
  background: rgba(255, 159, 26, 0.18);
}

.policy-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 20ch;
}

.hero-copy {
  max-width: 72ch;
  color: var(--muted);
  margin-top: 8px;
}

.meta-grid {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-grid p {
  border: 1px solid rgba(13, 78, 255, 0.2);
  background: rgba(13, 78, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.policy-card {
  margin-top: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 28px rgba(15, 21, 38, 0.08);
}

.policy-card h2 {
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  margin-bottom: 8px;
}

.policy-card h3 {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 1rem;
}

.policy-card p + p {
  margin-top: 8px;
}

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

.policy-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(101, 116, 154, 0.22);
  background:
    radial-gradient(circle at 14% -22%, rgba(13, 78, 255, 0.22), transparent 48%),
    radial-gradient(circle at 94% 4%, rgba(255, 159, 26, 0.26), transparent 48%),
    linear-gradient(145deg, #0a1122 0%, #121f45 42%, #162f63 100%);
  color: #d9e8ff;
  padding-block: 8px;
}

.policy-footer::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 140%;
  top: -70%;
  left: -18%;
  border-radius: 55% 45% 52% 48% / 52% 48% 52% 48%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), rgba(34, 211, 238, 0));
  opacity: 0.58;
  pointer-events: none;
}

.policy-footer::after {
  content: "";
  position: absolute;
  inset: auto -22% -36% -16%;
  height: 160px;
  background: linear-gradient(115deg, rgba(255, 159, 26, 0.24), rgba(13, 78, 255, 0.24), rgba(255, 255, 255, 0));
  opacity: 0.46;
  transform: skewY(-10deg);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--brand), #22d3ee 70%, var(--accent));
  box-shadow:
    0 10px 22px rgba(13, 78, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow:
    0 14px 26px rgba(13, 78, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .policy-nav {
    flex-wrap: wrap;
  }

  .policy-main {
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .policy-card {
    padding: 16px;
  }

  .footer-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
