* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #556070;
  --brand: #0ea5e9;
  --brand-dark: #0369a1;
  --accent: #8b5cf6;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Arial", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef5ff 0%, #f7f8fc 45%, #f4f7fb 100%);
  line-height: 1.5;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  background: linear-gradient(120deg, #eff6ff, #f0f9ff);
  border-bottom: 1px solid #d8e8fb;
}

.hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.nav-link {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 1.4rem;
  padding: 2.2rem 0 3rem;
  align-items: center;
}

.hero__content,
.hero__card {
  min-width: 0;
}

.hero__content h1 {
  margin: 0.4rem 0 0.75rem;
  line-height: 1.16;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  background: #e0f2fe;
  color: var(--brand-dark);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero__text {
  margin-top: 0.6rem;
  max-width: 70ch;
  color: var(--muted);
}

.hero__note {
  color: #6b7280;
  font-size: 0.92rem;
}

.benefits {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
}

.benefits li {
  padding-left: 1.25rem;
  position: relative;
  color: #1f2937;
}

.benefits li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand);
}

.hero__card {
  align-self: stretch;
  background: var(--card);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 15px 35px rgba(2, 6, 23, 0.08);
}

.hero__card-title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: #1e3a8a;
}

.hero__screenshot {
  border: 2px dashed #c7d2fe;
  border-radius: 12px;
  min-height: 0;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  color: #64748b;
  background: #f8fbff;
  padding: 1rem;
  overflow: hidden;
}

.hero__screenshot img,
.screenshot-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.hero__screenshot img {
  padding: 0;
}

.hero__screenshot span {
  display: none;
}

.screenshot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
  width: 100%;
}

.screenshot-card {
  margin: 0;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #fff;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.screenshot-card figcaption {
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.screenshot-card img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.screenshot-card:nth-child(2) img {
  object-position: center top;
}

.section {
  padding: 3.2rem 0 1rem;
}

.section-intro {
  color: var(--muted);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-alt {
  background: #ffffffd9;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

.card h3, .comparison h3 {
  margin-top: 0;
}

.card--line {
  border-left: 4px solid var(--brand);
}

.card--small {
  min-height: 130px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.75rem 1.05rem;
  transition: 0.2s ease;
}

.btn--primary {
  background: linear-gradient(90deg, var(--brand), #0b74b8);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.btn--ghost {
  border: 1px solid #94a3b8;
  color: #1e293b;
  background: #fff;
}

.btn--ghost:hover {
  background: #f1f5f9;
}

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

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comparison__col {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.1rem;
}

.comparison__col ul {
  margin: 0.7rem 0 0;
}

.comparison__col li {
  margin-bottom: 0.5rem;
}

.list p, .offer ul, .list ul, .faq p {
  color: #1f2937;
}

.offer {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  align-items: start;
}

.offer ul {
  margin: 0;
  padding-left: 1.1rem;
}

.stat {
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  padding: 0.9rem;
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
}

.faq details {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 0.65rem;
  padding: 0.9rem;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
}

.faq p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.final {
  text-align: center;
  padding-bottom: 3rem;
}

.cta-wrap--stacked {
  justify-content: center;
}

@media (max-width: 920px) {
  .hero__grid,
  .grid--3,
  .grid--4,
  .grid--2,
  .offer,
  .comparison,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__content {
    order: -1;
  }

  .hero__card {
    order: 0;
  }
}

@media (max-width: 640px) {
  .hero__nav {
    min-height: 58px;
  }

  .brand {
    font-size: 1rem;
  }

  .nav-link {
    font-size: 0.92rem;
  }

  .hero__grid {
    padding: 1.1rem 0 2rem;
    gap: 1rem;
  }

  .hero__content h1 {
    font-size: 2rem;
    line-height: 1.12;
    margin-top: 0.65rem;
  }

  .eyebrow {
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .hero__text {
    font-size: 1rem;
  }

  .hero__card {
    padding: 0.8rem;
    border-radius: 12px;
    align-self: auto;
  }

  .hero__screenshot {
    aspect-ratio: 16 / 11;
    max-height: 320px;
  }

  .cta-wrap .btn {
    width: 100%;
  }

  .hero__text,
  .section {
    text-align: left;
  }
}
