﻿/* Author: Eugene Nikolaev | https://t.me/naturalcod */
:root {
  --color-background: #050705;
  --color-border: rgba(152, 255, 74, 0.18);
  --color-border-strong: rgba(152, 255, 74, 0.45);
  --color-text: #f4f7f2;
  --color-text-soft: rgba(233, 240, 232, 0.72);
  --color-accent: #71dd33;
  --color-accent-strong: #8af246;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius-large: 32px;
  --transition-base: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(180deg, #060806 0%, #050705 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  overflow-x: clip;
}

.page__mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.5)),
    url("assets/images/dark-pattern.png") center top / cover no-repeat;
  pointer-events: none;
}

.page__container {
  width: min(calc(100% - 4rem), 1520px);
  margin: 0 auto;
}

.page__main {
  position: relative;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding-top: 1.5rem;
}

.site-header__container {
  padding-block: 0;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
}

.site-header__wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 1.9vw, 1.92rem);
  font-weight: 500;
  letter-spacing: 0.31em;
  color: rgba(247, 250, 246, 0.98);
  text-transform: uppercase;
}

.site-header__wordmark-accent {
  color: var(--color-accent);
}

.hero,
.token {
  position: relative;
  isolation: isolate;
}

.hero--screen {
  min-height: 100svh;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 6, 4, 0.52) 0%, rgba(4, 6, 4, 0.36) 24%, rgba(4, 6, 4, 0.16) 54%, rgba(4, 6, 4, 0.04) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18)),
    url("assets/images/hero-building.png") center top / 100% auto no-repeat;
}

.hero__backdrop::before {
  content: none;
}

.hero__backdrop::after {
  content: none;
}

.hero__container {
  display: grid;
  align-content: center;
  gap: clamp(3.25rem, 6vw, 6rem);
  padding-block: clamp(7rem, 10vw, 8.5rem) clamp(2.75rem, 4vw, 3.75rem);
}

.hero__headline {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.hero__eyebrow,
.section-heading__eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(229, 240, 227, 0.66);
}

.hero__title,
.section-heading__title,
.feature-card__title,
.token-story__title {
  margin: 0;
  font-family: var(--font-display);
}

.hero__title {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.24em;
  font-size: clamp(2.85rem, 4.35vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero__title-part {
  display: inline-block;
}

.hero__description,
.section-heading__description,
.feature-card__text,
.token-story__text,
.token-card__value--muted {
  color: var(--color-text-soft);
}

.hero__description {
  max-width: 56rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 1.28vw, 1.28rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.feature-card {
  width: min(100%, 48rem);
  display: grid;
  min-width: 0;
  gap: 1.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card__accent,
.token-story__accent {
  width: 3rem;
  height: 0.18rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.feature-card__title,
.token-story__title {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.feature-card__text,
.token-story__text {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.58;
}

.feature-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.feature-card__actions .button {
  min-height: 3.85rem;
  padding-inline: 2rem;
  border-radius: 0.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.86rem 1.6rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
}

.button::after {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-left: 0.8rem;
  flex-shrink: 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 12L12 4M6.25 4H12V9.75' stroke='%230B1407' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.site-footer__social-link:focus-visible,
.token-card__link:focus-visible,
.site-header__brand:focus-visible,
.site-footer__brand:focus-visible {
  outline: 2px solid rgba(138, 242, 70, 0.9);
  outline-offset: 0.25rem;
}

.button--primary {
  color: #0b1407;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  box-shadow: 0 16px 32px -20px rgba(138, 242, 70, 0.7);
}

.button--ghost {
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  background: rgba(8, 11, 8, 0.52);
}

.button--ghost::after,
.token-story__button::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 12L12 4M6.25 4H12V9.75' stroke='%23F4F7F2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(15, 19, 15, 0.82);
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.15rem;
  padding: 0.72rem 1.55rem;
  border: 1px solid rgba(113, 221, 51, 0.28);
  border-radius: 1rem;
  background: rgba(6, 10, 7, 0.48);
}

.tag__icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--color-accent-strong);
  flex-shrink: 0;
}

.tag__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__social-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.tag__text {
  font-size: 0.9rem;
  color: rgba(240, 247, 237, 0.88);
}

.token {
  padding-block: clamp(1.9rem, 3.4vw, 3rem) clamp(1rem, 2.5vw, 2rem);
}

.token__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 6, 4, 0.82) 0%, rgba(4, 6, 4, 0.95) 100%),
    url("assets/images/dark-pattern.png") center center / cover no-repeat;
}

.token__container {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.5rem);
}

