/*
 * hostmate.live, drawn like rosterly.live: Geist, the same tokens in light
 * and dark, one blue accent, phones standing on the page, hairlines between
 * sections. The opening plays once from the first paint; words further down
 * rise in once (site.js); only the phones and the header follow the scroll.
 * With Reduce Motion nothing moves.
 */
@font-face {
  font-family: "Geist";
  src: url("/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --primary: oklch(0.488 0.217 264.4);
  --primary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.5 0 0);
  --border: oklch(0.922 0 0);
}
[data-theme="dark"] {
  color-scheme: dark;
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --primary: oklch(0.707 0.165 254.6);
  --primary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --border: oklch(1 0 0 / 10%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
/* Clipped sideways (on main, so it isn't handed to the viewport): the glows and the tilted
   phones never let the page be dragged sideways. */
main {
  overflow-x: clip;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
:is(a, button, summary):focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 2px;
}
.i {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sprite {
  display: none;
}
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .wrap {
    padding: 0 1.5rem;
  }
}
.muted {
  color: var(--muted-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  border: 0;
  border-radius: 9999px;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn-main {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 8px 24px -8px color-mix(in oklab, var(--primary) 60%, transparent);
}
.btn-main:hover {
  background: color-mix(in oklab, var(--primary) 90%, var(--foreground));
}
.btn-quiet {
  height: 3rem;
  margin-right: -0.75rem;
  padding: 0 0.75rem;
  font-size: 1rem;
  background: transparent;
  color: var(--primary);
}
.btn-quiet:hover {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}
.btn-quiet .i {
  font-size: 1rem;
}
@media (min-width: 640px) {
  .btn-quiet {
    margin-right: -1rem;
    padding: 0 1rem;
  }
}

/* Header: clear over the hero, solid with a hairline once the page moves under it. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: var(--background);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.site-header .wrap {
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) {
  .site-header .wrap {
    height: 3.25rem;
  }
}
.brand {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.625rem;
  font-size: 15px;
  font-weight: 600;
}
.brand img {
  width: 28px;
  height: 28px;
}
.nav {
  display: none;
  align-items: center;
  gap: 2px;
  font-size: 13px;
}
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}
.nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 9999px;
  padding: 0 0.75rem;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  transition: color 0.15s;
}
.nav a:hover {
  color: var(--foreground);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  font-size: 20px;
  cursor: pointer;
}
.theme-toggle:hover {
  color: var(--foreground);
  background: color-mix(in oklab, var(--foreground) 6%, transparent);
}
.theme-toggle .i-moon,
[data-theme="dark"] .theme-toggle .i-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .i-moon {
  display: block;
}
.btn-header {
  height: 44px;
  padding: 0 1rem;
  font-size: 13px;
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
}
.btn-header:hover {
  background: color-mix(in oklab, var(--primary) 18%, transparent);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: 4.75rem 0 5rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero h1 {
  margin-top: 1.25rem;
  max-width: 11em;
  font-size: 2.5rem;
  line-height: 1.03;
  font-weight: 600;
}
.hero-lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted-foreground);
}
.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .hero {
    padding: 8rem 0 6rem;
  }
  .hero-text {
    align-items: center;
    text-align: center;
  }
  .hero h1 {
    margin-top: 1.75rem;
    font-size: 3.75rem;
  }
  .hero-lead {
    margin-top: 1.75rem;
    font-size: 1.25rem;
    line-height: 1.5;
    text-wrap: balance;
  }
  .hero-cta {
    margin-top: 2.25rem;
    justify-content: center;
    gap: 1rem;
  }
  .hero-note {
    text-wrap: balance;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 7rem 0;
  }
  .hero h1 {
    margin-top: 1.5rem;
    font-size: 4.75rem;
  }
  .hero-lead {
    margin-top: 1.5rem;
    max-width: 46rem;
    font-size: 1.3125rem;
  }
  .hero-cta {
    margin-top: 2rem;
  }
}

/* The stay line over the headline: a small suitcase travels along the guest's stay (day 2 of 3)
   from check-in to where it is now, the line drawing in behind it. Same 1.8s, easing and 0.8s start as
   rosterly.live's route line. site.js sets --stay-at (how far through the stay it is now); the CSS default is a fallback. */
.stay-line {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 24rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.stay-ends {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.stay-end {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  white-space: nowrap;
}
.stay-end small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.stay-end-out {
  text-align: right;
}
.stay-track {
  --stay-at: 40%;
  position: relative;
  width: 100%;
  height: 2px;
  margin: 0.5rem 0;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--muted-foreground) 35%, transparent);
}
.stay-trail {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 9999px;
  width: var(--stay-at);
  background: var(--primary);
  animation: route-trail 1.8s cubic-bezier(0.37, 0, 0.63, 1) 0.8s both;
}
.stay-bag {
  position: absolute;
  top: 50%;
  left: var(--stay-at);
  font-size: 16px;
  color: var(--primary);
  fill: var(--background);
  translate: -50% -50%;
  animation: route-fly 1.8s cubic-bezier(0.37, 0, 0.63, 1) 0.8s both;
}
@keyframes route-fly {
  from {
    left: 0;
  }
  to {
    left: var(--stay-at);
  }
}
@keyframes route-trail {
  from {
    width: 0;
  }
  to {
    width: var(--stay-at);
  }
}

/* The hero's phones: the one behind to the left and a little lower. */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .hero-phones {
    margin-top: 4rem;
  }
}
@media (min-width: 1024px) {
  .hero-phones {
    margin-top: 3rem;
  }
}
.pair {
  position: relative;
  translate: 22.5% 0;
}
.pair-back {
  position: absolute;
  top: 9%;
  right: 60%;
}
.glow {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  translate: -50% -50%;
  border-radius: 9999px;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--primary) 13%, transparent), color-mix(in oklab, var(--primary) 4%, transparent) 55%, transparent);
  pointer-events: none;
}
[data-theme="dark"] .glow {
  background: radial-gradient(closest-side, color-mix(in oklab, var(--primary) 22%, transparent), color-mix(in oklab, var(--primary) 7%, transparent) 55%, transparent);
}
.floor {
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  z-index: -1;
  height: 2.5rem;
  width: min(28rem, 80%);
  translate: -50% 0;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.1), transparent);
}
[data-theme="dark"] .floor {
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.7), transparent);
}

