.ht {
  --ht-soft: #f2f8fb;
  --ht-tint: #eaf5f9;
  --ht-edge: #cfe5ee;
}

.ht h2 { text-wrap: balance; }

.ht-hero {
  position: relative;
  padding-top: 78px;
  overflow: hidden;
  background:
    radial-gradient(38% 46% at 14% 30%, rgb(255 255 255 / 85%) 0%, transparent 70%),
    radial-gradient(30% 40% at 86% 22%, rgb(255 255 255 / 75%) 0%, transparent 70%),
    radial-gradient(60% 55% at 50% 100%, rgb(49 170 183 / 30%) 0%, transparent 70%),
    linear-gradient(180deg, #e3f1fa 0%, #d3ebf4 55%, #c4e6ea 100%);
}

.ht-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -120px;
  left: -10%;
  height: 420px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(50% 60% at 50% 60%, rgb(0 120 206 / 16%) 0%, transparent 75%);
  pointer-events: none;
}

.ht-hero__head {
  position: relative;
  max-width: 1140px;
  margin-inline: auto;
  text-align: center;
}

.ht-hero__crumb ol { justify-content: center; }

.ht-hero__eyebrow {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--p2-teal-d);
}

.ht-hero__title {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--p2-ink);
}

.ht-hero__title span { color: var(--p2-teal-d); }


.ht-hero__lead {
  max-width: 660px;
  margin: 16px auto 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--p2-text);
}

.ht-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.ht-hero__stage {
  position: relative;
  max-width: 1000px;
  height: 400px;
  margin: 36px auto 0;
}

.ht-hero__stage--screen img { left: 7%; width: 86%; }

.ht-hero__stage img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgb(0 70 110 / 18%));
}

.ht-hero > .container { position: relative; z-index: 1; }

.ht-hero__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ht-cloud {
  position: absolute;
  width: 380px;
  height: 92px;
  border-radius: 50%;
  background-color: rgb(255 255 255 / 75%);
  filter: blur(20px);
  animation: ht-drift 34s ease-in-out infinite alternate;
}

.ht-cloud--1 { top: 70px; left: 3%; }
.ht-cloud--2 { top: 30px; right: 4%; width: 460px; animation-duration: 42s; animation-delay: -12s; }
.ht-cloud--3 { top: 330px; right: 14%; width: 260px; height: 70px; opacity: 0.7; animation-duration: 28s; }

@keyframes ht-drift {
  from { transform: translateX(-30px); }
  to { transform: translateX(40px); }
}

.ht-hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
}

.ht-hill--back {
  bottom: -150px;
  left: -12%;
  width: 70%;
  height: 340px;
  background: linear-gradient(180deg, rgb(160 214 226 / 70%) 0%, rgb(160 214 226 / 0%) 90%);
}

.ht-hill--mid {
  right: -14%;
  bottom: -150px;
  width: 72%;
  height: 320px;
  background: linear-gradient(180deg, rgb(120 196 210 / 55%) 0%, rgb(120 196 210 / 0%) 90%);
}

.ht-hill--front {
  bottom: -230px;
  left: 8%;
  width: 84%;
  height: 360px;
  background: linear-gradient(180deg, rgb(88 180 196 / 40%) 0%, rgb(88 180 196 / 0%) 85%);
}

.ht-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ht-hero__trust li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: #3d5566;
}

.ht-hero__trust svg {
  padding: 2px;
  border-radius: 50%;
  background-color: var(--p2-teal);
  color: var(--color-white);
}

.ht-float {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 14px;
  background-color: rgb(255 255 255 / 82%);
  box-shadow: 0 18px 40px -18px rgb(0 70 110 / 45%);
  backdrop-filter: blur(10px);
  animation: ht-bob 6s ease-in-out infinite alternate;
}

.ht-float b {
  display: block;
  font-size: 13.5px;
  font-weight: var(--fw-bold);
  line-height: 1.25;
  color: var(--p2-ink);
}

.ht-float em {
  display: block;
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
  color: var(--p2-muted);
}

.ht-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: rgb(49 170 183 / 14%);
  color: var(--p2-teal-d);
}

.ht-float__ok {
  margin-left: 4px;
  padding: 2px;
  border-radius: 50%;
  background-color: #1fa971;
  color: var(--color-white);
}

.ht-float--offer { top: 120px; left: -64px; }
.ht-float--joiners { top: 250px; left: -24px; animation-delay: -2s; }
.ht-float--inbox { top: 44px; right: -56px; animation-delay: -4s; }

@keyframes ht-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@media (max-width: 1199px) {
  .ht-float--offer { left: -16px; }
  .ht-float--joiners { left: 8px; }
  .ht-float--inbox { right: -8px; }
}

