html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body:has(.public-home) {
  background: #080808;
}

.home-skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: #f5f3f0;
  color: #171617;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
}

.home-skip:focus-visible {
  outline: 3px solid #9b82ff;
  outline-offset: 2px;
  transform: none;
}

.public-home {
  --home-bg: #080808;
  --home-ink: #f5f3f0;
  --home-muted: #aaa4ac;
  --home-line: #29272a;
  --home-violet: #9b82ff;
  --home-max: 1280px;
  --home-gutter: clamp(20px, 4vw, 56px);
  --home-ease: cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  overflow: clip;
  background: var(--home-bg);
  color: var(--home-ink);
}

.public-home *,
.public-home *::before,
.public-home *::after {
  box-sizing: border-box;
}

.public-home h1,
.public-home h2,
.public-home h3,
.public-home p,
.public-home figure,
.public-home ol,
.public-home ul {
  margin: 0;
}

.public-home img {
  display: block;
  max-width: 100%;
}

.public-home a,
.public-home button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(155, 130, 255, 0.16);
}

.public-home a:focus-visible,
.public-home button:focus-visible,
.public-home input:focus-visible {
  outline: 2px solid var(--home-violet);
  outline-offset: 3px;
}

.home-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-wrap {
  width: min(100%, calc(var(--home-max) + (var(--home-gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

.home-launch-panel--inline,
.home-product,
.home-build,
.home-source,
.home-ownership {
  scroll-margin-top: 76px;
}

.home-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.home-nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  border-bottom: 1px solid transparent;
  background: rgba(8, 8, 8, 0.96);
  transform: translateX(-50%);
  transition: border-color 180ms ease;
}

.home-nav.is-scrolled::before {
  border-bottom-color: #242225;
}

.home-brand {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.home-brand:hover {
  color: #ffffff;
  text-decoration: none;
}

.home-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.home-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.home-nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #aaa5ad;
  font-size: 13px;
  font-weight: 560;
  transition: color 160ms ease;
}

.home-nav-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.home-nav-signin {
  min-width: 82px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0 15px;
  border: 1px solid #464148;
  background: transparent;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 650;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.home-nav-signin:hover {
  border-color: #716978;
  background: #171617;
  color: #ffffff;
  text-decoration: none;
}

.home-hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(76px, 8vw, 112px);
}

.home-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -22%;
  width: min(820px, 65vw);
  height: 680px;
  background: radial-gradient(circle, rgba(130, 93, 255, 0.17), rgba(130, 93, 255, 0) 68%);
  pointer-events: none;
}

.home-hero-copy,
.home-hero-art {
  position: relative;
  z-index: 1;
}

.home-hero-copy {
  max-width: 630px;
}

.home-hero-welcome {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c9bdff;
  font-size: 13px;
  font-weight: 650;
}

.home-hero-welcome img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-hero h1 {
  max-width: 8.5ch;
  margin-top: 18px;
  font-size: clamp(3.6rem, 6.5vw, 5.5rem);
  font-weight: 710;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}

.home-hero h1 span {
  color: #b9a7ff;
  font-weight: 650;
}

.home-hero-lead {
  max-width: 590px;
  margin-top: 24px !important;
  color: #b8b2bc;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.52;
  text-wrap: pretty;
}

.home-launch-panel--inline {
  max-width: 470px;
  margin-top: 28px;
}

.home-hero-signin-copy {
  color: #ddd8df;
  font-size: 13px;
  line-height: 1.5;
}

.home-launch-panel--inline .provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.home-launch-panel--inline .provider-list form {
  flex: 1 1 190px;
  margin: 0;
}

.home-launch-panel button.provider-button {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #dadce0;
  border-radius: 2px;
  background: #ffffff;
  color: #171717;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 180ms var(--home-ease);
}

.home-launch-panel button.provider-button:hover {
  border-color: #ffffff;
  background: #f2f2f2;
  transform: translateY(-1px);
}

.home-launch-panel button.provider-button:disabled {
  border-color: #59555d;
  background: #302d33;
  color: #aaa4ac;
  cursor: not-allowed;
  transform: none;
}

.home-launch-panel .provider-button-copy {
  grid-column: 2;
  text-align: center;
}

.home-launch-panel .provider-button-balance {
  width: 20px;
  height: 20px;
}

.home-launch-panel--inline > form {
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 12px;
}

.home-launch-panel--inline > form label {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #c4bdc8;
  font-size: 11px;
  font-weight: 650;
}

.home-launch-panel--inline > form input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid #51495c;
  border-radius: 2px;
  background: #0e0c11;
  color: #f5f3f0;
  font: inherit;
  font-size: 14px;
}

.home-launch-panel--inline > form input::placeholder {
  color: #918a93;
}

.home-launch-panel--inline > form button.primary {
  flex: none;
  width: auto;
  min-height: 50px;
  padding-inline: 20px;
  border: 1px solid var(--home-violet);
  border-radius: 2px;
  background: var(--home-violet);
  color: #100d16;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 180ms var(--home-ease);
}

.home-launch-panel--inline > form button.primary:hover {
  border-color: #b09eff;
  background: #b09eff;
  transform: translateY(-1px);
}

.home-hero-expect {
  margin-top: 18px !important;
  color: #a9a3ac;
  font-size: 11.5px;
  line-height: 1.5;
}

.home-hero-fine {
  margin-top: 4px !important;
  color: #8f8991;
  font-size: 10.5px;
}

.home-hero-art {
  min-width: 0;
  min-height: clamp(420px, 42vw, 610px);
}

.home-frame {
  overflow: hidden;
  background: #0c0c0d;
}

.home-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-frame-desk {
  position: absolute;
  inset: 4% 0 8% 7%;
  border: 1px solid #2a272b;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.46);
}

.home-frame-desk img {
  object-position: center 42%;
}

.home-frame-phone {
  position: absolute;
  right: -1%;
  bottom: 0;
  width: clamp(118px, 13vw, 178px);
  height: 74%;
  padding: 4px;
  border: 1px solid #3d3940;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 30px 42px rgba(0, 0, 0, 0.52);
}

.home-frame-phone img {
  border-radius: 18px;
  object-position: center top;
}

.home-section-copy {
  max-width: 500px;
}

.home-kicker {
  color: #c9bdff;
  font-size: 13px;
  font-weight: 700;
}

.home-section-copy h2 {
  margin-top: 16px !important;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.home-section-copy > p:not(.home-kicker) {
  max-width: 52ch;
  margin-top: 22px !important;
  color: var(--home-muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
}

.home-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #ded9e0;
  font-size: 13px;
  font-weight: 650;
}

.home-text-link span {
  color: var(--home-violet);
  transition: transform 180ms var(--home-ease);
}

.home-text-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.home-text-link:hover span {
  transform: translate(2px, -2px);
}

.home-product {
  padding-block: clamp(88px, 10vw, 144px);
  border-top: 1px solid #242125;
  background: #111012;
}

.home-product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.home-product-stage {
  position: relative;
  min-width: 0;
  padding: 0 0 48px 72px;
}

.home-product-store {
  overflow: hidden;
  border: 1px solid #2d2a2e;
  background: #080808;
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.34);
}

.home-product-store img {
  width: 100%;
  height: clamp(430px, 43vw, 610px);
  object-fit: cover;
  object-position: center top;
}

.home-product-phone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(150px, 15vw, 214px);
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, 0.48));
}

