@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Condensed:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'IBM Plex Sans', sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.7; font-size: 17px; }
a { color: #1d4ed8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navigation ── */
nav { background: #0f172a; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 58px; position: sticky; top: 0; z-index: 20; }
.brand { font-family: 'IBM Plex Sans Condensed', sans-serif; font-size: 15px; font-weight: 700; color: #e2e8f0; letter-spacing: 0.2px; }
.brand a { color: #e2e8f0 !important; text-decoration: none; }
nav .dl { background: #1d4ed8; color: #fff; font-family: 'IBM Plex Sans Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.3px; padding: 7px 18px; border-radius: 3px; }
nav .dl:hover { background: #1e40af; text-decoration: none; }

/* ── Hero ── */
.hero { background: #0f172a; padding: 72px 40px 64px; border-bottom: 3px solid #1d4ed8; }
.hero-inner { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 0; }
.eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; color: #38bdf8; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
h1 { font-family: 'IBM Plex Sans Condensed', sans-serif; font-size: clamp(36px, 6vw, 68px); font-weight: 800; color: #f1f5f9; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 20px; text-wrap: balance; }
h1 em { color: #38bdf8; font-style: normal; }
.lead { font-size: 18px; color: #94a3b8; max-width: 600px; line-height: 1.65; }
.hero-meta { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07); }
.hero-meta span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #475569; }
.hero-meta strong { color: #94a3b8; }

/* ── Main content ── */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 40px; }
section { padding: 56px 0; border-bottom: 1px solid #e2e8f0; }
section:last-of-type { border-bottom: none; }
h2 { font-family: 'IBM Plex Sans Condensed', sans-serif; font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; color: #0f172a; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 8px; }
.section-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; color: #94a3b8; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
p { color: #334155; margin-bottom: 16px; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
strong { color: #1e293b; font-weight: 600; }

/* ── Rankings ── */
.ranking { display: grid; grid-template-columns: 56px 1fr; gap: 0; margin-bottom: 3px; border: 1px solid #e2e8f0; border-radius: 3px; overflow: hidden; background: #fff; }
.ranking.top { border-color: #1d4ed8; }
.ranking .rank-num { background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Sans Condensed', sans-serif; font-size: 28px; font-weight: 800; color: #94a3b8; border-right: 1px solid #e2e8f0; }
.ranking.top .rank-num { background: #1d4ed8; color: #fff; border-right: none; }
.ranking-body { padding: 20px 24px; }
.ranking-body h3 { font-family: 'IBM Plex Sans Condensed', sans-serif; font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.ranking-body .tagline { font-size: 14px; color: #64748b; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 2px; border: 1px solid; }
.tag.y { color: #166534; background: #f0fdf4; border-color: #86efac; }
.tag.n { color: #9ca3af; background: #f9fafb; border-color: #e5e7eb; }
.tag.u { color: #92400e; background: #fffbeb; border-color: #fcd34d; }

/* ── Comparison table ── */
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; }
thead th { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: #64748b; text-align: left; padding: 10px 14px; border-bottom: 2px solid #e2e8f0; background: transparent; }
thead th:first-child { min-width: 220px; }
td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; font-size: 15px; vertical-align: middle; }
tr:hover td { background: #f8fafc; }
td.y { color: #15803d; font-weight: 600; }
td.n { color: #d1d5db; }
td.u { color: #92400e; }
tbody tr:last-child td { border-bottom: none; }

/* ── Callout blocks ── */
.callout { border-left: 3px solid #1d4ed8; background: #f0f7ff; padding: 20px 24px; margin: 28px 0; border-radius: 0 3px 3px 0; }
.callout-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; color: #1d4ed8; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.callout p { color: #1e3a5f; margin-bottom: 0; font-size: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: #e2e8f0; border: 1px solid #e2e8f0; margin: 28px 0; border-radius: 3px; overflow: hidden; }
.stat-row .stat { background: #fff; padding: 20px 22px; }
.stat .n { font-family: 'IBM Plex Sans Condensed', sans-serif; font-size: 36px; font-weight: 800; color: #1d4ed8; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 12px; color: #64748b; margin-top: 4px; }

/* ── Float image ── */
.img-float { float: right; margin: 0 0 1.5rem 2.5rem; max-width: 250px; width: 34%; }
.img-float img { width: 100%; max-width: 250px; max-height: 320px; object-fit: cover; object-position: top; display: block; border: 1px solid #e2e8f0; border-radius: 3px; box-shadow: 4px 4px 0 rgba(29,78,216,0.12); }
.img-float .cap { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #94a3b8; margin-top: 8px; line-height: 1.45; }
.flow-block { overflow: hidden; }

/* ── FAQ ── */
details { border-bottom: 1px solid #e2e8f0; }
summary { padding: 18px 0; font-weight: 600; color: #1e293b; cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '+'; font-family: 'IBM Plex Mono', monospace; font-size: 18px; color: #94a3b8; font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: '−'; }
.faq-ans { padding: 0 0 18px; color: #475569; font-size: 16px; line-height: 1.75; max-width: 72ch; }

/* ── CTA ── */
.cta { background: #0f172a; padding: 52px 40px; margin-top: 0; text-align: center; }
.cta h2 { font-family: 'IBM Plex Sans Condensed', sans-serif; color: #f1f5f9; font-size: 32px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.cta p { color: #64748b; 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-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #334155; margin-top: 14px; letter-spacing: 0.5px; }

/* ── Footer ── */
footer { background: #f1f5f9; border-top: 1px solid #e2e8f0; padding: 28px 40px; font-size: 13px; color: #64748b; }
footer .inner { max-width: 880px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a { color: #475569; }
footer a:hover { color: #1d4ed8; }

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .hero { padding: 52px 20px 48px; }
  .wrap { padding: 0 20px; }
  .cta { padding: 44px 20px; }
  footer { padding: 24px 20px; }
  footer .inner { flex-direction: column; align-items: flex-start; }
  .img-float { float: none; max-width: 240px; margin: 0 auto 1.5rem; width: 100%; display: block; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
