:root {
  --bg: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --tile: rgba(142, 142, 147, 0.12);
  --line: rgba(142, 142, 147, 0.28);
  --green: #1d9b46;
  --green-bg: rgba(52, 199, 89, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2997ff;
    --accent-hover: #409cff;
    --tile: rgba(142, 142, 147, 0.16);
    --green: #30d158;
    --green-bg: rgba(48, 209, 88, 0.16);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding: 0 20px;
}

.container { max-width: 820px; margin: 0 auto; padding: 28px 0 72px; }

.back-nav { margin-bottom: 40px; font-size: 14px; }
.back-nav a { color: var(--accent); text-decoration: none; }
.back-nav a:hover { text-decoration: underline; }

/* Header */
.header { text-align: center; margin-bottom: 56px; }

.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 25%;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.app-title {
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.doc-subtitle {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 500;
  color: var(--muted);
}

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

.meta-pill {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--tile);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.meta-pill.highlight { background: var(--green-bg); color: var(--green); font-weight: 600; }

/* Highlights */
.summary-card { margin-bottom: 64px; }

.summary-title {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  margin-bottom: 18px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.summary-item {
  background: var(--tile);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s cubic-bezier(.2,.9,.3,1);
}
.summary-item:hover { transform: translateY(-3px); }

.summary-icon { font-size: 28px; line-height: 1; }
.summary-text h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.summary-text p { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Policy content */
.content-card { border-top: 1px solid var(--line); }

.section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }

.section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section h2 .num { font-size: 15px; font-weight: 600; color: var(--accent); min-width: 22px; }

.section p { font-size: 17px; margin-bottom: 12px; padding-left: 36px; }
.section p.sub { color: var(--muted); }

.section ul { list-style: none; margin: 14px 0 0 36px; }
.section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--muted);
}
.section ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section ul li strong { color: var(--text); font-weight: 600; }
.section a { color: var(--accent); text-decoration: none; }
.section a:hover { text-decoration: underline; }

.callout {
  margin: 18px 0 0 36px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--tile);
}
.section .callout p { padding-left: 0; margin: 0; font-size: 15px; color: var(--muted); }
.section .callout strong { color: var(--text); }

.contact-box {
  margin: 18px 0 0 36px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--tile);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-item { font-size: 15px; color: var(--muted); }
.contact-item strong { color: var(--text); font-weight: 600; }

/* Footer */
.footer { text-align: center; margin-top: 48px; font-size: 12px; color: var(--muted); }
.footer p { margin-bottom: 4px; }

@media (max-width: 600px) {
  .section h2 { font-size: 23px; }
  .section p, .section ul, .callout, .contact-box { padding-left: 0; margin-left: 0; }
  .section p { padding-left: 0; }
  .section ul { margin-left: 0; }
  .callout, .contact-box { margin-left: 0; }
}

@media (max-width: 600px) { .summary-grid { grid-template-columns: 1fr; } }
