@font-face {
  font-family: "Comfortaa";
  src: url("/static/font/Comfortaa/Comfortaa.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111111;
}

.hero {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  height: 250px;
  margin: 24px auto 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.hero__background {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: translate3d(0, 0, -24px) scale(1.04);
  transform-origin: center;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 32px;
  transform: translate3d(0, 0, 40px);
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero__logo-wrap {
  display: block;
  width: min(260px, 38vw);
  transform: translate3d(0, 0, 72px);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.about-project {
  width: min(1100px, calc(100% - 40px));
  margin: 28px auto 0;
}

.about-project__inner {
  padding: 48px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.06);
}

.about-project__eyebrow {
  margin: 0 0 16px;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-project__title {
  max-width: 820px;
  margin: 0;
  color: #111111;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-project__brand {
  font-family: "Comfortaa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.about-project__text {
  max-width: 820px;
  margin: 24px 0 0;
  color: #4c4c4c;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.about-project__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.about-project__social-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #6f6f6f;
  font-size: 14px;
  font-weight: 650;
  background: #f7f7f7;
  border: 1px solid #ededed;
  border-radius: 999px;
}

.social-cards {
  width: min(1100px, calc(100% - 40px));
  margin: 28px auto 0;
}

.social-cards__inner {
  padding: 48px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.06);
}

.social-cards__header {
  max-width: 760px;
  margin-bottom: 32px;
}

.social-cards__eyebrow {
  margin: 0 0 14px;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-cards__title {
  margin: 0;
  color: #111111;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.social-cards__description {
  margin: 18px 0 0;
  color: #555555;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.social-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 116px;
  padding: 18px;
  color: #111111;
  text-decoration: none;
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 24px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.social-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: #dddddd;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.08);
}

.social-card:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

.social-card.is-hidden {
  display: none;
}

.social-card__icon-wrap {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 18px;
}

.social-card__icon {
  display: block;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.social-card__icon--svg {
  filter: brightness(0) saturate(100%);
}

.social-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.social-card__name {
  color: #111111;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.social-card__text {
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer {
  width: min(1100px, calc(100% - 40px));
  margin: 28px auto 48px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.05);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.site-footer__name {
  color: #111111;
  font-family: "Comfortaa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer__text {
  color: #666666;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__language {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.site-footer__language-label {
  color: #666666;
  font-size: 14px;
  font-weight: 650;
}

.site-footer__language-buttons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #f6f6f6;
  border: 1px solid #eeeeee;
  border-radius: 999px;
}

.site-footer__language-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 36px;
  padding: 0 14px;
  color: #666666;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-footer__language-button:hover {
  color: #111111;
  background: #ffffff;
}

.site-footer__language-button:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

.site-footer__language-button.is-active {
  color: #111111;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: block;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #eeeeee;
  border-radius: 28px;
  box-shadow: 0 24px 90px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(18px);
}

.cookie-banner__content {
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 6px;
  color: #111111;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.cookie-banner__text {
  margin: 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner__link {
  color: #111111;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.35);
  transition: border-color 220ms ease;
}

.cookie-banner__link:hover {
  border-color: rgba(17, 17, 17, 0.9);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-banner__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #333333;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  background: #f6f6f6;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.cookie-banner__button:hover {
  color: #111111;
  background: #ffffff;
  border-color: #dddddd;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
  transform: translateY(-1px);
}

.cookie-banner__button:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

.cookie-banner__button--primary {
  color: #ffffff;
  background: #111111;
  border-color: #111111;
}

.cookie-banner__button--primary:hover {
  color: #ffffff;
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.legal-page {
  width: min(1100px, calc(100% - 40px));
  margin: 24px auto 48px;
}

.legal-page__inner {
  padding: 48px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.06);
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 24px;
  padding: 0 16px;
  color: #555555;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #f7f7f7;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.legal-page__back:hover {
  color: #111111;
  background: #ffffff;
  border-color: #dddddd;
}

.legal-page__eyebrow {
  margin: 0 0 16px;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page__title {
  max-width: 820px;
  margin: 0;
  color: #111111;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.legal-page__updated {
  margin: 18px 0 0;
  color: #777777;
  font-size: 14px;
  font-weight: 650;
}

.legal-page__content {
  max-width: 820px;
  margin-top: 32px;
  color: #4c4c4c;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: -0.01em;
}

.legal-page__content h2 {
  margin: 36px 0 12px;
  color: #111111;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-page__content h3 {
  margin: 24px 0 10px;
  color: #222222;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-page__content p {
  margin: 14px 0 0;
}

.legal-page__content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-page__content li {
  margin: 8px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero__background,
  .hero__content,
  .hero__logo-wrap,
  .social-card,
  .site-footer__language-button,
  .cookie-banner,
  .cookie-banner__button {
    transition: none;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero {
    width: calc(100% - 24px);
    height: 230px;
    margin-top: 16px;
    border-radius: 24px;
  }

  .hero__content {
    padding: 24px;
  }

  .hero__logo-wrap {
    width: min(220px, 48vw);
  }

  .about-project {
    width: calc(100% - 24px);
    margin-top: 16px;
  }

  .about-project__inner {
    padding: 32px;
    border-radius: 24px;
  }

  .about-project__title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .about-project__text {
    font-size: 16px;
    line-height: 1.65;
  }

  .social-cards {
    width: calc(100% - 24px);
    margin-top: 16px;
  }

  .social-cards__inner {
    padding: 32px;
    border-radius: 24px;
  }

  .social-cards__header {
    margin-bottom: 24px;
  }

  .social-cards__grid {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 104px;
    border-radius: 20px;
  }

  .site-footer {
    width: calc(100% - 24px);
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
    border-radius: 24px;
  }

  .site-footer__language {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-banner__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border-radius: 24px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__button {
    flex: 1;
  }

  .legal-page {
    width: calc(100% - 24px);
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .legal-page__inner {
    padding: 32px;
    border-radius: 24px;
  }

  .legal-page__title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .legal-page__content {
    font-size: 16px;
    line-height: 1.68;
  }

  .legal-page__content h2 {
    font-size: 23px;
  }

  .legal-page__content h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    width: calc(100% - 16px);
    height: 190px;
    margin-top: 8px;
    border-radius: 20px;
  }

  .hero__logo-wrap {
    width: min(180px, 52vw);
  }

  .about-project {
    width: calc(100% - 16px);
    margin-top: 12px;
  }

  .about-project__inner {
    padding: 24px;
    border-radius: 20px;
  }

  .about-project__eyebrow {
    font-size: 11px;
  }

  .about-project__title {
    font-size: 30px;
    line-height: 1;
  }

  .about-project__text {
    margin-top: 18px;
    font-size: 15px;
  }

  .about-project__socials {
    margin-top: 24px;
  }

  .social-cards {
    width: calc(100% - 16px);
    margin-top: 12px;
  }

  .social-cards__inner {
    padding: 24px;
    border-radius: 20px;
  }

  .social-cards__eyebrow {
    font-size: 11px;
  }

  .social-cards__title {
    font-size: 30px;
  }

  .social-cards__description {
    font-size: 15px;
  }

  .social-card {
    align-items: flex-start;
    min-height: auto;
    padding: 16px;
  }

  .social-card__icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .social-card__icon {
    max-width: 30px;
    max-height: 30px;
  }

  .social-card__name {
    font-size: 17px;
  }

  .social-card__text {
    font-size: 13px;
  }

  .site-footer {
    width: calc(100% - 16px);
    margin-top: 12px;
    margin-bottom: 24px;
  }

  .site-footer__inner {
    padding: 20px;
    border-radius: 20px;
  }

  .site-footer__language-buttons {
    width: 100%;
  }

  .site-footer__language-button {
    flex: 1;
  }

  .cookie-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .cookie-banner__inner {
    padding: 18px;
    border-radius: 20px;
  }

  .cookie-banner__title {
    font-size: 15px;
  }

  .cookie-banner__text {
    font-size: 13px;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__button {
    width: 100%;
  }

  .legal-page {
    width: calc(100% - 16px);
    margin-top: 8px;
    margin-bottom: 24px;
  }

  .legal-page__inner {
    padding: 24px;
    border-radius: 20px;
  }

  .legal-page__eyebrow {
    font-size: 11px;
  }

  .legal-page__title {
    font-size: 30px;
    line-height: 1;
  }

  .legal-page__content {
    margin-top: 24px;
    font-size: 15px;
  }

  .legal-page__content h2 {
    margin-top: 30px;
    font-size: 21px;
  }

  .legal-page__content h3 {
    font-size: 17px;
  }
}