@media (max-width: 767px) {
  .ht-float { display: none; }
  .ht-cloud--3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ht-cloud,
  .ht-float { animation: none; }
}

.ht-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 90px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, var(--color-white) 100%);
  pointer-events: none;
}

@media (max-width: 991px) {
  .ht-hero__stage { height: 330px; }
}

@media (max-width: 767px) {
  .ht-hero__stage { height: 46vw; }
  .ht-hero__title br { display: none; }
}

@media (max-width: 575px) {
  .ht-hero__stage { height: 50vw; margin-top: 28px; }
  .ht-hero::after { height: 50px; }
}

.ht-why { padding-block: var(--p2-py); }

.ht-why__head { max-width: 720px; margin-bottom: 52px; }

.ht-why__head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--p2-ink);
}

.ht-why__head > p:not(.p2-kicker) {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--p2-text);
}

.ht-why__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.15fr) 1fr;
  gap: 48px;
  align-items: stretch;
}

.ht-why__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ht-edge);
  border-radius: 10px;
  background-color: var(--ht-soft);
  color: var(--p2-teal-d);
}

.ht-why__item h3 {
  margin-top: 16px;
  font-size: 17.5px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--p2-ink);
}

.ht-why__item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--p2-text);
}

.ht-why__photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 460px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(70% 50% at 50% 15%, rgb(255 255 255 / 35%) 0%, transparent 70%),
    linear-gradient(165deg, #6cc4cf 0%, #31aab7 45%, #0078ce 100%);
}

.ht-why__photo img {
  flex: none;
  display: block;
  width: 128%;
  max-width: none;
  height: auto;
  margin-top: 24px;
  transform: translateY(var(--ht-cut, 4%));
}

@media (max-width: 991px) {
  .ht-why__grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .ht-why__photo { grid-column: 1 / -1; grid-row: 1; min-height: 0; }
  .ht-why__photo img { width: 72%; }
  .ht-why__col { justify-content: flex-start; }
}

@media (max-width: 575px) {
  .ht-why__grid { grid-template-columns: 1fr; }
  .ht-why__photo { min-height: 0; }
  .ht-why__photo img { width: 110%; }
  .ht-why__col { gap: 28px; }
}

.ht-feat {
  padding-block: var(--p2-py);
  background-color: var(--color-bg-soft);
}

.ht-tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.ht-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  grid-column: span 5;
  height: 540px;
  overflow: hidden;
  border: 1px solid #e3eaf0;
  border-radius: 14px;
  background-color: var(--color-white);
}

.ht-tile--wide { grid-column: span 7; }

.ht-tile__head { position: relative; z-index: 2; padding: 30px 30px 0; }

.ht-tile__head h3 {
  font-size: 21px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--p2-ink);
}

.ht-tile__head p {
  max-width: 470px;
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--p2-text);
}

.ht-tile__art {
  position: absolute;
  inset: 26% -20% -30%;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
}

.ht-tile__art span {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 44%;
  border-radius: 50%;
  transform: rotate(-11deg);
}

