:root {
  --page-bg: #fbfbfb;
  --sidebar-bg: #ffffff;
  --card-bg: #ebebeb;
  --ink: #000000;
  --muted: #7b7b7b;
  --btn-bg: #171717;
  --radius: 20px;
  --gap: 20px;
  --pad: 20px;
  --letter-tight-36: -1.08px;
  --letter-tight-24: -0.72px;
  --font: Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font);
}

a {
  color: inherit;
}

.page {
  align-items: flex-start;
  display: flex;
  gap: var(--gap);
  margin: 0 auto;
  max-width: 1700px;
  padding: var(--pad);
  width: 100%;
}

.sidebar {
  background: var(--sidebar-bg);
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: var(--gap);
  max-width: 500px;
  min-height: 1px;
  min-width: 1px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  padding: var(--pad);
}

.hero-title {
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: var(--letter-tight-36);
  line-height: normal;
  margin: 0;
}

.muted {
  color: var(--muted);
}

.intro-text {
  display: flex;
  flex-direction: column;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: var(--letter-tight-24);
  line-height: normal;
}

.intro-paragraph {
  margin: 0;
}

.intro-text strong {
  font-weight: 700;
}

.muted-link {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: from-font;
}

.two-col {
  display: flex;
  gap: var(--gap);
  height: 220px;
  width: 100%;
}

.list-card {
  align-items: flex-start;
  display: flex;
  flex: 1 0 0;
  min-height: 1px;
  min-width: 1px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: var(--letter-tight-24);
  line-height: normal;
  overflow: hidden;
}

.list-title {
  font-weight: 700;
}

.buttons {
  align-items: center;
  display: flex;
  gap: 10px;
  height: 68px;
  width: 100%;
}

.btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 0;
  text-decoration: none;
}

.btn-mail {
  align-items: center;
  background: var(--btn-bg);
  border-radius: var(--radius);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex: 1 0 0;
  font-size: 24px;
  font-weight: 700;
  height: 100%;
  justify-content: center;
  letter-spacing: var(--letter-tight-24);
  min-width: 0;
  overflow: hidden;
  padding: var(--pad);
}

.btn-icon {
  align-items: center;
  background: var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  height: 68px;
  justify-content: center;
  overflow: hidden;
  width: 68px;
}

.btn-telegram {
  cursor: pointer;
  display: flex;
  height: 68px;
  overflow: hidden;
  width: 68px;
}

.icon {
  display: block;
}

.btn-telegram .icon {
  height: 100%;
  width: 100%;
}

.btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 4px;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar > .card,
.two-col > .card,
.buttons > .btn,
.gallery > .media {
  animation: fade-in-up 620ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
}

.sidebar > .card:nth-of-type(1) {
  animation-delay: 50ms;
}

.sidebar > .card:nth-of-type(2) {
  animation-delay: 120ms;
}

.two-col > .card:nth-child(1) {
  animation-delay: 190ms;
}

.two-col > .card:nth-child(2) {
  animation-delay: 250ms;
}

.buttons > .btn:nth-child(1) {
  animation-delay: 310ms;
}

.buttons > .btn:nth-child(2) {
  animation-delay: 360ms;
}

.buttons > .btn:nth-child(3) {
  animation-delay: 410ms;
}

.gallery > .media:nth-child(1) {
  animation-delay: 210ms;
}

.gallery > .media:nth-child(2) {
  animation-delay: 280ms;
}

.gallery > .media:nth-child(3) {
  animation-delay: 350ms;
}

.gallery > .media:nth-child(4) {
  animation-delay: 420ms;
}

.gallery > .media:nth-child(5) {
  animation-delay: 490ms;
}

.toast {
  background: #3a3a3a;
  border-radius: 10px;
  bottom: 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  left: 50%;
  opacity: 0;
  padding: 10px 14px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .sidebar > .card,
  .two-col > .card,
  .buttons > .btn,
  .gallery > .media {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .toast {
    transition: none;
  }
}

.gallery {
  display: grid;
  flex: 1 0 0;
  gap: var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "img1 img2"
    "img3 img4"
    "slide .";
  max-width: 1140px;
  min-height: 1px;
  min-width: 1px;
}

.gallery [data-node-id="285:153"] {
  grid-area: img1;
}

.gallery [data-node-id="285:154"] {
  grid-area: img2;
}

.gallery [data-node-id="286:195"] {
  grid-area: img3;
}

.gallery [data-node-id="286:155"] {
  grid-area: img4;
}

.gallery [data-node-id="289:221"] {
  grid-area: slide;
}

.media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.media.round {
  border-radius: var(--radius);
}

.media img {
  display: block;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
}

@media (max-width: 1200px) {
  .page {
    align-items: stretch;
    flex-direction: column;
    max-width: 1140px;
  }

  .sidebar {
    flex: 0 0 auto;
    margin-inline: auto;
    max-width: 500px;
    width: 100%;
  }

  .gallery {
    flex: 0 0 auto;
    grid-template-areas:
      "img1 img2"
      "img3 img4"
      "slide slide";
    margin-inline: auto;
    max-width: 1140px;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .page {
    max-width: 540px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-areas:
      "slide"
      "img1"
      "img2"
      "img3"
      "img4";
  }
}

@media (max-width: 560px) {
  .page {
    padding: 12px;
  }

  .two-col {
    height: 220px;
  }
}
