@font-face {
  font-family: "Evalute Write";
  src: url("/assets/fonts/BryndanWrite-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --install-bg: #03040a;
  --install-panel: rgba(255,255,255,.045);
  --install-line: rgba(255,255,255,.12);
  --install-muted: rgba(255,255,255,.55);
  --install-ease: cubic-bezier(.2,.75,.2,1);
}

.install-body {
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background:
    radial-gradient(circle at 65% 10%, rgba(98,74,188,.13), transparent 28rem),
    radial-gradient(circle at 20% 60%, rgba(66,119,163,.08), transparent 32rem),
    var(--install-bg);
  font-family: "Evalute Write", Georgia, serif;
  overflow-x: hidden;
}

.install-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(255,255,255,.14) .65px, transparent .65px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.install-aurora {
  position: fixed;
  z-index: 0;
  width: 46rem;
  height: 46rem;
  right: -18rem;
  top: -21rem;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(85,130,255,.16), rgba(195,105,255,.2), transparent 54%, rgba(107,221,255,.1));
  filter: blur(80px);
  animation: install-orbit 18s linear infinite;
  pointer-events: none;
}

.install-header,
.install-hero,
.install-guide,
.install-benefits,
.install-final,
.install-footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.install-header {
  position: relative;
  z-index: 20;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.install-brand,
.install-back {
  color: inherit;
  text-decoration: none;
}

.install-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  letter-spacing: -.02em;
}

.install-brand img {
  width: 38px;
  height: 38px;
}

.install-back {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--install-line);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.035);
  transition: color .25s ease, border-color .25s ease, transform .25s var(--install-ease), background .25s ease;
}

.install-back:hover {
  color: #fff;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.07);
  transform: translateY(-2px);
}

.install-hero {
  position: relative;
  z-index: 2;
  min-height: min(760px, calc(100vh - 82px));
  padding: clamp(76px, 12vh, 140px) 0 96px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(35px, 8vw, 96px);
}

.install-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  letter-spacing: .2em;
}

.install-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,.18));
}

.install-title {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(56px, 7.1vw, 106px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .91;
  text-wrap: balance;
  background: linear-gradient(102deg, #fff 6%, #dce6ff 38%, #bfaeff 68%, #fff 91%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: install-shimmer 8s ease-in-out infinite alternate;
}

.install-lead {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--install-muted);
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.55;
}

.install-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.install-primary,
.install-secondary {
  min-height: 54px;
  border-radius: 999px;
  font: inherit;
}

.install-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 5px 22px 5px 6px;
  border: 0;
  color: #080910;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(121,110,210,.16);
  transition: transform .28s var(--install-ease), box-shadow .28s ease, opacity .2s ease;
}

.install-primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
  background: linear-gradient(90deg, #8ea8ff, #d7b2ff, #92ecff);
  filter: blur(12px);
  opacity: 0;
  transition: opacity .28s ease;
}

.install-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 52px rgba(121,110,210,.26);
}

.install-primary:hover:not(:disabled)::after { opacity: .6; }
.install-primary:active:not(:disabled) { transform: translateY(0) scale(.98); }
.install-primary:disabled { cursor: default; opacity: .58; }

.install-primary__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0a0b12;
  font-size: 19px;
}

.install-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: rgba(255,255,255,.74);
  border: 1px solid var(--install-line);
  background: rgba(255,255,255,.035);
  text-decoration: none;
  font-size: 14px;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s var(--install-ease);
}

.install-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.07);
  transform: translateY(-2px);
}

.install-status {
  min-height: 20px;
  margin: 14px 0 0 6px;
  color: rgba(220,226,255,.62);
  font-size: 12px;
}

.device-stage {
  position: relative;
  min-height: 520px;
  perspective: 1100px;
}

.device-glow {
  position: absolute;
  inset: 14% 4% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141,115,255,.2), rgba(72,129,255,.08) 38%, transparent 68%);
  filter: blur(26px);
  animation: install-breathe 5s ease-in-out infinite;
}

