.page-home {
  background: var(--void);
  color: var(--white-hot);
  padding-top: var(--topbar);
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  .page-home {
    padding-top: 0;
    padding-left: var(--rail);
  }
}

.page-home .crumbs {
  padding-top: 20px;
  padding-bottom: 4px;
  font-size: 13px;
  color: var(--gray-mid);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-home .crumbs a {
  color: var(--gray-mid);
  text-decoration: none;
}

.page-home .crumbs a:hover {
  color: var(--spark);
}

.page-home .crumbs__sep {
  color: rgba(247, 244, 239, 0.24);
}

/* ---------- hero ---------- */

.page-home .hero {
  position: relative;
  padding: 26px 0 78px;
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(184, 52, 31, 0.32) 0%, transparent 58%),
    radial-gradient(90% 70% at 10% 98%, rgba(33, 230, 193, 0.12) 0%, transparent 62%);
}

.page-home .hero__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 940px) {
  .page-home .hero__inner {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 52px;
  }
}

.page-home .hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--ember);
  text-shadow: 0 0 26px rgba(255, 107, 26, 0.38);
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 34ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(247, 244, 239, 0.82);
}

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

.page-home .hero__metrics {
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-home .hero__metric dt {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gray-mid);
}

.page-home .hero__metric dd {
  margin: 6px 0 0;
  font-size: clamp(18px, 4.4vw, 24px);
  color: var(--spark);
}

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

.page-home .hero__shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-warm);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.page-home .hero__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

@media (min-width: 940px) {
  .page-home .hero__shot img {
    aspect-ratio: 6 / 7;
  }
}

.page-home .hero__dial {
  position: absolute;
  right: 14px;
  bottom: -22px;
  width: 156px;
  padding: 14px 14px 12px;
  border-radius: 24px;
  background: rgba(14, 15, 18, 0.94);
  border: 1px solid var(--line-cool);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.62);
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.page-home .hero__dial-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
}

.page-home .hero__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-home .hero__ring-track {
  fill: none;
  stroke: rgba(247, 244, 239, 0.14);
  stroke-width: 8;
}

.page-home .hero__ring-bar {
  fill: none;
  stroke: var(--spark);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 213.7;
}

.page-home .hero__dial-num {
  position: relative;
  font-size: 17px;
  color: var(--spark);
}

.page-home .hero__dial-cap {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--gray-mid);
}

/* ---------- entries ---------- */

.page-home .entries {
  padding: 62px 0 10px;
}

.page-home .entries__title {
  margin: 12px 0 30px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 5.2vw, 38px);
  line-height: 1.22;
}

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

@media (min-width: 780px) {
  .page-home .entries__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .entry {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "idx name"
    "idx desc"
    "idx tag";
  gap: 4px 14px;
  align-content: start;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), border-color 0.12s var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-warm);
  box-shadow: 0 16px 38px rgba(255, 107, 26, 0.18);
}

.page-home .entry__index {
  grid-area: idx;
  font-size: 15px;
  color: var(--ember);
  line-height: 1.5;
}

.page-home .entry__name {
  grid-area: name;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.page-home .entry__desc {
  grid-area: desc;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(247, 244, 239, 0.72);
}

.page-home .entry .pill {
  grid-area: tag;
  justify-self: start;
  margin-top: 12px;
  font-size: 12px;
}

/* ---------- probability ---------- */

.page-home .prob {
  margin-top: 68px;
  padding: 62px 0 68px;
  background: linear-gradient(178deg, rgba(184, 52, 31, 0.16) 0%, rgba(14, 15, 18, 0) 78%);
  clip-path: polygon(0 2.2%, 100% 0, 100% 97.8%, 0 100%);
}

.page-home .prob__inner {
  display: grid;
  gap: 34px;
}

@media (min-width: 900px) {
  .page-home .prob__inner {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 52px;
    align-items: center;
  }
}

.page-home .prob__intro h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.8vw, 34px);
  line-height: 1.24;
}

.page-home .prob__intro p {
  margin: 18px 0 24px;
  max-width: 34ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(247, 244, 239, 0.76);
}

.page-home .prob__panel {
  padding: 24px 22px 10px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line-cool);
}

.page-home .prob__row {
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-home .prob__row:last-child {
  border-bottom: 0;
}

.page-home .prob__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-home .prob__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.page-home .prob__val {
  font-size: 14.5px;
  color: var(--spark);
  white-space: nowrap;
}

.page-home .prob__track {
  display: block;
  margin-top: 12px;
  height: 9px;
  border-radius: 999px;
  background: rgba(247, 244, 239, 0.08);
  overflow: hidden;
}

.page-home .prob__fill {
  display: block;
  width: var(--w, 60%);
  height: 100%;
  border-radius: 999px;
}

.page-home .prob__fill--a {
  background: linear-gradient(90deg, var(--ember), var(--ember-deep));
}

.page-home .prob__fill--b {
  background: linear-gradient(90deg, var(--spark), var(--spark-deep));
}

.page-home .prob__fill--c {
  background: linear-gradient(90deg, var(--sand), rgba(232, 201, 160, 0.45));
}

.page-home .prob__note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--gray-mid);
}

