:root {
  --ink: #121a25;
  --muted: #59626d;
  --paper: #f7f6f0;
  --acid: #c9f84a;
  --line: rgba(18, 26, 37, 0.16);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--acid);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.mark {
  width: 34px;
  height: 34px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: 10px;
  background: var(--ink);
}

.mark span {
  border-radius: 2px;
  background: var(--acid);
}

.back {
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 3px;
}

main {
  padding: 82px 0 110px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.updated {
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 14px;
}

.intro {
  max-width: 780px;
  margin-bottom: 60px;
  color: var(--muted);
  font-size: 19px;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.legal-section p,
.legal-section li,
.legal-table td {
  color: var(--muted);
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 15px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(18, 26, 37, 0.05);
  font-size: 13px;
}

.rights-callout {
  margin-top: 22px;
  padding: 20px;
  border-left: 5px solid var(--acid);
  background: rgba(18, 26, 37, 0.05);
}

.rights-callout p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.company-card {
  margin-top: 46px;
  padding: 26px;
  border-radius: 20px;
  color: var(--white);
  background: var(--ink);
}

.company-card p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.company-card p:last-child {
  margin-bottom: 0;
}

.company-card a {
  color: var(--acid);
}

footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: min(430px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(18, 26, 37, 0.26);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice h2 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cookie-notice p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.cookie-notice a {
  color: var(--acid);
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-button {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--acid);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #6d8d15;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .nav,
  .footer-inner,
  .shell {
    width: min(100% - 28px, 900px);
  }

  main {
    padding: 58px 0 80px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-notice {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