.device-laptop {
  position: absolute;
  width: 94%;
  top: 14%;
  right: -5%;
  transform: rotateY(-9deg) rotateX(3deg) rotateZ(1deg);
  transform-style: preserve-3d;
  animation: install-float 7s var(--install-ease) infinite;
}

.device-laptop__screen {
  aspect-ratio: 16 / 10;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 17px 17px 12px 12px;
  background: linear-gradient(145deg, #262833, #080910 45%);
  box-shadow: inset 0 1px rgba(255,255,255,.28), 0 42px 90px rgba(0,0,0,.6);
}

.device-laptop__screen::before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  top: 4px;
  left: 50%;
  background: rgba(255,255,255,.28);
}

.device-laptop__base {
  width: 108%;
  height: 14px;
  margin-left: -4%;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(#81838b, #2f3036 34%, #111218);
  box-shadow: 0 20px 28px rgba(0,0,0,.45);
}

.device-topbar {
  height: 27px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: #080910;
  border-radius: 10px 10px 0 0;
}

.device-topbar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.2); }
.device-topbar span { margin-left: auto; margin-right: auto; color: rgba(255,255,255,.27); font: 8px system-ui; }

.device-ui {
  height: calc(100% - 27px);
  display: grid;
  grid-template-columns: 23% 1fr;
  background:
    radial-gradient(circle at 70% 30%, rgba(137,94,226,.16), transparent 34%),
    #05060b;
}

.device-ui__nav { border-right: 1px solid rgba(255,255,255,.07); }
.device-ui__main { padding: 11%; }
.device-ui__line { width: 38%; height: 4px; border-radius: 10px; background: rgba(255,255,255,.12); }
.device-ui__line.is-short { width: 22%; }
.device-ui__title { width: 72%; height: 15px; margin-top: 12px; border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.78), rgba(190,178,255,.38)); }
.device-ui__title.is-small { width: 51%; margin-top: 6px; opacity: .55; }
.device-ui__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 18%; }
.device-ui__cards i { aspect-ratio: .8; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(80,61,151,.08)); }

.device-phone {
  position: absolute;
  width: 31%;
  aspect-ratio: .51;
  left: 0;
  bottom: 3%;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 32px;
  background:
    radial-gradient(circle at 70% 82%, rgba(125,81,255,.28), transparent 35%),
    linear-gradient(145deg, #171922, #05060a 44%);
  box-shadow: inset 0 1px rgba(255,255,255,.22), 0 32px 70px rgba(0,0,0,.62);
  transform: rotateZ(-4deg);
  animation: install-phone-float 6s var(--install-ease) infinite;
}

.device-phone__island { width: 42%; height: 12px; margin: 0 auto; border-radius: 20px; background: #000; }
.device-phone__logo { margin-top: 65%; display: flex; justify-content: center; }
.device-phone__logo img { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 12px 34px rgba(0,0,0,.45), 0 0 28px rgba(255,255,255,.08); }
.device-phone__line { width: 58%; height: 5px; margin: 18px auto 0; border-radius: 10px; background: rgba(255,255,255,.18); }
.device-phone__line.is-short { width: 35%; margin-top: 8px; opacity: .6; }
.device-phone__orb { width: 66%; aspect-ratio: 1; margin: 35% auto 0; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #f2efff, #8f77e8 16%, #291c5d 38%, transparent 68%); filter: blur(.2px); }

.device-badge {
  position: absolute;
  right: 2%;
  bottom: 15%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 22px;
  color: rgba(255,255,255,.75);
  background: rgba(9,10,19,.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
  font: 11px system-ui;
  letter-spacing: .12em;
  animation: install-badge 4.5s ease-in-out infinite;
}

.install-guide {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 70px);
  border: 1px solid var(--install-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0, rgba(142,111,255,.12), transparent 31rem),
    rgba(255,255,255,.025);
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 40px 120px rgba(0,0,0,.24);
  overflow: hidden;
}

.install-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.install-section-head h2,
.install-final h2 {
  margin: 17px 0 0;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 400;
}

.install-section-head > p {
  max-width: 360px;
  margin: 0;
  color: var(--install-muted);
  font-size: 14px;
  line-height: 1.6;
}

.platform-tabs {
  width: fit-content;
  max-width: 100%;
  margin: 60px auto 0;
  padding: 5px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--install-line);
  border-radius: 999px;
  background: rgba(0,0,0,.27);
}

.platform-tabs button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: rgba(255,255,255,.5);
  background: transparent;
  font: 12px "Evalute Write", Georgia, serif;
  white-space: nowrap;
  cursor: pointer;
  transition: color .24s ease, background .24s ease, box-shadow .24s ease;
}

.platform-tabs button span:first-child { margin-right: 6px; font-family: system-ui; font-size: 9px; }
.platform-tabs button[aria-selected="true"] {
  color: #090a11;
  background: #fff;
  box-shadow: 0 8px 22px rgba(255,255,255,.1);
}

.install-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.install-steps::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 31px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177,159,255,.5), rgba(136,219,255,.45), transparent);
  box-shadow: 0 0 15px rgba(146,160,255,.28);
}