/* ---------- transfer window ---------- */

.page-home .window {
  padding: 68px 0;
}

.page-home .window__title {
  margin: 12px 0 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.22;
}

.page-home .window__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .page-home .window__grid {
    grid-template-columns: 0.84fr 1.16fr;
    gap: 48px;
    align-items: start;
  }
}

.page-home .window__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-warm);
}

.page-home .window__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .window__timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 28px;
  position: relative;
}

.page-home .window__timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ember), var(--spark-deep));
  opacity: 0.55;
}

.page-home .window__item {
  position: relative;
  padding-bottom: 30px;
}

.page-home .window__item:last-child {
  padding-bottom: 0;
}

.page-home .window__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--spark-deep);
}

.page-home .window__item--now::before {
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 0 0 5px rgba(255, 107, 26, 0.18), 0 0 18px rgba(255, 107, 26, 0.7);
}

.page-home .window__stage {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--spark);
}

.page-home .window__item--now .window__stage {
  color: var(--ember);
}

.page-home .window__head {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.page-home .window__text {
  margin: 0;
  max-width: 42ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(247, 244, 239, 0.7);
}

/* ---------- desktop app ---------- */

.page-home .app {
  padding: 66px 0;
  background: linear-gradient(180deg, rgba(15, 110, 99, 0.14) 0%, rgba(14, 15, 18, 0) 100%);
}

.page-home .app__grid {
  display: grid;
  gap: 34px;
}

@media (min-width: 900px) {
  .page-home .app__grid {
    grid-template-columns: 1fr 1.06fr;
    gap: 50px;
    align-items: center;
  }
}

.page-home .app__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.9vw, 34px);
  line-height: 1.24;
}

.page-home .app__text {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.76;
  color: rgba(247, 244, 239, 0.78);
}

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

.page-home .app__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(247, 244, 239, 0.74);
}

.page-home .app__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spark);
}

.page-home .app__shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-cool);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.page-home .app__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

/* ---------- changelog ---------- */

.page-home .changelog {
  padding: 68px 0;
}

.page-home .changelog__top {
  display: grid;
  gap: 16px;
}

@media (min-width: 780px) {
  .page-home .changelog__top {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.page-home .changelog__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.8vw, 34px);
  line-height: 1.24;
}

.page-home .changelog__more {
  color: var(--spark);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--line-cool);
  padding-bottom: 3px;
}

.page-home .changelog__more:hover {
  color: var(--ember);
  border-bottom-color: var(--line-warm);
}

.page-home .changelog__list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .changelog__item {
  display: grid;
  gap: 8px 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 780px) {
  .page-home .changelog__item {
    grid-template-columns: 108px minmax(0, 1fr) auto;
    align-items: center;
  }
}

.page-home .changelog__tag {
  justify-self: start;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ember);
  background: rgba(255, 107, 26, 0.12);
  border: 1px solid var(--line-warm);
}

.page-home .changelog__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 244, 239, 0.82);
}

.page-home .changelog__meta {
  font-size: 12.5px;
  color: var(--gray-mid);
}

/* ---------- subscribe ---------- */

.page-home .subscribe {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  isolation: isolate;
}

.page-home .subscribe__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-home .subscribe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(96deg, rgba(14, 15, 18, 0.95) 0%, rgba(14, 15, 18, 0.76) 58%, rgba(14, 15, 18, 0.34) 100%);
}

.page-home .subscribe__inner {
  position: relative;
  z-index: 2;
  padding: 74px 0;
  display: grid;
  justify-items: start;
  gap: 14px;
}

.page-home .subscribe__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 6vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-home .subscribe__text {
  margin: 0;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.76;
  color: rgba(247, 244, 239, 0.82);
}

.page-home .subscribe .btn {
  margin-top: 8px;
}

/* ---------- trust ---------- */

.page-home .trust {
  padding: 70px 0 84px;
}

.page-home .trust__title {
  margin: 12px 0 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.8vw, 34px);
  line-height: 1.24;
}

.page-home .trust__grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .page-home .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .trust__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .trust__card {
  padding: 26px 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}

.page-home .trust__num {
  display: block;
  font-size: 14px;
  color: var(--spark);
}

.page-home .trust__head {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.4;
}

.page-home .trust__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: rgba(247, 244, 239, 0.72);
}

.page-home .trust__foot {
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--gray-mid);
}

.page-home .trust__foot a {
  color: var(--spark);
  text-decoration: none;
  border-bottom: 1px solid var(--line-cool);
}

.page-home .trust__foot a:hover {
  color: var(--ember);
  border-bottom-color: var(--line-warm);
}

.page-home {
  --w: 1rem;
}
