/* mahallify — homepage styles. */
/* ═══ HERO ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(52px, 8vw, 92px)) 0
    clamp(56px, 8vw, 104px);
  overflow: hidden;
  background: linear-gradient(178deg, #050912 0%, #081231 52%, #0a1a44 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
/* grid items default to min-width:auto, which would let wide content
   stretch the track instead of shrinking */
.hero__inner > * {
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--glass-2);
  border: 1px solid var(--line-2);
  color: var(--fg);
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16);
  flex: none;
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 72px);
  margin-bottom: 20px;
}
.hero h1 .serif {
  font-size: 1.06em;
}
.hero__sub {
  font-size: clamp(15.5px, 1.8vw, 18.5px);
  color: var(--fg-2);
  line-height: 1.68;
  margin-bottom: 30px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-2);
}
.hero__trust svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex: none;
}
.hero__langs {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
/* own line, so all seven pills always sit on one row below it */
.hero__langs b {
  flex: 1 0 100%;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-4);
}
.pill {
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--fg-2);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* phone cluster */
.cluster {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
}
.cluster__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cluster .device {
  animation: bob 8s ease-in-out infinite;
}
/* The side phones tuck behind the centre one with negative margins rather
   than a translate — a transform would leave the full three-phone width in
   layout and push the page sideways on small screens. */
.ph-a {
  --w: clamp(112px, 30vw, 184px);
  rotate: -9deg;
  translate: 0 26px;
  margin-right: calc(var(--w) * -0.46);
  z-index: 1;
  filter: brightness(0.82) saturate(0.9);
  animation-delay: -2.6s;
}
.ph-b {
  --w: clamp(146px, 39vw, 238px);
  z-index: 3;
}
.ph-c {
  --w: clamp(112px, 30vw, 184px);
  rotate: 9deg;
  translate: 0 26px;
  margin-left: calc(var(--w) * -0.46);
  z-index: 1;
  filter: brightness(0.82) saturate(0.9);
  animation-delay: -5.2s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
}

.chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 18, 36, 0.78);
  border: 1px solid var(--line-2);
  border-radius: 13px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  animation: bob 9s ease-in-out infinite;
}
.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.chip-1 {
  top: 8%;
  right: -3%;
  animation-delay: -1.4s;
}
.chip-2 {
  bottom: 20%;
  left: -5%;
  animation-delay: -4s;
}
.chip-3 {
  top: 30%;
  left: -7%;
  animation-delay: -6.4s;
}
.chip-4 {
  bottom: 5%;
  right: 0%;
  animation-delay: -3s;
}

@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: clamp(40px, 7vw, 64px);
  }
  .hero__sub {
    margin-inline: auto;
  }
  .hero__actions,
  .hero__langs,
  .s-head {
    justify-content: center;
  }
  .hero__inner .s-head {
    margin-inline: auto;
  }
}
/* Below 1000px the hero stacks and the cluster centres — there is no
   longer room beside it for the floating chips. */
@media (max-width: 1000px) {
  .chip {
    display: none;
  }
}

/* ═══ MARQUEE ════════════════════════════════════════════════════ */
.marquee {
  position: relative;
  background: var(--ink-850);
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 34s linear infinite;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg-3);
  white-space: nowrap;
}
.marquee__track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
  opacity: 0.7;
}

/* ═══ shared section frame ═══════════════════════════════════════ */
.sec {
  position: relative;
  padding: var(--pad-y) 0;
}
.sec--tint {
  background: var(--ink-850);
  border-block: 1px solid var(--line);
}

/* ═══ PILLARS (tabbed showcase) ══════════════════════════════════ */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 46px);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  position: relative;
  flex: 1 0 auto;
  min-width: 148px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  padding: 14px 18px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--glass);
  color: var(--fg-3);
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.tab:hover {
  background: var(--glass-2);
  color: var(--fg-2);
}
.tab b {
  font-family: "Manrope", sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg-2);
  transition: color 0.25s;
}
.tab em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.72;
}
.tab[aria-selected="true"] {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  color: var(--fg);
}
.tab[aria-selected="true"] b {
  color: var(--fg);
}
.tab__bar {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--line);
}
.tab__bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.pillars:not(.no-auto) .tab[aria-selected="true"] .tab__bar i {
  animation: fill 8s linear forwards;
}
.pillars:not(.no-auto).is-paused .tab[aria-selected="true"] .tab__bar i {
  animation-play-state: paused;
}
@keyframes fill {
  to {
    transform: scaleX(1);
  }
}