.install-step {
  position: relative;
  min-width: 0;
  padding: 0 14px;
  text-align: center;
  animation: install-step-in .55s var(--install-ease) both;
}

.install-step__number {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.21);
  border-radius: 50%;
  color: rgba(255,255,255,.9);
  background: #090a11;
  box-shadow: 0 0 0 9px rgba(7,8,15,.92), 0 0 32px rgba(142,124,255,.15);
  font-size: 13px;
}

.install-step h3 { margin: 27px 0 0; font-size: 19px; font-weight: 400; }
.install-step p { margin: 10px auto 0; max-width: 230px; color: var(--install-muted); font-size: 12px; line-height: 1.55; }
.platform-note { min-height: 20px; margin-top: 36px; color: rgba(255,255,255,.35); text-align: center; font-size: 11px; }

.install-benefits {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--install-line);
  border-radius: 28px;
  background: var(--install-panel);
  overflow: hidden;
}

.install-benefits article {
  min-height: 180px;
  padding: 36px;
  display: flex;
  gap: 18px;
  border-right: 1px solid var(--install-line);
}

.install-benefits article:last-child { border-right: 0; }
.install-benefits article > span { color: rgba(255,255,255,.24); font-size: 10px; letter-spacing: .12em; }
.install-benefits h3 { margin: 0; font-size: 18px; font-weight: 400; }
.install-benefits p { margin: 12px 0 0; color: var(--install-muted); font-size: 12px; line-height: 1.55; }

.install-final {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 16vw, 220px) 0 clamp(100px, 14vw, 180px);
  text-align: center;
}

.install-final .install-kicker::before { display: none; }
.install-final h2 { max-width: 760px; margin: 22px auto 0; }
.install-final > p { max-width: 480px; margin: 22px auto 0; color: var(--install-muted); line-height: 1.6; }
.install-final .install-actions { justify-content: center; }

.install-footer {
  position: relative;
  z-index: 2;
  min-height: 88px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--install-line);
  color: rgba(255,255,255,.35);
  font-size: 11px;
}

.install-footer a { color: inherit; text-decoration: none; }
.install-footer a:hover { color: #fff; }

.install-appear {
  opacity: 0;
  transform: translateY(18px);
}

.install-ready .install-appear {
  animation: install-appear .75s var(--install-ease) forwards;
}

.install-ready .install-appear:nth-child(2) { animation-delay: .07s; }
.install-ready .install-appear:nth-child(3) { animation-delay: .14s; }
.install-ready .install-appear:nth-child(4) { animation-delay: .21s; }
.install-ready .device-stage { animation-delay: .16s; }

.install-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--install-ease), transform .8s var(--install-ease);
}

