/* A single black stage. Scroll is the timeline; the phone is the protagonist. */
:root {
  color-scheme: dark;
  --accent: #9a91ff;
  --ink: #f4f3f8;
  --muted: #92909e;
  --max: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #050506;
}
body {
  margin: 0;
  background: #050506;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  max-width: 100%;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
a:focus-visible {
  outline: 2px solid #bab3ff;
  outline-offset: 8px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  padding: 15px;
  background: #16131f;
}
.skip-link:focus {
  top: 20px;
}
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 5vw;
  pointer-events: none;
}
.site-header a {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.brand img {
  width: 43px;
  height: auto;
}
.availability-link {
  font-size: 11px;
  color: #b4b1be;
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 44px;
}
.availability-link span {
  font-size: 19px;
  color: #e4e0f0;
}
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.ambient {
  position: fixed;
  width: 60vw;
  height: 60vw;
  max-width: 850px;
  max-height: 850px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, #49407312, transparent 65%);
  pointer-events: none;
  will-change: transform;
}
.device-stage {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  perspective: 1500px;
  overflow: hidden;
}
.phone-position {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 270px;
  height: 560px;
  margin: -280px 0 0 -135px;
  transform-style: preserve-3d;
  will-change: transform;
}
.phone-model {
  width: 270px;
  height: 560px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.iphone {
  position: absolute;
  inset: 0;
  transform: translateZ(12px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(
    125deg,
    #a7a1b0,
    #34313a 20%,
    #77727f 49%,
    #242128 80%,
    #b0a7b5
  );
  border-color: #6a6271;
  box-shadow:
    0 0 0 1px #9d94aa45,
    0 0 0 3px #0a090c,
    0 0 40px #a692ff0b;
  isolation: auto;
}
.phone-screen {
  background: #101014;
  border-color: #030304;
}

.phone-edge {
  position: absolute;
  background: linear-gradient(90deg, #201d26, #7d7589 48%, #211c29);
  backface-visibility: visible;
}
.edge-left,
.edge-right {
  width: 24px;
  height: 478px;
  top: 41px;
}
.edge-left {
  left: -12px;
  transform: rotateY(90deg);
}
.edge-right {
  right: -12px;
  transform: rotateY(90deg);
}
.edge-top,
.edge-bottom {
  height: 24px;
  width: 188px;
  left: 41px;
  transform: rotateX(90deg);
}
.edge-top {
  top: -12px;
}
.edge-bottom {
  bottom: -12px;
}
.phone-shadow {
  position: absolute;
  left: -35%;
  bottom: -90px;
  width: 170%;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #73638b18, transparent 70%);
  filter: blur(12px);
}
/* Dark illustrative app UI, ready to receive the real captures. */
.phone-status {
  color: #efedf5;
}
.battery {
  border-color: #ddd;
}
.battery:before {
  background: #ddd;
}
.dynamic-island {
  background: #000;
}
.app-heading {
  color: #f5f2fa;
}
.settings-dot {
  background: #26232d;
  color: #a8a1b6;
}
.night-card,
.plan-list,
.mode-list,
.budget-screen,
.transactions,
.contact-row,
.arrival-note {
  background: #1c1922;
  border-color: #2e283a;
}
.night-status,
.check {
  color: #aaa0ff;
}
.night-card p,
.row-sub,
.app-section-title > span,
.app-bottom-note,
.screen-intro p,
.mode-list small,
.contact-row small,
.transactions small,
.arrival-note p {
  color: #a09aa9;
}
.night-until,
.remaining {
  background: #2c2441;
  color: #b9adff;
}
.plan-list > div,
.mode-list > div,
.transactions > div {
  border-color: #302b39;
}
.app-icon.violet,
.contact-orbit,
.avatar {
  background: #302641;
  color: #b6a2ff;
}
.app-icon.amber {
  background: #322b20;
  color: #c2a267;
}
.app-icon.blue {
  background: #1e2c3d;
  color: #8caacf;
}
.app-icon.green {
  background: #1f312b;
  color: #8bbfa7;
}
.app-reminder {
  color: #8c859a;
}
.app-reminder b {
  color: #b0a7c0;
}
.app-tabbar {
  background: #111015;
  border-color: #2a2434;
}
.app-tabbar > span {
  color: #82798e;
}
.app-tabbar > span.selected {
  color: #b5a5fa;
}
.home-indicator {
  background: #dfd9e8;
}
.app-segment {
  background: #28232f;
  color: #a99fb7;
}
.app-segment strong {
  background: #463954;
  color: #f0eafb;
}
.mode-pill {
  background: #322842;
  color: #c3b0ff;
}
.budget-screen h2 {
  color: #f5f0fa;
}
.budget-track {
  background: #3a3047;
}
.budget-track > span {
  background: #a592f4;
}
.budget-screen,
.budget-scale {
  color: #aca0b9;
}
.app-screen {
  animation: none;
}
.message-orb {
  margin: 46px auto 24px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #77639355;
  border-radius: 50%;
  background: #2f204044;
  color: #c3abfa;
}
.message-orb .icon {
  width: 28px;
  height: 28px;
}
.screen-kicker {
  text-align: center;
  color: #9782ad;
  font-size: 7px;
  letter-spacing: 2px;
}
.quote {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
  text-align: center;
  margin: 18px -5px 0;
}
.message-time {
  margin: 30px auto 0;
  text-align: center;
  font-size: 9px;
  color: #c0b2cf;
}
.screen-caption {
  margin-top: 23px;
  color: #897d97;
  text-align: center;
  font-size: 8px;
}
.mini-map {
  position: relative;
  height: 216px;
  margin: 18px -14px;
  background:
    repeating-linear-gradient(
      25deg,
      transparent 0 54px,
      #63527518 54px 57px,
      transparent 57px 104px
    ),
    repeating-linear-gradient(
      115deg,
      transparent 0 45px,
      #63527515 45px 48px,
      transparent 48px 98px
    );
  display: grid;
  place-items: center;
  overflow: hidden;
}
.map-orbit {
  position: absolute;
  width: 158px;
  height: 158px;
  border: 1px solid #a48aca66;
  border-radius: 50%;
  background: #9e76d815;
  box-shadow: 0 0 55px #986acc14;
}
.mini-map > .icon {
  color: #d9c3ff;
  width: 28px;
  height: 28px;
  z-index: 1;
}
.zone-note {
  text-align: center;
  margin-top: 22px;
}
.zone-note small {
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #9c82b7;
}
.zone-note h2 {
  font-size: 20px;
  line-height: 1.2;
  margin: 12px 0;
}
.zone-note p {
  font-size: 9px;
  color: #b1a2be;
}
.summary-logo {
  display: block;
  width: 105px;
  margin: 50px auto 30px;
}
.summary-title {
  font-size: 22px;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.night-metrics {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}
.night-metrics b {
  font-size: 25px;
  font-weight: 500;
  display: block;
}
.night-metrics span {
  font-size: 8px;
  color: #9c8eaa;
}
.night-metrics > div {
  text-align: center;
}
.real-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #000;
}
.app-screen.has-screenshot {
  position: absolute;
  inset: 0;
  padding: 0;
  height: 100%;
  z-index: 5;
}
.has-real-screen .phone-status,
.has-real-screen .app-tabbar,
.has-real-screen .home-indicator {
  visibility: hidden;
}
/* Scroll chapters have no boxes, panels or background changes. */
#story {
  position: relative;
  z-index: 4;
  pointer-events: none;
}
.chapter {
  height: 125vh;
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  padding-inline: 9vw;
}
.chapter-copy {
  width: 43%;
  will-change: transform, opacity;
  pointer-events: auto;
}
.chapter:nth-child(even) {
  justify-content: flex-end;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: #a294b6;
  margin-bottom: 25px;
  font-weight: 500;
}
h1,
h2 {
  font-size: clamp(40px, 4.7vw, 73px);
  line-height: 1.06;
  letter-spacing: -3.3px;
  font-weight: 500;
  text-wrap: balance;
}
em {
  font-style: normal;
  color: #97909f;
}
.description {
  font-size: 15px;
  line-height: 1.75;
  color: #a49cae;
  margin-top: 28px;
  font-weight: 400;
}
.chapter-intro {
  align-items: flex-start;
  padding-top: 123px;
  justify-content: center;
  height: 125vh;
}
.chapter-intro .chapter-copy {
  width: 100%;
  text-align: center;
}
.chapter-intro h1 {
  font-size: clamp(48px, 5.8vw, 86px);
  line-height: 1.02;
}
.chapter-intro h1 br {
  display: none;
}
.chapter-intro h1 em {
  margin-left: 0.15em;
  color: #a79ab9;
}
.chapter-intro .eyebrow {
  margin-bottom: 17px;
  font-size: 9px;
}
.chapter-intro .description {
  position: absolute;
  top: calc(100svh - 86px);
  left: 0;
  right: 0;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.chapter-final .description {
  margin-top: 25px;
}
.chapter-final {
  height: 110vh;
}
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #62576e77;
  border-radius: 14px;
  padding: 12px 18px;
  margin-top: 32px;
  background: #ffffff05;
  backdrop-filter: blur(14px);
  font-size: 21px;
  line-height: 1.1;
}
.store-link small {
  font-size: 8px;
  display: block;
  color: #a89cb6;
  margin-bottom: 5px;
}
.store-link > .icon {
  width: 29px;
  height: 29px;
}
.store-link > span:last-child {
  font-size: 15px;
  margin-left: 18px;
  color: #a999bc;
}
.store-link:hover {
  border-color: #baa3d4;
  background: #ffffff0b;
}
#disponibilidad {
  font-size: 10px;
  color: #8e819d;
  margin-top: 17px;
  line-height: 1.5;
}
#disponibilidad:target {
  color: #d9c0f6;
}

.scroll-hint {
  position: fixed;
  bottom: 28px;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 8;
  font-size: 8px;
  letter-spacing: 2px;
  color: #8e819b;
  pointer-events: none;
}
.scroll-line {
  width: 33px;
  height: 1px;
  background: #b39ac9;
  transform-origin: left;
}

footer {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 30px 5vw 75px;
  color: #76697f;
  font-size: 9px;
}
footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #b0a0be;
}
@media (min-width: 1600px) {
  .chapter-intro {
    padding-top: 145px;
  }
  .chapter {
    padding-inline: 12vw;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 19px 23px;
  }
  .brand {
    font-size: 14px;
  }
  .brand img {
    width: 35px;
  }
  .availability-link {
    font-size: 10px;
    gap: 12px;
  }
  .chapter {
    height: 125svh;
    min-height: 720px;
    align-items: flex-start;
    padding: 110px 28px 0;
    justify-content: flex-start !important;
  }
  .chapter-copy {
    width: 100%;
    text-align: left;
  }
  h1,
  h2 {
    font-size: clamp(34px, 8vw, 48px);
    letter-spacing: -1.6px;
    line-height: 1.08;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 17px;
  }
  .description {
    font-size: 12px;
    margin-top: 18px;
    line-height: 1.6;
  }
  .chapter-intro {
    padding-top: 104px;
  }
  .chapter-intro h1 {
    font-size: clamp(36px, 8.6vw, 56px);
    letter-spacing: -1.8px;
  }
  .chapter-intro h1 br {
    display: block;
  }
  .chapter-intro h1 em {
    margin-left: 0;
  }
  .chapter-intro .description {
    top: calc(100svh - 83px);
    font-size: 10px;
  }

  .chapter-final .chapter-copy {
    width: 100%;
  }
  .chapter-final h2 {
    font-size: 36px;
  }
  .chapter-final .description {
    margin-top: 15px;
  }
  .store-link {
    font-size: 17px;
    padding: 9px 13px;
    gap: 10px;
    margin-top: 23px;
    border-radius: 12px;
  }
  .store-link small {
    font-size: 7px;
  }
  .store-link > .icon {
    width: 25px;
    height: 25px;
  }
  #disponibilidad {
    font-size: 8px;
    margin-top: 12px;
  }
  .scroll-hint {
    left: 24px;
    bottom: 24px;
    font-size: 6px;
    letter-spacing: 1.5px;
    gap: 10px;
  }

  .scroll-line {
    width: 22px;
  }
  footer {
    padding: 30px 24px 72px;
    flex-wrap: wrap;
    font-size: 8px;
    gap: 5px 20px;
  }
  footer span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  footer span:last-child {
    margin-left: auto;
  }
}
@media (max-height: 720px) and (min-width: 761px) {
  .chapter-intro {
    padding-top: 96px;
  }
  .chapter-intro h1 {
    font-size: 56px;
  }
  .chapter-intro .eyebrow {
    margin-bottom: 12px;
  }
  .chapter-intro .description {
    top: calc(100svh - 70px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  #particles {
    opacity: 0.45;
  }
}

/* The opening line stays with its heading, outside the phone orbit. */
.chapter-intro .description {
  position: static;
  margin-top: 18px;
}
