:root {
  color-scheme: light;
  --bg: #f3f5fb;
  --panel: #ffffff;
  --ink: #060606;
  --muted: #62646b;
  --soft: #e8ebf3;
  --line: rgba(6, 6, 6, 0.09);
  --green: #31c85b;
  --green-dark: #15933a;
  --shadow: 0 24px 70px rgba(28, 34, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 24px max(22px, env(safe-area-inset-left)) 10px;
}

.nav {
  width: min(1120px, calc(100vw - 44px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(35, 42, 62, 0.08);
  backdrop-filter: blur(24px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.nav-links {
  gap: 34px;
  font-size: 16px;
  font-weight: 600;
}

.nav-links a {
  color: #17181b;
}

.download-pill,
.primary-button,
.secondary-button,
.sample-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 800;
}

.download-pill,
.primary-button,
.sample-button {
  color: #fff;
  background: #000;
}

.download-pill {
  padding: 0 24px;
  font-size: 16px;
}

.hero {
  width: min(1120px, calc(100vw - 44px));
  min-height: calc(100svh - 104px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.88fr);
  gap: 54px;
  align-items: center;
  padding: 50px 38px 44px;
}

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

.free-badge,
.eyebrow,
.sample-meta {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.free-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(49, 200, 91, 0.13);
}

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

h1 {
  margin-top: 22px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin-top: 22px;
  color: #17181b;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.primary-button,
.secondary-button {
  padding: 0 24px;
  font-size: 16px;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.hero-visual::after {
  content: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  height: auto;
}

.problem-band,
.section,
.download-section,
.footer {
  width: min(1180px, calc(100vw - 44px));
  margin: 0 auto;
}

.problem-band {
  padding: 48px 0 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-band p {
  max-width: 840px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.section {
  padding: 110px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 46px;
  align-items: start;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.section-heading h2,
.download-section h2 {
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy,
.download-section p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.feature-grid article,
.sample-card,
.download-section {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.feature-grid article {
  min-height: 244px;
  padding: 26px;
  border-radius: 28px;
}

.feature-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  border: 9px solid var(--green);
  border-radius: 999px;
  box-shadow: inset 0 0 0 4px #fff;
}

.feature-grid h3,
.sample-card h3 {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

.feature-grid p,
.sample-card p,
.sample-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.feature-grid p {
  margin-top: 12px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.sample-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 24px;
  border-radius: 28px;
}

.sample-card h3 {
  margin-top: 18px;
}

.sample-card p {
  margin-top: 10px;
}

.sample-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.sample-card li {
  display: flex;
  gap: 9px;
}

.sample-card li::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-top: 5px;
  flex: 0 0 auto;
  border: 2px solid var(--green);
  border-radius: 999px;
}

.sample-button {
  margin-top: auto;
  width: 100%;
  min-height: 50px;
  font-size: 16px;
}

.sample-download {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 110px;
  padding: 38px;
  border-radius: 34px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav {
    width: min(720px, calc(100vw - 28px));
  }

  .nav-links {
    display: none;
  }

  .hero {
    width: min(720px, calc(100vw - 28px));
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 52px 6px 28px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-visual img {
    width: min(92%, 420px);
  }

  .section-heading,
  .feature-grid,
  .sample-grid,
  .download-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .sample-grid {
    gap: 12px;
  }

  .download-section {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 0 8px;
  }

  .nav {
    min-height: 64px;
    padding: 10px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .download-pill {
    min-height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .problem-band,
  .section,
  .download-section,
  .footer {
    width: min(100vw - 28px, 720px);
  }

  .section {
    padding-top: 72px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .sample-card,
  .feature-grid article,
  .download-section {
    border-radius: 22px;
  }

  .footer {
    flex-direction: column;
  }
}
