:root {
  --bg: #ffffff;
  --primary: #0d6efd;
  --text: #0F1F32;
  --muted: #475569;
  --ring: #0F1F32;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); }
.container { max-width: 1040px; margin: 0 auto; padding: 0 1rem; }
.brand { padding: 0.75rem 0; background: #0F1F32; }
.brand__content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.brand-title { color: #ffffff; margin: 0; font-size: 1.2rem; letter-spacing: -0.01em; }
.tagline { color: #dbeafe; margin: 0; font-size: 0.95rem; }
.brand-logo { height: 64px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25)); background-color: #0F1F32; }
.login-link { color: #f8fafc; font-weight: 600; text-decoration: none; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); transition: background-color 0.2s ease, color 0.2s ease; }
.login-link:hover { background-color: rgba(255,255,255,0.1); color: #fff; }
.hero { padding: 3.5rem 0 4.25rem; background: linear-gradient(180deg, rgba(13,110,253,0.06), #fff 65%); }
.hero__content { text-align: center; display: flex; flex-direction: column; gap: 1rem; }
.hero h1 { font-size: clamp(1.8rem, 3vw + 1rem, 3rem); margin: 0; letter-spacing: -0.01em; }
.hero .subhead { font-size: 1.125rem; color: var(--muted); margin: 0 auto 1rem; max-width: 70ch; text-align: center; }
.hero .support { font-size: 1.05rem; color: var(--muted); margin: 0 auto 1.5rem; max-width: 70ch; text-align: center; }
.hero-highlights { list-style: disc; margin: 0 auto; padding: 0 0 0 1.5rem; text-align: left; max-width: 60ch; color: var(--muted); display: grid; gap: 0.5rem; }
.hero-highlights li { line-height: 1.5; }
.cta { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; padding: 0.9rem 1.25rem; border-radius: 0.6rem; font-weight: 600; box-shadow: 0 6px 20px var(--ring); }
.cta:hover { filter: brightness(0.95); }
.pillars { padding: 2rem 0 2.5rem; }
.pillars .container { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 1.5rem; background: #fff; box-shadow: 0 10px 30px rgba(2, 8, 20, 0.06); text-align: center; }
.card .icon { width: 56px; height: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #0d6efd; margin: 0 auto 0.5rem; box-shadow: 0 6px 18px rgba(13,110,253,0.25); }
.card h3 { margin: 0 0 0.35rem; font-size: 1.1rem;  text-align: center;}
.card p { margin: 0; color: var(--muted); }
.microproof { display: block; margin-top: 0.6rem; font-size: 0.85rem; color: #64748b; }
.section.preview .card { padding: 2rem; }
.preview-card { min-height: 260px; display: flex; align-items: center; justify-content: center; }
.preview-figure { margin: 0; text-align: center; width: 100%; }
.preview-image { width: 100%; max-width: 760px; border-radius: 16px; box-shadow: 0 18px 40px rgba(24,40,72,0.08); }
.preview-caption { margin-top: 0.75rem; color: #607086; font-size: 0.92rem; }
.story .card { display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
.story .card .icon { margin: 0; }
.story .card .content { flex: 1; }
.story .card p { line-height: 1.55; }
.story.story-cards .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story.story-cards .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story.story-cards .card { min-height: 100%; }
.story.story-cards h3 { font-size: 1.15rem; }
.story.story-cards .card strong { color: var(--text); }
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story.story-cards .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .story .card { flex-direction: column; text-align: center; align-items: center; }
  .story .card .icon { margin: 0 0 0.75rem; }
}
@media (max-width: 640px) {
  .brand__content { flex-direction: column; gap: 0.75rem; }
  .hero-highlights { padding-left: 1rem; }
}

/* Sections */
.section { padding: 2rem 0; }
.section + .section { margin-top: -0.25rem; }
.hero + .section { margin-top: -0.5rem; }
.section .section-title { text-align: center; margin: 0 0 1rem; font-size: 1.6rem; }
.section__cta { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Horizontal How It Works */
.how .steps { list-style: none; padding: 0; margin: 0; }
/* Force horizontal layout for the steps variant */
.how .steps-horizontal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; max-width: 100%; }
.how .steps-horizontal li { height: 100%; }
.how .steps li { background: #fff; border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 1rem; box-shadow: 0 10px 30px rgba(2, 8, 20, 0.06); text-align: center; }
.how .step-icon { width: 36px; height: 36px; border-radius: 999px; background: #0d6efd; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 0.4rem; box-shadow: 0 6px 18px rgba(13,110,253,0.25); }
.how h4 { margin: 0 0 0.4rem; }
@media (max-width: 860px) { .how .steps-horizontal { grid-template-columns: 1fr; } }
