:root {
  --navy: #0d1b3e;
  --navy-light: #1a2d5a;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --green: #10b981;
  --ink: #172033;
  --muted: #64748b;
  --line: #e2e8f0;
  --page: #f6f8fc;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(13, 27, 62, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

a:hover {
  color: #1d4ed8;
}

.policy-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.35);
  font-size: 1.25rem;
  font-weight: 800;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  color: #a8c1ef;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.back-link {
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: #fff;
  text-decoration: underline;
}

.policy-hero {
  padding: 62px 20px 78px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 5%, rgba(59, 130, 246, 0.22), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(16, 185, 129, 0.16), transparent 25%),
    linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 690px;
  margin: 18px auto 0;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta span {
  padding: 6px 12px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-size: 0.78rem;
}

.policy-layout {
  width: min(1120px, calc(100% - 40px));
  margin: -36px auto 64px;
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.policy-nav {
  position: sticky;
  top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.policy-nav-title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-nav a {
  display: block;
  padding: 7px 0;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--blue);
}

.policy-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.policy-card section {
  scroll-margin-top: 24px;
}

.policy-card section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.policy-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.policy-card h3 {
  margin: 22px 0 6px;
  color: #263858;
  font-size: 1rem;
}

.policy-card p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 0.96rem;
}

.policy-card ul {
  margin: 10px 0 14px;
  padding-left: 22px;
  color: #475569;
}

.policy-card li {
  margin: 7px 0;
  padding-left: 3px;
}

.policy-card strong {
  color: #263858;
}

.notice {
  margin: 0 0 32px;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: #ecfdf5;
}

.notice p {
  margin: 0;
  color: #166534;
}

.contact-panel {
  margin-top: 36px;
  padding: 22px;
  border-radius: 15px;
  background: var(--blue-light);
}

.contact-panel h2 {
  margin-bottom: 7px;
}

.contact-panel p {
  margin-bottom: 0;
}

.policy-footer {
  padding: 28px 20px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.84rem;
}

.policy-footer p {
  margin: 4px 0;
}

@media (max-width: 820px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
  }

  .policy-nav-title {
    width: 100%;
    margin-bottom: 2px;
  }

  .policy-nav a {
    padding: 5px 0;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .policy-layout {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-subtitle {
    font-size: 0.6rem;
  }

  .back-link {
    font-size: 0.78rem;
  }

  .policy-hero {
    padding: 45px 16px 65px;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .policy-layout {
    margin-top: -28px;
    margin-bottom: 40px;
  }

  .policy-nav {
    padding: 14px;
  }

  .policy-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .policy-card p,
  .policy-card li {
    font-size: 0.92rem;
  }
}