@font-face {
  font-family: Geist;
  src: url('/assets/landing/geist.cbd4e86f.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #100b14;
  --text: #f9f2ec;
  --muted: #c7bcc8;
  --accent: #ff8d78;
  --line: #4a3849;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --ease: cubic-bezier(.2,.6,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font: 400 1rem/1.55 Geist, system-ui, sans-serif;
}
img, video { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
::selection { background: var(--accent); color: #211117; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Geist, system-ui, sans-serif; line-height: .99; font-weight: 750; letter-spacing: -.062em; }
.frame { width: min(100%, 103rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 5;
  padding: .6rem 1rem;
  color: #211117;
  background: var(--accent);
  translate: 0 -150%;
}
.skip:focus { translate: 0 0; }
.page-index .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  background: linear-gradient(#100b14bc, transparent);
  border: 0;
}
.page-index .site-header .bar {
  display: flex;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  min-height: clamp(4.25rem, 8vw, 5.8rem);
}
.page-index .site-header .wrap, .page-index .site-footer .wrap {
  width: min(100%, 103rem);
  max-width: none;
  padding-inline: var(--gutter);
}
.page-index .site-header .brand { color: var(--text); }
.page-index .main-nav { flex: 1 1 auto; }
.page-index .main-nav ul { justify-content: end; gap: .25rem .85rem; }
.page-index .main-nav a { color: var(--text); text-decoration: none; }
.page-index .main-nav a:hover { text-decoration: underline; }
.page-index .main-nav li:last-child a {
  padding-inline: .95rem;
  border: 1px solid #ffe5db45;
  border-radius: 99px;
  background: #120d17a8;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.page-index .main-nav li:last-child a:hover,
.page-index .main-nav li:last-child a:focus-visible {
  border-color: var(--accent);
  background: #332029;
  text-decoration: none;
}
.page-index .lang { gap: 0; }
.page-index .lang a {
  border-radius: .45rem;
  border-color: transparent;
  color: var(--text);
  font-size: .85rem;
}
.page-index .lang a[aria-current="true"] { background: #35232e; border-color: #c48b83; }
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-art, .hero-shadow { position: absolute; z-index: -1; inset: 0; }
.hero-art {
  background: #100b14;
  transform: translateY(var(--art-y, 0)) scale(1.035);
  transform-origin: 70% center;
}
.hero-art img { height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-shadow {
  background:
    linear-gradient(90deg, #100b14 1%, #100b14e0 26%, #100b1430 58%, transparent 80%),
    linear-gradient(0deg, #100b14 0, transparent 18%, transparent 82%, #100b14a8 100%);
}
.hero-inner {
  display: grid;
  align-items: center;
  min-height: min(58rem, 100svh);
  padding-block: clamp(6rem, 13vh, 10rem) 6.3rem;
}
.hero h1 { font-size: clamp(3.65rem, 8vw, 9.25rem); line-height: 1; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p:first-of-type {
  max-width: 33ch;
  margin-block: 1.65rem 1.7rem;
  color: #f0e6ee;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: .95rem;
  border: 1px solid #ffb6a2;
  border-radius: 999px;
  padding: .4rem .43rem .4rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms var(--ease), box-shadow 220ms var(--ease), transform 180ms var(--ease);
}
.action-light {
  background: linear-gradient(162deg, #ffad98, #ff8069 76%);
  color: #281319;
  box-shadow: inset 0 1px #ffe2d3, 0 .5rem 1.7rem #b749463b;
}
.action-light:hover, .action-light:focus-visible {
  background: linear-gradient(162deg, #ffd0b8, #ff9b84 76%);
  box-shadow: inset 0 1px #fff0e4, 0 .65rem 1.9rem #ff83645c;
}
.action:active { transform: translateY(1px); }
.action span {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid #57292c24;
  border-radius: 50%;
  background: #ffdbbe66;
  font-size: 1.3rem;
  line-height: 1;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.action:hover span, .action:focus-visible span {
  transform: rotate(-10deg);
  background: #ffe4cfad;
}
.hero-note { margin-top: .7rem; color: var(--muted); font-size: .94rem; }
.hero-next {
  position: absolute;
  bottom: clamp(1.1rem, 4vh, 2.5rem);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .75rem;
  padding: .25rem .85rem .25rem .3rem;
  border: 1px solid #ffe5db2b;
  border-radius: 99px;
  background: #120d17c9;
  font-size: .92rem;
  text-decoration: none;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.hero-next:hover, .hero-next:focus-visible {
  border-color: var(--accent);
  background: #332029;
}
.hero-next span {
  display: grid;
  place-items: center;
  height: 2.1rem;
  width: 2.1rem;
  border-radius: 50%;
  background: #442931;
  color: var(--accent);
}
.story { padding-block: clamp(3.5rem, 10vw, 10rem) clamp(3rem, 7vw, 6.5rem); }
.story-intro {
  display: grid;
  grid-template-columns: 1.45fr minmax(14rem, .55fr);
  align-items: end;
  gap: 1.5rem;
  padding-block-end: clamp(1.6rem, 4vw, 3.5rem);
}
h2 { font-size: clamp(3rem, 7vw, 7rem); }
.story-intro p, .beats p, .download p { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.25rem); text-wrap: pretty; }
.story-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(20rem, 1.15fr) 1fr;
  gap: clamp(2rem, 9vw, 10rem);
}
.story-screen {
  position: sticky;
  top: 5vh;
  align-self: start;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: min(83svh, 48rem);
}
.screen-light {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 49% 47% at 50% 47%,
    #613244b8 0%, #42253e78 47%, #24162535 68%, transparent 100%);
}
.screen-tray { display: grid; gap: .85rem; justify-items: center; }
.device {
  position: relative;
  width: min(21rem, 27svh);
  aspect-ratio: 352 / 732;
  border: 1px solid #786381;
  border-radius: clamp(1.18rem, 2.7vw, 2.6rem);
  background: #16111f;
  box-shadow: 0 1.35rem 2.8rem -.7rem #0009;
}
.device-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.device-media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 0;
  transform: translateY(.55rem);
  transition: opacity 400ms var(--ease), transform 550ms var(--ease);
}
.story-screen[data-scene="measure"] .measure,
.story-screen[data-scene="result"] .result,
.story-screen[data-scene="history"] .history,
.story-screen.is-playing .screen-video { opacity: 1; transform: none; }
.screen-video { z-index: 1; pointer-events: none; }
.watch {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  gap: .65rem;
  text-align: center;
  color: var(--text);
  background: linear-gradient(145deg, #3f2835, #20151e 72%);
  border: 1px solid #8d5c65;
  border-radius: 999px;
  padding: .18rem .85rem .18rem .23rem;
  font: 600 .86rem/1 Geist, sans-serif;
  cursor: pointer;
  transition: border-color 190ms var(--ease), box-shadow 190ms var(--ease);
}
.watch[hidden] { display: none; }
.watch:hover, .watch:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 1.15rem #f1775f35;
}
.watch-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #ff9b85;
  color: #2a151b;
}
.watch-icon::before {
  content: '';
  margin-left: 2px;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.watch[aria-pressed="true"] .watch-icon::before {
  width: 8px;
  height: 8px;
  margin: 0;
  border: 0;
  background: currentColor;
}
.beats article {
  display: grid;
  align-content: center;
  min-height: 65svh;
  border-bottom: 1px solid var(--line);
  padding-block: 2rem;
}
h3 { font-size: clamp(2.4rem, 5.7vw, 5.65rem); }
h3 span { color: var(--accent); }
.beats p { margin-block-start: 1.2rem; max-width: 33ch; }
.download { background: #241521; border-block: 1px solid var(--line); }
.download-inner {
  padding-block: clamp(3.4rem, 10vw, 8rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.8rem 4rem;
  align-items: end;
}
.download h2 { font-size: clamp(3rem, 6.7vw, 6.5rem); }
.download p { margin-top: 1.3rem; max-width: 34ch; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: .95rem 1.1rem; }
.store-badge { display: inline-flex; align-items: center; border-radius: 9px; }
.store-badge img { width: auto; height: var(--badge-height, 48px); }
.google-play { --badge-height: 65px; }
.download p.regional { font-size: .92rem; }
.answers { padding-block: clamp(3rem, 8vw, 7rem); }
.answers h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 1.6rem; }
.answer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.4rem 2.25rem;
}
.answer-list article { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.answer-list h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.025em; }
.answer-list p, .publisher { color: var(--muted); margin-top: .75rem; }
.landing-guides { margin-top: clamp(2.5rem, 5vw, 4rem); }
.landing-guides ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  list-style: none;
  padding: 0;
  gap: .2rem 1.75rem;
}
.landing-guides a, .publisher a { color: var(--accent); }
.landing-guides a { display: inline-flex; align-items: center; min-height: 44px; }
.page-index .site-footer { margin-top: 0; background: var(--background); border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .story-intro, .download-inner { grid-template-columns: minmax(0, 1fr); }
  .story-intro p { max-width: 32ch; }
  .story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-screen {
    grid-area: 1 / 1;
    top: 0;
    z-index: 1;
    min-height: min(48svh, 28rem);
    padding-bottom: .85rem;
    background: linear-gradient(var(--background) 0 calc(100% - 12px), transparent);
  }
  .device { width: min(11rem, 16.2svh); }
  .screen-tray { gap: .15rem; }
  .beats {
    grid-area: 1 / 1;
    padding-top: min(48svh, 28rem);
  }
  .beats article { align-content: start; min-height: 46svh; padding-block: 1.35rem; }

}
@media (max-width: 680px) {
  .page-index .site-header .bar { min-height: 4rem; gap: 0 .5rem; }
  .page-index .site-header .main-nav { display: none; }
  .page-index .lang a { min-width: clamp(2.75rem, 11vw, 3.15rem); }
  .hero-inner {
    min-height: max(42rem, 100svh);
    align-items: start;
    padding-block: clamp(5.7rem, 12vh, 7rem) 6.1rem;
  }
  .hero h1 { font-size: clamp(2.55rem, 10.5vw, 5.65rem); }
  .hero-art { inset: 19% 0 0; transform-origin: 50% 60%; }
  .hero-art img { object-position: 50% 70%; }
  .hero-shadow {
    background: linear-gradient(180deg, #100b14 5%, #100b14ec 21%, #100b1499 41%, transparent 65%, #100b14 100%);
  }
  .hero-copy > p:first-of-type { margin-block: 1rem 1.15rem; max-width: 27ch; font-size: 1.05rem; }
  .hero-note { color: #e0d6e0; }
  .hero-next { bottom: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device-media > *, .action, .action span, .hero-next, .watch, .page-index .main-nav li:last-child a { transition: none; }
  .action:hover span, .action:focus-visible span, .action:active { transform: none; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero-inner { min-height: 100svh; padding-block: 4rem 3.25rem; align-items: center; }
  .hero h1 { font-size: clamp(2.1rem, min(7vw, 13svh), 4.35rem); }
  .hero-copy > p:first-of-type { margin-block: .65rem; max-width: 35ch; font-size: 1rem; line-height: 1.35; }
  .hero-note { margin-top: .35rem; font-size: .8rem; }
  .hero .action { min-height: 46px; padding-block: .3rem; }
  .hero .action span { width: 2rem; height: 2rem; }
  .hero-art { inset: 0; }
  .hero-shadow {
    background: linear-gradient(90deg, #100b14 0%, #100b14d9 30%, #100b1430 72%, transparent);
  }
  .hero-next { bottom: .35rem; }
  .story-screen { top: .5rem; padding-block: .5rem; }
  .device { width: min(17rem, 28svh); }
  .beats article { min-height: 75svh; }
}