.install-reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes install-appear { to { opacity: 1; transform: translateY(0); } }
@keyframes install-step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes install-shimmer { to { background-position: 100% center; } }
@keyframes install-float { 0%,100% { transform: rotateY(-9deg) rotateX(3deg) rotateZ(1deg) translateY(0); } 50% { transform: rotateY(-7deg) rotateX(2deg) rotateZ(.4deg) translateY(-10px); } }
@keyframes install-phone-float { 0%,100% { transform: rotateZ(-4deg) translateY(0); } 50% { transform: rotateZ(-2.8deg) translateY(-12px); } }
@keyframes install-badge { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes install-breathe { 50% { opacity: .7; transform: scale(1.08); } }
@keyframes install-orbit { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .install-hero {
    grid-template-columns: 1fr;
    padding-top: 78px;
    text-align: center;
  }
  .install-hero__copy { display: flex; flex-direction: column; align-items: center; }
  .install-kicker::before { display: none; }
  .install-title { font-size: clamp(55px, 15vw, 82px); }
  .device-stage { min-height: 480px; width: min(610px, 100%); margin: -5px auto 0; }
  .install-section-head { display: block; text-align: center; }
  .install-section-head > p { margin: 18px auto 0; }
  .install-benefits article { padding: 28px 24px; }
}

@media (max-width: 680px) {
  .install-header,
  .install-hero,
  .install-guide,
  .install-benefits,
  .install-final,
  .install-footer { width: min(100% - 28px, 1160px); }
  .install-header { min-height: 70px; }
  .install-back { width: 42px; padding: 0; justify-content: center; }
  .install-back__label { display: none; }
  .install-back__arrow { font-size: 16px; }
  .install-hero { min-height: 0; padding: 70px 0 64px; gap: 28px; }
  .install-title { font-size: clamp(50px, 17vw, 72px); letter-spacing: -.072em; }
  .install-lead { max-width: 320px; font-size: 16px; }
  .install-actions { width: 100%; justify-content: center; }
  .install-primary, .install-secondary { width: 100%; }
  .device-stage { min-height: 330px; }
  .device-laptop { width: 98%; top: 11%; right: -9%; }
  .device-phone { width: 32%; left: 1%; border-radius: 22px; padding: 7px; }
  .device-phone__island { height: 7px; }
  .device-phone__logo { margin-top: 52%; }
  .device-phone__logo img { width: 42px; height: 42px; border-radius: 12px; }
  .device-phone__line { margin-top: 11px; height: 3px; }
  .device-phone__orb { margin-top: 26%; }
  .device-badge { width: 51px; height: 51px; right: 1%; bottom: 9%; border-radius: 17px; font-size: 9px; }
  .install-guide { padding: 68px 14px; border-radius: 26px; }
  .install-section-head h2, .install-final h2 { font-size: clamp(40px, 12vw, 57px); }
  .platform-tabs { justify-content: flex-start; margin-top: 42px; width: 100%; }
  .platform-tabs button { padding: 0 16px; }
  .install-steps { grid-template-columns: 1fr; gap: 34px; margin-top: 48px; }
  .install-steps::before {
    left: 31px;
    right: auto;
    top: 30px;
    bottom: 30px;
    width: 1px;
    height: auto;
  }
  .install-step {
    padding: 0 8px;
    display: grid;
    grid-template-columns: 62px 1fr;
    column-gap: 22px;
    text-align: left;
  }
  .install-step__number { grid-row: 1 / 3; margin: 0; }
  .install-step h3 { align-self: end; margin: 7px 0 0; font-size: 18px; }
  .install-step p { margin: 8px 0 0; max-width: none; }
  .install-benefits { grid-template-columns: 1fr; margin-top: 14px; }
  .install-benefits article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--install-line); }
  .install-benefits article:last-child { border-bottom: 0; }
  .install-final { padding: 110px 0 100px; }
  .install-footer { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .install-aurora, .device-glow, .device-laptop, .device-phone, .device-badge, .install-title { animation: none !important; }
  .install-appear, .install-reveal { opacity: 1 !important; transform: none !important; }
}
