.policy-main {
  width: var(--container);
  margin: 0 auto;
  padding: 44px 0 72px;
}

.policy-head {
  margin-bottom: 20px;
}

.policy-head h1 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.08;
}

.policy-meta {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.policy-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.policy-summary {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.policy-state {
  color: var(--text-muted);
  font-weight: 700;
}

.policy-state.is-error {
  color: #ef4444;
}

.policy-app-meta {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke);
  display: grid;
  gap: 8px;
}

.policy-app-meta p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
}

.policy-app-meta span {
  min-width: 76px;
  color: var(--text);
  font-weight: 800;
}

.policy-app-meta a {
  color: var(--primary);
  font-weight: 800;
}

.policy-content > * + * {
  margin-top: 16px;
}

.policy-content h1,
.policy-content h2,
.policy-content h3 {
  color: var(--text);
  line-height: 1.2;
}

.policy-content h1 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.policy-content h2 {
  font-size: clamp(1.1rem, 2.4vw, 1.38rem);
}

.policy-content h3 {
  font-size: 1rem;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
}

.policy-content ul,
.policy-content ol {
  margin-left: 18px;
  padding: 0;
}

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

.policy-content a,
.policy-empty a {
  color: var(--primary);
  font-weight: 800;
}

.policy-empty h2 {
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2.4vw, 1.38rem);
}

.policy-empty p {
  color: var(--text-muted);
}

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

.policy-section h2 {
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2.4vw, 1.38rem);
  line-height: 1.2;
}

.policy-section p,
.policy-section li {
  color: var(--text-muted);
}

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

.policy-section ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

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

.policy-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-links a {
  padding: 7px 11px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.policy-links a:hover,
.policy-contact a:hover {
  color: var(--text);
}

.policy-contact a {
  color: var(--primary);
  font-weight: 800;
}

.policy-footer {
  border-top: 1px solid var(--stroke);
  background: var(--panel-strong);
}

.policy-footer-shell {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 680px);
  }

  .nav-shell {
    border-radius: 18px;
  }

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

  .policy-footer-shell {
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}
