:root {
  --paper: #F5F3FF;
  --paper-deep: #E8E4FF;
  --card: #FFFFFF;
  --ink: #151A3D;
  --ink-soft: #4B5286;
  --ink-faint: #747DB4;
  --coral: #FF6B6B;
  --indigo: #405BE8;
  --fern: #159A72;
  --line: #DDD8F5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.wordmark { font-family: 'Caveat', cursive; font-weight: 700; text-decoration: none; font-size: 31px; line-height: 1; }
.wordmark .dot { display: inline-block; width: .15em; height: .15em; margin-left: .15em; border-radius: 50%; background: var(--coral); }

nav { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(245,243,255,.92); backdrop-filter: blur(12px); }
nav .row { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links > a:not(.btn) { color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border-radius: 12px; border: 1px solid transparent; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 12px 28px rgba(21,26,61,.18); }
.btn-secondary { background: #fff; border-color: var(--line); }

.breadcrumbs { padding: 24px 0 0; color: var(--ink-faint); font-size: 13px; }
.breadcrumbs a { color: var(--ink-soft); }
.hero { padding: 62px 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; padding: 5px 12px; border: 1px solid #BFEBDB; border-radius: 999px; color: var(--fern); background: #E3F7EF; font-size: 13px; font-weight: 700; }
h1, h2, h3 { font-family: 'Caveat', cursive; line-height: 1.04; }
h1 { max-width: 680px; margin-top: 18px; font-size: clamp(48px, 7vw, 76px); }
.hero-copy { max-width: 650px; margin-top: 18px; color: var(--ink-soft); font-size: 18px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.proof-row span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.hero-visual { margin: 0; }
.hero-visual img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 70px rgba(21,26,61,.16); }
.hero-visual figcaption { margin-top: 10px; color: var(--ink-faint); font-size: 13px; text-align: center; }

main section { padding: 68px 0; }
main section:nth-child(even) { background: rgba(255,255,255,.48); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(38px, 5vw, 52px); }
.section-head p { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }
.prose { max-width: 760px; }
.prose p + p { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 40px; }
.prose h3 { margin-top: 30px; font-size: 30px; }
.prose ul { margin: 14px 0 0 22px; }
.prose li + li { margin-top: 8px; }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.flow article, .card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 16px 36px rgba(21,26,61,.08); }
.step { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; }
.flow h3, .card h3 { margin-top: 13px; font-size: 30px; }
.flow p, .card p { margin-top: 7px; color: var(--ink-soft); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; }
.checklist li { position: relative; padding: 16px 18px 16px 45px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.checklist li::before { content: '✓'; position: absolute; left: 17px; top: 16px; color: var(--fern); font-weight: 900; }

.faq { max-width: 820px; }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin-top: 10px; color: var(--ink-soft); }

.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related a { display: block; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-weight: 700; text-decoration: none; }
.related a:hover { border-color: var(--indigo); }

.download { padding: 70px 0; text-align: center; }
.download-panel { padding: 48px 26px; border-radius: 24px; background: var(--ink); color: #fff; }
.download-panel h2 { font-size: clamp(40px, 6vw, 58px); }
.download-panel p { max-width: 570px; margin: 12px auto 24px; color: #CDD1EC; }
.download-panel .btn-primary { background: #fff; color: var(--ink); }
.download-panel .btn-secondary { background: transparent; color: #fff; border-color: #7C83B0; }
.download-panel .hero-actions { justify-content: center; }

footer { padding: 34px 0 50px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 13px; }
footer .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .wrap { width: min(calc(100% - 32px), 1040px); }
  nav .row { min-height: 58px; }
  nav .wordmark { font-size: 27px; }
  nav .btn { min-height: 42px; padding: 8px 13px; font-size: 13px; }
  .nav-links > a:not(.btn) { display: none; }
  .breadcrumbs { padding-top: 18px; }
  .hero { padding: 38px 0 52px; }
  .hero-grid, .flow, .card-grid, .checklist, .related { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  h1 { font-size: clamp(45px, 14vw, 62px); }
  .hero-copy { font-size: 16px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .flow article, .card { padding: 22px; }
  main section { padding: 52px 0; }
  .download { padding: 52px 0; }
  .download-panel { padding: 42px 20px; border-radius: 20px; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .proof-row { gap: 7px; }
  .proof-row span { font-size: 12px; }
  .section-head p { font-size: 16px; }
  .prose h2 { font-size: 36px; }
  .download-panel .hero-actions { flex-wrap: nowrap; }
}

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