.home-main {
  position: relative;
  z-index: 1;
}

.home-hero:not(.home-hero--landing) {
  padding: clamp(74px, 10vw, 130px) 0 74px;
}

.home-hero:not(.home-hero--landing) .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
}

.home-hero:not(.home-hero--landing) .home-hero-copy {
  animation: home-rise 620ms ease forwards;
  opacity: 0;
}

.home-hero:not(.home-hero--landing) .home-hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 13ch;
}

.home-hero:not(.home-hero--landing) .home-hero-copy .lead {
  max-width: 54ch;
  margin: 0;
  color: var(--ink-600);
}

.home-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 540px;
}

.home-points li {
  position: relative;
  padding: 0;
  padding-inline-start: 20px;
  color: var(--ink-600);
  line-height: 1.6;
  font-size: 0.97rem;
}

.home-points li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: none;
  background: linear-gradient(135deg, var(--sage-400), var(--sun-400));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.home-hero:not(.home-hero--landing) .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.home-hero:not(.home-hero--landing) .home-hero-visual {
  position: relative;
  width: min(100%, 500px);
  justify-self: center;
  min-height: 0;
  padding-top: 56px;
  padding-bottom: 56px;
  animation: home-rise 760ms ease forwards;
  opacity: 0;
  animation-delay: 120ms;
}

.home-dashboard-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.78) 0%, rgba(7, 11, 20, 0.9) 100%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.2) 0%, rgba(30, 92, 255, 0.12) 50%, rgba(30, 92, 255, 0.12) 100%);
  padding: 22px 20px 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.home-dashboard-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  top: -160px;
  inset-inline-end: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, transparent 72%);
  pointer-events: none;
}

.home-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.home-dashboard-label {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.home-dashboard-head h2 {
  margin: 0;
  font-size: clamp(1.06rem, 1.8vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink-700);
}

.home-live-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-600);
  background: rgba(74, 10, 115, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.home-live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-400);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14);
}

.home-dashboard-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.home-dashboard-kpi {
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 20, 0.48);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.home-dashboard-kpi span {
  color: var(--ink-500);
  font-size: 0.74rem;
}

.home-dashboard-kpi strong {
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.home-timeline {
  list-style: none;
  margin: 0;
  padding: 14px 10px 6px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-timeline li {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 11, 20, 0.42);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
}

.home-timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(168, 141, 204, 0.65);
  box-shadow: 0 0 0 4px rgba(168, 141, 204, 0.1);
  flex: 0 0 auto;
}

.home-timeline li span {
  flex: 1;
  color: var(--ink-600);
  font-size: 0.88rem;
  line-height: 1.4;
}

.home-timeline li strong {
  color: var(--ink-700);
  font-size: 0.82rem;
  white-space: nowrap;
}

.home-timeline li.is-done::before {
  background: var(--sage-400);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.home-timeline li.is-done strong {
  color: var(--sage-400);
}

.home-timeline li.is-live::before {
  background: var(--sage-400);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.home-timeline li.is-live strong {
  color: var(--success-text);
}

.home-float-chip {
  position: absolute;
  z-index: 2;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 11, 20, 0.68);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  padding: 10px 12px;
  min-width: 0;
  width: max-content;
  max-width: 190px;
  display: grid;
  gap: 3px;
}

.home-float-chip span {
  font-size: 0.74rem;
  color: var(--ink-500);
}

.home-float-chip strong {
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.home-float-chip-top {
  top: 0;
  inset-inline-start: -14px;
}

.home-float-chip-bottom {
  bottom: 0;
  inset-inline-end: -14px;
}

.home-float-chip-bottom strong {
  letter-spacing: 0.02em;
}

.home-hero:not(.home-hero--landing) .home-hero-visual::after {
  content: "";
  position: absolute;
  inset-inline-start: -18px;
  inset-inline-end: -18px;
  bottom: -26px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 72%);
  filter: blur(14px);
  z-index: 0;
}

.home-hero:not(.home-hero--landing) .home-hero-visual .home-dashboard-card {
  z-index: 1;
}

.home-hero:not(.home-hero--landing) .home-hero-visual .home-float-chip {
  z-index: 2;
}

.home-steps .section-head,
.home-scrolly__head,
.home-categories .section-head {
  margin-bottom: 26px;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-step-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 11, 20, 0.56);
  padding: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  animation: home-rise 600ms ease forwards;
  opacity: 0;
}

.home-step-card:nth-child(2) {
  animation-delay: 90ms;
}

.home-step-card:nth-child(3) {
  animation-delay: 160ms;
}

.home-step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 600;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.26));
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ink-700);
}

.home-step-card h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.home-step-card p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.62;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-path-card {
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 11, 20, 0.58);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  animation: home-rise 640ms ease forwards;
  opacity: 0;
}

.home-path-card.seller {
  animation-delay: 100ms;
}

.home-path-card.buyer {
  border-top: 3px solid rgba(255, 255, 255, 0.65);
}

