.page-home {
  background: var(--abyss-950);
  color: var(--paper-50);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home * {
  box-sizing: border-box;
}

.page-home .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.page-home .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.page-home h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 5.6vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--paper-50);
}

.page-home .txt {
  margin: 0 0 16px;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(244, 248, 247, 0.82);
}

.page-home .section {
  position: relative;
  padding: 56px 0;
}

.page-home .section__head {
  max-width: 64ch;
  margin-bottom: 32px;
}

.page-home .section__note {
  color: rgba(244, 248, 247, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 44px;
  background:
    radial-gradient(92% 68% at 88% -8%, rgba(45, 226, 230, 0.16), transparent 62%),
    linear-gradient(162deg, var(--abyss-900), var(--abyss-950) 62%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.55;
  pointer-events: none;
}

.page-home .hero__slab {
  position: absolute;
  z-index: -1;
  inset-inline: -14%;
  inset-block-start: 48%;
  block-size: 62%;
  background: linear-gradient(150deg, var(--ocean-800), var(--abyss-900) 76%);
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.72;
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px 6px 12px;
  border: 1px solid rgba(45, 226, 230, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(6, 34, 53, 0.66);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--cyan-200);
}

.page-home .hero__kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-500);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.22);
  flex: none;
}

.page-home .hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper-50);
}

.page-home .hero__lede {
  font-size: 1.02rem;
  color: rgba(244, 248, 247, 0.86);
  margin-bottom: 22px;
}

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

.page-home .hero__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: rgba(168, 247, 245, 0.72);
  max-width: 40ch;
}

.page-home .hero__side {
  display: grid;
  gap: 0;
}

.page-home .hero__stats {
  list-style: none;
  margin: -22px 0 0;
  padding: 14px 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  border-radius: var(--radius-md);
  background: rgba(4, 19, 31, 0.88);
  border: 1px solid rgba(45, 226, 230, 0.24);
  box-shadow: 0 26px 48px -34px rgba(0, 0, 0, 0.95);
}

.page-home .hero__stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  border-inline-start: 1px solid rgba(45, 226, 230, 0.14);
}

.page-home .hero__stat:first-child {
  border-inline-start: 0;
}

.page-home .hero__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.28rem;
  line-height: 1;
  color: var(--cyan-400);
}

.page-home .hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--cyan-200);
  opacity: 0.7;
}

/* ---------- tide divider ---------- */

.page-home .tide {
  color: var(--cyan-400);
  opacity: 0.45;
  line-height: 0;
}

.page-home .tide svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* ---------- shared shot ---------- */

.page-home .shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 226, 230, 0.16);
  background: var(--abyss-900);
  aspect-ratio: 16 / 9;
}

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

.page-home .shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, transparent 52%, rgba(4, 19, 31, 0.6));
  pointer-events: none;
}

.page-home .shot--hero {
  aspect-ratio: 4 / 3;
}

.page-home .shot--wide {
  aspect-ratio: 3 / 2;
}

.page-home .shot--tall {
  aspect-ratio: 10 / 7;
}

/* ---------- services ---------- */

.page-home .lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

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

.page-home .flow__item {
  position: relative;
  padding: 22px 20px 22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(10, 58, 82, 0.72), rgba(6, 34, 53, 0.92));
  border: 1px solid rgba(45, 226, 230, 0.16);
  transition:
    transform 0.22s var(--ease-tide),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.page-home .flow__item::before {
  content: "";
  position: absolute;
  inset-block: 20px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--cyan-400), transparent);
  opacity: 0.75;
}

.page-home .flow__item:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 226, 230, 0.55);
  box-shadow:
    0 0 0 1px rgba(45, 226, 230, 0.18),
    0 20px 40px -26px rgba(45, 226, 230, 0.7);
}

.page-home .flow__no {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.page-home .flow__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.38;
  color: var(--paper-50);
}

.page-home .flow__item .txt {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(244, 248, 247, 0.78);
}

.page-home .services__shot {
  border-color: rgba(45, 226, 230, 0.24);
}

/* ---------- devices ---------- */

.page-home .devices {
  background: linear-gradient(180deg, var(--abyss-950), rgba(6, 34, 53, 0.55));
}

.page-home .devices__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .devices__intro .btn {
  margin-top: 6px;
}

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

.page-home .device {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--abyss-900);
  border: 1px solid rgba(45, 226, 230, 0.18);
  transition:
    border-color 0.2s ease,
    transform 0.2s var(--ease-tide);
}

.page-home .device:hover {
  border-color: rgba(45, 226, 230, 0.5);
  transform: translateY(-2px);
}

.page-home .device--offset {
  background: linear-gradient(160deg, var(--ocean-800), var(--abyss-900));
}

.page-home .device__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--cyan-400);
  color: var(--abyss-950);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.page-home .device--offset .device__tag {
  background: var(--coral-500);
}