.panel-p {
  display: none;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}
.panel-p.is-on {
  display: grid;
  animation: panelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.panel-p__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}
.panel-p__icon svg {
  width: 27px;
  height: 27px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.panel-p h3 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 12px;
}
.panel-p p {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 22px;
}
.ticks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fg);
}
.ticks svg {
  width: 20px;
  height: 20px;
  flex: none;
  padding: 4px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent-2);
  stroke: currentColor;
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 2vw, 22px);
}
.duo .device:first-child {
  --w: clamp(128px, 22vw, 214px);
  rotate: -4deg;
  translate: 0 20px;
}
.duo .device:last-child {
  --w: clamp(128px, 22vw, 214px);
  rotate: 4deg;
}

@media (max-width: 900px) {
  .panel-p {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .panel-p__icon {
    margin-inline: auto;
  }
  .ticks li {
    justify-content: center;
    text-align: left;
  }
  .panel-p p {
    margin-inline: auto;
    max-width: 540px;
  }
}

/* ═══ STATS ══════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats > div {
  background: var(--ink-800);
  padding: clamp(24px, 3.4vw, 38px) 18px;
  text-align: center;
}
.stats b {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 9px;
}
/* direct child only — the counters live inside the <b> */
.stats > div > span {
  font-size: 13.5px;
  color: var(--fg-3);
  font-weight: 600;
}
@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══ BENTO FEATURES ═════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cell {
  position: relative;
  grid-column: span 2;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.cell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--tone, #4f7dff) 26%, transparent),
    transparent 70%
  );
}
.cell:hover {
  transform: translateY(-4px);
  background: var(--glass-2);
  border-color: var(--line-2);
}
.cell:hover::before {
  opacity: 1;
}
.cell > * {
  position: relative;
}
.cell__ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--tone) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent);
}
.cell__ico svg {
  width: 23px;
  height: 23px;
  stroke: var(--tone);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cell h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cell p {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.65;
}
.cell--wide {
  grid-column: span 3;
}
.cell--phone {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  background: linear-gradient(
    170deg,
    rgba(34, 211, 238, 0.12),
    rgba(79, 125, 255, 0.05) 55%,
    transparent
  );
}
/* --w must stay an absolute length: the frame's bezel, corner radius and
   Dynamic Island are all calc()'d from it, and % would resolve per-property. */
.cell--phone .device {
  --w: clamp(150px, 17vw, 212px);
  margin: 22px auto -18%;
}
.cell--phone h3 {
  font-size: clamp(19px, 2.2vw, 23px);
}

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .cell--wide {
    grid-column: span 2;
  }
}
@media (max-width: 660px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .cell,
  .cell--wide,
  .cell--phone {
    grid-column: span 1;
    grid-row: auto;
  }
  .cell--phone .device {
    margin-bottom: -22%;
  }
}

/* ═══ GALLERY ════════════════════════════════════════════════════ */
.gal__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.gal__head .s-head {
  margin-bottom: 0;
}
.gal__nav {
  display: flex;
  gap: 10px;
  flex: none;
}
.gal__nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--glass-2);
  color: var(--fg);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.gal__nav button:hover:not(:disabled) {
  background: var(--glass-3);
  transform: translateY(-2px);
}
.gal__nav button:disabled {
  opacity: 0.32;
  cursor: default;
}
.gal__nav svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail {
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px calc(50vw - 50%) 30px 0;
  margin-right: calc(50% - 50vw);
  scroll-padding-left: 0;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}
.rail.is-dragging * {
  pointer-events: none;
}
.shot {
  scroll-snap-align: start;
  flex: none;
  width: clamp(190px, 44vw, 248px);
}
.shot .device {
  --w: clamp(190px, 44vw, 248px);
}
.shot figcaption {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.shot figcaption span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-4);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  .gal__nav {
    display: none;
  }
}

/* ═══ HOW IT WORKS ═══════════════════════════════════════════════ */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 44px);
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--line-2) 0 7px,
    transparent 7px 15px
  );
}
.step {
  text-align: center;
}
.step b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), #1e3a8a);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px -14px rgba(79, 125, 255, 0.9);
}
.step h3 {
  font-size: 17.5px;
  margin-bottom: 9px;
}
.step p {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.65;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
}

