:root {
  --app-bg: oklch(0.97 0.065 132);
  --app-bg-alt: oklch(0.86 0.19 132);
  --app-ink: oklch(0.22 0.034 240);
  --app-muted: oklch(0.48 0.032 238);
  --app-line: oklch(0.86 0.022 230);
  --app-panel: oklch(0.995 0.004 230);
  --app-accent-strong: oklch(0.48 0.12 224);
  --font-sans: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--app-ink);
  background: linear-gradient(180deg, var(--app-bg-alt) 0%, var(--app-bg) 78%, white 100%);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
a {
  cursor: pointer;
}

.home-shell {
  display: grid;
  height: 100svh;
  min-height: 760px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 18px 20px 0;
  background:
    radial-gradient(circle at 50% -12%, oklch(0.9 0.25 128) 0 18%, transparent 44%),
    linear-gradient(180deg, oklch(0.88 0.22 126) 0%, oklch(0.91 0.13 126) 42%, oklch(0.99 0.012 126) 100%),
    white;
}

.home-nav {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(1210px, 100%);
  min-height: 72px;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 0 auto;
  border: 1px solid color-mix(in oklab, white 74%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, white 91%, transparent);
  padding: 10px 28px 10px 34px;
  box-shadow: 0 24px 70px color-mix(in oklab, oklch(0.18 0.04 238) 9%, transparent);
}

.home-logo {
  color: oklch(0.12 0.025 238);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.home-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.store-button {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  justify-items: start;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.store-button[aria-disabled="true"] {
  cursor: default;
}

.store-button img {
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 1;
}

.store-button span,
.store-button b {
  min-width: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.store-button span {
  font-size: 0.95rem;
}

.store-button b {
  color: color-mix(in oklab, currentColor 68%, transparent);
  font-size: 0.72rem;
  font-weight: 760;
}

.store-button-apple {
  background: #000;
  color: white;
}

.store-button-apple img {
  filter: invert(1);
}

.store-button-android {
  background: #3ddc84;
  color: #073b21;
}

.nav-download-button {
  min-width: 168px;
  min-height: 48px;
  padding: 8px 18px;
}

.home-hero {
  display: grid;
  position: relative;
  width: min(1280px, 100%);
  min-height: 0;
  grid-template-columns: minmax(0, 0.98fr) minmax(500px, 1.02fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  margin: 0 auto;
  padding: 22px 0 26px;
}

.home-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.home-copy h1 {
  margin: 0;
  color: oklch(0.12 0.028 238);
  font-size: clamp(3.9rem, 7.15vw, 6.9rem);
  font-weight: 940;
  line-height: 0.98;
  letter-spacing: 0;
}

.home-copy h1 span {
  display: block;
  color: oklch(0.58 0.22 132);
}

.home-copy h2 {
  margin: 24px 0 0;
  color: oklch(0.2 0.04 238);
  font-size: clamp(1.55rem, 3.3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-lead {
  max-width: 610px;
  margin: 22px 0 30px;
  color: oklch(0.43 0.024 238);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.7;
}

.home-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.download-button {
  min-width: 206px;
  min-height: 64px;
  border: 1px solid color-mix(in oklab, white 36%, oklch(0.55 0.02 238));
  padding: 10px 23px;
  box-shadow: 0 18px 42px color-mix(in oklab, oklch(0.16 0.02 238) 18%, transparent);
}

.download-button img {
  width: 27px;
  height: 27px;
}

.phone-showcase {
  position: relative;
  display: grid;
  overflow: visible;
  min-height: min(61vh, 590px);
  height: 100%;
  align-items: center;
  justify-items: end;
  padding-right: 32px;
}

.home-app-screenshot {
  display: block;
  width: min(430px, 72vw);
  max-height: min(70vh, 640px);
  object-fit: contain;
  filter: drop-shadow(0 34px 70px color-mix(in oklab, oklch(0.14 0.02 238) 20%, transparent));
}

.site-footer {
  display: flex;
  position: relative;
  z-index: 2;
  width: min(1210px, 100%);
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-top: 1px solid color-mix(in oklab, oklch(0.55 0.03 145) 20%, transparent);
  padding: 16px 0 20px;
  color: oklch(0.46 0.026 238);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.site-footer a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.document-shell {
  min-height: 100vh;
  padding: 42px 20px 56px;
}

.document-page {
  width: min(860px, 100%);
  margin: 0 auto;
}

.document-header {
  border-bottom: 1px solid var(--app-line);
  padding-bottom: 24px;
}

.document-brand {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--app-ink);
  font-size: 1rem;
  font-weight: 780;
  text-decoration: none;
}

.document-title {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 4.8rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: 0;
}

.document-meta {
  margin: 14px 0 0;
  color: var(--app-muted);
  font-size: 0.92rem;
}

.document-content {
  display: grid;
  gap: 24px;
  padding-top: 30px;
}

.document-content section {
  border-bottom: 1px solid color-mix(in oklab, var(--app-line) 72%, transparent);
  padding-bottom: 22px;
}

.document-content h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.document-content p {
  margin: 0;
  color: var(--app-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.document-content p + p {
  margin-top: 8px;
}

.document-content a {
  color: var(--app-accent-strong);
  font-weight: 700;
}

.page-kicker {
  margin: 0 0 6px;
  color: var(--app-muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .home-shell {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 14px 14px 0;
  }

  .home-nav {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    border-radius: 32px;
    padding: 9px 12px 9px 20px;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 70px;
    padding-bottom: 42px;
  }

  .phone-showcase {
    min-height: 590px;
    justify-items: center;
    padding-right: 0;
  }

  .home-app-screenshot {
    width: min(420px, 82vw);
  }
}

@media (max-width: 620px) {
  .home-shell {
    padding: 10px 10px 0;
  }

  .home-nav {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 58px;
    border-radius: 28px;
    padding: 8px 10px 8px 16px;
  }

  .home-logo {
    font-size: 1.08rem;
  }

  .nav-download-button {
    min-width: 120px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .home-hero {
    width: 100%;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .home-copy h1 {
    font-size: 3.35rem;
  }

  .home-copy h2 {
    margin-top: 18px;
    font-size: 1.55rem;
  }

  .home-lead {
    margin: 18px 0 24px;
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .home-downloads {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-button {
    min-width: 0;
    width: 100%;
  }

  .home-nav-actions {
    gap: 7px;
  }

  .home-nav-actions .nav-download-button {
    min-width: 106px;
    min-height: 38px;
    grid-template-columns: auto 1fr;
    column-gap: 5px;
    padding: 6px 8px;
  }

  .home-nav-actions .store-button img {
    width: 17px;
    height: 17px;
  }

  .home-nav-actions .store-button span {
    font-size: 0.68rem;
  }

  .home-nav-actions .store-button b {
    display: none;
  }

  .phone-showcase {
    min-height: 400px;
  }

  .home-app-screenshot {
    width: min(320px, 88vw);
  }

  .site-footer {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 24px;
  }
}