.page-home .device__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--paper-50);
}

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

.page-home .device__list li {
  position: relative;
  padding-inline-start: 16px;
  font-size: 0.92rem;
  line-height: 1.62;
  color: rgba(244, 248, 247, 0.78);
}

.page-home .device__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.68em;
  width: 7px;
  height: 1.5px;
  background: var(--cyan-400);
}

/* ---------- member ---------- */

.page-home .member__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 226, 230, 0.2);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(58, 46, 99, 0.6), transparent 62%),
    linear-gradient(150deg, var(--ocean-800), var(--abyss-900));
}

.page-home .chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 22px;
  padding: 0;
}

.page-home .member__aside {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: rgba(4, 19, 31, 0.58);
  border: 1px solid rgba(45, 226, 230, 0.16);
}

.page-home .member__aside-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--cyan-200);
}

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

.page-home .member__list li {
  counter-increment: mlist;
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(244, 248, 247, 0.82);
}

.page-home .member__list li::before {
  content: counter(mlist, decimal-leading-zero);
  flex: none;
  padding-top: 0.2em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-400);
}

.page-home .member__count {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(168, 247, 245, 0.72);
}

.page-home .member__count span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan-400);
}

/* ---------- column ---------- */

.page-home .column {
  background:
    radial-gradient(80% 70% at 0% 100%, rgba(90, 31, 53, 0.42), transparent 62%),
    var(--abyss-950);
}

.page-home .column__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .week {
  list-style: none;
  position: relative;
  margin: 20px 0 24px;
  padding: 0 0 0 18px;
  border-inline-start: 1px solid rgba(45, 226, 230, 0.3);
  display: grid;
  gap: 16px;
}

.page-home .week li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.page-home .week li::before {
  content: "";
  position: absolute;
  inset-inline-start: -23px;
  inset-block-start: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--abyss-950);
  border: 1.5px solid var(--cyan-400);
}

.page-home .week__day {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--coral-300);
}

.page-home .week__what {
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(244, 248, 247, 0.82);
}

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

.page-home .trust {
  background: linear-gradient(180deg, var(--abyss-900), var(--abyss-950));
}

.page-home .trust__stats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .trust__stat {
  padding: 20px 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(6, 34, 53, 0.72);
  border: 1px solid rgba(45, 226, 230, 0.16);
}

.page-home .trust__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--cyan-400);
}

.page-home .trust__cap {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(244, 248, 247, 0.76);
}

.page-home .trust__notes .btn {
  margin-top: 6px;
}

/* ---------- closer ---------- */

.page-home .closer__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 26px 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 107, 74, 0.32);
  background:
    radial-gradient(110% 140% at 100% 0%, rgba(255, 107, 74, 0.26), transparent 58%),
    linear-gradient(150deg, var(--abyss-900), var(--abyss-950));
}

.page-home .closer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .closer__copy .txt {
  margin-bottom: 0;
}

/* ---------- responsive ---------- */

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

  .page-home .trust__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .closer__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-home .closer__actions .btn--block {
    flex: 1 1 200px;
  }
}

@media (min-width: 900px) {
  .page-home .section {
    padding: 88px 0;
  }

  .page-home .hero {
    padding: 56px 0 72px;
  }

  .page-home .hero__slab {
    inset-inline: auto;
    inset-inline-end: -16%;
    inset-block-start: -22%;
    block-size: 150%;
    inline-size: 76%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.9;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .hero__title {
    font-size: clamp(2.9rem, 4.2vw, 3.9rem);
    margin-bottom: 22px;
  }

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

  .page-home .shot--hero {
    aspect-ratio: 16 / 11;
  }

  .page-home .hero__stats {
    margin-block-start: -30px;
    padding: 18px 12px;
  }

  .page-home .hero__stat-num {
    font-size: 1.6rem;
  }

  .page-home .tide svg {
    height: 72px;
  }

  .page-home .section__head {
    margin-bottom: 44px;
  }

  .page-home .lane {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 52px;
    align-items: start;
  }

  .page-home .services__shot {
    margin-top: 56px;
  }

  .page-home .devices__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .device {
    padding: 26px 24px;
  }

  .page-home .device--offset {
    margin-block-start: 40px;
  }

  .page-home .member__panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 44px;
    padding: 42px;
    align-items: start;
  }

  .page-home .member__aside {
    padding: 24px 22px;
  }

  .page-home .column__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .column__shot {
    margin-top: 24px;
  }

  .page-home .trust__stat {
    padding: 24px 24px 26px;
  }

  .page-home .trust__num {
    font-size: 2.4rem;
  }

  .page-home .closer__panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 36px;
    padding: 44px;
    align-items: center;
  }

  .page-home .closer__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .flow__item,
  .page-home .device {
    transition: none;
  }

  .page-home .flow__item:hover,
  .page-home .device:hover {
    transform: none;
  }
}