.home-product-phone img {
  width: 100%;
  height: auto;
}

.home-product-caption {
  position: absolute;
  right: 18px;
  bottom: 6px;
  max-width: 380px;
  color: #918b93;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: right;
}

.home-product-caption b {
  color: #ded9e0;
}

.home-build {
  padding-block: clamp(88px, 10vw, 144px);
  border-top: 1px solid #242125;
  background: #080808;
}

.home-build-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1.52fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
}

.home-build-copy {
  position: sticky;
  top: 112px;
}

.home-atlas-scene {
  position: relative;
  min-width: 0;
  padding: 0 clamp(56px, 7vw, 94px) clamp(72px, 8vw, 104px) 0;
}

.home-atlas {
  overflow: hidden;
  border: 1px solid #2a272a;
  background: #090909;
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.32);
}

.home-atlas img {
  width: 100%;
  height: auto;
}

.home-trip-phone {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: clamp(156px, 16vw, 224px);
  filter: drop-shadow(0 30px 26px rgba(0, 0, 0, 0.46));
}

.home-trip-phone img {
  width: 100%;
  height: auto;
  border-radius: 12% / 6%;
}

.home-build-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 520px;
  color: #918b93;
  font-size: 12px;
  line-height: 1.5;
}

.home-build-caption b,
.home-build-caption span {
  display: block;
}

