.page-home {
  background:
    radial-gradient(ellipse at 88% -10%, rgba(255, 107, 53, 0.12), transparent 52%),
    linear-gradient(160deg, var(--primary) 0%, var(--bg-dark) 92%);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .home-section-code {
  position: absolute;
  top: 8px;
  right: 16px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: clamp(84px, 12vw, 168px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 36px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 440px;
  height: 440px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.14), transparent 62%);
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-home .home-hero__content {
  max-width: 520px;
}

.page-home .home-hero__title {
  margin: 14px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.page-home .home-hero__lead {
  max-width: 46ch;
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.page-home .home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__media {
  position: relative;
  z-index: 0;
}

.page-home .home-hero__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.2deg);
}

.page-home .home-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-hero__board {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 126px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.page-home .home-hero__panel {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.page-home .home-preview {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.page-home .home-preview__label {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.page-home .home-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-preview__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-preview__card:hover,
.page-home .home-preview__card:focus-visible {
  background: var(--surface-strong);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.page-home .home-preview__num {
  grid-row: 1 / span 2;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
}

.page-home .home-preview__title {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.page-home .home-preview__hint {
  align-self: start;
  padding-right: 40px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.page-home .home-preview__more {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.page-home .home-preview__card:hover .home-preview__more,
.page-home .home-preview__card:focus-visible .home-preview__more {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-member {
  position: relative;
  padding: 64px 0;
}

.page-home .home-member__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .home-member__media {
  position: relative;
}

.page-home .home-member__img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .home-member__img img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-img-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.page-home .home-member__content {
  position: relative;
}

.page-home .home-member__title {
  margin: 12px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.page-home .home-member__desc {
  max-width: 56ch;
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.page-home .home-member__list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-member__list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
}

.page-home .home-member__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
}

.page-home .home-board {
  position: relative;
  padding: 64px 0;
  background: rgba(255, 255, 255, 0.03);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-board__head {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 34px;
}

.page-home .home-board__title {
  margin: 12px 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.page-home .home-board__desc {
  max-width: 60ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.page-home .home-board__demo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .home-board__mock {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: rotate(0.8deg);
}

.page-home .home-board__mock img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-board__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.page-home .tab-panel {
  margin-top: 18px;
}

.page-home .home-board__feed {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-board__feed li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
}

.page-home .home-follow {
  position: relative;
  padding: 64px 0;
}

.page-home .home-follow__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .home-follow__title {
  margin: 12px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.page-home .home-follow__desc {
  max-width: 56ch;
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.page-home .home-follow__demo {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.page-home .home-follow__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.page-home .home-follow__grip {
  cursor: grab;
  color: var(--text-secondary);
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}

.page-home .home-follow__badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-home .home-follow__name {
  flex: 1;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
}

.page-home .home-follow__status {
  color: var(--text-secondary);
  font-size: 12px;
}

.page-home .home-follow__note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(52, 199, 123, 0.2);
  border-radius: 10px;
  background: rgba(52, 199, 123, 0.08);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.page-home .home-follow__note strong {
  color: var(--text-primary);
}

.page-home .home-follow__img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .home-follow__img img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-updates {
  position: relative;
  padding: 64px 0;
  background: rgba(255, 255, 255, 0.03);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .home-updates__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.page-home .home-updates__title {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.page-home .home-updates__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-updates__card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-home .home-updates__card:hover {
  background: var(--surface-strong);
  transform: translateY(-3px);
}

.page-home .home-updates__card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.page-home .home-updates__card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.page-home .home-brand {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.page-home .home-brand__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-home .home-brand__title {
  margin: 12px 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.page-home .home-brand__lead {
  max-width: 60ch;
  margin: 0 0 32px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.page-home .home-brand__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.page-home .home-brand__stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.page-home .home-brand__num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
}

.page-home .home-brand__label {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .home-brand__honors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.page-home .home-brand__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 700px) {
  .page-home .home-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-updates__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-brand__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 64px 0 48px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
  }

  .page-home .home-hero__lead {
    font-size: 17px;
  }

  .page-home .home-hero__board {
    top: 20px;
    right: 20px;
    width: 168px;
  }

  .page-home .home-hero__panel {
    left: 20px;
    bottom: 20px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .page-home .home-preview__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-member,
  .page-home .home-board,
  .page-home .home-follow {
    padding: 96px 0;
  }

  .page-home .home-member__grid,
  .page-home .home-follow__grid {
    grid-template-columns: 6fr 6fr;
    gap: 56px;
  }

  .page-home .home-board__demo {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .page-home .home-updates {
    padding: 96px 0;
  }

  .page-home .home-updates__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-brand {
    padding: 108px 0;
  }
}