/* ═══ SIGN IN ════════════════════════════════════════════════════ */
.signin {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sig {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 26px);
  overflow: hidden;
  transition: transform 0.28s, border-color 0.28s, background 0.28s;
}
.sig::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    130% 90% at 0% 0%,
    color-mix(in srgb, var(--tone) 18%, transparent),
    transparent 55%
  );
  pointer-events: none;
}
.sig:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tone) 44%, transparent);
  background: var(--glass-2);
}
.sig > * {
  position: relative;
}
.sig__ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(140deg, var(--tone), var(--tone-2));
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--tone) 75%, transparent);
}
.sig__ico svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.sig h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.sig p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.62;
}
.signin-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--fg-3);
  font-weight: 600;
}
@media (max-width: 940px) {
  .signin {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .signin {
    grid-template-columns: 1fr;
  }
}

/* ═══ LANGUAGES ══════════════════════════════════════════════════ */
.langs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.lang {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
  transition: transform 0.22s, background 0.22s, border-color 0.22s;
}
.lang:hover {
  transform: translateY(-4px);
  background: var(--glass-2);
  border-color: var(--line-2);
}
.lang i {
  display: block;
  font-size: 28px;
  font-style: normal;
  margin-bottom: 9px;
  line-height: 1;
}
.lang b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg);
}
.lang span {
  font-size: 11.5px;
  color: var(--fg-4);
}
@media (max-width: 900px) {
  .langs {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 520px) {
  .langs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══ SUPPORT ════════════════════════════════════════════════════ */
.support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.sup {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 26px);
  transition: transform 0.22s, background 0.22s, border-color 0.22s;
}
.sup:hover {
  transform: translateY(-4px);
  background: var(--glass-2);
  border-color: var(--line-2);
}
.sup__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  background: rgba(79, 125, 255, 0.14);
  border: 1px solid rgba(79, 125, 255, 0.26);
}
.sup__ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-2);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sup h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.sup p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.62;
}
.mailbox {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px);
  background: linear-gradient(120deg, #0b1436, #123063 60%, #0e2650);
}
/* must exclude .aurora — promoting it to position:relative would make the
   decorative blob a real flex item and eat a space-between slot */
.mailbox > *:not(.aurora) {
  position: relative;
  z-index: 1;
}
.mailbox small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.mailbox b {
  font-family: "Manrope", sans-serif;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  word-break: break-word;
}
@media (max-width: 860px) {
  .support {
    grid-template-columns: 1fr;
  }
}

/* ═══ CTA ════════════════════════════════════════════════════════ */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(72px, 10vw, 118px) 0 0;
  background: linear-gradient(178deg, #050912 0%, #0a1a44 60%, #123069 100%);
  border-top: 1px solid var(--line);
}
.cta__inner {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: clamp(32px, 5.4vw, 56px);
  margin: 0 auto 16px;
  max-width: 660px;
}
.cta p {
  font-size: clamp(15.5px, 1.8vw, 18px);
  color: var(--fg-2);
  line-height: 1.68;
  margin: 0 auto 34px;
  max-width: 540px;
}
.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__peek {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  /* tops aligned so the phones rise out of the page edge, bottoms clipped */
  align-items: flex-start;
  gap: clamp(12px, 2vw, 26px);
  margin-top: clamp(44px, 6vw, 70px);
  height: clamp(140px, 20vw, 232px);
  overflow: hidden;
}
.cta__peek .device {
  --w: clamp(118px, 17vw, 186px);
}
.cta__peek .device:nth-child(1) {
  rotate: -7deg;
  translate: 0 22px;
}
.cta__peek .device:nth-child(3) {
  rotate: 7deg;
  translate: 0 22px;
}
@media (max-width: 620px) {
  .cta__peek .device:nth-child(1),
  .cta__peek .device:nth-child(3) {
    display: none;
  }
}

/* ═══ STICKY MOBILE CTA ══════════════════════════════════════════ */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(6, 10, 21, 0.9);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.dock.is-up {
  transform: none;
}
.dock b {
  font-family: "Manrope", sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.25;
}
.dock small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-4);
}
@media (max-width: 760px) {
  .dock {
    display: flex;
  }
  .foot {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cluster .device,
  .chip,
  .marquee__track {
    animation: none;
  }
  .cluster__stage {
    transform: none !important;
  }
  .panel-p.is-on {
    animation: none;
  }
}