.home-path-card.seller {
  border-top: 3px solid rgba(255, 255, 255, 0.65);
}

.home-path-tag {
  margin: 0 0 8px;
  color: var(--ink-500);
  font-size: 0.84rem;
  font-weight: 700;
}

.home-path-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

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

.home-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--ink-600);
  line-height: 1.55;
}

.home-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  inset-inline-start: 0;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-400), var(--sun-400));
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--sage-400);
  padding: 8px 0;
}

.home-link::after {
  content: "->";
  font-size: 1.05rem;
  transform: translateX(-1px);
}

.home-link:hover {
  color: var(--success-text);
}

.home-categories .section-head {
  max-width: 720px;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-category-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 11, 20, 0.48);
  padding: 12px 14px;
  font-weight: 600;
  color: var(--ink-700);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  animation: home-rise 560ms ease forwards;
  opacity: 0;
}

.home-category-item:nth-child(2) { animation-delay: 30ms; }
.home-category-item:nth-child(3) { animation-delay: 60ms; }
.home-category-item:nth-child(4) { animation-delay: 90ms; }
.home-category-item:nth-child(5) { animation-delay: 120ms; }
.home-category-item:nth-child(6) { animation-delay: 150ms; }
.home-category-item:nth-child(7) { animation-delay: 180ms; }
.home-category-item:nth-child(8) { animation-delay: 210ms; }

.home-category-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.22);
}

.home-cta {
  padding: 8px 0 86px;
}

.home-cta-inner {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.16) 46%, rgba(30, 92, 255, 0.14));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-cta-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.home-cta-inner p {
  margin: 0;
  color: var(--ink-600);
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

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

@media (max-width: 1020px) {
  .home-hero:not(.home-hero--landing) .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero:not(.home-hero--landing) .home-hero-visual {
    max-width: 520px;
    min-height: auto;
    margin-inline: auto;
    width: 100%;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .home-dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-dashboard-kpi:last-child {
    grid-column: span 2;
  }

  .home-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-hero:not(.home-hero--landing) {
    padding-top: 76px;
    padding-bottom: 50px;
  }

  .home-hero:not(.home-hero--landing) .home-hero-copy h1 {
    font-size: clamp(1.64rem, 7.8vw, 2.3rem);
    max-width: none;
  }

  .home-points li {
    padding-inline-start: 18px;
    font-size: 0.92rem;
  }

  .home-step-grid,
  .home-path-grid,
  .home-category-grid {
    grid-template-columns: 1fr;
  }

  .home-hero:not(.home-hero--landing) .home-hero-actions,
  .home-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero:not(.home-hero--landing) .home-hero-actions .btn,
  .home-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .home-dashboard-card {
    padding: 18px 16px 16px;
  }

  .home-dashboard-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .home-dashboard-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .home-dashboard-kpi:last-child {
    grid-column: auto;
  }

  .home-hero:not(.home-hero--landing) .home-hero-visual {
    padding-top: 56px;
    padding-bottom: 52px;
  }

  .home-float-chip {
    position: absolute;
    margin-top: 0;
    width: max-content;
    max-width: 160px;
    padding: 8px 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
  }

  .home-float-chip span {
    font-size: 0.68rem;
  }

  .home-float-chip strong {
    font-size: 0.86rem;
  }

  .home-float-chip-top {
    top: 8px;
    inset-inline-start: 4px;
  }

  .home-float-chip-bottom {
    bottom: 8px;
    inset-inline-end: 4px;
  }

  .home-dashboard-kpi span {
    font-size: 0.68rem;
  }

  .home-dashboard-kpi strong {
    font-size: 0.82rem;
  }

  .home-dashboard-head h2 {
    font-size: 0.98rem;
  }

  .home-timeline li {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .home-timeline li strong {
    width: 100%;
    padding-inline-start: 22px;
  }

  .home-cta {
    padding-block: 4px 48px;
    padding-inline-start: max(18px, 4.5vw, env(safe-area-inset-left, 0px));
    padding-inline-end: max(18px, 4.5vw, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  .home-cta-inner {
    padding: 16px 18px;
    gap: 14px;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  }

  .home-cta-inner h2 {
    font-size: 1.32rem;
    margin: 0 0 4px;
  }

  .home-cta-inner p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .home-cta-actions {
    gap: 8px;
  }

  .home-cta-actions .btn {
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .home-hero:not(.home-hero--landing) .home-hero-visual {
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .home-float-chip {
    max-width: 145px;
    padding: 7px 9px;
  }

  .home-float-chip span {
    font-size: 0.64rem;
  }

  .home-float-chip strong {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero:not(.home-hero--landing) .home-hero-copy,
  .home-hero:not(.home-hero--landing) .home-hero-visual,
  .home-dashboard-card,
  .home-float-chip,
  .home-step-card,
  .home-path-card,
  .home-category-item {
    opacity: 1;
    animation: none;
  }
}
