:root {
  --bg: #eef6fb;
  --bg-soft: rgba(255, 255, 255, 0.72);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --line: rgba(12, 44, 58, 0.14);
  --line-strong: rgba(12, 44, 58, 0.22);
  --text: #0b2b37;
  --muted: #56707c;
  --accent: #0f7698;
  --accent-deep: #0a526d;
  --accent-soft: #c7ebff;
  --warm: #fff1ea;
  --warm-line: rgba(174, 82, 42, 0.16);
  --shadow: 0 28px 60px rgba(49, 87, 106, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Avenir Next", "Nunito Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(167, 231, 255, 0.7), transparent 26rem),
    radial-gradient(circle at 85% 18%, rgba(198, 255, 233, 0.75), transparent 28rem),
    linear-gradient(180deg, #f6fbfe 0%, #eef6fb 36%, #f9fcfe 100%);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 86, 112, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 86, 112, 0.05) 1px, transparent 1px);
  background-size: 4.75rem 4.75rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.site-header,
.site-footer,
.hero,
.intro,
.trust,
.final-cta {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(247, 251, 253, 0.78);
  box-shadow: 0 18px 45px rgba(27, 66, 84, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(202, 237, 255, 0.88));
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-copy {
  display: grid;
}

.brand-name,
.footer-brand {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag,
.footer-meta,
.section-label,
.hero-points,
.footer-links,
.store-badge small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
}

.site-nav a:not(.button) {
  padding: 0.35rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.3rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.store-badge:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(15, 118, 152, 0.24);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 18px 35px rgba(15, 118, 152, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.button-disabled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  cursor: not-allowed;
}

.header-button {
  min-height: 2.8rem;
  padding-inline: 1.05rem;
}

.hero,
.section-card,
.final-cta {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 2rem;
  padding: clamp(1.6rem, 2vw, 2.2rem);
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -9rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 236, 255, 0.68), transparent 72%);
}

.eyebrow,
.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro h2,
.trust h2,
.final-cta h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.hero-text,
.section-heading p,
.intro p,
.feature-card p,
.preview-copy p,
.step-card p,
.trust-copy p,
.trust-item p,
.final-cta-copy p,
.site-footer {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-text {
  max-width: 36rem;
  margin: 1.2rem 0 0;
  font-size: 1.18rem;
}

.cta-group,
.store-row,
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cta-group {
  margin-top: 1.75rem;
}

.store-row {
  align-items: center;
  margin-top: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 3.45rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(41, 70, 85, 0.08);
}

.store-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0 1rem;
}

.store-badge-inner strong,
.preview-copy h3,
.feature-card h3,
.step-card h3,
.trust-item strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.store-badge-inner span {
  display: grid;
}

.store-badge-disabled {
  opacity: 0.7;
  pointer-events: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
}

.hero-points li {
  padding: 0.68rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.hero-visual {
  position: relative;
  min-height: 38rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--radius-xl) - 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)),
    linear-gradient(135deg, rgba(207, 245, 255, 0.75), rgba(236, 255, 248, 0.75));
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 16% 10% auto auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 220, 255, 0.62), transparent 72%);
}

.hero-device {
  position: absolute;
  inset: 3.4rem 4.5rem 2.8rem auto;
  width: min(100%, 25rem);
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 2.4rem;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 50px rgba(39, 72, 91, 0.18);
}

.hero-device img,
.preview-card img {
  width: 100%;
  height: auto;
  border-radius: 1.8rem;
}

.hero-card {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  max-width: 15rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 36px rgba(39, 72, 91, 0.12);
}

.hero-card strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.hero-card span {
  font-size: 0.93rem;
  color: var(--muted);
}

.hero-card-top {
  top: 2rem;
  left: 1.4rem;
}

.hero-card-bottom {
  right: 1.2rem;
  bottom: 1.45rem;
}

main > section {
  margin-top: 1.5rem;
}

.intro,
.trust,
.final-cta {
  display: grid;
  gap: 1.3rem;
  padding: 2rem;
}

.intro {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.section-heading {
  max-width: 44rem;
}

.section-heading h2,
.intro h2,
.trust h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.features,
.preview,
.how-it-helps {
  padding: 1rem 0;
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.feature-card,
.step-card,
.preview-card,
.trust-item {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(39, 72, 91, 0.08);
}

.feature-card,
.step-card {
  padding: 1.4rem;
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(209, 238, 255, 0.95), rgba(235, 248, 255, 0.88));
}

.icon-chip svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.step-card p,
.preview-copy p,
.trust-item p {
  margin: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1rem;
  margin-top: 1.3rem;
  align-items: start;
}

.preview-card {
  padding: 1rem;
}

.preview-card-tall {
  align-self: stretch;
}

.preview-copy {
  margin-bottom: 1rem;
}

.preview-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.steps {
  counter-reset: steps;
}

.step-number {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--warm);
  border: 1px solid var(--warm-line);
  color: #99431e;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.trust {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 1rem;
}

.trust-item {
  padding: 1.3rem 1.35rem;
}

.trust-item strong {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.final-cta {
  text-align: center;
  place-items: center;
}

.final-cta-copy {
  max-width: 38rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding: 1.5rem 0.25rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  font-size: 0.96rem;
}

@media (max-width: 1080px) {
  .site-header {
    border-radius: 28px;
  }

  .site-nav {
    gap: 0.75rem;
    font-size: 0.92rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .hero-device {
    inset: 4.2rem 2.4rem 2rem auto;
  }

  .intro,
  .trust,
  .feature-grid,
  .steps,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-card-tall {
    order: -1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--container));
    padding-top: 0.5rem;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-nav a:not(.button) {
    flex: 1 1 30%;
  }

  .header-button {
    width: 100%;
  }

  .hero,
  .intro,
  .trust,
  .final-cta {
    padding: 1.25rem;
    border-radius: 26px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 18vw, 4.4rem);
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .hero-visual {
    min-height: 30rem;
    padding: 0.75rem;
  }

  .hero-device {
    left: 50%;
    right: auto;
    width: min(100%, 18rem);
    transform: translateX(-50%);
  }

  .hero-card {
    max-width: 12rem;
    padding: 0.85rem;
  }

  .hero-card-top {
    top: 1rem;
    left: 0.8rem;
  }

  .hero-card-bottom {
    right: 0.8rem;
    bottom: 0.9rem;
  }

  .button,
  .button-secondary,
  .button-primary,
  .button-disabled {
    width: 100%;
  }

  .store-row {
    align-items: stretch;
  }

  .store-badge,
  .store-badge-disabled {
    width: 100%;
    justify-content: center;
  }

  .store-badge img[alt="Get it on Google Play"] {
    width: 154px;
    height: auto;
  }

  .hero-points {
    display: grid;
  }

  .feature-card,
  .step-card,
  .preview-card,
  .trust-item {
    border-radius: 22px;
  }

  .site-footer {
    padding: 1.25rem 0.2rem 0;
  }
}

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

  .button,
  .store-badge {
    transition: none;
  }
}
