@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
}

:root {
  --night: #1d1847;
  --night-soft: #2c2666;
  --cream: #fbf5ec;
  --panel: #fff;
  --muted: #5d5a7e;
  --line: #e6dfd3;
  --accent: #ff6a4d;
  --accent-dark: #e24e31;
  --glow: #c8f169;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--night);
  font-family: "Figtree", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

h2 {
  font-size: clamp(25px, 3vw, 34px);
}

h3 {
  font-size: 21px;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
}

.skip:focus {
  top: 10px;
}

.site-header {
  background: var(--night);
  color: #fff;
}

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
}

.brand-mark i {
  flex: 1;
  border-radius: 2px;
  background: var(--night);
}

.brand-mark i:nth-child(1) {
  height: 40%;
}

.brand-mark i:nth-child(2) {
  height: 70%;
  background: var(--accent);
}

.brand-mark i:nth-child(3) {
  height: 100%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 15px;
}

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

.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--glow);
  opacity: 1;
}

.kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker--light {
  color: var(--glow);
}

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

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 0 var(--accent-dark);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta:hover {
  box-shadow: 0 2px 0 var(--accent-dark);
  transform: translateY(3px);
}

.home-hero {
  padding: 60px 0 90px;
  background: var(--night);
  color: #f6f2ff;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.home-hero .lead {
  color: rgba(246, 242, 255, 0.82);
}

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

.tiles span {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 20px;
  background: var(--night-soft);
  font-family: var(--display);
  font-weight: 700;
}

.tiles span:nth-child(1) {
  background: var(--glow);
  color: var(--night);
}

.tiles span:nth-child(3) {
  background: var(--accent);
}

.tiles span:nth-child(5) {
  background: #fff;
  color: var(--night);
}

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

.facts div {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 20px 40px -28px rgba(29, 24, 71, 0.45);
}

.facts strong {
  display: block;
  font-family: var(--display);
  font-size: 32px;
}

.facts p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 64px 0 24px;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 40px;
  margin-bottom: 26px;
}

.section__head h2,
.section__head p {
  margin: 0;
}

.section__head p {
  max-width: 420px;
  color: var(--muted);
}

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

.card {
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

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

.card a {
  color: var(--accent-dark);
  font-weight: 600;
}

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 48px auto 64px;
  padding: 40px;
  border-radius: 28px;
  background: var(--glow);
}

.page-hero {
  padding: 52px 0 30px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  justify-content: space-between;
  gap: 56px;
  padding-bottom: 64px;
}

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

.article p {
  color: #3c3961;
}

.article__note {
  padding: 20px 24px;
  border-left: 5px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: var(--panel);
}

.sidebar {
  align-self: start;
  padding: 24px;
  border-radius: 22px;
  background: var(--night);
  color: #f6f2ff;
}

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

.sidebar nav {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.sidebar .cta {
  width: 100%;
}

.faq {
  max-width: 820px;
  padding-bottom: 64px;
}

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

summary {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.faq__cta {
  margin-top: 32px;
}

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

.contact section {
  padding: 28px;
  border-radius: 22px;
  background: var(--panel);
}

.legal {
  max-width: 860px;
  padding: 52px 0 64px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 46px);
}

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

.legal p,
.legal li {
  color: #3c3961;
}

.site-footer {
  padding: 44px 0 24px;
  background: var(--night);
  color: rgba(246, 242, 255, 0.78);
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

.site-footer p {
  margin-bottom: 6px;
}

.site-footer strong,
.brand--light {
  color: #fff;
}

.brand--light {
  margin-bottom: 12px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--night-soft);
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

@media (max-width: 960px) {
  .home-hero__grid,
  .article-layout,
  .band {
    grid-template-columns: 1fr;
  }

  .tiles {
    max-width: 340px;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .home-hero {
    padding: 40px 0 76px;
  }

  .tiles {
    gap: 8px;
    max-width: 260px;
  }

  .tiles span {
    padding: 9px;
    border-radius: 14px;
    font-size: 14px;
  }

  .facts,
  .cards,
  .contact {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 26px;
  }

  .lead {
    font-size: 17px;
  }

  .cta {
    width: 100%;
  }
}

@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;
  }
}
