:root {
  color-scheme: light;
  --bg: #f4f6fb;
  --bg-deep: #e8ecf8;
  --ink: #171c25;
  --muted: #464554;
  --muted-2: #767586;
  --line: rgba(70, 69, 84, 0.16);
  --primary: #4648d4;
  --primary-deep: #2f2ebe;
  --primary-soft: #e1e0ff;
  --surface: #ffffff;
  --surface-soft: #f0f3ff;
  --shadow: 0 28px 80px rgba(47, 46, 190, 0.14);
  --radius-lg: 28px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(70, 72, 212, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(33, 112, 228, 0.12), transparent 50%),
    linear-gradient(180deg, #eef1fb 0%, var(--bg) 38%, #f7f8fc 100%);
  line-height: 1.6;
}

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

a:hover {
  color: var(--primary-deep);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(70, 72, 212, 0.28);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: center;
  min-height: 78vh;
  padding: 36px 0 72px;
}

.hero-copy {
  max-width: 640px;
}

.brand-hero {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 650;
}

h1 {
  margin-bottom: 18px;
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.app-store-badge,
.coming-soon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.app-store-badge:hover,
.coming-soon:hover {
  color: inherit;
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 54px;
}

.coming-soon {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 12px;
  color: #fff;
  background: #111;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.22);
}

.coming-soon span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.72;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coming-soon strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 750;
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 36px rgba(70, 72, 212, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.availability,
.updated {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 0.95rem;
  font-weight: 650;
}

.phone-shot {
  position: relative;
  overflow: hidden;
  width: min(100%, 330px);
  justify-self: center;
  padding: 10px;
  border: 1px solid rgba(70, 69, 84, 0.14);
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 243, 255, 0.88));
  box-shadow: var(--shadow);
}

.phone-shot::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  width: 31%;
  height: 13px;
  border-radius: 999px;
  background: #171c25;
  transform: translateX(-50%);
}

.hero-shot {
  width: min(100%, 360px);
  animation: float-in 0.9s ease both;
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: var(--surface-soft);
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  max-width: 52ch;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.screenshot-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  margin: 0;
  min-height: 100%;
  padding: 24px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(23, 28, 37, 0.06);
  overflow: hidden;
}

.screenshot-card .phone-shot {
  z-index: 1;
  width: min(100%, 218px);
  margin: 0 auto;
  padding: 8px;
  border-radius: 34px;
  box-shadow: 0 18px 40px rgba(47, 46, 190, 0.12);
}

.screenshot-card .phone-shot::before {
  top: 13px;
  width: 34%;
  height: 10px;
}

.screenshot-card .phone-shot img {
  border-radius: 26px;
}

.screenshot-card figcaption {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  text-align: center;
}

.screenshot-card figcaption span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
}

.section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  border-top: 3px solid var(--primary);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.step p {
  color: var(--muted);
  font-weight: 500;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.promise {
  padding: 28px 24px 24px;
  border-top: 3px solid var(--primary);
}

.promise p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 500;
}

.contrast-panel {
  display: grid;
  gap: 14px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(225, 224, 255, 0.55), rgba(255, 255, 255, 0.82));
  box-shadow: 0 12px 36px rgba(23, 28, 37, 0.05);
}

.contrast-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 68ch;
}

.contrast-panel strong {
  color: var(--ink);
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article,
.privacy-panel,
.support-box,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(23, 28, 37, 0.05);
}

.feature-list article,
.privacy-panel,
.support-box {
  padding: 22px;
}

.feature-list p,
.privacy-panel p,
.support-box p,
.faq-list p,
.policy p,
.policy li {
  color: var(--muted);
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 40px;
  align-items: start;
}

.split > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
}

.text-link {
  color: var(--primary-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.req-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  background: var(--primary-soft);
  color: var(--ink);
  font-weight: 600;
}

.app-promo-grid {
  display: grid;
  gap: 14px;
}

.app-promo-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(23, 28, 37, 0.05);
}

.app-promo-card:hover {
  color: var(--ink);
  border-color: rgba(70, 72, 212, 0.35);
  background: #fff;
}

.app-promo-card strong,
.app-promo-card span span {
  display: block;
}

.app-promo-card strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.app-promo-card span span {
  color: var(--muted);
  font-weight: 500;
}

.app-promo-card em {
  color: var(--primary);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ecf8;
  box-shadow: 0 8px 18px rgba(23, 28, 37, 0.12);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 42px;
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 650;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.page {
  max-width: 920px;
}

.page-hero {
  padding: 72px 0 48px;
}

.page h1 {
  max-width: none;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}

.page h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.policy ul {
  padding-left: 1.4rem;
}

.policy li + li {
  margin-top: 8px;
}

.cards {
  display: grid;
  gap: 16px;
}

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

.card {
  min-height: 140px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.card p {
  color: var(--muted);
  font-weight: 500;
}

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

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

  .hero-shot {
    animation: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .steps,
  .promise-grid,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .phone-shot {
    justify-self: start;
  }

  .app-promo-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .app-promo-card em {
    grid-column: 2;
  }

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

  .screenshot-card .phone-shot {
    width: min(100%, 230px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card {
    grid-template-columns: clamp(132px, 38vw, 156px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 18px;
  }

  .screenshot-card .phone-shot {
    width: 100%;
  }

  .screenshot-card figcaption {
    text-align: left;
  }
}
