@font-face {
  font-family: Poppins;
  src: url('/assets/Poppins-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/assets/Poppins-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/assets/Poppins-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #2f2fcc;
  --blue-hover: #2626a9;
  --ink: #1c1b37;
  --muted: #55546b;
  --ivory: #faf8f3;
  --white: #fffefa;
  --line: #d9d7e2;
  --focus: #6842e8;
  --motion: cubic-bezier(.22, 1, .36, 1);
  font-family: Poppins, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { min-width: 320px; margin: 0; background: var(--ivory); color: var(--ink); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #ddddff; color: var(--ink); }
.shell { width: min(calc(100% - 48px), 1200px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; top: -80px; left: 24px; padding: 8px 12px; border-radius: 8px; background: var(--blue); color: white; }
.skip-link:focus { top: 24px; }

/* Named type styles keep the landing page on one deliberate scale. */
.heading-1 { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.heading-2 { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; text-wrap: pretty; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; text-wrap: pretty; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; text-wrap: pretty; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }

.site-header { position: sticky; z-index: 10; top: 0; background: rgb(250 248 243 / .94); border-bottom: 1px solid rgb(217 215 226 / .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: block; flex: none; width: 170px; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; transition: color 300ms var(--motion); }
.nav-links a:hover { color: var(--blue); }
.nav-links a:last-child { color: var(--blue); }

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 64px; min-height: 750px; padding-block: 72px 96px; }
.hero-copy { max-width: 680px; }
.hero h1 { max-width: 680px; }
.hero .heading-1 { font-size: clamp(56px, 5.3vw, 76px); line-height: 1.02; }
.hero-ink { color: var(--ink); }
.hero-blue { color: var(--blue); }
.hero-intro { max-width: 560px; margin-top: 30px; color: var(--muted); }
.hero-action, .closing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: 12px; background: var(--blue); color: white; box-shadow: 0 12px 24px rgb(47 47 204 / .16); transition: background-color 300ms var(--motion), transform 500ms var(--motion), box-shadow 300ms var(--motion); }
.primary-action:hover { background: var(--blue-hover); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 32px rgb(47 47 204 / .2); }
.primary-action:active { transform: scale(.98); box-shadow: 0 6px 14px rgb(47 47 204 / .16); }
.app-store-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--blue); border-bottom: 1px solid currentColor; transition: color 300ms var(--motion); }
.app-store-link:hover { color: var(--blue-hover); }
.launch-note { margin-top: 14px; color: var(--muted); }
.hero-preview { position: relative; justify-self: end; width: min(100%, 472px); height: 640px; isolation: isolate; }
.hero-preview::before { content: ''; position: absolute; z-index: -1; inset: 70px 6px 70px 78px; border-radius: 24px; background: #e9e8fa; }
.preview-front, .preview-back { position: absolute; overflow: hidden; border: 5px solid #171629; border-radius: 39px; background: #171629; box-shadow: 0 28px 50px rgb(20 19 62 / .16); }
.preview-front { top: 0; left: 0; width: 276px; height: 600px; }
.preview-back { top: 106px; right: 0; width: 198px; height: 430px; }
.preview-front img, .preview-back img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-preview figcaption { position: absolute; right: 0; bottom: 0; max-width: 280px; color: var(--muted); text-align: right; }

.opening-line { background: var(--white); }
.opening-line-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; padding-block: 96px; }
.tagline-reveal { max-width: 640px; }
.tagline-reveal .reveal-word { display: inline-block; opacity: .3; transition: opacity 500ms var(--motion); }
.tagline-reveal .reveal-word.is-revealed { opacity: 1; }
.opening-line-inner > p { max-width: 420px; padding-bottom: 4px; color: var(--muted); }

.section { padding-block: 96px; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; margin-bottom: 64px; }
.section-heading h2 { max-width: 640px; }
.section-heading p { max-width: 360px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; margin: 0; list-style: none; }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; }
.step-number { color: var(--blue); font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 48px; }
.steps p { max-width: 320px; margin-top: 12px; color: var(--muted); }

.features { overflow: hidden; background: var(--ink); color: var(--white); }
.features-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 96px; padding-block: 96px; }
.features-lead { padding-top: 24px; }
.features h2 { max-width: 440px; }
.features-lead > p { max-width: 360px; margin-top: 24px; color: #d3d1e1; }
.feature-list { padding: 0; margin: 0; list-style: none; }
.feature-list li { padding-block: 24px; border-top: 1px solid #56546b; }
.feature-list li:last-child { border-bottom: 1px solid #56546b; }
.feature-list h3 { color: var(--white); }
.feature-list p { max-width: 520px; margin-top: 8px; color: #d3d1e1; }

.closing { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 560px; padding-block: 96px; text-align: center; }
.closing-mark { width: 64px; height: 64px; object-fit: contain; margin-bottom: 32px; }
.closing h2 { max-width: 760px; }
.closing > p { max-width: 520px; margin-top: 24px; color: var(--muted); }
.closing-actions { justify-content: center; margin-top: 32px; }
.closing .store-note { margin-top: 16px; font-weight: 500; }
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 112px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); white-space: nowrap; }
.footer-brand img { width: 32px; height: 32px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { color: var(--blue); text-decoration: underline; }
.site-footer small { color: var(--muted); white-space: nowrap; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 56px; min-height: 0; }
  .hero-preview { justify-self: center; }
  .opening-line-inner, .section-heading { gap: 48px; }
  .features-inner { gap: 48px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 32px), 1200px); }
  .nav { min-height: 68px; gap: 12px; }
  .brand { width: 140px; }
  .nav-links { gap: 16px; }
  .nav-links a:nth-child(2) { display: none; }
  .nav-links a { font-size: 12px; min-height: 44px; }
  .heading-1 { font-size: 48px; line-height: 1; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .hero .heading-1 { font-size: clamp(40px, 9vw, 54px); }
  .hero { gap: 48px; padding-block: 60px 72px; }
  .hero-intro { margin-top: 22px; }
  .hero-action { gap: 24px; margin-top: 28px; }
  .hero-preview { width: min(100%, 400px); height: 540px; }
  .hero-preview::before { inset: 52px 0 70px 44px; }
  .preview-front { width: 236px; height: 514px; }
  .preview-back { top: 78px; width: 174px; height: 378px; }
  .hero-preview figcaption { bottom: 0; }
  .opening-line-inner, .section-heading, .features-inner { grid-template-columns: 1fr; gap: 32px; }
  .opening-line-inner, .section, .features-inner { padding-block: 80px; }
  .section-heading { margin-bottom: 48px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps h3 { margin-top: 32px; }
  .features-lead { padding-top: 0; }
  .closing { min-height: 520px; padding-block: 80px; }
  .footer-inner { min-height: 0; flex-wrap: wrap; padding-block: 32px; gap: 16px 24px; }
  .site-footer nav { order: 3; width: 100%; }
}

@media (max-width: 390px) {
  .brand { width: 124px; }
  .nav-links { gap: 10px; }
  .hero-preview { height: 475px; }
  .preview-front { width: 210px; height: 457px; }
  .preview-back { top: 72px; width: 146px; height: 317px; }
  .hero-preview figcaption { bottom: 0; }
  .hero-action { gap: 18px; }
}

@media (max-width: 360px) {
  .heading-1 { font-size: 36px; line-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-action, .nav-links a, .tagline-reveal .reveal-word { transition: none; }
  .tagline-reveal .reveal-word { opacity: 1; }
}
