/* Legal pages - Planeta Centrum structure, Globallers site typography */

:root {
  --legal-bg: #ffffff;
  --legal-fg: var(--color-text-2, #3a414c);
  --legal-muted: var(--color-text-3, #6c737d);
  --legal-card: #ffffff;
  --legal-border: var(--color-border, #d5d9e0);
  --legal-link: var(--color-text-2, #3a414c);
  --legal-link-hover: var(--color-text-1, #12161c);
  --legal-radius: 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.6rem 1rem;
  background: #000;
  color: #fff;
  border-radius: 999px;
  overflow: visible;
}

body.c-legal-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font, "Inter", Arial, sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: 400;
  line-height: var(--lh-body, 1.55);
  letter-spacing: -0.36px;
  color: var(--legal-fg);
  background: var(--legal-bg);
  -webkit-font-smoothing: antialiased;
}

.c-legal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--legal-fg);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.c-legal-close:hover {
  color: var(--color-text-3, #6c737d);
}

.c-legal-close:focus,
.c-legal-close:focus-visible {
  outline: none;
  box-shadow: none;
}

.c-legal-close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.c-legal-shell {
  position: relative;
  min-height: 0;
  padding: 2.5rem 1rem 4rem;
  background: var(--legal-bg);
}

@media (min-width: 640px) {
  .c-legal-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .c-legal-shell {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.c-legal-main {
  width: min(100%, 56rem);
  margin-inline: auto;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.c-legal-hero {
  margin-bottom: 0.35rem;
}

.c-legal-hero__title {
  margin: 0;
  font-size: var(--fs-h2, clamp(2rem, 3.5vw, 2.56rem));
  font-weight: 400;
  letter-spacing: var(--ls-tight, -0.02em);
  line-height: 1.18;
  text-transform: none;
  color: var(--legal-fg);
}

.c-legal-updated {
  margin: 0 0 1.75rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--legal-muted);
}

.c-legal-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--legal-fg);
}

.c-legal-card {
  margin: 0;
  padding: 1.35rem 0;
  border: 0;
  border-bottom: 1px solid var(--legal-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.c-legal-card:first-child {
  padding-top: 0;
}

.c-legal-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.c-legal-card__title {
  margin: 0 0 1rem;
  font-size: var(--fs-h3, clamp(1.35rem, 2vw, 1.75rem));
  font-weight: 400;
  letter-spacing: var(--ls-tight, -0.02em);
  line-height: 1.15;
  text-transform: none;
  color: var(--legal-fg);
}

.c-legal-card p {
  margin: 0 0 1rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--legal-fg);
}

.c-legal-card p:last-child {
  margin-bottom: 0;
}

.c-legal-card ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--legal-fg);
}

.c-legal-card ul.list-disc {
  list-style: disc;
  padding-left: 1.5rem;
}

.c-legal-card li {
  margin: 0 0 0.5rem;
}

.c-legal-card li:last-child {
  margin-bottom: 0;
}

.c-legal-card strong {
  color: var(--legal-fg);
  font-weight: 600;
}

.c-legal-card a,
.c-legal-link {
  color: var(--legal-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.c-legal-card a:hover,
.c-legal-link:hover {
  color: var(--legal-link-hover);
}

.c-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--legal-border);
}

.c-legal-nav__link {
  color: var(--legal-link);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.c-legal-nav__link:hover {
  color: var(--legal-link-hover);
}

body.c-404-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font, "Inter", Arial, sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: 400;
  line-height: var(--lh-body, 1.55);
  letter-spacing: -0.36px;
  color: var(--color-text-1, #12161c);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.c-404 {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 5rem 1.5rem;
}

.c-404__wrap {
  width: min(100%, 42rem);
  margin-inline: auto;
}

.c-404__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.c-404__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 8px 16px;
  font-size: var(--fs-label, 12px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-text-1, #12161c);
  border: 1px solid var(--color-border, #d5d9e0);
  border-radius: var(--radius-pill, 100px);
}

.c-404__title {
  margin: 0 0 18px;
  max-width: 18ch;
  font-size: var(--fs-h2, clamp(2rem, 3.5vw, 2.56rem));
  font-weight: 400;
  letter-spacing: var(--ls-tight, -0.02em);
  line-height: 1.18;
  color: var(--color-text-1, #12161c);
}

.c-404__lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.36px;
  color: var(--color-text-2, #3a414c);
}

.c-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.c-404 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.3em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.36px;
  text-decoration: none;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.c-404 .btn:hover {
  transform: scale(0.95);
}

.c-404 .btn--black {
  background: #000000;
  color: #ffffff;
}

.c-404 .btn--ghost {
  background: transparent;
  color: #000000;
  box-shadow: inset 0 0 0 1px #d5d9e0;
}
