/* Ckeer legal pages — minimal, readable, print-friendly */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #1a1f36;
  --muted: #5c6578;
  --accent: #2563eb;
  --border: #e4e9f2;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #eef2ff 0%, var(--bg) 28%, var(--bg) 100%);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
}

@media (min-width: 640px) {
  .card {
    padding: 2.5rem 2.25rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1d4ed8, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

section {
  margin-bottom: 1.5rem;
}

section:last-child {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

p,
li {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
}

ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

li:last-child {
  margin-bottom: 0;
}

.footer-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-links-sep {
  color: var(--border);
  user-select: none;
}

.contact {
  margin-top: 1rem;
}

/* Home hero + legal shortcut grid */
.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

.nav-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}

@media (min-width: 520px) {
  .nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nav-grid a {
  display: block;
  padding: 1rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-grid a:hover {
  border-color: #bfdbfe;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  text-decoration: none;
}

.nav-grid a span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

@media print {
  body {
    background: #fff;
  }

  .card {
    box-shadow: none;
    border: none;
  }
}