/* A phone: a slim black bezel in a thin metal rim, with side buttons, all in proportion to its width. */
.phone {
  container-type: inline-size;
  position: relative;
  flex-shrink: 0;
  width: 272px;
}
.phone-sm {
  width: 212px;
}
.phone-lg {
  width: 250px;
}
@media (min-width: 640px) {
  .phone {
    width: 300px;
  }
  .phone-sm {
    width: 255px;
  }
}
@media (min-width: 1024px) {
  .phone,
  .phone-lg {
    width: 372px;
  }
  .phone-sm {
    width: 316px;
  }
}
.phone-key {
  position: absolute;
  left: -0.9cqw;
  width: 1.3cqw;
  border-radius: 1cqw 0 0 1cqw;
  background: linear-gradient(90deg, #52525b, #a1a1aa);
}
[data-theme="dark"] .phone-key {
  background: linear-gradient(90deg, #27272a, #52525b);
}
.phone-key.k1 {
  top: 17%;
  height: 4.2%;
}
.phone-key.k2 {
  top: 24.5%;
  height: 7.5%;
}
.phone-key.k3 {
  top: 33.5%;
  height: 7.5%;
}
.phone-key.k4 {
  top: 27%;
  left: auto;
  right: -0.9cqw;
  height: 11%;
  border-radius: 0 1cqw 1cqw 0;
}
.phone-rim {
  position: relative;
  border-radius: 15.5cqw;
  padding: 0.55cqw;
  background: linear-gradient(150deg, #e4e4e7, #8a8a93 22%, #d4d4d8 48%, #6b6b74 76%, #c4c4cc);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.1),
    0 18px 36px -14px rgb(0 0 0 / 0.3),
    0 40px 70px -32px rgb(0 0 0 / 0.22);
}
[data-theme="dark"] .phone-rim {
  background: linear-gradient(150deg, #d4d4d8, #5b5b63 22%, #a1a1aa 48%, #48484f 76%, #8a8a93);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.4),
    0 24px 48px -16px rgb(0 0 0 / 0.75),
    0 60px 110px -30px rgb(0 0 0 / 0.7);
}
.phone-bezel {
  border-radius: 15cqw;
  background: #000;
  padding: 2.6cqw;
}

/* The screen: the app, live HTML (app-screens.css), sized to the phone and following the page's mode.
   It is the size container the app's em units scale from. */
.screen {
  container-type: inline-size;
  overflow: hidden;
  border-radius: 12.4cqw;
  background: var(--background);
  padding-top: 3.4cqw;
}
/* Sections below the hero */
.section-heading {
  font-size: 2.375rem;
  line-height: 1.05;
  font-weight: 600;
}
@media (min-width: 640px) {
  .section-heading {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .section-heading {
    font-size: 3.5rem;
  }
}
.anchor {
  scroll-margin-top: 5rem;
}
.rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
/* Every other section sits on a faint tint, as on rosterly.live (flat, not a gradient). */
.band {
  background: color-mix(in oklab, var(--foreground) 2.5%, var(--background));
}
.features {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) {
  .features {
    gap: 8rem;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
.feature {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .feature.reverse .feature-text {
    order: 2;
  }
}
.feature-text {
  display: flex;
  flex-direction: column;
}
.feature-body {
  margin-top: 1.5rem;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .feature-body {
    font-size: 1.125rem;
  }
}
.points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}
.chip {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.875rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 20%, transparent);
  color: var(--primary);
  font-size: 18px;
}
.feature-phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.feature-phone .glow {
  top: 50%;
  width: 30rem;
  height: 30rem;
  opacity: 0.8;
}
@media (min-width: 1024px) {
  .feature-phone .glow {
    width: 38rem;
    height: 38rem;
  }
}
.feature-phone .floor {
  width: 16rem;
}
.split {
  display: grid;
  gap: 3.5rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 640px) {
  .split {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .sticky {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}
.split-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.split-lead {
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .split-lead {
    font-size: 1.25rem;
  }
}
.safety-points {
  display: grid;
  gap: 2.5rem 3rem;
}
@media (min-width: 640px) {
  .safety-points {
    grid-template-columns: 1fr 1fr;
    row-gap: 3.5rem;
  }
}
.safety-points li,
.steps li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.point-title {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
}
.point-body {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.point-body a,
.legal a {
  font-weight: 500;
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.how {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 640px) {
  .how {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
@media (min-width: 1024px) {
  .how {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}
.steps {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .steps {
    margin-top: 4rem;
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  gap: 0.75rem;
}
.step-n {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.faq {
  border-bottom: 1px solid var(--border);
}
.faq details {
  border-top: 1px solid var(--border);
}
.faq summary {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
@media (min-width: 640px) {
  .faq summary {
    font-size: 1.125rem;
    gap: 1rem;
  }
}
.plus {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--foreground) 6%, transparent);
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1;
  transition: rotate 0.3s;
}
details[open] .plus {
  rotate: 45deg;
}
.faq p {
  max-width: 42rem;
  padding: 0 2.5rem 1.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.last {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
.last-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
  text-align: center;
}
@media (min-width: 640px) {
  .last-body {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
@media (min-width: 1024px) {
  .last-body {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}
.last p {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  text-wrap: balance;
  color: var(--muted-foreground);
}
.last .btn-main {
  margin-top: 2.5rem;
  padding: 0 2rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .site-footer .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.site-footer .brand {
  min-height: 0;
  color: var(--foreground);
  font-size: 0.875rem;
}
.site-footer .brand img {
  width: 24px;
  height: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
.footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 9999px;
}
.footer-nav a:hover {
  color: var(--foreground);
}

/* Privacy page: the logo and X at the top, the title and date, then the sections (Rosterly's legal page). */
.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.legal-top {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0 -1rem -1.25rem;
  padding: calc(1rem + env(safe-area-inset-top)) 1rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in oklab, var(--background) 92%, transparent);
}
.legal-top .home {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}
.legal-top .home img {
  width: 40px;
  height: 40px;
}
.close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--foreground) 6%, transparent);
  font-size: 20px;
}
.legal h1 {
  font-size: 1.5rem;
  font-weight: 600;
}
.legal-date {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.legal section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
}
.legal h2 {
  font-size: 1rem;
  font-weight: 600;
}

/* Coming soon (app.hostmate.live) */
.soon {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: calc(2rem + env(safe-area-inset-top)) 1.25rem calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
}
.soon img {
  width: 72px;
  height: 72px;
}
.soon h1 {
  margin-top: 0.5rem;
  font-size: 2.375rem;
  line-height: 1.05;
  font-weight: 600;
}
.soon p {
  max-width: 22rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.soon .btn-main {
  margin-top: 0.75rem;
}
.soon-theme {
  position: fixed;
  top: calc(0.5rem + env(safe-area-inset-top));
  right: 0.75rem;
}

/*
 * The opening: words blurred in from below and the phones risen in, from the
 * first paint, one after another, then still. With Reduce Motion they fade in.
 */
@keyframes rise {
  from {
    opacity: 0;
    filter: blur(8px);
    translate: 0 16px;
  }
}
@keyframes tilt {
  from {
    opacity: 0;
    translate: 0 40px;
    scale: 0.96;
    rotate: var(--tilt);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.rise,
.words .w {
  animation: rise 1s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}
.words .w {
  display: inline-block;
}
.tilt-left,
.tilt-right {
  animation: tilt 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}
.tilt-left {
  --tilt: -3deg;
}
.tilt-right {
  --tilt: 3deg;
}
.d45 {
  animation-delay: 0.45s;
}
.d50 {
  animation-delay: 0.5s;
}
.d65 {
  animation-delay: 0.65s;
}
.d75 {
  animation-delay: 0.75s;
}
.words .w:nth-child(1) { animation-delay: 0.15s; }
.words .w:nth-child(2) { animation-delay: 0.21s; }
.words .w:nth-child(3) { animation-delay: 0.27s; }
.words .w:nth-child(4) { animation-delay: 0.33s; }
.words .w:nth-child(5) { animation-delay: 0.39s; }
.words .w:nth-child(6) { animation-delay: 0.45s; }
.words .w:nth-child(7) { animation-delay: 0.51s; }
.words .w:nth-child(8) { animation-delay: 0.57s; }
.words .w:nth-child(9) { animation-delay: 0.63s; }
.words .w:nth-child(10) { animation-delay: 0.69s; }
@media (prefers-reduced-motion: reduce) {
  .rise,
  .words .w,
  .tilt-left,
  .tilt-right {
    animation-name: fade;
    animation-duration: 0.4s;
  }
  .stay-trail,
  .stay-bag {
    animation: none;
  }
  .plus {
    transition: none;
  }
}

/* Words further down rise in once, the first time they come into view (site.js), then stay. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal-state="waiting"] {
    opacity: 0;
    translate: 0 24px;
  }
  [data-reveal-state="shown"] {
    animation: reveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}
@media print {
  [data-reveal-state] {
    opacity: 1 !important;
    translate: none !important;
    animation: none !important;
  }
}

/*
 * What follows the scroll (the landing-page exception): the page's styles
 * alone. The header's Launch app turns solid once the hero's has scrolled
 * away (a switch, so with Reduce Motion too). With Reduce Motion nothing
 * else moves: the header clears over the hero, the hero's phones part a
 * little, and a feature's phone rises and straightens into place.
 */
@supports (animation-timeline: scroll()) {
  body {
    timeline-scope: --hero-cta;
  }
  .hero-cta {
    view-timeline: --hero-cta block;
    view-timeline-inset: calc(3.5rem + env(safe-area-inset-top)) 0;
  }
  @media (min-width: 768px) {
    .hero-cta {
      view-timeline-inset: calc(3.25rem + env(safe-area-inset-top)) 0;
    }
  }
  .btn-header {
    animation: header-cta step-end both;
    animation-timeline: --hero-cta;
    animation-range: exit 0% exit 50%;
  }
  @media (prefers-reduced-motion: no-preference) {
    .site-header {
      animation: header linear both;
      animation-timeline: scroll(root);
      animation-range: 0 48px;
    }
    .sd-back,
    .sd-front {
      animation: sd-back linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }
    .sd-front {
      animation-name: sd-front;
    }
    .sd-enter {
      animation: sd-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
  }
}
@keyframes header {
  from {
    background-color: transparent;
    border-color: transparent;
  }
}
@keyframes header-cta {
  to {
    background-color: var(--primary);
    color: var(--primary-foreground);
  }
}
@keyframes sd-back {
  to {
    transform: translate(-7%, 5%) rotate(-2deg);
  }
}
@keyframes sd-front {
  to {
    transform: translateY(-5%);
  }
}
@keyframes sd-enter {
  from {
    transform: translateY(64px) scale(0.94) rotate(var(--tilt, 0deg));
  }
}
.tilt-l {
  --tilt: -3deg;
}
.tilt-r {
  --tilt: 3deg;
}