.home-build-caption b {
  color: #e1dce2;
  font-size: 13px;
}

.home-source {
  padding-block: clamp(88px, 10vw, 144px);
  border-top: 1px solid #242125;
  background: #0d0c0e;
}

.home-source-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.56fr) minmax(0, 1.44fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.home-source-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px !important;
  padding: 18px 0 0;
  border-top: 1px solid #302d31;
  color: #d8d3da;
  font-size: 12px;
  list-style: none;
}

.home-source-facts li {
  position: relative;
  padding-left: 12px;
}

.home-source-facts li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--home-violet);
}

.home-editor-product {
  min-width: 0;
  border: 1px solid #282529;
  background: #050505;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.35);
}

.home-editor-media {
  overflow: hidden;
}

.home-editor-media img {
  width: 100%;
  height: clamp(420px, 43vw, 590px);
  object-fit: cover;
  object-position: center 48%;
}

.home-editor-product figcaption {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #282529;
  color: #9b959d;
  font-size: 11.5px;
}

.home-ownership {
  padding-block: clamp(88px, 10vw, 142px);
  border-top: 1px solid #2e2738;
  background:
    radial-gradient(circle at 86% 18%, rgba(155, 130, 255, 0.2), transparent 30rem),
    #17121e;
}

.home-ownership-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
}

.home-ownership h2 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-wrap: balance;
}

.home-ownership-copy {
  max-width: 620px;
}

.home-ownership-copy > p:first-child {
  color: #c2bbc7;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
}

.home-provider-note {
  margin-top: 22px !important;
  color: #98909d;
  font-size: 12px;
  line-height: 1.6;
}

.home-provider-note a {
  color: #c6b8ff;
  text-decoration: underline;
  text-decoration-color: rgba(198, 184, 255, 0.42);
  text-underline-offset: 3px;
}

.home-provider-note a:hover {
  color: #ffffff;
}

.home-return-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: #f0ebf2;
  font-size: 13px;
  font-weight: 700;
}

.home-return-link span {
  color: #b9a7ff;
  transition: transform 180ms var(--home-ease);
}

.home-return-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.home-return-link:hover span {
  transform: translateY(-3px);
}

.home-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 22px 40px;
  padding-block: 36px;
  border-top: 1px solid #242125;
}

.home-footer-brand,
.home-footer > p,
.home-footer-links {
  align-self: end;
}

.home-footer > p {
  color: #8f8991;
  font-size: 12px;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.home-footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #98929a;
  font-size: 12px;
}

