/* Accredible Network Verified — shared design system.
   Brand: Montserrat, indigo #5B4DFC, magenta accent #D303BE, lavender #E8E6FF, verified-green. */

:root {
    --brand: #5B4DFC;
    --brand-600: #4a3ce0;
    --brand-700: #3a2fc0;
    --navy: #22257C;   /* brand secondary — headings and dark bands */
    --accent: #D303BE;
    --no: #c4483b;
    --lav: #E8E6FF;
    --lav-soft: #F3F1FF;
    --ink: #141024;
    --muted: #5b5870;
    --hair: #E7E2F5;
    --line: #eceaf5;
    --ok: #1BA97B;
    --ok-bg: #e7f7f0;
    --warn: #B7791F;
    --bg: #ffffff;
    --shadow: 0 10px 40px rgba(30, 20, 80, .08);
    --shadow-sm: 0 4px 16px rgba(30, 20, 80, .06);
    --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1, h2 { color: var(--navy); }   /* brand secondary, matching the marketing site */
h1 { font-size: 60px; font-weight: 800; }
h2 { font-size: 38px; font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.muted { color: var(--muted); }

/* ---- announcement bar ---- */
.announce { background: var(--brand); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; }
.announce a { color: #fff; text-decoration: underline; }

/* ---- header ---- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.brand .logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-right { display: flex; align-items: center; gap: 18px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 15px; font-weight: 700;
    padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--hair); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-danger { background: #fff; color: #c4483b; border-color: #f0cfca; }
.btn-danger:hover { background: #fdf1f0; color: #c4483b; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- hero ---- */
.hero { padding: 72px 0 80px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---- result / product card ---- */
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.result-head .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lav); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.result-head .who { font-weight: 700; font-size: 15px; }
.result-head .sub { font-size: 13px; color: var(--muted); }
.result-field { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 4px 0 12px; }
.cred-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.cred-row .name { font-weight: 600; font-size: 14.5px; }
.cred-row .issuer { font-size: 12.5px; color: var(--muted); }

/* ---- badges / pills ---- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-maybe { background: #eef2ff; color: #4457c9; }
.badge-none { background: #f4f3f8; color: var(--muted); }
.badge-live { background: var(--ok-bg); color: var(--ok); }

/* ---- sections ---- */
section { padding: 72px 0; }
.section-lav { background: var(--lav-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .lead { margin: 0 auto; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num { width: 34px; height: 34px; border-radius: 10px; background: var(--lav); color: var(--brand); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---- feature / result grid ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.tile h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* icon tile (indigo rounded square, like the brand) */
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; }

/* ---- CTA band ---- */
.cta-band { background: var(--brand); color: #fff; border-radius: 28px; padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e7e3ff; font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-primary:hover { background: #f2f0ff; color: var(--brand); }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); }

/* ---- auth card ---- */
.auth-wrap { min-height: 78vh; display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 36px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 6px; }
.form input { font-family: inherit; font-size: 15px; padding: 13px 14px; border: 1.5px solid var(--hair); border-radius: 12px; width: 100%; }
.form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--lav); }
.alert { font-size: 14px; padding: 11px 14px; border-radius: 12px; margin-bottom: 18px; }
.alert-err { background: #fdf1f0; border: 1px solid #f5c9c4; color: #c4483b; }
.alert-ok { background: var(--ok-bg); border: 1px solid #bfe9d7; color: #128a63; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---- dashboard ---- */
.dash { background: #faf9ff; min-height: 100vh; }
.dash-top { background: #fff; border-bottom: 1px solid var(--line); }
.dash-user { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.dash-user .who { text-align: right; }
.dash-user .who b { display: block; font-size: 14px; }
.dash-user .who span { color: var(--muted); font-size: 12.5px; }
.dash-main { padding: 40px 0 64px; }
.dash-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.dash-title h1 { font-size: 30px; margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stat .stat-label { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat .stat-num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; }
.stat .stat-sub { font-size: 13px; color: var(--muted); }
.stat .icon-tile { width: 30px; height: 30px; border-radius: 8px; }
.meter { height: 8px; border-radius: 999px; background: var(--lav); overflow: hidden; margin-top: 14px; }
.meter > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }

.panel-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 16px; margin-bottom: 18px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.kv:first-of-type { border-top: 0; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; text-align: right; }
.plan-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--lav); color: var(--brand); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.panel-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }

/* ---- three-up grid (problem cards, industries) ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---- headline statistic band ---- */
.stat-band { background: var(--lav); border-radius: 28px; padding: 40px 44px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.stat-band .big { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--brand); }
.stat-band h3 { font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.stat-band p { margin: 0; color: var(--muted); font-size: 15px; max-width: 660px; }

/* ---- comparison table (scrolls horizontally rather than squashing) ---- */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.compare table { border-collapse: collapse; width: 100%; min-width: 780px; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; background: var(--lav-soft); font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare tr.is-ours th, .compare tr.is-ours td { background: #f7f6ff; }
.compare tr.is-ours th { color: var(--brand); }
.yes, .no { font-weight: 700; }
.yes { color: var(--ok); }
.no { color: var(--no); }

/* ---- trust statistics ---- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.trust .num { font-size: 46px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin-bottom: 6px; line-height: 1.1; }
.trust .cap { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.trust p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---- FAQ (native details/summary — no JS, keyboard accessible) ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15.5px; color: var(--navy);
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 700; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ---- responsive ---- */
@media (max-width: 860px) {
    .grid-3, .trust { grid-template-columns: 1fr; }
    .stat-band { grid-template-columns: 1fr; gap: 18px; padding: 32px 26px; }
    .stat-band .big { font-size: 64px; }
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    .hero { grid-template-columns: 1fr; padding: 40px 0 48px; gap: 36px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .grid-2, .panel-grid, .stat-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .cta-band { padding: 40px 24px; }
}
