:root {
  color-scheme: dark;
  --ink: #0b0a0c;
  --cream: #f3eee4;
  --muted: rgba(243, 238, 228, 0.68);
  --violet: #7a2bd1;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(62px + var(--safe-top));
  padding: calc(14px + var(--safe-top)) 18px 10px;
  pointer-events: none;
}

.wordmark,
.header-cta {
  pointer-events: auto;
}

.wordmark {
  color: #fff;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(10, 9, 11, 0.58);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.desktop-intro {
  display: none;
}

.story,
.story-frame {
  width: 100%;
  margin: 0;
}

.story-frame {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #111;
}

.story-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.story-frame-final::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(5, 4, 7, 0.76));
  pointer-events: none;
}

.final-cta {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: calc(24px + var(--safe-bottom));
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #f7f3ea;
  color: #111;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
}

.primary-cta span:last-child {
  font-size: 21px;
  font-weight: 400;
}

.mobile-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 15px;
  font-size: 11px;
}

.mobile-policies a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.install-overlay[hidden],
.install-view[hidden] {
  display: none;
}

.install-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.install-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: default;
  animation: scrim-in 220ms ease-out both;
}

.install-sheet {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100svh - 18px);
  overflow: auto;
  padding: 15px 24px calc(28px + var(--safe-bottom));
  border-radius: 28px 28px 0 0;
  outline: none;
  background: #f5f1e9;
  box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.34);
  color: #151319;
  animation: sheet-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sheet-grabber {
  width: 38px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: rgba(21, 19, 25, 0.16);
}

.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 19, 25, 0.07);
  color: #151319;
  font-size: 25px;
  font-weight: 300;
  cursor: pointer;
}

.sheet-kicker {
  margin: 0 48px 7px 0;
  color: #6d2ca3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-sheet h2 {
  max-width: 410px;
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(32px, 9vw, 45px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.sheet-copy {
  margin: 18px 0 24px;
  color: rgba(21, 19, 25, 0.68);
  font-size: 16px;
  line-height: 1.48;
}

.install-demo {
  width: min(66vw, 250px);
  aspect-ratio: 1;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid rgba(21, 19, 25, 0.08);
  border-radius: 22px;
  background: #e5e0d7;
  box-shadow: 0 14px 34px rgba(21, 19, 25, 0.12);
}

.install-demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-install-view="ios"] .install-steps {
  margin-top: 18px;
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(21, 19, 25, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.35;
}

.step-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #151319;
  color: #fff;
  font-family: "Iowan Old Style", serif;
  font-size: 18px;
  font-weight: 650;
}

.share-icon {
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.share-icon img {
  display: block;
  width: 42px;
  height: 42px;
}

.add-home-glyph {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border: 2px solid #fff;
  border-radius: 5px;
}

.add-home-glyph::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "+";
  color: #fff;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transform: translate(-50%, -53%);
}

.app-icon-step {
  overflow: hidden;
  background: transparent;
  box-shadow: 0 3px 10px rgba(21, 19, 25, 0.16);
}

.app-icon-step img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.sheet-primary,
.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #151319;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.sheet-primary[hidden] {
  display: none;
}

.sheet-footnote {
  margin: 18px 4px 0;
  color: rgba(21, 19, 25, 0.56);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.browser-address {
  margin-top: 24px;
  padding: 17px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(21, 19, 25, 0.08);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.browser-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  color: #151319;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.browser-copy:active {
  transform: scale(0.985);
}

.browser-copy:focus-visible {
  outline: 3px solid rgba(91, 45, 132, 0.3);
  outline-offset: 3px;
}

.browser-copy-action {
  margin-left: 16px;
  color: #603584;
  font-size: 14px;
  font-weight: 700;
}

.qr-code {
  display: block;
  width: min(72vw, 260px);
  height: auto;
  margin: 24px auto 0;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
}

.noscript-note {
  position: fixed;
  z-index: 200;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-size: 13px;
  text-align: center;
}

body.sheet-open {
  overflow: hidden;
}

@keyframes scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 820px) {
  .site-header {
    display: none;
  }

  .landing-shell {
    display: grid;
    grid-template-columns: minmax(360px, 0.88fr) minmax(460px, 0.72fr);
    align-items: start;
    width: min(100%, 1440px);
    margin: 0 auto;
  }

  .desktop-intro {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    min-height: 680px;
    padding: clamp(38px, 5vw, 76px);
    background:
      radial-gradient(circle at 95% 22%, rgba(98, 43, 128, 0.2), transparent 32%),
      radial-gradient(circle at 5% 78%, rgba(153, 90, 34, 0.16), transparent 32%),
      #0b0a0c;
  }

  .desktop-intro-inner {
    margin: auto 0;
  }

  .desktop-intro h1 {
    max-width: 650px;
    margin: 0;
    font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
    font-size: clamp(58px, 6.5vw, 104px);
    font-weight: 400;
    line-height: 0.91;
    letter-spacing: -0.055em;
  }

  .intro-copy {
    max-width: 480px;
    margin: 32px 0 30px;
    color: var(--muted);
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.52;
  }

  .desktop-intro .primary-cta {
    width: min(100%, 320px);
  }

  .mobile-note {
    margin: 13px 20px 0;
    color: rgba(243, 238, 228, 0.42);
    font-size: 11px;
  }

  .desktop-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 11px;
  }

  .desktop-policies a {
    color: rgba(243, 238, 228, 0.48);
    text-decoration: none;
  }

  .story {
    width: min(100%, 620px);
    justify-self: end;
    box-shadow: -36px 0 90px rgba(0, 0, 0, 0.22);
  }

  .story-frame {
    height: auto;
    min-height: 0;
  }

  .story-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .final-cta {
    display: none;
  }

  .install-overlay {
    align-items: center;
    padding: 28px;
  }

  .install-sheet {
    width: min(100%, 480px);
    max-height: calc(100vh - 56px);
    border-radius: 30px;
    padding-bottom: 28px;
  }
}

@media (min-width: 1280px) {
  .landing-shell {
    grid-template-columns: minmax(600px, 1fr) 620px;
  }
}

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

  .install-scrim,
  .install-sheet {
    animation: none;
  }
}
