:root{
  --primary:#2563eb; --primary-dark:#1d4ed8; --primary-light:#eff6ff;
  --ok:#0e7490; --ok-bg:#ecfeff; --ok-border:#a5f3fc;
  --crit:#dc2626; --crit-bg:#fef2f2;
  --border:#e2e8f0; --text:#0f172a; --muted:#64748b; --bg:#f1f5f9; --card:#ffffff;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;line-height:1.5;}
a{color:var(--primary);text-decoration:none;}
img{max-width:100%;display:block;}

/* ---------- Nav ---------- */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);}
.nav-inner{max-width:1120px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;}
.wordmark{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:800;letter-spacing:-.02em;color:var(--text);}
.wordmark-icon{width:34px;height:33px;display:flex;align-items:center;justify-content:center;flex:none;}
.wordmark-icon svg{width:32px;height:31px;}
.wordmark .accent{color:var(--ok);}
.nav-links{display:flex;align-items:center;gap:28px;}
.nav-links a{color:var(--muted);font-weight:600;font-size:14px;}
.nav-links a:hover{color:var(--text);}
.nav-cta{background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);color:#fff !important;padding:10px 20px;border-radius:8px;font-weight:700;font-size:14px;box-shadow:0 6px 16px -6px rgba(37,99,235,.6);}
@media (max-width:720px){.nav-links a:not(.nav-cta){display:none;}}

