@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;
  --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: 16px;
  line-height: 1.6;
}

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

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

a {
  color: inherit;
}

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

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

.topbar {
  padding: 18px 0;
  background: var(--night);
  color: #fff;
}

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

.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%;
}

.hero {
  padding: 56px 0 72px;
  background: var(--night);
  color: #f6f2ff;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--night-soft);
  color: var(--glow);
  font-size: 13px;
  font-weight: 600;
}

h1 {
  font-size: clamp(36px, 5.6vw, 66px);
}

.lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(246, 242, 255, 0.82);
  font-size: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px 34px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 0 var(--accent-dark);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

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

.cta[aria-disabled="true"] {
  pointer-events: none;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 420px;
  justify-self: end;
  width: 100%;
}

.board__tile {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 20px;
  background: var(--night-soft);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  animation: tile-in 0.5s ease both;
}

.board__tile--a {
  background: var(--glow);
  color: var(--night);
}

.board__tile--b {
  animation-delay: 0.08s;
}

.board__tile--c {
  background: var(--accent);
  animation-delay: 0.16s;
}

.board__tile--d {
  animation-delay: 0.24s;
}

.board__tile--e {
  background: #fff;
  color: var(--night);
  animation-delay: 0.32s;
}

.board__tile--f {
  border: 2px dashed rgba(246, 242, 255, 0.4);
  background: transparent;
  animation-delay: 0.4s;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -36px;
}

.steps article {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 40px -28px rgba(29, 24, 71, 0.45);
}

.steps h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

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

.steps__num {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
}

.note {
  margin-top: 48px;
  padding: 28px 32px;
  border: 2px solid var(--line);
  border-radius: 24px;
}

.note h2 {
  font-size: 26px;
}

.note p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.final {
  padding: 56px 0 64px;
  text-align: center;
}

.final h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.footer {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--night);
  font-weight: 600;
}

@keyframes tile-in {
  from {
    opacity: 0;
    transform: translateY(14px) rotate(-3deg);
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 36px 0 64px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .board {
    justify-self: start;
    max-width: 330px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

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

  .lead {
    font-size: 16px;
  }

  .cta {
    width: 100%;
  }

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

  .board__tile {
    padding: 9px;
    border-radius: 14px;
    font-size: 13px;
  }

  .note {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .board__tile {
    animation: none;
  }
}

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