:root {
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --grad: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  --radius: 16px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 40px -12px rgba(79, 70, 229, .25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--surface);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; color: var(--ink); }
.brand-logo {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(109, 66, 233, .35);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #334155; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 10px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: #334155; border-color: var(--border); }
.btn-ghost:hover { background: var(--bg); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-50); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 75% 10%, rgba(124, 58, 237, .18), transparent 60%),
    radial-gradient(45% 45% at 15% 90%, rgba(79, 70, 229, .15), transparent 60%),
    #f8fafc;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; right: -160px; top: -160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.12), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-dark);
  font-size: 13.5px; font-weight: 700; margin-bottom: 22px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: 48px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 36px; color: var(--muted); font-size: 14px; }
.hero-trust .stat { font-weight: 800; color: var(--ink); font-size: 20px; }
.hero-trust .row { display: flex; align-items: center; gap: 6px; }

/* Mock LOA card */
.mock-wrap { position: relative; }
.mock {
  background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .25);
  border: 1px solid var(--border); padding: 0 0 22px; transform: rotate(-2deg);
}
.mock-banner { background: #1e3a8a; color: #fff; padding: 18px 22px; border-radius: 18px 18px 0 0; text-align: center; }
.mock-banner h3 { font-size: 17px; font-weight: 800; letter-spacing: .4px; }
.mock-banner p { font-size: 12px; color: #bfdbfe; }
.mock-body { padding: 20px 24px; }
.mock-ribbon { text-align: center; font-size: 12.5px; font-weight: 700; color: #1e3a8a; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 12px; }
.mock-line { height: 9px; border-radius: 6px; background: #e2e8f0; margin: 9px 0; }
.mock-line.short { width: 62%; margin: 12px auto 0; }
.mock-stamp { display: inline-block; margin: 16px auto 0; padding: 8px 18px; border: 2px solid #16a34a; color: #16a34a; border-radius: 6px; font-weight: 800; font-size: 15px; letter-spacing: 3px; transform: rotate(-6deg); }
.mock-tag { position: absolute; top: -14px; right: -14px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.mock-tile { position: absolute; bottom: -18px; left: -18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.mock-tile .check { width: 26px; height: 26px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
.block-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.block-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 12px; }
.block-head p { color: var(--muted); font-size: 16.5px; }

.logo-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; }
.logo-strip span { color: #94a3b8; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

.journal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.journal-card { display: flex; align-items: center; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: #fff; transition: .2s ease; }
.journal-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.j-card-logo { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.j-card-name { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.j-card-meta { color: var(--muted); font-size: 13px; }

/* ---------- CTA ---------- */
.cta { padding: 84px 0; }
.cta-card {
  background: var(--grad); border-radius: 24px; color: #fff; text-align: center; padding: 64px 32px;
  position: relative; overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); top: -120px; right: -80px; }
.cta-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); bottom: -120px; left: -60px; }
.cta-card h2 { font-size: 34px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-card p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: #f8fafc; padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ink); }
.footer p { color: var(--muted); font-size: 14px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #334155; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; color: #94a3b8; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .feature-grid, .steps, .journal-list { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 34px; }
  .nav-links { display: none; }
  .block { padding: 56px 0; }
  .mock { transform: none; margin-top: 40px; }
}