:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef7f6;
  --ink: #111827;
  --muted: #536170;
  --line: #dde5ec;
  --teal: #21b8ad;
  --teal-dark: #087d80;
  --violet: #8f5de8;
  --gold: #f3ad3d;
  --shadow: 0 24px 72px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(18px, calc((100vw - 1120px) / 2));
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(221, 229, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.brand span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.brand strong {
  font-size: 1.12rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
}

.install-button {
  min-width: 132px;
  padding: 0 20px;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100svh - 73px);
  padding: 34px 0 42px;
}

.hero-copy {
  min-width: 0;
  padding: 8px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: 5.4rem;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
}

.lede {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.55;
}

.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.hero-cta-link {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge {
  width: auto;
  height: 52px;
}

.free-label {
  display: block;
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.ad-visual::before {
  content: "";
  position: absolute;
  inset: 5% -4% 8% 14%;
  background:
    linear-gradient(135deg, rgba(33, 184, 173, 0.2), rgba(143, 93, 232, 0.16)),
    var(--surface-soft);
  border: 1px solid rgba(8, 125, 128, 0.16);
  border-radius: 28px;
  transform: rotate(2deg);
}

.ad-visual img {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100svh - 120px);
  border-radius: 28px;
  object-fit: contain;
  object-position: center;
  box-shadow: var(--shadow);
}

.value-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 0 28px;
}

.value-band article,
.support,
.screens {
  border: 1px solid var(--line);
  background: var(--surface);
}

.value-band article {
  min-height: 146px;
  padding: 22px;
  border-radius: 22px;
}

.value-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.value-band p,
.support-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.screens,
.support {
  margin: 0 0 28px;
  padding: 28px;
  border-radius: 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2,
.support h2 {
  margin: 0;
  font-size: 2.25rem;
  letter-spacing: 0;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f9fbfd;
}

.shot img {
  width: 100%;
  height: min(62vw, 660px);
  object-fit: cover;
  object-position: top center;
}

.shot figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-weight: 800;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.support-copy {
  display: grid;
  gap: 18px;
}

.support-copy a,
footer a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

footer {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding-top: 24px;
  }

  h1 {
    max-width: 10ch;
    font-size: 4.2rem;
  }

  .ad-visual {
    justify-content: start;
  }

  .ad-visual img {
    width: min(100%, 410px);
    max-height: none;
  }

  .value-band,
  .support {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 10px 12px;
    justify-content: center;
  }

  .brand {
    justify-content: center;
    max-width: 190px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    max-width: 13ch;
    font-size: 0.74rem;
  }

  .install-button {
    display: none;
    min-width: 98px;
    min-height: 44px;
    padding: 0 13px;
    font-size: 0.92rem;
  }

  main,
  footer {
    width: 368px;
    max-width: calc(100% - 22px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    padding: 18px 0 24px;
    justify-items: center;
  }

  .hero-copy,
  .lede,
  .cta-stack {
    width: 100%;
    max-width: 348px;
  }

  .hero-copy,
  .cta-stack {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy,
  .value-band article,
  .screens,
  .support,
  .shot figcaption,
  footer {
    text-align: center;
  }

  h1 {
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-size: 3.55rem;
  }

  .lede {
    max-width: 18.5rem;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.04rem;
  }

  .section-heading h2,
  .support h2 {
    font-size: 1.8rem;
  }

  .app-store-button {
    flex: 0 0 auto;
  }

  .app-store-badge {
    height: 48px;
  }

  .hero-cta-link,
  .cta-stack {
    justify-content: center;
    width: fit-content;
  }

  .free-label {
    max-width: 7rem;
    font-size: 0.76rem;
    text-align: center;
  }

  .ad-visual {
    justify-content: center;
  }

  .ad-visual img {
    width: 100%;
    max-height: none;
    border-radius: 24px;
  }

  .value-band {
    gap: 10px;
    padding-bottom: 22px;
  }

  .value-band article,
  .screens,
  .support {
    border-radius: 20px;
  }

  .value-band article {
    min-height: auto;
    padding: 18px;
  }

  .screens,
  .support {
    padding: 20px;
  }

  .section-heading,
  .shot-grid,
  footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-heading,
  .support-copy,
  footer {
    justify-items: center;
  }

  .shot img {
    height: 72vh;
  }
}
