:root {
  --ink: #263b50;
  --muted: #627489;
  --blue: #3498db;
  --blue-dark: #247db9;
  --green: #2ecc71;
  --orange: #f39c12;
  --paper: #ffffff;
  --surface: #f3f7fa;
  --line: #dbe5ec;
  --shadow: 0 22px 60px rgba(38, 59, 80, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(219, 229, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(52, 152, 219, 0.25);
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand strong { font-size: 1.12rem; }

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.contact-link {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
}

.contact-link:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 24px 92px;
  background:
    radial-gradient(circle at 90% 10%, rgba(46, 204, 113, 0.19), transparent 26%),
    radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.2), transparent 29%),
    linear-gradient(135deg, #edf8ff 0%, #f7fbfd 52%, #effcf5 100%);
  text-align: center;
}

.hero::after {
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 70px solid rgba(243, 156, 18, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(52, 152, 219, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 0 auto 22px;
  color: #20364c;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero-copy {
  max-width: 740px;
  margin: 0 auto;
  color: #50677e;
  font-size: 1.1rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 16px;
}

.trust-row span {
  position: relative;
  padding: 9px 15px 9px 34px;
  border: 1px solid #d9e9df;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #315d45;
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-row span::before {
  position: absolute;
  left: 13px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.page-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  max-width: 1180px;
  margin: -36px auto 0;
  padding: 0 24px 72px;
}

.policy-nav {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 38px rgba(38, 59, 80, 0.08);
}

.policy-nav p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

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

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

.policy-card::before {
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 46%, var(--green) 46% 74%, var(--orange) 74% 100%);
  content: "";
}

.policy-card section {
  position: relative;
  padding: 46px 58px;
  border-bottom: 1px solid #e9eff3;
  scroll-margin-top: 95px;
}

.policy-card section:last-child { border-bottom: 0; }

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  margin-bottom: 9px;
  border-radius: 8px;
  background: #eaf6fd;
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 900;
}

h2 {
  margin: 0 0 16px;
  color: #24394e;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h3 {
  margin: 28px 0 8px;
  color: #2f475e;
  font-size: 1rem;
}

.policy-card p,
.policy-card li {
  color: #52677b;
  font-size: 0.96rem;
}

.policy-card p { margin: 0 0 15px; }

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

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

.notice {
  margin-top: 24px;
  padding: 19px 22px;
  border: 1px solid #bfe7cf;
  border-left: 5px solid var(--green);
  border-radius: 14px;
  background: #f0fbf5;
  color: #275d3d;
  font-weight: 700;
}

.permission-list {
  display: grid;
  gap: 12px;
  margin: 25px 0;
}

.permission-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fbfc;
}

.permission-item strong { color: #2a435a; }
.permission-item p { margin: 0; }

.contact-card {
  background: linear-gradient(135deg, #f6fbff, #f1fbf5);
}

.contact-card .developer {
  margin: 20px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.contact-card a { font-weight: 700; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .hero { padding-top: 64px; }

  .page-shell {
    display: block;
    margin-top: -24px;
  }

  .policy-nav { display: none; }
  .policy-card section { padding: 36px 28px; }
}

@media (max-width: 560px) {
  .site-header { min-height: 68px; }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .contact-link { padding: 8px 13px; }
  h1 { font-size: 2.45rem; }
  .hero-copy { font-size: 1rem; }

  .trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .page-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .policy-card { border-radius: 20px; }
  .policy-card section { padding: 32px 22px; }

  .permission-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
