/* EuroConstat site — privacy, terms, support and 404 pages. */

.page-hero {
  padding: calc(var(--header-h) + 64px) 0 56px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(2, 65, 177, .10), transparent 70%),
    var(--soft);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: 1088px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -0.03em; }
.page-lead { max-width: 720px; margin-top: 18px; font-size: 19px; color: var(--muted); }
.updated {
  display: inline-flex;
  margin-top: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
}

.legal { padding: 64px 0 112px; }
.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  max-width: 1088px;
}
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc-title { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.toc ol { border-left: 2px solid var(--line); }
.toc a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.toc a:hover { color: var(--brand); border-left-color: var(--brand); text-decoration: none; }

.legal-body { max-width: 720px; }
.legal-body section + section { margin-top: 44px; }
.legal-body h2 { font-size: 22px; letter-spacing: -0.015em; }
.legal-body p { margin-top: 12px; }
.legal-body ul { margin-top: 12px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li + li { margin-top: 8px; }
.legal-body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.legal-contact {
  margin-top: 56px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

/* Support page contact cards */
.help-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1088px; margin: -40px auto 0; padding: 0 var(--gutter); position: relative; }
.help-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.help-card h2 { font-size: 19px; }
.help-card p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.help-card a { display: inline-block; margin-top: 10px; font-weight: 650; }
.help-card .tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}
.help-card--alert .tile { background: #fdecec; color: #c0262d; }
.page-hero--support { padding-bottom: 96px; }

/* 404 */
.not-found {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: calc(var(--header-h) + 48px) var(--gutter) 80px;
  text-align: center;
  background: var(--soft);
}
.not-found .code { color: var(--brand); font-size: 96px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.not-found h1 { margin-top: 16px; font-size: 32px; }
.not-found p { max-width: 460px; margin: 12px auto 28px; color: var(--muted); }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; padding: 20px 24px; border-radius: var(--radius); background: var(--soft); }
  .help-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-hero { padding: calc(var(--header-h) + 40px) 0 44px; }
  .page-hero--support { padding-bottom: 80px; }
  .page-lead { font-size: 17px; }
  .legal { padding: 40px 0 80px; }
  .help-card { grid-template-columns: 1fr; padding: 24px; }
}