.section-heading {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading__title {
  font-size: clamp(2.4rem, 4.6vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading__description {
  margin: 1rem auto 0;
  max-width: 39rem;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.55;
}

.token__content {
  display: grid;
  width: 100%;
  margin-inline: 0;
  grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr);
  align-items: stretch;
  gap: 1.5rem;
}

.token-story {
  display: grid;
  min-width: 0;
  gap: 0.9rem;
  align-content: start;
  position: relative;
  min-height: 21.75rem;
  padding: 0 2.2rem 11.4rem 1.9rem;
  overflow: hidden;
}

.token-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 5, 0.96) 0%, rgba(5, 7, 5, 0.88) 18%, rgba(5, 7, 5, 0.52) 38%, rgba(5, 7, 5, 0.16) 63%, rgba(5, 7, 5, 0.04) 100%),
    linear-gradient(90deg, rgba(5, 7, 5, 0.88) 0%, rgba(5, 7, 5, 0.48) 13%, rgba(5, 7, 5, 0.12) 28%, rgba(5, 7, 5, 0) 48%, rgba(5, 7, 5, 0.08) 67%, rgba(5, 7, 5, 0.54) 84%, rgba(5, 7, 5, 0.9) 100%),
    linear-gradient(0deg, rgba(5, 7, 5, 0.9) 0%, rgba(5, 7, 5, 0.22) 22%, rgba(5, 7, 5, 0) 44%),
    url("assets/images/token-building.png") left bottom / 108% auto no-repeat;
  opacity: 0.92;
  pointer-events: none;
}

.token-story__visual {
  display: none;
}