/* ---------- Hero ---------- */
.hero{background:linear-gradient(120deg,#0f2557 0%,#1d3f8f 45%,#2f5fd6 100%);color:#fff;padding:72px 24px 88px;position:relative;overflow:hidden;}
.hero::before{content:"";position:absolute;top:-80px;right:-60px;width:340px;height:340px;background:radial-gradient(circle, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 70%);}
.hero::after{content:"";position:absolute;bottom:-100px;left:6%;width:380px;height:380px;background:radial-gradient(circle, rgba(52,211,153,.22) 0%, rgba(255,255,255,0) 70%);}
.hero-inner{max-width:760px;margin:0 auto;text-align:center;position:relative;z-index:1;}
.hero .eyebrow{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#d3ddf5;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:6px 14px;border-radius:20px;margin-bottom:22px;}
.hero h1{font-size:42px;font-weight:800;letter-spacing:-.02em;margin:0 0 16px;line-height:1.15;}
.hero p{font-size:17px;color:#d3ddf5;max-width:600px;margin:0 auto 32px;line-height:1.6;}
.hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
@media (max-width:640px){.hero h1{font-size:30px;} .hero{padding:52px 20px 64px;}}

.btn{background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);color:#fff;border:none;padding:14px 26px;border-radius:9px;font-size:15px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:8px;box-shadow:0 8px 20px -8px rgba(37,99,235,.6);transition:.15s;}
.btn:hover{transform:translateY(-1px);}
.btn-white{background:#fff;color:var(--primary-dark);}
.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.5);box-shadow:none;}
.btn-outline:hover{background:rgba(255,255,255,.1);}
.btn-secondary{background:#fff;color:var(--primary);border:1.5px solid var(--primary);box-shadow:none;padding:12px 22px;}

.hero-badges{max-width:720px;margin:36px auto 0;display:flex;gap:10px;flex-wrap:wrap;justify-content:center;position:relative;z-index:1;}
.badge-pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#eaf0ff;font-size:12.5px;font-weight:600;padding:7px 14px;border-radius:20px;}
.hero-trial-note{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#cfdaf5;font-size:12.5px;font-weight:600;margin-top:14px;}
.hero-trial-note svg{width:13px;height:13px;flex:none;}
.consent-note{font-size:11.5px;font-weight:500;color:#94a3b8;margin-top:8px;}
.consent-note a{color:inherit;text-decoration:underline;}
.consent-note.on-dark{color:#8ea3cc;}
.consent-note.on-dark a{color:#cfdaf5;}
.consent-note.centered{text-align:center;margin-top:6px;}

/* ---------- Sections ---------- */
.section{max-width:1120px;margin:0 auto;padding:80px 24px;}
.section-head{text-align:center;max-width:640px;margin:0 auto 48px;}
.section-head .eyebrow{color:var(--ok);font-weight:800;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px;display:block;}
.section-head h2{font-size:32px;font-weight:800;letter-spacing:-.02em;margin:0 0 12px;}
.section-head p{color:var(--muted);font-size:15.5px;line-height:1.6;}
.section.alt{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}

/* problem/solution */
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
@media (max-width:820px){.split{grid-template-columns:1fr;}}
.split h3,.split h2{font-size:24px;font-weight:800;margin:0 0 14px;}
.split p{color:var(--muted);font-size:15.5px;line-height:1.65;margin:0 0 14px;}
.stat-row{display:flex;gap:24px;margin-top:24px;flex-wrap:wrap;}
.stat{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px 20px;flex:1;min-width:140px;}
.stat .num{font-size:26px;font-weight:800;color:var(--primary);}
.stat .lbl{font-size:12.5px;color:var(--muted);font-weight:600;}

/* feature grid */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
@media (max-width:920px){.grid-4{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.grid-4{grid-template-columns:1fr;}}
.feature-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:24px;box-shadow:0 10px 30px -22px rgba(15,23,42,.25);transition:.2s;}
.feature-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px -20px rgba(15,23,42,.3);}
.feature-icon{width:42px;height:42px;border-radius:10px;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.feature-icon svg{width:22px;height:22px;}
.feature-card h3{font-size:15.5px;font-weight:700;margin:0 0 8px;}
.feature-card p{font-size:13.5px;color:var(--muted);line-height:1.55;margin:0;}

/* how it works */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:step;}
@media (max-width:820px){.steps{grid-template-columns:1fr;}}
.step{position:relative;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:28px 22px;}
.step .step-num{width:34px;height:34px;border-radius:50%;background:var(--ok);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;margin-bottom:16px;}
.step h3{font-size:16px;font-weight:700;margin:0 0 8px;}
.step p{font-size:13.5px;color:var(--muted);line-height:1.55;margin:0;}

.step-visual{background:#f8fafc;border:1px solid var(--border);border-radius:12px;padding:14px;margin-bottom:18px;}

.upload-mock{border:2px dashed #cbd5e1;border-radius:10px;padding:18px 12px;text-align:center;background:#fff;}
.upload-mock svg{width:26px;height:26px;color:#2563eb;margin:0 auto 8px;display:block;}
.upload-mock .um-file{font-size:12px;font-weight:700;color:var(--text);}
.upload-mock .um-sub{font-size:10.5px;color:var(--muted);margin-top:2px;}
.upload-mock .um-chip{display:inline-block;margin-top:10px;background:var(--ok-bg);color:var(--ok);font-size:9px;font-weight:800;padding:3px 9px;border-radius:10px;}

.mapping-mock{display:flex;flex-direction:column;gap:6px;}
.map-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;}
.map-row .mr-from{color:var(--text);font-weight:700;white-space:nowrap;}
.map-row .mr-check{display:flex;align-items:center;gap:4px;color:var(--ok);font-weight:800;font-size:9.5px;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;}
.map-row .mr-check svg{width:10px;height:10px;flex:none;}
.map-row.tag .mr-check{color:#2563eb;}

.mockup-summary.mini{margin-bottom:10px;gap:6px;}
.mockup-summary.mini .mockup-stat{padding:7px 6px;}
.mockup-summary.mini .n{font-size:15px;}
.mockup-summary.mini .l{font-size:8.5px;}
.step-visual .mockup-row{margin-bottom:0;background:#fff;}

/* services */
.services-flagship{background:linear-gradient(135deg,#0f2557,#1d3f8f);color:#fff;border-radius:18px;padding:36px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:28px;position:relative;overflow:hidden;}
.services-flagship::after{content:"";position:absolute;top:-40px;right:-40px;width:180px;height:180px;background:radial-gradient(circle, rgba(52,211,153,.25) 0%, rgba(255,255,255,0) 70%);}
.services-flagship-icon{flex:none;width:54px;height:54px;border-radius:14px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;position:relative;z-index:1;}
.services-flagship-icon svg{width:28px;height:28px;}
.services-flagship-copy{flex:1;position:relative;z-index:1;min-width:220px;}
.services-flagship h3{font-size:22px;margin:0 0 8px;font-weight:800;}
.services-flagship p{color:#d3ddf5;margin:0;max-width:520px;font-size:14.5px;line-height:1.6;}
.services-flagship .btn{position:relative;z-index:1;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width:820px){.grid-3{grid-template-columns:1fr;}}
.service-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:24px;}
.service-card .stag{display:inline-block;background:var(--ok-bg);color:var(--ok);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 10px;border-radius:20px;margin-bottom:12px;}
.service-card h3{font-size:16px;font-weight:700;margin:0 0 8px;}
.service-card p{font-size:13.5px;color:var(--muted);line-height:1.55;margin:0 0 14px;}
.service-card a{font-size:13.5px;font-weight:700;}

/* CTA band */
.cta-band{background:var(--ok-bg);border:1px solid var(--ok-border);border-radius:20px;padding:48px;margin:0 24px 80px;max-width:1072px;margin-left:auto;margin-right:auto;}
.cta-band h2{font-size:26px;font-weight:800;margin:0 0 10px;}
.cta-band p{color:var(--muted);margin:0 0 26px;font-size:15px;}
.cta-band-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;text-align:left;}
.cta-band-copy{flex:1;text-align:center;}
.cta-band-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.cta-band-art{width:190px;height:auto;flex:none;}
@media (max-width:760px){.cta-band-inner{flex-direction:column;text-align:center;} .cta-band-art{order:-1;width:150px;}}

.trust-strip{padding-top:0;padding-bottom:8px;}
.trust-strip-inner{display:flex;align-items:center;justify-content:center;}

/* ---------- Welcome / human-touch illustration ---------- */
.welcome-split .split{gap:56px;}
.welcome-illo{display:flex;align-items:center;justify-content:center;}
.welcome-illo svg{width:100%;max-width:340px;height:auto;}
@media (max-width:820px){.welcome-illo{order:-1;margin-bottom:8px;}}
.trust-strip-inner svg{width:100%;max-width:680px;height:auto;}
@media (max-width:600px){.trust-strip-inner svg{max-width:100%;}}

/* footer */
footer.site{background:#0f172a;color:#94a3b8;padding:48px 24px 28px;}
.footer-inner{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px;}
@media (max-width:720px){.footer-inner{grid-template-columns:1fr;}}
.footer-inner .wordmark{color:#fff;}
.footer-inner p{font-size:13px;line-height:1.6;color:#94a3b8;max-width:320px;margin-top:12px;}
.footer-col h5{color:#fff;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin:0 0 14px;}
.footer-col a{display:block;color:#94a3b8;font-size:13.5px;margin-bottom:10px;}
.footer-col a:hover{color:#fff;}
.footer-bottom{max-width:1120px;margin:36px auto 0;padding-top:24px;border-top:1px solid #1e293b;font-size:12.5px;color:#64748b;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}
.footer-bottom a{color:#94a3b8;}
.footer-bottom a:hover{color:#fff;}
.footer-admin-link{margin-left:10px;opacity:.55;font-size:11px;}
.footer-admin-link:hover{opacity:1;}

/* ---------- Login page ---------- */
.login-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(120deg,#0f2557 0%,#1d3f8f 45%,#2f5fd6 100%);padding:24px;}
.login-card{background:#fff;border-radius:18px;padding:40px 36px;max-width:400px;width:100%;box-shadow:0 30px 60px -20px rgba(0,0,0,.4);}
.login-card .wordmark{justify-content:center;margin-bottom:6px;}
.login-card .sub{text-align:center;color:var(--muted);font-size:13.5px;margin-bottom:28px;}
.field{margin-bottom:16px;}
.field label{display:block;font-size:12.5px;font-weight:700;color:var(--text);margin-bottom:6px;}
.field input,.field select,.field textarea{width:100%;padding:11px 13px;border:1.5px solid var(--border);border-radius:9px;font-size:14.5px;font-family:inherit;box-sizing:border-box;}
.field textarea{resize:vertical;}
.field select{background:#fff;}

/* ---------- Help button + form ---------- */
.help-fab{position:fixed;right:22px;bottom:22px;z-index:60;display:flex;align-items:center;gap:8px;background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);color:#fff;border:none;padding:13px 20px 13px 16px;border-radius:999px;font-size:14.5px;font-weight:700;cursor:pointer;box-shadow:0 14px 30px -10px rgba(37,99,235,.55);transition:.15s;}
.help-fab:hover{transform:translateY(-2px);box-shadow:0 18px 36px -10px rgba(37,99,235,.6);}
.help-fab svg{width:19px;height:19px;flex:none;}
@media (max-width:520px){.help-fab{right:16px;bottom:16px;padding:13px;}
  .help-fab{font-size:0;}
  .help-fab svg{margin:0;}
}

.help-overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:20px;z-index:100;}
.help-overlay[hidden]{display:none;}
.help-modal{background:#fff;border-radius:18px;padding:32px;max-width:440px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 30px 70px -20px rgba(15,23,42,.4);}
.help-modal h3{font-size:20px;font-weight:800;margin:0 0 8px;}
.help-modal-sub{font-size:13.5px;color:var(--muted);line-height:1.55;margin:0 0 22px;}
.help-modal-close{position:absolute;top:18px;right:18px;background:var(--primary-light);color:var(--primary);border:none;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.help-modal-close svg{width:16px;height:16px;}
.help-modal-submit{width:100%;justify-content:center;margin-top:4px;}
.field input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light);}
.login-error{background:var(--crit-bg);color:var(--crit);font-size:13px;font-weight:600;padding:10px 12px;border-radius:8px;margin-bottom:16px;display:none;}
.login-error.show{display:block;}
.login-btn{width:100%;justify-content:center;margin-top:6px;}
.login-hint{text-align:center;font-size:12px;color:var(--muted);margin-top:20px;}
.login-home-link{display:inline-flex;align-items:center;gap:6px;color:#dbe6ff;font-size:13.5px;font-weight:700;margin-bottom:22px;}
.login-home-link:hover{color:#fff;}
.login-home-link svg{width:15px;height:15px;}

/* ---------- Legal pages (Privacy Policy / Terms) ---------- */
.legal-page{max-width:760px;margin:0 auto;padding:56px 24px 100px;}
.legal-page .legal-updated{color:var(--muted);font-size:13px;margin-bottom:8px;}
.legal-page h1{font-size:32px;font-weight:800;margin:0 0 8px;}
.legal-page .legal-notice{background:var(--primary-light);border:1px solid #bfdbfe;border-radius:12px;padding:16px 18px;font-size:13.5px;color:#1e3a8a;line-height:1.6;margin:20px 0 36px;}
.legal-page h2{font-size:19px;font-weight:800;margin:34px 0 12px;}
.legal-page p{color:var(--text);font-size:14.5px;line-height:1.7;margin:0 0 14px;}
.legal-page ul{margin:0 0 14px;padding-left:22px;}
.legal-page li{color:var(--text);font-size:14.5px;line-height:1.7;margin-bottom:8px;}
.legal-page a{font-weight:600;}
.legal-page .legal-placeholder{background:#fffbeb;color:#92400e;padding:1px 6px;border-radius:5px;font-weight:700;}

/* ---------- Portal page ---------- */
.portal-header{background:linear-gradient(120deg,#0f2557 0%,#1d3f8f 45%,#2f5fd6 100%);color:#fff;padding:28px 24px;position:relative;}
.portal-header-inner{max-width:1120px;margin:0 auto;position:relative;padding-right:140px;box-sizing:border-box;}
.portal-header h1{font-size:20px;margin:0 0 4px;font-weight:800;}
.portal-header p{margin:0;color:#d3ddf5;font-size:13.5px;}
.portal-email{margin-top:6px !important;color:#a9c1f2 !important;font-size:12px !important;font-weight:600;}
.logout-btn{position:absolute;top:0;right:0;background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.4);color:#fff;padding:9px 16px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;z-index:2;}
.logout-btn:hover{background:rgba(255,255,255,.28);}
@media (max-width:480px){.portal-header-inner{padding-right:0;} .logout-btn{position:static;margin-top:14px;}}
.portal-wrap{max-width:1360px;margin:0 auto;padding:36px 24px 80px;}
.portal-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:28px;margin-bottom:24px;box-shadow:0 10px 30px -22px rgba(15,23,42,.2);}
.portal-card h2{font-size:18px;margin:0 0 6px;display:flex;align-items:center;gap:10px;}
.portal-card .sub{color:var(--muted);font-size:13.5px;margin-bottom:18px;}
.tool-frame{width:100%;height:900px;border:1px solid var(--border);border-radius:12px;background:#f8fafc;}
.frame-actions{display:flex;justify-content:flex-end;margin-bottom:12px;}
.frame-actions a{font-size:13px;font-weight:700;}

/* ---------- Admin: client list ---------- */
.admin-note{background:var(--primary-light);border:1px solid #bfdbfe;color:#1e3a8a;font-size:13px;line-height:1.6;padding:14px 18px;border-radius:12px;margin-bottom:22px;}
.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px;}
.admin-search{flex:1;min-width:220px;padding:11px 14px;border:1.5px solid var(--border);border-radius:9px;font-size:14px;font-family:inherit;box-sizing:border-box;}
.admin-search:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light);}
.admin-toolbar-btns{display:flex;gap:10px;flex-wrap:wrap;}
.admin-toolbar-btns .btn,.admin-toolbar-btns .btn-secondary{padding:11px 18px;font-size:13.5px;white-space:nowrap;}
.admin-table-wrap{overflow-x:auto;}
.admin-table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:820px;}
.admin-table th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800;padding:0 12px 10px;border-bottom:1.5px solid var(--border);white-space:nowrap;}
.admin-table td{padding:12px;border-bottom:1px solid var(--border);vertical-align:top;color:var(--text);}
.admin-table tr:last-child td{border-bottom:none;}
.admin-notes-cell{color:var(--muted);max-width:220px;}
.admin-actions{white-space:nowrap;}
.admin-link-btn{background:none;border:none;color:var(--primary);font-weight:700;font-size:13px;cursor:pointer;padding:0;margin-right:14px;}
.admin-link-btn:hover{text-decoration:underline;}
.admin-link-btn.danger{color:var(--crit);}
.admin-empty{display:none;text-align:center;color:var(--muted);font-size:14px;padding:40px 20px;}
.badge-mini.ok{background:var(--ok-bg);color:var(--ok);}
.badge-mini.muted{background:#f1f5f9;color:#64748b;}

/* ---------- Hero v2: two-column + product mockup ---------- */
.hero-grid{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center;position:relative;z-index:1;text-align:left;}
@media (max-width:960px){.hero-grid{grid-template-columns:1fr;text-align:center;} .hero-mockup{order:-1;margin:0 auto 8px;max-width:480px;}}
.hero-grid .hero-actions,.hero-grid .hero-badges{justify-content:flex-start;margin-left:0;}
@media (max-width:960px){.hero-grid .hero-actions,.hero-grid .hero-badges{justify-content:center;}}
.hero-grid p{margin-left:0;}
@media (max-width:960px){.hero-grid p{margin-left:auto;margin-right:auto;}}

.hero-mockup{background:#fff;border-radius:20px;padding:22px;box-shadow:0 40px 80px -30px rgba(0,0,0,.5);}
.hero-mockup .mockup-topbar{display:flex;gap:6px;margin-bottom:16px;}
.hero-mockup .mdot{width:9px;height:9px;border-radius:50%;background:#e2e8f0;}
.mockup-title{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:800;color:var(--text);margin-bottom:14px;}
.mockup-title .mtag{background:var(--ok-bg);color:var(--ok);font-size:9.5px;font-weight:800;padding:2px 8px;border-radius:10px;text-transform:uppercase;}
.mockup-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px;}
.mockup-stat{border-radius:10px;padding:10px;text-align:left;}
.mockup-stat.crit{background:#fef2f2;color:#dc2626;}
.mockup-stat.warn{background:#fffbeb;color:#d97706;}
.mockup-stat.ok{background:#ecfeff;color:#0e7490;}
.mockup-stat .n{font-size:19px;font-weight:800;line-height:1.1;}
.mockup-stat .l{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;}
.mockup-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;margin-bottom:8px;}
.mockup-row:last-child{margin-bottom:0;}
.badge-mini{flex:none;font-size:9px;font-weight:800;padding:3px 8px;border-radius:10px;text-transform:uppercase;margin-top:1px;}
.badge-mini.crit{background:#fef2f2;color:#dc2626;}
.badge-mini.warn{background:#fffbeb;color:#d97706;}
.mockup-row .txt{color:var(--text);font-weight:700;font-size:12px;}
.mockup-row .sub{color:var(--muted);font-size:11px;margin-top:2px;}

/* ---------- Case studies ---------- */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
@media (max-width:820px){.grid-2{grid-template-columns:1fr;}}
.case-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:0 10px 30px -24px rgba(15,23,42,.2);}
.case-card .case-tag{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:4px 11px;border-radius:20px;margin-bottom:16px;}
.case-card .case-tag.crit{background:#fef2f2;color:#dc2626;}
.case-card .case-tag.warn{background:#fffbeb;color:#d97706;}
.case-card h3{font-size:18px;font-weight:800;margin:0 0 14px;}
.case-row{display:flex;gap:12px;margin-bottom:12px;font-size:13.5px;color:var(--muted);line-height:1.55;}
.case-row .lbl{flex:none;font-weight:800;color:var(--text);width:84px;font-size:10.5px;text-transform:uppercase;letter-spacing:.03em;padding-top:2px;}
.case-impact{margin-top:18px;background:var(--ok-bg);border:1px solid var(--ok-border);border-radius:10px;padding:11px 14px;font-size:13px;font-weight:700;color:var(--ok);display:flex;align-items:center;gap:8px;}
.case-impact svg{flex:none;width:16px;height:16px;}
.case-disclaimer{font-size:12.5px;color:var(--muted);text-align:center;margin-top:28px;font-style:italic;}

/* ---------- Reviews ---------- */
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width:920px){.review-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:640px){.review-grid{grid-template-columns:1fr;}}
.review-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 10px 30px -24px rgba(15,23,42,.2);display:flex;flex-direction:column;}
.review-stars{color:#f59e0b;font-size:16px;letter-spacing:2px;margin-bottom:12px;}
.review-stars .dim{color:#e2e8f0;}
.review-quote{font-size:14.5px;line-height:1.6;color:var(--text);margin:0 0 18px;flex:1;}
.review-quote::before{content:"\201C";}
.review-quote::after{content:"\201D";}
.review-person{font-weight:800;font-size:14px;}
.review-role{font-size:12.5px;color:var(--muted);margin-top:2px;}
.reviews-disclaimer{font-size:12.5px;color:var(--muted);text-align:center;margin-top:28px;font-style:italic;}

/* ---------- Pricing ---------- */
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch;}
@media (max-width:980px){.pricing-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:620px){.pricing-grid{grid-template-columns:1fr;}}
.pricing-grid.single{grid-template-columns:1fr;max-width:400px;margin:0 auto;}
.pricing-grid.single .price-card.popular{transform:none;}
.pricing-grid.dual{grid-template-columns:1fr 1fr;max-width:760px;margin:0 auto;}
@media (max-width:620px){.pricing-grid.dual{grid-template-columns:1fr;}}
.price-card{background:var(--card);border:1.5px solid var(--border);border-radius:16px;padding:30px 24px;display:flex;flex-direction:column;position:relative;}
.price-card.popular{border-color:var(--primary);box-shadow:0 24px 44px -24px rgba(37,99,235,.45);}
@media (min-width:981px){.price-card.popular{transform:translateY(-10px);}}
.price-card .popular-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;font-size:10.5px;font-weight:800;padding:5px 14px;border-radius:20px;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;}
.price-card h3{font-size:16px;font-weight:800;margin:14px 0 4px;}
.price-card.popular h3{margin-top:6px;}
.price-card .price-desc{font-size:12.5px;color:var(--muted);margin-bottom:20px;min-height:32px;}
.price-card .price{font-size:34px;font-weight:800;margin-bottom:2px;}
.price-card .price span{font-size:13.5px;font-weight:600;color:var(--muted);}
.price-card .price-sub{font-size:12px;color:var(--muted);margin-bottom:22px;}
.price-list{list-style:none;padding:0;margin:0 0 24px;flex:1;}
.price-list li{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--text);margin-bottom:11px;line-height:1.4;}
.price-list li svg{flex:none;width:15px;height:15px;color:var(--ok);margin-top:1px;}
.price-card .btn,.price-card .btn-secondary{width:100%;justify-content:center;}
.pricing-note{text-align:center;color:var(--muted);font-size:13px;margin-top:30px;line-height:1.6;}
.pricing-note svg{width:13px;height:13px;vertical-align:-2px;margin-right:2px;}
.price-trial-note{text-align:center;font-size:12px;color:var(--muted);font-weight:600;margin-top:10px;}

/* ---------- Cost of errors: stats + charts + illustration ---------- */
.cost-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:32px;}
@media (max-width:820px){.cost-stats{grid-template-columns:1fr 1fr;}}
.cost-stat{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:24px 18px;text-align:center;box-shadow:0 10px 26px -22px rgba(15,23,42,.2);}
.cost-stat .cs-num{font-size:28px;font-weight:800;color:var(--primary);margin-bottom:6px;}
.cost-stat .cs-lbl{font-size:12.5px;color:var(--muted);line-height:1.4;font-weight:600;}

.chart-illustration-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center;}
@media (max-width:860px){.chart-illustration-grid{grid-template-columns:1fr;}}

.bar-chart{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:0 10px 30px -24px rgba(15,23,42,.2);}
.bar-chart-title{font-size:13.5px;font-weight:700;color:var(--text);margin-bottom:6px;}
.bars{display:flex;align-items:flex-end;justify-content:space-around;height:200px;gap:14px;margin-top:26px;padding-top:20px;border-top:1px dashed var(--border);}
.bar-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;flex:1;}
.bar-val{font-weight:800;font-size:14px;margin-bottom:8px;color:var(--text);}
.bar{width:100%;max-width:52px;border-radius:8px 8px 3px 3px;}
.bar-lbl{margin-top:10px;font-size:10.5px;color:var(--muted);text-align:center;font-weight:600;line-height:1.3;}
.chart-source{text-align:center;font-size:11px;color:var(--muted);margin-top:20px;font-style:italic;}

.illustration-wrap{display:flex;align-items:center;justify-content:center;}
.illustration-wrap svg{width:100%;max-width:340px;height:auto;}

/* ---------- FAQ ---------- */
.faq-list{max-width:760px;margin:0 auto;}
.faq-item{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:18px 22px;margin-bottom:12px;}
.faq-item summary{cursor:pointer;font-size:15px;font-weight:700;color:var(--text);list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary .chev{flex:none;width:18px;height:18px;color:var(--muted);transition:transform .2s;}
.faq-item[open] summary .chev{transform:rotate(180deg);}
.faq-item p{margin:14px 0 0;color:var(--muted);font-size:13.5px;line-height:1.6;}

/* ---------- Scroll reveal (progressive enhancement — visible without JS) ---------- */
.reveal{opacity:1;transform:none;}
body.js-ready .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
body.js-ready .reveal.in-view{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  body.js-ready .reveal{opacity:1;transform:none;transition:none;}
}