.ht-tile__art span:nth-child(1) { top: 4%; background: linear-gradient(90deg, #bfeef0 0%, #5cc6d1 35%, #1f8fd0 70%, #6d7cf2 100%); }
.ht-tile__art span:nth-child(2) { top: 28%; background: linear-gradient(90deg, #ffd2a6 0%, #ff9fb4 30%, #31aab7 65%, #0078ce 100%); opacity: 0.9; }
.ht-tile__art span:nth-child(3) { top: 54%; background: linear-gradient(90deg, #0078ce 0%, #31aab7 45%, #a6e6ea 100%); }

.ht-tile--b .ht-tile__art span,
.ht-tile--d .ht-tile__art span,
.ht-tile--f .ht-tile__art span { transform: rotate(9deg); }

.ht-tile__shot {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding-left: 56px;
}

.ht-tile__shot img {
  display: block;
  width: 96%;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 22px 34px rgb(0 40 80 / 25%));
}

.ht-tile--full {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  height: 460px;
}

.ht-tile--full .ht-tile__head { align-self: center; padding: 40px 0 40px 40px; }
.ht-tile--full .ht-tile__art { inset: 20% -20% -30% 30%; }
.ht-tile--full .ht-tile__shot { align-self: end; margin-top: 0; padding: 40px 0 0; }
.ht-tile--full .ht-tile__shot img { width: 104%; }

@media (max-width: 991px) {
  .ht-tile,
  .ht-tile--wide { grid-column: 1 / -1; height: 500px; }
  .ht-tile--full { display: flex; }
  .ht-tile--full .ht-tile__head { align-self: auto; padding: 30px 30px 0; }
  .ht-tile--full .ht-tile__art { inset: 26% -20% -30%; }
  .ht-tile--full .ht-tile__shot { align-self: auto; margin-top: 34px; padding: 0 0 0 56px; }
  .ht-tile--full .ht-tile__shot img { width: 96%; }
}

@media (max-width: 575px) {
  .ht-tile,
  .ht-tile--wide { height: 440px; }
  .ht-tile__head { padding: 24px 22px 0; }
  .ht-tile__shot { padding-left: 22px; }
  .ht-tile__shot img { width: 150%; }
  .ht-tile--full { height: 440px; }
  .ht-tile--full .ht-tile__head { padding: 24px 22px 0; }
  .ht-tile--full .ht-tile__shot { padding-left: 22px; }
  .ht-tile--full .ht-tile__shot img { width: 150%; }
}

.ht-mods { padding-block: var(--p2-py); }

.ht-mods__list {
  display: grid;
  gap: 28px;
}

.ht-mod {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--p2-line);
  border-radius: 20px;
  background-color: var(--color-white);
  box-shadow: 0 24px 50px -40px rgb(11 21 40 / 35%);
}

.ht-mod__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 52px 48px 44px;
}

.ht-mod__copy h3 {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: var(--fw-semibold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--p2-ink);
}

.ht-mod__copy > p {
  max-width: 460px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--p2-text);
}

.ht-mod__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  border-color: var(--p2-blue);
  color: var(--p2-blue);
}

.ht-mod__btn:hover,
.ht-mod__btn:focus-visible { border-color: var(--p2-blue); background-color: rgb(0 120 206 / 6%); }

.ht-mod__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  width: 100%;
  margin: auto 0 0;
  padding: 36px 0 0;
  list-style: none;
}

.ht-mod__checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--p2-ink);
}

.ht-mod__checks li::before {
  content: "";
  position: absolute;
  top: calc((1.45em - 16px) / 2);
  left: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--p2-teal);
  border-radius: 50%;
  background: no-repeat center / 9px 9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231c8d99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E");
}

.ht-mod__art {
  --art-bg: #eef6f2;
  --art-dot: rgb(28 141 153 / 16%);
  --art-glow: rgb(255 255 255 / 90%);
  --art-edge: #d7ebe3;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px;
  padding: 36px 32px;
  border: 1px solid var(--art-edge);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(55% 55% at 50% 45%, var(--art-glow) 0%, transparent 75%),
    radial-gradient(circle, var(--art-dot) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    var(--art-bg);
}

.ht-mod__art--teal {
  --art-bg: #edf7f3;
  --art-dot: rgb(28 141 153 / 18%);
  --art-edge: #d5ebe2;
}

.ht-mod__art--blue {
  --art-bg: #eff1fb;
  --art-dot: rgb(76 96 200 / 16%);
  --art-edge: #dde1f4;
}

.ht-mod__art--mix {
  --art-bg: #f8f3ea;
  --art-dot: rgb(176 132 64 / 16%);
  --art-edge: #ece3d3;
}

.ht-mod__art img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgb(20 40 70 / 16%));
}

.ht-mod--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.ht-mod--flip .ht-mod__copy { order: 2; }

@media (max-width: 991px) {
  .ht-mod,
  .ht-mod--flip { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ht-mod--flip .ht-mod__copy { order: 0; }
  .ht-mod__copy { padding: 40px 32px 8px; }
  .ht-mod__art { margin: 24px 12px 12px; }
}

@media (max-width: 575px) {
  .ht-mod__copy { padding: 32px 22px 4px; }
  .ht-mod__btn { max-width: 100%; white-space: normal; text-align: left; }
  .ht-mod__checks { grid-template-columns: 1fr; padding-top: 28px; }
  .ht-mod__art { padding: 16px; }
}

.ht-built {
  padding-block: var(--p2-py);
  background-color: var(--p2-dark);
  color: var(--color-white);
}


.ht-built__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.ht-built__row li {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 28px 26px;
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: 10px;
  background-color: #12212f;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.ht-built__row li:hover {
  border-color: rgb(49 170 183 / 35%);
  background-color: #152839;
}

.ht-built__icon { color: #5cc6d1; }

.ht-built__row p {
  margin-top: auto;
  padding-top: 40px;
  font-size: 15px;
  line-height: 1.6;
  color: #b4c3cf;
}

.ht-built__row strong {
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

@media (max-width: 991px) {
  .ht-built__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .ht-built__row { grid-template-columns: 1fr; }
  .ht-built__row li { min-height: 0; }
  .ht-built__row p { padding-top: 24px; }
}
