:root {
  color-scheme: light;
  --ink: #17152c;
  --hero-text: #f9f8ff;
  --hero-muted: #d2cfe6;
  --mint: #bcf8cf;
  --lavender: #a99df2;
  --paper: #f6f5fb;
  --secondary: #545065;
  --rule: #dad7e7;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, p, ul, figure { margin: 0; }
h1, h2 {
  font-weight: 750;
  letter-spacing: -.052em;
  line-height: .98;
  text-wrap: balance;
}
h1 { font-size: clamp(3.2rem, 5.7vw, 5.5rem); }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.8rem); }
p { color: var(--secondary); }
:focus-visible { outline: 3px solid #7259d3; outline-offset: 5px; }
.wrap { width: min(78rem, calc(100% - clamp(2rem, 8.5vw, 9rem))); margin-inline: auto; }

.skip:not(:focus) {
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  width: 1px;
  height: 1px;
}
.skip {
  position: absolute;
  z-index: 5;
  top: .65rem;
  left: 1rem;
  padding: .65rem .95rem;
  background: var(--mint);
  color: var(--ink);
}

.header, .hero { background: var(--ink); color: var(--hero-text); }
.header .wrap, .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.header .wrap { min-height: 4.6rem; border-bottom: 1px solid #ffffff21; }
.wordmark { flex: none; }
.wordmark img { width: 5.65rem; height: auto; }
.header .wordmark img { filter: brightness(0) invert(1); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); font-size: .9rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  min-height: 3.25rem;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: white;
  border-radius: .55rem;
  text-decoration: none;
  font-weight: 720;
}
.button:hover { background: #353150; }
.hero .button { background: var(--mint); color: var(--ink); }
.hero .button:hover { background: #dcffe5; }
.header :focus-visible, .hero :focus-visible { outline-color: var(--mint); }
.text-link { text-underline-offset: .24em; }

.hero { overflow: hidden; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  column-gap: clamp(1.75rem, 3.4vw, 4rem);
  padding-block: clamp(2rem, 4vw, 4.25rem);
}
.intro { position: relative; z-index: 1; }
.intro h1 { max-width: 12.5ch; }
.intro h1 span { display: block; color: var(--mint); }
.intro p {
  color: var(--hero-muted);
  max-width: 31ch;
  margin-top: clamp(1rem, 2.25vw, 1.65rem);
  font-size: clamp(1.025rem, 1.5vw, 1.225rem);
}
.intro .button { margin-top: clamp(1.25rem, 2.9vw, 2rem); }

.hero-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
}
.routes {
  position: absolute;
  inset: 5% -18% 6% -12%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 58% 50%, #5b4aa44f, #5b4aa400 68%);
}
.routes span {
  --route-color: var(--lavender);
  position: absolute;
  left: 13%;
  right: -15%;
  top: 13%;
  height: 53%;
  border: 2px solid var(--route-color);
  border-right: 0;
  border-bottom: 0;
  border-radius: 6rem 0 0 0;
  opacity: .7;
}
.routes span:nth-child(2) {
  --route-color: var(--mint);
  left: 24%;
  top: 25%;
  height: 43%;
  border-radius: 5rem 0 0 0;
  opacity: .82;
}
.routes span:nth-child(3) {
  left: 1%;
  top: 69%;
  height: 23%;
  border-top: 0;
  border-bottom: 2px solid var(--route-color);
  border-radius: 0 0 0 5.5rem;
  opacity: .62;
}
.routes span::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--route-color);
  border-radius: 100%;
  background: var(--ink);
}
.routes span:nth-child(3)::before { top: -4px; bottom: auto; }

.hero-shot {
  width: min(100%, clamp(16rem, 22vw, 19rem));
  padding: .33rem;
  border: 1px solid #78738f;
  border-radius: 1.65rem;
  background: #111021;
  box-shadow: 0 1.6rem 3.6rem -.8rem #090817b2;
}
.hero-shot a, .story-shot a { display: block; border-radius: 1.15rem; }
.hero-shot img { width: 100%; height: auto; border-radius: 1.2rem; background: #f8f3fa; }

.connections {
  padding-block: clamp(1.85rem, 4.2vw, 3rem);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.connections h2 { font-size: 1rem; letter-spacing: -.015em; }
.app-list {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  justify-items: center;
  gap: .9rem clamp(.35rem, 1.25vw, 1.1rem);
  width: min(100%, 53rem);
  padding: 0;
  margin: 1.15rem auto 0;
  list-style: none;
}
.app-list li { display: grid; place-items: center; width: 100%; }
.app-list svg, .app-list img {
  display: block;
  width: min(100%, 2rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.feature {
  --feature-wash: #e6e0fa;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy screen";
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6rem);
  padding: clamp(2.75rem, 5vw, 4.5rem) clamp(0rem, 5vw, 5rem);
}
.feature + .feature { border-top: 1px solid var(--rule); }
.feature:nth-of-type(even) { grid-template-areas: "screen copy"; --feature-wash: #deeee6; }
.story-copy { grid-area: copy; }
.story-copy h2 { max-width: 16ch; text-wrap: unset; }
.story-copy p { max-width: 35ch; margin-top: .9rem; font-size: clamp(1rem, 1.4vw, 1.13rem); }
.story-shot {
  position: relative;
  isolation: isolate;
  grid-area: screen;
  justify-self: center;
  width: min(100%, 15.25rem);
}
.story-shot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -15% 13% -23%;
  border-radius: 55% 32% 50% 28%;
  background: var(--feature-wash);
}
.story-shot img { width: 100%; height: auto; border: 1px solid #d3cde6; border-radius: 1.15rem; }

.download { min-height: 58vh; padding-block: clamp(3rem, 8.5vw, 7rem); }
.download-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
  margin-top: clamp(1.75rem, 5vw, 3rem);
  max-width: 58rem;
}
.download-platform {
  min-width: 0;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: .85rem;
}
.download-platform h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.download-requirements { margin-top: .6rem; }
.download-channels { padding: 0; margin-top: 1.2rem; list-style: none; }
.download-channels li + li { border-top: 1px solid var(--rule); margin-top: .8rem; padding-top: .8rem; }
.download-channels h3 { margin: 0; font-size: 1rem; }
.download-channels p { margin-top: .25rem; }
.download-status, .download-platform .button { margin-top: 1.2rem; }
.footer { min-height: 4.7rem; border-top: 1px solid var(--rule); }

@media (max-width: 45rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .intro h1 { max-width: 14ch; }
  .hero-shot { width: min(81%, 17rem); }
  .routes { inset-inline: -9%; }
  .app-list { grid-template-columns: repeat(10, minmax(0, 1fr)); max-width: 34rem; }
  .feature { padding-inline: 0; }
}
@media (max-width: 34rem) {
  .header .wrap { min-height: 4.05rem; }
  .wordmark img { width: 4.75rem; }
  nav { gap: .75rem; font-size: .84rem; }
  h1 { font-size: clamp(2.55rem, 11.65vw, 3.8rem); }
  .hero-layout { padding-top: 1.6rem; gap: 1.35rem; }
  .intro p { margin-top: .8rem; }
  .intro .button { margin-top: 1rem; }
  .hero-shot { width: min(75%, 14.75rem); }
  .app-list { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 19rem; }
  .feature, .feature:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "screen";
  }
  .story-shot { width: min(68%, 14rem); }
}
