:root {
  color-scheme: dark;
  --ink: #101017;
  --type: #f5f3fa;
  --muted: #c4bed1;
  --line: #bdb0d534;
  --lavender: #d9cff4;
  --paper: #eae5f0;
  --page-gutter: clamp(1.5rem, 6.75vw, 7.5rem);
  --section-space: clamp(5.25rem, 10vw, 10.5rem);
  --group-space: clamp(2.3rem, 4.75vw, 5rem);
  --serif: "Iowan Old Style", "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--type);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
figure, h1, h2, p { margin: 0; }
img, canvas, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: inherit; text-underline-offset: .24em; }
button { font: inherit; }
:focus-visible { outline: 2px solid #bd9bf5; outline-offset: 5px; }
.shell { width: min(100% - 2 * var(--page-gutter), 88rem); margin-inline: auto; }
.skip { position: fixed; z-index: 8; top: .5rem; left: .5rem; padding: .8rem 1rem; background: var(--type); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.wordmark { display: inline-flex; align-items: center; gap: .57rem; font-size: 1.27rem; font-weight: 680; letter-spacing: -.055em; text-decoration: none; }
.download { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; font-size: .96rem; font-weight: 650; white-space: nowrap; border-radius: 1.4rem; border: 1px solid transparent; }
.primary { padding: .82rem 1.12rem; background: #f2eef7; color: #21192b; }
.primary:hover { background: #fff; }
.primary span { font-size: 1.13em; line-height: 1; }

.hero {
  position: relative;
  background-color: #171321;
  background-image: linear-gradient(91deg, #101017e0 8%, #1010178c 50%, #10101700 94%),
    linear-gradient(180deg, #10101795, transparent 25%, transparent 68%, #101017 99%), url("flow.jpg");
  background-position: center, center, 53% 67%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-layout {
  min-height: min(100svh, 65rem); padding-block: clamp(8rem, 10vw, 11rem) clamp(5rem, 7vw, 7.5rem);
  display: grid; grid-template-columns: minmax(21rem, .83fr) minmax(0, 1.17fr);
  gap: clamp(2.25rem, 5.85vw, 6.25rem); align-items: center;
}
.hero-copy { align-self: center; padding-bottom: 2.4rem; }
.hero h1 {
  font-size: clamp(3.65rem, 6vw, 6.2rem); line-height: .97;
  font-family: "Avenir Next", var(--sans); font-weight: 570; letter-spacing: -.079em; word-spacing: .06em;
}
.hero h1 > * { display: block; }
.hero h1 em {
  font: italic 400 1.01em/.92 var(--serif); letter-spacing: -.078em; word-spacing: .055em;
  margin-block: .1em -.045em; padding-block: .05em .15em;
  color: #ded1ee; position: relative;
}
.hero-sheen {
  position: absolute; inset: 0; padding: inherit; pointer-events: none; -webkit-user-select: none; user-select: none;
  background: linear-gradient(107deg, #f6f2fe 6%, #d2c2f4 55%, #b7a0de 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy > p:not(.platform) { margin-top: clamp(1.5rem, 2.15vw, 2.25rem); font-size: clamp(1.03rem, 1.5vw, 1.23rem); color: #e4ddee; line-height: 1.5; max-width: 29ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.65rem; margin-top: clamp(1.65rem, 2.4vw, 2.6rem); }
.look { text-decoration: none; font-size: .93rem; font-weight: 600; color: #e9e1f0; display: inline-flex; gap: .45rem; align-items: center; }
.look-label { text-decoration: underline; }
.look:hover { color: #fff; }
.platform { color: var(--muted); font-size: .83rem; margin-top: .95rem; }
.app-preview {
  border-radius: 1.18rem; background: #1b1924; border: 1px solid #cab6e26b;
  box-shadow: 0 1.8rem 4.2rem #050309ba, 0 0 4rem #9483bf23; overflow: hidden; min-width: 0;
}
.app-chrome {
  height: 1.95rem; background: #292630; color: #e0d9eb; font-size: .78rem;
  display: grid; place-items: center; position: relative;
}
.traffic { display: flex; gap: .28rem; position: absolute; left: .84rem; }
.traffic i { width: .57rem; height: .57rem; border-radius: 50%; background: #e56862; }
.traffic i:nth-child(2) { background: #e7bd5d; }
.traffic i:nth-child(3) { background: #76b878; }
.app-media { position: relative; aspect-ratio: 106 / 67; background: #151615; overflow: hidden; }
.app-media > img, .app-media > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.app-preview figcaption { padding: .62rem .72rem .58rem; border-top: 1px solid var(--line); background: #1d1926; }
.tablist { display: flex; gap: .25rem; }
.tablist button {
  flex: 1 1 0; min-width: 0; background: transparent; border: 0; border-radius: .48rem; color: #c2b8d3;
  cursor: pointer; padding: .6rem .2rem; font-size: .91rem; font-weight: 570;
}
.tablist button[aria-selected="true"] { color: #faf5ff; background: #d9c9fa21; }
.tablist button:hover { color: white; }


.install h2 { font-family: "Avenir Next", var(--sans); font-size: clamp(2.65rem, 5.25vw, 5.15rem); font-weight: 560; line-height: .98; letter-spacing: -.075em; }

.install {
  background: radial-gradient(ellipse at 50% 12%, #342748 0%, #1b1728 36%, #101017 75%);
  padding-block: var(--section-space);
}
.install-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.install-cta img { margin-bottom: clamp(1.5rem, 2vw, 2rem); }
.install-cta p:not(.platform) { color: var(--muted); margin-top: .83rem; line-height: 1.45; }
.install-cta .primary { margin-top: 2rem; }
.install-details { display: grid; grid-template-columns: 1.06fr .94fr; gap: var(--group-space) clamp(3rem, 8vw, 9rem); margin-top: clamp(3.8rem, 7.5vw, 8rem); }
.install ol { margin: 0; padding: 0; list-style: none; counter-reset: install; }
.install li, .faq details { border-top: 1px solid var(--line); padding-block: clamp(1.2rem, 1.8vw, 1.8rem); }
.install li { display: flex; gap: 1rem; counter-increment: install; }
.install li::before { content: counter(install, decimal-leading-zero); color: var(--lavender); font: 400 .83rem/1.6 ui-monospace, monospace; }
.install li p, .faq p { color: var(--muted); line-height: 1.55; margin-top: .38rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.footer { border-top: 1px solid var(--line); overflow: hidden; }
.footer-signature {
  position: relative; width: min(100%, 75rem); margin: clamp(3.75rem, 7.2vw, 7.5rem) auto clamp(2rem, 4.2vw, 4.5rem);
  font-family: "Avenir Next", var(--sans); font-size: 218px; font-weight: 620; letter-spacing: -18px;
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.footer-signature svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer-signature canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-signature:has(canvas) svg { visibility: hidden; }
.footer-links { min-height: clamp(5.25rem, 7vw, 6.75rem); display: flex; justify-content: space-between; align-items: center; gap: .75rem; border-top: 1px solid var(--line); }
.footer-links > div { display: flex; gap: .42rem 1.1rem; flex-wrap: wrap; justify-content: end; }
.footer-links > div a, .motion-switch { color: var(--muted); font-size: .86rem; }
.motion-switch { cursor: pointer; border: 0; padding: 0; background: transparent; text-decoration: underline; text-underline-offset: .24em; }

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; max-width: 43rem; gap: var(--group-space); min-height: auto; padding-bottom: clamp(4.75rem, 9vw, 7rem); }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(3.15rem, 9.05vw, 5.35rem); }
}
@media (max-width: 680px) {
  .wordmark { font-size: 1.13rem; gap: .38rem; }
  .wordmark img { width: 1.58rem; }
  .hero-layout { padding-top: clamp(7.4rem, 20vw, 8.5rem); }
  .hero { background-image: linear-gradient(90deg, #101017b2, #10101742), linear-gradient(180deg,#1010178c,transparent 65%, #101017), url("flow.jpg"); }
  .hero h1 { font-size: clamp(2.94rem, 10.4vw, 4.6rem); }
  .actions { gap: .67rem .9rem; }
  .look, .download { font-size: .87rem; }
  .app-preview { border-radius: .72rem; }
  .app-chrome { height: 1.65rem; }
  .tablist button { font-size: .82rem; }
  .install-details { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body[data-still] *, body[data-still] *::before, body[data-still] *::after { transition: none !important; animation: none !important; }
@media (max-width: 370px) {
  .hero h1 { font-size: clamp(2.43rem, 10.5vw, 2.94rem); }
  .actions { gap: .66rem; }
  .tablist button { font-size: .75rem; }
}