.home-footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.home-footer-meta {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid #242125;
  color: #8b8590;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  .home-js .home-hero-copy {
    opacity: 0.35;
    filter: blur(5px);
    transform: translateY(14px);
  }

  .home-js.home-ready .home-hero-copy {
    opacity: 1;
    filter: none;
    transform: none;
    transition:
      opacity 620ms ease,
      filter 760ms ease,
      transform 820ms var(--home-ease);
  }

  .home-js .home-frame-desk {
    clip-path: inset(0 100% 0 0);
  }

  .home-js.home-ready .home-frame-desk {
    clip-path: inset(0);
    transition: clip-path 980ms var(--home-ease) 100ms;
  }

  .home-js .home-frame-phone {
    opacity: 0;
    transform: translate(18px, 24px);
  }

  .home-js.home-ready .home-frame-phone {
    opacity: 1;
    transform: none;
    transition:
      opacity 560ms ease 420ms,
      transform 840ms var(--home-ease) 420ms;
  }

  .home-js [data-home-scene="product"] .home-product-phone {
    transform: translate(-22px, 28px);
  }

  .home-js [data-home-scene="product"].is-active .home-product-phone {
    transform: none;
    transition: transform 880ms var(--home-ease);
  }

  .home-js [data-home-scene="atlas"] .home-trip-phone {
    transform: translate(30px, 34px) rotate(2deg);
  }

  .home-js [data-home-scene="atlas"].is-active .home-trip-phone {
    transform: none;
    transition: transform 900ms var(--home-ease);
  }

  .home-js [data-home-scene="editor"] .home-editor-media img {
    transform: scale(1.018);
  }

  .home-js [data-home-scene="editor"].is-active .home-editor-media img {
    transform: none;
    transition: transform 1050ms var(--home-ease);
  }
}

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 42px;
  }

  .home-product-layout,
  .home-build-layout,
  .home-source-layout {
    gap: 52px;
  }

  .home-build-layout {
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  }
}

@media (max-width: 820px) {
  .home-nav {
    grid-template-columns: 1fr auto;
  }

  .home-nav-links {
    display: none;
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 56px;
  }

  .home-hero-copy {
    max-width: 650px;
  }

  .home-hero-art {
    min-height: clamp(390px, 73vw, 540px);
  }

  .home-frame-desk {
    inset: 0 4% 6% 0;
  }

  .home-frame-phone {
    right: 0;
  }

  .home-product-layout,
  .home-build-layout,
  .home-source-layout,
  .home-ownership-layout {
    grid-template-columns: 1fr;
  }

  .home-section-copy {
    max-width: 680px;
  }

  .home-product-stage,
  .home-atlas-scene,
  .home-editor-product {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .home-build-copy {
    position: static;
  }

  .home-source-layout {
    align-items: start;
  }

  .home-ownership-copy {
    max-width: 680px;
  }

  .home-footer {
    grid-template-columns: auto 1fr;
  }

  .home-footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }
}

@media (max-width: 560px) {
  .home-nav {
    min-height: 60px;
  }

  .home-brand {
    font-size: 14px;
  }

  .home-brand img {
    width: 29px;
    height: 29px;
  }

  .home-nav-signin {
    min-width: 70px;
    min-height: 38px;
    padding-inline: 12px;
  }

  .home-hero {
    padding-top: 44px;
    padding-bottom: 76px;
  }

  .home-hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.4rem);
  }

  .home-hero-lead {
    font-size: 17px;
  }

  .home-launch-panel--inline .provider-list,
  .home-launch-panel--inline > form {
    display: grid;
  }

  .home-launch-panel--inline .provider-list form,
  .home-launch-panel--inline > form button.primary {
    width: 100%;
  }

  .home-hero-art {
    min-height: 330px;
  }

  .home-frame-desk {
    inset: 0 8% 5% 0;
  }

  .home-frame-phone {
    width: 108px;
    height: 78%;
  }

  .home-product,
  .home-build,
  .home-source,
  .home-ownership {
    padding-block: 78px;
  }

  .home-section-copy h2 {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
  }

  .home-product-stage {
    padding: 0 0 62px 36px;
  }

  .home-product-store img {
    height: 350px;
  }

  .home-product-phone {
    width: 126px;
  }

  .home-product-caption {
    right: 0;
    bottom: 0;
    max-width: 220px;
  }

  .home-atlas-scene {
    padding: 0 44px 80px 0;
  }

  .home-trip-phone {
    bottom: 42px;
    width: 128px;
  }

  .home-build-caption {
    max-width: calc(100% - 30px);
  }

  .home-editor-media img {
    height: 330px;
  }

  .home-ownership h2 {
    font-size: clamp(3.2rem, 15vw, 4.1rem);
  }

  .home-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-footer-brand,
  .home-footer > p,
  .home-footer-links {
    align-self: auto;
  }

  .home-footer-links {
    gap: 6px 18px;
  }

  .home-footer-meta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
