@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Source Sans 3', sans-serif; background: #fff; color: #1e293b; line-height: 1.75; font-size: 17px; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

nav { background: #fff; border-bottom: 2px solid #2563eb; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; height: 58px; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.brand { font-family: 'Libre Baskerville', serif; font-size: 16px; color: #1e293b; }
.brand a { color: #1e293b !important; text-decoration: none; }
nav .dl { background: #2563eb; color: #fff; font-size: 13px; font-weight: 600; padding: 7px 18px; border-radius: 2px; }
nav .dl:hover { background: #1d4ed8; text-decoration: none; }

.hero { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 72px 48px 60px; }
.hero-inner { max-width: 780px; margin: 0 auto; }
.kicker { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; color: #2563eb; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-family: 'Libre Baskerville', serif; font-size: clamp(30px, 5vw, 52px); font-weight: 700; color: #0f172a; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
.lead { font-size: 18px; color: #475569; line-height: 1.7; max-width: 580px; font-weight: 300; }

section { max-width: 780px; margin: 0 auto; padding: 56px 48px; border-bottom: 1px solid #f1f5f9; }
section:last-of-type { border-bottom: none; }
h2 { font-family: 'Libre Baskerville', serif; font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #0f172a; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 18px; }
.label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #94a3b8; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
p { color: #334155; margin-bottom: 16px; line-height: 1.8; max-width: 70ch; font-weight: 300; }
p:last-child { margin-bottom: 0; }
strong { color: #1e293b; font-weight: 600; }

.calc-card { background: #f0f7ff; border: 1px solid #bfdbfe; border-left: 3px solid #2563eb; padding: 22px 26px; margin: 28px 0; border-radius: 0 3px 3px 0; }
.calc-card h3 { font-family: 'Libre Baskerville', serif; font-size: 17px; color: #1e3a5f; margin-bottom: 8px; }
.calc-card .formula { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: #1d4ed8; background: #fff; border: 1px solid #dbeafe; padding: 8px 14px; border-radius: 2px; margin: 10px 0; display: inline-block; }
.calc-card p { color: #1e3a5f; font-size: 15px; max-width: none; }

.step-list { margin: 24px 0; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 0; margin-bottom: 2px; }
.step-n { background: #2563eb; color: #fff; display: flex; align-items: flex-start; justify-content: center; padding-top: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; }
.step-body { background: #f8fafc; padding: 14px 18px; border: 1px solid #e2e8f0; border-left: none; }
.step-body strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 3px; }
.step-body p { font-size: 14px; color: #64748b; margin-bottom: 0; max-width: none; }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 20px 0; }
thead th { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.5px; text-align: left; padding: 8px 12px; border-bottom: 2px solid #e2e8f0; }
td { padding: 11px 12px; border-bottom: 1px solid #f1f5f9; color: #334155; font-size: 15px; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: none; }

.img-float { float: right; margin: 0 0 1.5rem 2.5rem; max-width: 240px; width: 34%; }
.img-float img { width: 100%; max-width: 240px; max-height: 300px; object-fit: cover; object-position: top; display: block; border: 1px solid #bfdbfe; border-radius: 2px; }
.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; }

details { border-top: 1px solid #e2e8f0; }
details:last-of-type { border-bottom: 1px solid #e2e8f0; }
summary { padding: 18px 0; font-weight: 600; color: #1e293b; cursor: pointer; font-size: 16px; list-style: none; }
summary::marker { display: none; }
.faq-ans { padding: 0 0 18px; color: #475569; font-size: 16px; line-height: 1.8; max-width: 68ch; }

.cta-box { background: #2563eb; padding: 52px 48px; text-align: center; margin-top: 0; }
.cta-box h2 { font-family: 'Libre Baskerville', serif; color: #fff; font-size: 30px; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,0.75); max-width: 100%; margin-bottom: 22px; }
.badge-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.app-badge { height: 44px; }
.cta-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 12px; }

footer { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 26px 48px; font-size: 13px; color: #94a3b8; }
footer .inner { max-width: 780px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: #64748b; }

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .hero { padding: 52px 20px 44px; }
  section { padding: 44px 20px; }
  .cta-box { padding: 44px 20px; }
  footer { padding: 24px 20px; }
  .img-float { float: none; max-width: 220px; margin: 0 auto 1.5rem; width: 100%; }
}
