@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #f9f9f9; color: #111827; line-height: 1.7; font-size: 17px; }
a { color: #7c3aed; text-decoration: none; }
a:hover { text-decoration: underline; }

nav { background: #111827; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 58px; position: sticky; top: 0; z-index: 20; }
.brand { font-family: 'Epilogue', sans-serif; font-size: 15px; font-weight: 700; color: #f9fafb; letter-spacing: -0.2px; }
.brand a { color: #f9fafb !important; text-decoration: none; }
nav .dl { background: #7c3aed; color: #fff; font-family: 'Epilogue', sans-serif; font-weight: 600; font-size: 13px; padding: 7px 18px; border-radius: 3px; letter-spacing: 0.2px; }
nav .dl:hover { background: #6d28d9; text-decoration: none; }

.hero { background: #111827; padding: 72px 40px 60px; }
.hero-inner { max-width: 860px; margin: 0 auto; }
.eyebrow { font-size: 11px; font-weight: 600; color: #6b7280; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; font-family: 'Inter', sans-serif; }
h1 { font-family: 'Epilogue', sans-serif; font-size: clamp(32px, 5.5vw, 62px); font-weight: 800; color: #f9fafb; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 18px; text-wrap: balance; }
h1 span { color: #a78bfa; }
.lead { font-size: 17px; color: #9ca3af; line-height: 1.65; max-width: 560px; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 40px; }
section { padding: 56px 0; border-bottom: 1px solid #e5e7eb; }
section:last-of-type { border-bottom: none; }
h2 { font-family: 'Epilogue', sans-serif; font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: #111827; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 8px; }
.label { font-size: 11px; font-weight: 600; color: #9ca3af; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
p { color: #4b5563; margin-bottom: 16px; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
strong { color: #111827; font-weight: 600; }

/* Scorecard */
.scorecard-header { display: grid; grid-template-columns: 1fr repeat(4, 80px); gap: 0; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 3px 3px 0 0; padding: 10px 16px; }
.scorecard-header span { font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.scorecard-header span:first-child { text-align: left; }
.scorecard-row { display: grid; grid-template-columns: 1fr repeat(4, 80px); gap: 0; border: 1px solid #e5e7eb; border-top: none; padding: 12px 16px; background: #fff; align-items: center; }
.scorecard-row:last-child { border-radius: 0 0 3px 3px; }
.scorecard-row:hover { background: #fafafa; }
.scorecard-row .criterion { font-size: 15px; color: #374151; font-weight: 500; }
.scorecard-row .score { text-align: center; font-size: 16px; }
.score.pass { color: #059669; }
.score.fail { color: #e5e7eb; }
.app-col { text-align: center; font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 1px; }
.app-col.winner { color: #7c3aed; }
.total-row { display: grid; grid-template-columns: 1fr repeat(4, 80px); gap: 0; border: 1px solid #7c3aed; background: #f5f3ff; padding: 12px 16px; border-radius: 0 0 3px 3px; margin-top: -1px; }
.total-row .criterion { font-family: 'Epilogue', sans-serif; font-size: 15px; font-weight: 800; color: #111827; }
.total-row .score { text-align: center; font-family: 'Epilogue', sans-serif; font-size: 16px; font-weight: 800; }
.total-row .score.winner { color: #7c3aed; }
.total-row .score.loser { color: #d1d5db; }

.img-float { float: right; margin: 0 0 1.5rem 2.5rem; max-width: 240px; width: 32%; }
.img-float img { width: 100%; max-width: 240px; max-height: 300px; object-fit: cover; object-position: top; display: block; border: 1px solid #e5e7eb; border-radius: 3px; box-shadow: 3px 3px 0 rgba(124,58,237,0.1); }
.img-float .cap { font-size: 11px; color: #9ca3af; margin-top: 8px; line-height: 1.45; }
.flow-block { overflow: hidden; }

details { border-top: 1px solid #e5e7eb; }
details:last-of-type { border-bottom: 1px solid #e5e7eb; }
summary { padding: 18px 0; font-weight: 600; color: #111827; cursor: pointer; font-size: 16px; list-style: none; font-family: 'Epilogue', sans-serif; }
summary::marker { display: none; }
.faq-ans { padding: 0 0 18px; color: #6b7280; font-size: 16px; line-height: 1.8; max-width: 68ch; }

.cta { background: #111827; padding: 52px 40px; text-align: center; }
.cta h2 { font-family: 'Epilogue', sans-serif; color: #f9fafb; font-size: 32px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.cta p { color: #6b7280; font-size: 16px; margin-bottom: 22px; }
.badge-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.app-badge { height: 44px; }
.cta-note { font-size: 11px; color: #374151; margin-top: 14px; letter-spacing: 0.5px; }

footer { background: #f3f4f6; border-top: 1px solid #e5e7eb; padding: 26px 40px; font-size: 13px; color: #9ca3af; }
footer .inner { max-width: 860px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: #6b7280; }

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .hero { padding: 52px 20px 44px; }
  .wrap { padding: 0 20px; }
  .cta { padding: 44px 20px; }
  footer { padding: 24px 20px; }
  .scorecard-header, .scorecard-row, .total-row { grid-template-columns: 1fr repeat(2, 60px); }
  .scorecard-header span:nth-child(3), .scorecard-header span:nth-child(4),
  .scorecard-row .score:nth-child(3), .scorecard-row .score:nth-child(4),
  .total-row .score:nth-child(3), .total-row .score:nth-child(4) { display: none; }
  .img-float { float: none; max-width: 220px; margin: 0 auto 1.5rem; width: 100%; }
}
