.home-intro {
  display: none;
}

.home-page dialog.shots-lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
}
.home-page dialog.shots-lightbox::backdrop { background: transparent; }
.home-page #tariffs .plan[id] { scroll-margin-block-start: 20px; }

.home-hero .hero-inner.hero-grid {
  padding-bottom: clamp(58px, 8vh, 100px);
}
.home-hero .hero-bg {
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 58%, #000c 74%, transparent);
  mask-image: linear-gradient(to bottom, black 58%, #000c 74%, transparent);
}
.home-hero .hero-world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 54%;
  filter: saturate(.86);
  opacity: .66;
}
@media (max-width: 700px) {
  .home-hero .hero-world { object-position: 49% center; opacity: .6; }
}
.home-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 43% 66% at 50% 48%, #11101899, transparent);
}
.home-hero .hero-social .social-btn,
.home-hero .hero-actions .btn-ghost {
  background: rgb(29 29 39 / .38);
  -webkit-backdrop-filter: blur(24px) saturate(1.14);
  backdrop-filter: blur(24px) saturate(1.14);
}
.home-hero .hero-actions .btn-ghost,
.home-hero .hero-social .social-btn { box-shadow: inset 0 0 0 1px #ffffff20; }
.home-hero .hero-copy .hero-lead { color: #eeeaf0; text-shadow: 0 1px 6px #07080c; }

.home-hero .hero-copy {
  width: 100%;
  max-width: 1050px;
  margin-inline: auto;
  text-align: center;
}

.home-hero .hero-copy .hero-title {
  text-wrap: balance;
  font-size: clamp(38px, 6.1vw, 84px);
  line-height: 1.02;
  letter-spacing: -.052em;
}

.home-hero .hero-title .dim {
  display: block;
  color: #e0dce6;
  text-shadow: 0 2px 20px #10101670;
}
@media (max-width: 650px) {
  .home-hero .hero-title .dim { display: inline; }
}

.home-hero .hero-copy .hero-lead {
  max-width: 49ch;
  margin-inline: auto;
  text-wrap: balance;
}

.home-hero .hero-copy :is(.hero-social, .hero-actions) {
  justify-content: center;
}

.home-hero .hero-copy > * {
  animation: none;
}

.first-launch {
  color: #f4f3f1;
}
.first-launch .onboarding {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(20px, 2.5vw, 32px);
  padding-block: clamp(24px, 3vw, 42px) clamp(12px, 2vw, 24px);
}
.home-page :is(.first-launch h2, .section-head h2, .purchase-faq h2, .cta-card h2) {
  --section-title-size: clamp(28px, 4.4vw, 44px);
  color: #f6f6f8;
  font: 750 var(--section-title-size)/1.08 var(--font);
  letter-spacing: -.045em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 0 28px rgb(224 224 230 / .15);
}
.home-page .cta-card h2 { font-size: var(--section-title-size) !important; }
.first-launch h2 { margin: 0; }
.first-launch ol {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  counter-reset: launch-step;
  padding: 0;
  margin: 0;
}
.first-launch li {
  position: relative;
  min-width: 0;
  text-align: center;
  counter-increment: launch-step;
}
.first-launch li:not(:last-child)::before,
.first-launch li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 23px);
  width: calc(100% - 46px);
  height: 1px;
  background: linear-gradient(90deg, #414247, #797a80, #414247);
  pointer-events: none;
}
.first-launch li:not(:last-child)::after {
  height: 2px;
  background: linear-gradient(90deg, #a7aab4, #fff);
  box-shadow: 0 0 8px #dbe5ff70;
  transform: scaleX(var(--line-fill, 0));
  transform-origin: left center;
}
.first-launch li:has(a:is(:focus-visible, :active, .touch-down)) { --step-lit: 1; --line-fill: 1; }
@media (hover: hover) and (pointer: fine) {
  .first-launch li:has(a:hover) { --step-lit: 1; --line-fill: 1; }
}
.first-launch a {
  display: block;
  width: fit-content;
  max-width: calc(100% - 6px);
  margin-inline: auto;
  min-height: 44px;
  color: #dddfe1;
  font: 610 clamp(13px, 1.3vw, 17px)/1.4 var(--font);
  letter-spacing: -.03em;
  text-decoration: none;
  touch-action: manipulation;
}
.first-launch a span {
  display: block;
  color: rgb(230 232 239);
  text-shadow: 0 0 12px rgb(235 241 255 / calc(var(--step-lit, 0) * .6));
}
.first-launch a::before {
  content: counter(launch-step);
  content: counter(launch-step) / "";
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin: 0 auto 10px;
  border: 1px solid #96979d;
  border-radius: 50%;
  color: color-mix(in srgb, #e5e5e8, #17191d calc(var(--step-lit, 0) * 100%));
  background: color-mix(in srgb, #191a1d, #f2f3f7 calc(var(--step-lit, 0) * 100%));
  box-shadow: 0 0 0 calc(var(--step-lit, 0) * 4px) #e7ebff17, 0 0 18px rgb(237 241 255 / calc(.04 + var(--step-lit, 0) * .32));
  font: 600 12px/1 var(--mono);
}
.first-launch a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
#faq-launch { scroll-margin-top: 96px; }

.purchase-faq { text-align: left; color: #f1f1ef; }
.purchase-faq h2 {
  margin: 0 0 clamp(24px, 3vw, 38px);
}
.purchase-faq .q-stage {
  display: grid;
  grid-template-columns: minmax(155px, .8fr) minmax(0, 2fr);
  gap: 28px;
  border-top: 1px solid #404145;
}
.purchase-faq .q-stage:last-child { border-bottom: 1px solid #404145; }
.purchase-faq h3 {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 16px 0;
  color: #aeb0b5;
  font: 650 clamp(17px, 2vw, 25px)/1.13 var(--font);
  letter-spacing: -.035em;
}
.purchase-faq h3::before {
  content: "";
  box-sizing: border-box;
  width: 9px;
  height: 9px;
  flex: none;
  border: 1px solid #b9bbc0;
  border-radius: 50%;
  background: transparent;
}
.purchase-faq .q-stage:has(details[open]) h3 { color: white; }
.purchase-faq .q-stage:has(details[open]) h3::before { border-color: white; }
.purchase-faq .q-row + .q-row { border-top: 1px solid #292a2d; }
.purchase-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding-block: 12px;
  list-style: none;
  cursor: pointer;
  font: 610 clamp(15px, 1.55vw, 21px)/1.5 var(--font);
  letter-spacing: -.02em;
}
.purchase-faq summary::-webkit-details-marker { display: none; }
.purchase-faq summary:focus-visible { outline: 2px solid #f5f5ed; outline-offset: 3px; }
.purchase-faq .q-mark { width: 16px; height: 16px; position: relative; flex: none; }
.purchase-faq .q-mark::before,
.purchase-faq .q-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: #c1c2c7;
  transform: translate(-50%, -50%);
}
.purchase-faq .q-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.purchase-faq details[open] .q-mark::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.purchase-faq .q-answer {
  max-width: 76ch;
  margin: 0;
  padding: 0 0 16px;
  color: #c1c2c7;
  font-size: 15px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}
@media (max-width: 610px) {
  .purchase-faq .q-stage { grid-template-columns: 1fr; gap: 0; }
  .purchase-faq h3 { padding-bottom: 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .first-launch li:not(:last-child)::after { transition: transform 380ms cubic-bezier(.24,.74,.22,1); }
  .first-launch ol.in > li > a {
    animation: launch-step-arrive 430ms var(--expo) backwards;
  }
  .first-launch ol.in > li:nth-child(2) > a { animation-delay: 65ms; }
  .first-launch ol.in > li:nth-child(3) > a { animation-delay: 130ms; }
  .first-launch a::before {
    transform: scale(calc(1 + var(--step-lit, 0) * .13));
    transition: transform 200ms ease-out, background-color 180ms, color 180ms, box-shadow 230ms;
  }
  .first-launch a span {
    transform: translateY(calc(var(--step-lit, 0) * 3px));
    transition: transform 230ms ease-out, text-shadow 190ms;
  }
  .first-launch a:is(:active, .touch-down)::before { transform: scale(.92); transition-duration: 65ms; }
  .first-launch a:is(:active, .touch-down) span { transform: translateY(1px); transition-duration: 65ms; }
  .purchase-faq .q-mark::after { transition: transform 240ms ease-out, opacity 180ms; }

  /* Native details still owns focus, keyboard behavior and group exclusivity. */
  @supports selector(details::details-content) {
    .purchase-faq details::details-content {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      transition: grid-template-rows 370ms cubic-bezier(.23,.76,.31,1), opacity 260ms ease-out, content-visibility 370ms allow-discrete;
    }
    .purchase-faq details[open]::details-content { grid-template-rows: 1fr; opacity: 1; }
    .purchase-faq .q-answer {
      align-self: stretch;
      min-height: 0;
      overflow: hidden;
      padding: 0;
      transform: translateY(-5px);
      transition: transform 370ms ease-out;
    }
    .purchase-faq .q-answer::after { content: ""; display: block; height: 16px; }
    .purchase-faq details[open] .q-answer { transform: none; }
    .purchase-faq.is-following-link details::details-content,
    .purchase-faq.is-following-link .q-answer { transition: none; }
  }
}
@keyframes launch-step-arrive {
  from { opacity: .15; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Reuse the landing page's one-time visibility observer for the new sections. */
.home-page :is(.first-launch, .purchase-faq) .reveal {
  transition: opacity 540ms ease-out, transform 540ms var(--expo);
  transition-delay: 0s !important;
}
.home-page :is(.first-launch, .purchase-faq) .reveal:not(.in) {
  transform: translateY(18px);
}
.home-page .first-launch ol.reveal { transition-delay: 65ms !important; }
.home-page .purchase-faq :where(.q-stage).reveal:not(.in) { transform: translateY(12px); }
.home-page :is(.first-launch, .purchase-faq) .reveal:focus-within,
.home-page .first-launch:has(:target) .reveal,
.home-page .section:target > .section-head.reveal,
.home-page .purchase-faq:target .reveal,
.home-page .purchase-faq .reveal:has(:target),
html.no-js .home-page :is(.first-launch, .purchase-faq) .reveal {
  transition: none;
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-page .page .reveal, .home-page .page .reveal:not(.in) {
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-entering {
    --logo-duration: 2050ms;
    --page-fade-duration: 620ms;
  }

  .home-entering .home-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 50% 45%, #202027 0, #101015 45%, #09090d 80%);
    animation: home-curtain-out var(--page-fade-duration) var(--logo-duration) ease-in-out both;
  }

  .intro-mark {
    position: relative;
    width: clamp(64px, 7vw, 96px);
    animation: home-mark-rise var(--logo-duration) both;
  }

  .intro-mark img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .76;
  }

  .intro-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    -webkit-mask: url('/laminar.svg') center / contain no-repeat;
    mask: url('/laminar.svg') center / contain no-repeat;
    background: linear-gradient(115deg, #9997aa 19%, #626475 30%, #b8bfce 38%, #fbfdff 45%, #fff 48%, #b8b5cb 53%, #686879 62%, #d6d5dd 75%);
    background-size: 260% 100%;
    animation: home-metal-sweep 1530ms 180ms cubic-bezier(.32, 0, .48, 1) both;
  }

  .home-entering .nav-wrap,
  .home-entering .page {
    animation: home-page-in var(--page-fade-duration) var(--logo-duration) ease-out backwards;
  }
}

@keyframes home-mark-rise {
  0% { opacity: 0; transform: translateY(5px) scale(.96); }
  14%, 76% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(clamp(-120px, -12vh, -64px)); }
}

@keyframes home-metal-sweep {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}

@keyframes home-curtain-out {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

@keyframes home-page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
