:root {
  color-scheme: light;
  --surface: #faf9fb;
  --card: #ffffff;
  --ink: #1b1b1f;
  --ink-soft: #45464f;
  --slate: #757680;
  --outline: #c5c6d0;
  --primary: #005c9e;
  --primary-soft: #d1e4ff;
  --blue-wash: #eef5ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

.page-width {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

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

.brand {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.header-link {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(48px, 9vw, 130px);
  align-items: center;
  min-height: 760px;
  padding: 74px 0 110px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: -0.055em;
  line-height: 1.25;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 4.2rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  margin: 0;
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.hero-lead {
  max-width: 540px;
  margin: 30px 0 34px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: #004876;
  transform: translateY(-1px);
}

.hero-screen {
  margin: 0;
  padding: 14px;
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 20px 48px -28px rgba(0, 56, 105, 0.42);
  transform: rotate(2deg);
}

.hero-screen img {
  display: block;
  width: 100%;
  max-height: 660px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center top;
}

.intro-section,
.pricing-section,
.download-section {
  padding: 120px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.feature-card {
  padding: 28px;
  border: 1px solid rgba(197, 198, 208, 0.72);
  border-radius: 18px;
  background: var(--card);
}

.feature-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.howto-section {
  padding: 120px 0 140px;
  background: var(--blue-wash);
}

.steps {
  display: grid;
  gap: 96px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 420px);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.step:nth-child(even) {
  grid-template-columns: minmax(280px, 420px) minmax(0, 0.9fr);
}

.step:nth-child(even) .step-copy {
  grid-column: 2;
  grid-row: 1;
}

.step:nth-child(even) .step-screen {
  grid-column: 1;
  grid-row: 1;
}

.step-number {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-copy p {
  max-width: 440px;
  margin-top: 16px;
  color: var(--ink-soft);
}

.step-screen {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 20px 50px -34px rgba(0, 40, 76, 0.6);
}

.step-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 660px;
  border-radius: 18px;
  object-fit: contain;
  object-position: top center;
}

.step-note {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(197, 198, 208, 0.72);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 20px 50px -34px rgba(0, 40, 76, 0.6);
}

.step-note strong {
  display: block;
  font-size: 1.25rem;
}

.step-note p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 80px;
  align-items: start;
}

.pricing-section .section-label,
.pricing-section h2 {
  grid-column: 1;
}

.pricing-lead,
.pricing-list {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.pricing-lead {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.pricing-list {
  margin: 70px 0 0;
  padding: 24px 28px 24px 48px;
  border-radius: 18px;
  background: var(--card);
  color: var(--ink-soft);
}

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

.download-section {
  text-align: center;
}

.download-section h2 {
  margin-bottom: 32px;
}

.site-footer {
  padding: 24px 0 34px;
  border-top: 1px solid var(--outline);
  color: var(--slate);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover,
.header-link:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--primary-soft);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .page-width {
    width: min(100% - 32px, 560px);
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 54px 0 86px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.6rem);
  }

  .hero-screen {
    width: min(80%, 360px);
    margin: 58px auto 0;
  }

  .feature-grid,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .pricing-section,
  .download-section,
  .howto-section {
    padding: 84px 0;
  }

  .step,
  .step:nth-child(even) {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }

  .step:nth-child(even) .step-copy,
  .step:nth-child(even) .step-screen {
    order: initial;
  }

  .step-screen {
    width: min(82%, 360px);
  }

  .pricing-lead,
  .pricing-list {
    grid-column: auto;
    grid-row: auto;
  }

  .pricing-list {
    margin-top: 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