.token-story__title {
  max-width: none;
  font-size: clamp(1.38rem, 1.48vw, 1.6rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.token-story__text {
  max-width: 20rem;
  font-size: 0.9rem;
  line-height: 1.58;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.token-story__button {
  position: relative;
  z-index: 1;
  width: fit-content;
  min-width: 13.9rem;
  margin-top: 1rem;
  min-height: 3.8rem;
  padding-inline: 2.35rem;
  border-color: rgba(122, 225, 58, 0.62);
  border-radius: 1.05rem;
  justify-content: center;
  font-size: 1rem;
  background:
    linear-gradient(180deg, rgba(18, 21, 19, 0.96), rgba(9, 11, 10, 0.96)),
    rgba(8, 10, 9, 0.92);
  box-shadow:
    0 0 0 1px rgba(122, 225, 58, 0.08),
    0 0 0 1px rgba(122, 225, 58, 0.14) inset,
    0 0 18px -5px rgba(122, 225, 58, 0.24),
    0 0 30px -14px rgba(122, 225, 58, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.token-story__button::before {
  content: none;
}

.token__divider {
  position: relative;
  display: flex;
  justify-content: center;
  margin-inline: -0.35rem;
}

.token__divider::before {
  content: "";
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22) 12%,
    rgba(255, 255, 255, 0.28) 88%,
    rgba(255, 255, 255, 0)
  );
}

.token__divider-dot {
  position: absolute;
  top: 50%;
  width: 0.9rem;
  aspect-ratio: 1;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: rgba(6, 10, 6, 0.96);
  box-shadow: 0 0 0 0.35rem rgba(113, 221, 51, 0.06);
  transform: translateY(-50%);
}

.token-card {
  align-self: start;
  display: grid;
  min-width: 0;
  gap: 1.3rem;
  padding: 1.45rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-large);
  background:
    linear-gradient(180deg, rgba(7, 10, 8, 0.86), rgba(8, 11, 9, 0.66)),
    rgba(5, 7, 5, 0.85);
  box-shadow:
    0 32px 80px -42px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.token-card__header {
  display: flex;
  min-width: 0;
  gap: 1rem;
  align-items: center;
}

.token-card__symbol {
  width: clamp(3.45rem, 4vw, 3.9rem);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
}

.token-card__meta,
.token-card__row {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
}

.token-card__details {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.token-card__label {
  margin: 0;
  color: rgba(223, 232, 222, 0.56);
  font-size: 0.88rem;
  font-weight: 400;
}

.token-card__value {
  margin: 0;
  font-size: clamp(0.96rem, 1.08vw, 1.08rem);
  line-height: 1.45;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.token-card__links {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 1.1rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.token-card__links-item {
  position: relative;
}

.token-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #f6f9f5;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(122, 225, 58, 0.68);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

.token-card__link::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Crect x='2.25' y='2.25' width='15.5' height='15.5' rx='3' stroke='%237AE13A' stroke-width='1.5'/%3E%3Cpath d='M10 4.9V11.2M7.25 8.95L10 11.75L12.75 8.95M6.6 14.2H13.4' stroke='%237AE13A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.token-card__link:hover,
.token-card__link:focus-visible {
  color: var(--color-accent-strong);
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 4, 0.62);
}

.site-footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-footer__brand-mark {
  width: 1.95rem;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  flex-shrink: 0;
}

.site-footer__brand-text {
  font-size: clamp(0.96rem, 1.18vw, 1.12rem);
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.75rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(244, 247, 242, 0.84);
  transition: color var(--transition-base), transform var(--transition-base);
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: var(--color-accent-strong);
  transform: translateY(-1px);
}

.site-footer__social-link svg {
  width: 1.35rem;
  height: 1.35rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__headline,
  .feature-card,
  .token__heading,
  .token-story,
  .token-card {
    animation: page-fade-up 800ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  }

  .feature-card {
    animation-delay: 120ms;
  }

  .token__heading {
    animation-delay: 160ms;
  }

  .token-card {
    animation-delay: 220ms;
  }
}

@keyframes page-fade-up {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

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

@media (max-width: 1100px) {
  .hero--screen {
    min-height: auto;
  }

  .hero__container {
    gap: 2.5rem;
    padding-block: 5rem 1.2rem;
  }

  .token {
    padding-block: 0.8rem 1.6rem;
  }

  .token__container {
    gap: 1rem;
  }

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

  .token__divider {
    min-height: 2.5rem;
  }

  .token__divider::before {
    width: min(100%, 24rem);
    height: 1px;
  }

  .token__divider-dot {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .token-card {
    max-width: none;
  }

  .token-story {
    min-height: 28rem;
    padding: 0;
  }

  .token-story::after {
    content: none;
  }

  .token-story__visual {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin-top: 0.2rem;
    min-height: 17rem;
    border-radius: 1.75rem;
    background:
      linear-gradient(180deg, rgba(5, 7, 5, 0.04), rgba(5, 7, 5, 0.18)),
      url("assets/images/token-building.png") center center / cover no-repeat;
  }

  .token-story__text {
    max-width: 36rem;
  }

  .token-story__title {
    white-space: normal;
  }

  .token-story__button {
    width: fit-content;
  }
}

@media (max-width: 820px) and (min-width: 641px) {
  .site-header {
    position: relative;
    width: auto;
    padding-top: 0.75rem;
  }

  .site-header__wordmark {
    letter-spacing: 0.28em;
  }

  .page__container {
    width: min(calc(100% - 2rem), 1520px);
  }

  .hero__container {
    align-content: start;
    gap: 2rem;
    padding-block: 2rem 2.5rem;
  }

  .hero__backdrop {
    background:
      linear-gradient(180deg, rgba(4, 6, 4, 0.56) 0%, rgba(4, 6, 4, 0.34) 34%, rgba(4, 6, 4, 0.7) 100%),
      url("assets/images/hero-building.png") 63% top / cover no-repeat;
  }

  .hero__headline {
    margin-inline: 0;
    text-align: left;
    max-width: 38rem;
  }

  .hero__title {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.08em 0.22em;
    max-width: 18.5ch;
    white-space: normal;
  }

  .hero__description {
    margin-inline: 0;
    max-width: 30rem;
    font-size: 0.98rem;
  }

  .feature-card {
    width: min(100%, 22rem);
    gap: 1rem;
  }

  .feature-card__title {
    font-size: 1.62rem;
    line-height: 1.08;
  }

  .feature-card__text {
    max-width: 18rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .feature-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 0.7rem;
  }

  .feature-card__actions .button {
    min-height: 3rem;
    padding-inline: 0.95rem;
    font-size: 0.96rem;
    justify-content: space-between;
  }

  .feature-card__tags {
    display: grid;
    width: min(100%, 19rem);
    gap: 0.65rem;
  }

  .feature-card__tags .tag {
    width: 100%;
    min-height: 2.95rem;
    padding: 0.72rem 1rem;
    justify-content: flex-start;
  }

  .section-heading {
    max-width: 38rem;
  }

  .site-footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__socials {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    width: auto;
    padding-top: 0.75rem;
  }

  .page__container {
    width: min(calc(100% - 1.5rem), 1520px);
  }

  .hero__container {
    align-content: start;
    gap: 1.5rem;
    padding-block: 2.25rem 3rem;
  }

  .hero__backdrop {
    background:
      linear-gradient(180deg, rgba(4, 6, 4, 0.62) 0%, rgba(4, 6, 4, 0.42) 38%, rgba(4, 6, 4, 0.68) 100%),
      url("assets/images/hero-building.png") 66% top / cover no-repeat;
  }

  .hero__headline {
    margin-inline: 0;
    text-align: left;
    max-width: 34rem;
  }

  .hero__title {
    display: block;
    white-space: normal;
  }

  .hero__title-part {
    display: block;
  }

  .hero__description {
    margin-inline: 0;
  }

  .feature-card {
    width: 100%;
  }

  .feature-card__actions,
  .feature-card__tags {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .tag {
    width: 100%;
    justify-content: flex-start;
  }

  .token-story__button {
    width: 100%;
    justify-content: center;
  }

  .section-heading {
    text-align: left;
    margin-inline: 0;
  }

  .site-footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__socials {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero--screen,
  .token--screen {
    min-height: auto;
  }

  .hero__title {
    max-width: 11ch;
  }

  .token-story__visual {
    min-height: 16rem;
  }

  .token-card__header {
    align-items: flex-start;
  }

  .site-footer__socials {
    display: grid;
    gap: 0.9rem;
    justify-items: center;
  }
}


