:root {
  --ink: #111018;
  --muted: #73727a;
  --line: #e9e7e2;
  --paper: #ffffff;
  --warm: #faf7f0;
  --accent: #ff6b2c;
  --shadow: 0 28px 90px rgba(17, 16, 24, 0.12);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto;
  width: calc(100% - 2rem);
  max-width: 1260px;
  min-height: 4.6rem;
  align-items: center;
  gap: 1rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(17, 16, 24, 0.12);
}

.nav-links {
  display: none;
  justify-content: center;
  gap: 2rem;
  font-weight: 800;
}

.nav-links a,
.store-pill {
  text-decoration: none;
}

.store-pill {
  position: relative;
  display: inline-flex;
  min-height: 3.65rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.45rem;
  background: var(--ink);
  color: white;
  padding: 0.8rem 1.25rem;
  box-shadow: 0 16px 40px rgba(17, 16, 24, 0.16);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
}

.store-pill.is-loading {
  pointer-events: none;
  opacity: 0.88;
}

.store-pill.is-loading::after {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.65rem;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: white;
  border-radius: 999px;
  content: "";
  animation: spin 760ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.nav-pill {
  min-height: 2.95rem;
  border-radius: 0.45rem;
  padding-inline: 1.1rem;
}

.ghost-pill {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  box-shadow: none;
}

.hero {
  display: grid;
  width: calc(100% - 2rem);
  max-width: 1260px;
  min-height: calc(100svh - 4.6rem);
  align-items: center;
  gap: 2.5rem;
  margin-inline: auto;
  padding-block: 3rem 4rem;
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  max-width: calc(100vw - 2rem);
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(17, 16, 24, 0.04);
  font-size: 0.88rem;
  font-weight: 800;
}

.rating-pill > span:last-child {
  min-width: 0;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 2rem;
  height: 2rem;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.avatars img + img {
  margin-left: -0.7rem;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3.4rem, 15vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 9vw, 4.1rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero-subhead {
  max-width: 34rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 600;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.phone-stage {
  position: relative;
  min-height: 34rem;
}

.asset-stage {
  display: grid;
  min-height: auto;
  place-items: center;
}

.iphone-comparison {
  width: min(112%, 56rem);
  max-width: none;
  filter: drop-shadow(0 28px 70px rgba(17, 16, 24, 0.14));
}

.phone {
  position: absolute;
  width: min(47vw, 18rem);
  border: 0.55rem solid #202126;
  border-radius: 2.7rem;
  background: #202126;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0.62rem;
  left: 50%;
  width: 5.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  border-radius: 2.1rem;
  background: #f7f5ef;
}

.phone-screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-status,
.screen-title {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.1rem 0;
  font-size: 0.8rem;
  font-weight: 800;
}

.screen-title {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.phone-before {
  left: 3%;
  top: 8rem;
  z-index: 1;
  transform: rotate(-4deg);
}

.phone-after {
  right: 0;
  top: 2rem;
  z-index: 2;
  transform: rotate(3deg);
}

.camera-frame {
  position: absolute;
  z-index: 2;
  inset: 10rem 2.2rem 10rem;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 1rem;
}

.camera-toolbar {
  position: absolute;
  z-index: 3;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.65rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.shutter {
  width: 3.1rem;
  height: 3.1rem;
  border: 0.22rem solid #222;
  border-radius: 50%;
  background: white;
}

.loop-arrow {
  position: absolute;
  z-index: 3;
  left: 38%;
  top: 17.5rem;
  width: 11rem;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.floating-tag {
  position: absolute;
  z-index: 3;
  border-radius: 0.85rem;
  background: white;
  padding: 0.7rem 0.95rem;
  box-shadow: 0 10px 28px rgba(17, 16, 24, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.tag-one {
  left: -2.4rem;
  top: 7.5rem;
}

.tag-two {
  right: -1.4rem;
  top: 12rem;
}

.post-card {
  position: absolute;
  z-index: 3;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 1rem;
  box-shadow: 0 16px 44px rgba(17, 16, 24, 0.12);
}

.post-card small,
.post-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.post-card strong {
  display: block;
  margin: 0.25rem 0 0.55rem;
  font-size: 1rem;
  line-height: 1.2;
}

.section-shell {
  width: calc(100% - 2rem);
  max-width: 1120px;
  margin-inline: auto;
  padding-block: 4rem;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading p,
.section-kicker {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.example-grid,
.steps-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.example-card,
.steps-grid article,
.faq-grid article,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: white;
  box-shadow: 0 18px 60px rgba(17, 16, 24, 0.06);
}

.example-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
}

.example-card figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.45rem;
}

.example-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.example-card figcaption {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.42rem 0.62rem;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(17, 16, 24, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.steps-grid article,
.faq-grid article {
  padding: 1.25rem;
}

.steps-grid span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.steps-grid p,
.faq-grid p,
.pricing-card p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.pricing-card {
  display: grid;
  gap: 1.4rem;
  padding: 1.25rem;
}

.pricing-card h2 {
  margin-bottom: 0.8rem;
}

.mini-form {
  display: grid;
  gap: 0.8rem;
}

.mini-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem;
  outline: none;
}

.mini-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.14);
}

.sticky-download {
  position: fixed;
  z-index: 15;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.94) 30%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.sticky-download.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.sticky-download .store-pill {
  width: min(100%, 26rem);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(25rem, 0.9fr) minmax(34rem, 1.1fr);
  }

  h1 {
    font-size: clamp(4.2rem, 5.3vw, 5.9rem);
  }

  .hero-subhead {
    font-size: 1.25rem;
  }

  .example-grid,
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-card {
    grid-template-columns: 1fr minmax(20rem, 0.8fr);
    align-items: center;
    padding: 1.7rem;
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .nav-pill {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 3.2rem;
  }

  .rating-pill {
    width: 100%;
    align-items: flex-start;
    border-radius: 1.2rem;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  h1 {
    max-width: 7.4ch;
    font-size: clamp(2.65rem, 11vw, 3rem);
    line-height: 1.04;
  }

  .hero-subhead {
    max-width: 28ch;
    font-size: 1rem;
  }

  .phone-stage {
    min-height: auto;
    margin-inline: -1rem;
  }

  .iphone-comparison {
    width: min(100vw - 0.5rem, 38rem);
  }

  .phone {
    width: 14.2rem;
  }

  .phone-screen {
    min-height: 28rem;
  }

  .phone-before {
    left: 0.6rem;
    top: 4rem;
  }

  .phone-after {
    right: 0.4rem;
    top: 0.5rem;
  }

  .loop-arrow {
    left: 32%;
    top: 14rem;
    width: 7.5rem;
    stroke-width: 5;
  }

  .floating-tag {
    font-size: 0.68rem;
    padding: 0.55rem 0.7rem;
  }

  .tag-one {
    left: -0.4rem;
    top: 6.5rem;
  }

  .tag-two {
    right: -0.25rem;
    top: 10rem;
  }
}
