:root {
  --ink: #f3eefc;
  --muted: #b9aed6;
  --bg: #150c28;
  --bg-soft: #1f1438;
  --panel: #1c1234;
  --line: #3c2a5e;
  --gold: #e7b96b;
  --gold-dark: #c99a4d;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 900px 700px at 15% -10%, rgba(139, 92, 246, 0.32), transparent 60%),
    radial-gradient(ellipse 800px 600px at 100% 0%, rgba(231, 185, 107, 0.14), transparent 55%),
    linear-gradient(180deg, #1c1140 0%, var(--bg) 40%, #0b0718 100%);
  background-attachment: fixed;
  font-family: -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../img/bg-texture.jpg") center / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0 0 20px;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.14;
}

h1 {
  font-size: clamp(36px, 5.4vw, 62px);
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
}

h3 {
  font-size: 19px;
  line-height: 1.3;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  white-space: nowrap;
}

.brand-mark {
  color: var(--gold);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark__logo {
  width: 50px;
  height: 50px;
}

.brand-mark__logo--small {
  width: 26px;
  height: 26px;
}

.brand--footer {
  font-size: 15px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 13px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 7px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--panel);
  padding: 12px;
  z-index: 100;
}

.skip:focus {
  top: 10px;
}

.hero {
  padding: 68px 0;
}

.hero > div {
  max-width: 720px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  min-height: 56px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.cta:hover {
  background: var(--gold-dark);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding: 24px 0;
  gap: 28px;
}

.facts strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.facts p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 62px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 600px;
  margin: 0;
}

.section-heading p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card a {
  font-weight: 700;
  text-underline-offset: 5px;
}

.card-number {
  display: block;
  font-family: Georgia, serif;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 30px;
}

.callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 42px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.callout p:last-child {
  margin: 0;
}

.article-hero {
  padding: 56px 0 32px;
  max-width: 840px;
}

.article-hero h1 {
  font-size: clamp(34px, 4.8vw, 52px);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 260px;
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
}

.article section {
  margin-bottom: 38px;
}

.article h2 {
  font-size: 27px;
}

.article p,
.article li {
  color: #d9d2ea;
}

.article ul {
  padding-left: 22px;
}

.article aside,
.example {
  padding: 22px;
  border-left: 3px solid var(--gold);
  background: var(--bg-soft);
  margin: 24px 0;
  border-radius: 0 14px 14px 0;
}

.sidebar {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.sidebar nav {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.sidebar h2 {
  font-size: 22px;
}

.sidebar .cta {
  font-size: 14px;
  margin-top: 22px;
}

.site-footer {
  padding: 42px 0 22px;
  border-top: 1px solid var(--line);
  background: #0f0a1e;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.site-footer p {
  margin-bottom: 8px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
  color: var(--muted);
}

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

.footer-bottom button {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  color: inherit;
}

details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin: 14px 0 0;
}

.legal-copy {
  max-width: 840px;
  padding: 52px 0;
}

.legal-copy h1 {
  font-size: 42px;
}

.legal-copy h2 {
  font-size: 24px;
  margin-top: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 60px;
}

.contact-grid section {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 16px;
}

.contact-grid h2 {
  font-size: 27px;
}

.fine {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .header-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    gap: 34px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
  }
}

@media (max-width: 650px) {
  .shell {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 34px 0;
  }

  .facts {
    gap: 14px;
  }

  .facts strong {
    font-size: 20px;
  }

  .facts p {
    font-size: 12px;
  }

  .cards,
  .callout,
  .footer-grid,
  .article-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .callout {
    padding: 24px;
    gap: 22px;
  }

  .section {
    padding: 38px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 18px;
  }

  .article-hero {
    padding-top: 32px;
  }

  .site-nav {
    gap: 8px 16px;
  }

  .lead {
    font-size: 16px;
  }

  .legal-copy {
    padding: 32px 0;
  }

  .legal-copy h1 {
    font-size: 32px;
  }

  .footer-grid {
    gap: 22px;
  }
}

@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    transform: none !important;
    scale: 1 !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }
}