*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-variable.woff2") format("woff2");
}

:root {
  --font-sans: Inter, sans-serif;
  --color-text: #1d1d1d;
  --color-text-muted: #6b6b6b;
  --color-bg: #ffffff;
  --width-page: 960px;
  --width-copy: 640px;
  --cc-font-family: var(--font-sans);
  --cc-primary-color: var(--color-text);
  --cc-secondary-color: var(--color-text-muted);
  --cc-btn-primary-bg: var(--color-text);
  --cc-btn-primary-border-color: var(--color-text);
  --cc-btn-primary-hover-bg: #000000;
  --cc-btn-primary-hover-border-color: #000000;
  --cc-toggle-on-bg: var(--color-text);
  --cc-link-color: var(--color-text);
}

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
}

body,
button,
h1,
h2 {
  font-family: inherit;
}

#cc-main h2 {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  min-height: 100vh;
  max-width: var(--width-page);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  margin-top: auto;
  padding: 0 24px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}

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

.site-footer__consent {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer__consent:hover,
.site-footer__consent:focus-visible {
  color: var(--color-text);
}

.main {
  flex: 1;
  padding: 56px 24px 40px;
}

.home .main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: home-in 0.9s ease both;
}

.brand {
  margin: 0;
}

.brand__logo {
  width: 110px;
  height: auto;
  margin: 0 auto;
}

.contact {
  margin: 36px 0 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.contact a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
}

.doc {
  max-width: var(--width-copy);
  margin: 0 auto 64px;
}

.doc__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.doc__date {
  margin: 0 0 28px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.doc h2 {
  margin: 36px 0 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.doc p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
}

.doc a {
  color: var(--color-text);
  text-decoration: none;
}

.doc a:hover,
.doc a:focus-visible {
  text-decoration: underline;
}

.doc li {
  color: var(--color-text-muted);
}

.doc ul {
  margin: 0 0 8px;
  padding-left: 20px;
}

@media (min-width: 768px) {
  .brand__logo {
    width: 150px;
  }

  .doc {
    margin-top: 24px;
  }

  .doc__title {
    font-size: 32px;
  }
}

.home {
  background: transparent;
}

.home::before,
.home::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(110px);
  transform: translate(-50%, -50%);
}

.home::before {
  width: min(72vw, 720px);
  height: min(72vw, 720px);
  margin: 0;
  animation: home-orb-a 18s ease-in-out infinite;
}

.home::after {
  width: min(48vw, 480px);
  height: min(48vw, 480px);
  animation: home-orb-b 24s ease-in-out infinite;
}

@keyframes home-orb-a {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    background: hsl(196 95% 55% / 0.28);
  }

  33% {
    transform: translate(-50%, -50%) scale(1.08);
    background: hsl(152 85% 48% / 0.24);
  }

  66% {
    transform: translate(-50%, -50%) scale(0.96);
    background: hsl(328 90% 58% / 0.24);
  }
}

@keyframes home-orb-b {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    background: hsl(24 100% 58% / 0.22);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
    background: hsl(262 85% 62% / 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .main,
  .home::before,
  .home::after {
    animation: none;
  }

  .home::before,
  .home::after {
    transform: translate(-50%, -50%);
    background: hsl(196 90% 55% / 0.14);
  }
}

@keyframes home-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
