/* ════════════════════════════════════════════════════════
   Licensely — State page shared styles
   Used by all /states/[state]-aprn/ and /states/[state]-rn/ pages
   ════════════════════════════════════════════════════════ */

:root {
    --navy: #1A2138;
    --deep: #0F1525;
    --blue: #159FE8;
    --violet: #5D69EF;
    --mid: #3885ED;
    --grad: linear-gradient(135deg, #159FE8, #5D69EF);
    --off: #F8FAFC;
    --pale: #EFF6FF;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --text: #475569;
    --textl: #64748B;
    --mint: #10B981;
    --warm: #F59E0B;
    --rose: #F43F5E;
    --shadow: 0 10px 30px -12px rgba(15,21,37,.12);
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--off);
    color: var(--navy);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--mid); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* Header */
header.bar { border-bottom: 1px solid var(--border); background: var(--white); }
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 20px; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bar a.nav { font-size: 14px; color: var(--textl); font-weight: 500; text-decoration: none; }
.bar a.nav:hover { color: var(--mid); text-decoration: none; }

/* Clickable map link (replaces inline email capture) */
.map-link { margin: 28px 0 24px; padding: 16px 20px; background: var(--pale); border-left: 3px solid var(--mid); border-radius: 8px; font-size: 15.5px; }
.map-link a { color: var(--mid); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.map-link a::before { content: "🗺️"; margin-right: 10px; font-size: 18px; }
.map-link a::after { content: " →"; margin-left: 4px; transition: transform .15s; }
.map-link a:hover { text-decoration: underline; }
.map-link a:hover::after { transform: translateX(3px); }

/* Verified date stamp */
.verified-stamp {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 18px 0 30px; padding: 12px 16px;
    background: #FFF8E6; border-left: 3px solid #F59E0B; border-radius: 7px;
    font-size: 13px; line-height: 1.55; color: #78350F;
}
.verified-stamp .ic { flex-shrink: 0; font-size: 16px; line-height: 1.4; }
.verified-stamp strong { color: #78350F; font-weight: 700; }

/* Hero */
.hero { padding: 48px 0 12px; }
.eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 14px;
}
h1 { font-size: 38px; line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.02em; font-weight: 800; color: var(--navy); }
.lede { font-size: 18.5px; color: var(--text); margin: 0 0 6px; line-height: 1.65; }

/* Quick facts */
.facts {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    margin: 32px 0; overflow: hidden; box-shadow: var(--shadow);
}
.facts .head {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--textl); padding: 14px 22px; border-bottom: 1px solid var(--border); background: var(--off);
}
.facts dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.facts .row { display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.facts .row:nth-child(odd) { border-right: 1px solid var(--border); }
.facts dt { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--textl); font-weight: 600; }
.facts dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--navy); }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.pill.yes { background: #DCFCE7; color: #15803D; }
.pill.no { background: #FEE2E2; color: #B91C1C; }
.pill.amber { background: #FEF3C7; color: #92400E; }
.pill.blue { background: #DBEAFE; color: #075985; }

/* Sections */
section { padding: 16px 0; }
h2 {
    font-size: 26px; margin: 28px 0 12px; letter-spacing: -0.015em; font-weight: 800; color: var(--navy);
}
h2 .kicker {
    display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 6px;
}
p.body { font-size: 17px; margin: 0 0 14px; color: var(--text); }

/* Callout */
.callout {
    border-left: 3px solid var(--mid); background: var(--pale);
    padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 16px 0; font-size: 16px; color: var(--navy);
}
.callout.amber { border-left-color: var(--warm); background: #FEF3C7; color: #92400E; }
.callout.mint { border-left-color: var(--mint); background: #DCFCE7; color: #166534; }

/* Steps */
ol.steps { list-style: none; margin: 12px 0 0; padding: 0; }
ol.steps li {
    display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border);
    font-size: 16.5px; color: var(--navy);
}
ol.steps li:last-child { border-bottom: 0; }
.num {
    flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff;
    font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
ol.steps li > div { flex: 1; }
ol.steps li strong { display: block; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
ol.steps li span.detail { font-size: 14px; color: var(--textl); font-weight: 400; line-height: 1.6; }

/* Pitfalls */
ul.pit { list-style: none; margin: 12px 0 0; padding: 0; }
ul.pit li {
    position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--border); font-size: 16px;
}
ul.pit li:last-child { border-bottom: 0; }
ul.pit li::before {
    content: "!"; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--warm); color: #fff; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin: 10px 0; background: var(--white); }
.faq-item summary {
    cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px; list-style: none;
    color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--mid); font-weight: 400; font-size: 22px; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: 15.5px; color: var(--text); line-height: 1.65; }

/* Conversion — Navigator product card */
.convert {
    position: relative; overflow: hidden;
    background: var(--grad); color: #fff; border-radius: 22px;
    padding: 44px 40px; margin: 52px 0 24px;
    box-shadow: 0 24px 60px -22px rgba(56,133,237,0.55);
}
.convert::before {
    content: ""; position: absolute; top: -120px; right: -120px;
    width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
    pointer-events: none;
}
.convert > * { position: relative; z-index: 1; }
.convert.has-visual { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.convert .badge {
    display: inline-block; padding: 5px 12px; background: rgba(255,255,255,0.18);
    color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; border-radius: 999px; margin-bottom: 18px;
    backdrop-filter: blur(8px);
}
.convert h3 {
    font-size: 32px; margin: 0 0 10px; letter-spacing: -0.025em;
    font-weight: 800; color: #fff; line-height: 1.1;
}
.convert h3 em { font-style: italic; font-weight: 800; opacity: 0.98; }
.convert .convert-sub {
    font-size: 16px; margin: 0 0 22px; color: rgba(255,255,255,0.95);
    line-height: 1.5; font-weight: 500;
}
.convert .check-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 9px 16px; margin: 0 0 28px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
}
.convert .check-grid div {
    display: flex; align-items: center; gap: 9px;
    font-size: 13.5px; color: rgba(255,255,255,0.97);
    font-weight: 500; line-height: 1.35;
}
.convert .check-grid div::before {
    content: "✓"; flex-shrink: 0;
    width: 16px; height: 16px;
    background: rgba(255,255,255,0.22); border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: #fff;
}
.convert .cta-row {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.convert .social { font-size: 13px; color: rgba(255,255,255,0.82); margin-top: 16px; }
.convert .social .stars { color: #FCD34D; letter-spacing: 1px; margin-right: 4px; }

/* Mini dashboard inside .convert */
.convert-visual { display: flex; align-items: center; justify-content: center; }
.mini-dash {
    background: rgba(255,255,255,0.97); border-radius: 14px;
    padding: 14px 14px 12px; color: var(--navy); width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}
.mini-dash .md-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mini-dash .md-eyebrow { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--mid); }
.mini-dash .md-dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.mini-dash .md-title { font-size: 11px; color: var(--textl); font-weight: 500; }
.mini-dash .md-progress {
    background: var(--off); border: 1px solid var(--border);
    border-radius: 10px; padding: 11px 12px; margin-bottom: 9px;
}
.mini-dash .md-prog-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.mini-dash .md-prog-left { display: flex; align-items: center; gap: 9px; }
.mini-dash .md-abbr {
    background: var(--grad); color: #fff; font-weight: 800; font-size: 11px;
    width: 28px; height: 28px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
}
.mini-dash .md-info { line-height: 1.3; }
.mini-dash .md-info .n { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.mini-dash .md-info .m { font-size: 10.5px; color: var(--textl); }
.mini-dash .md-pct { font-size: 13px; font-weight: 800; color: var(--mid); }
.mini-dash .md-bar { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.mini-dash .md-bar > div { height: 100%; background: var(--grad); border-radius: 3px; }
.mini-dash .md-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mini-dash .md-chip {
    background: var(--off); border: 1px solid var(--border); border-radius: 7px;
    padding: 6px 8px; display: flex; align-items: center; gap: 7px;
}
.mini-dash .md-chip-abbr { font-weight: 800; font-size: 9.5px; color: var(--mid); }
.mini-dash .md-chip-name { font-size: 10.5px; color: var(--navy); font-weight: 600; flex: 1; }
.mini-dash .md-chip-st { font-size: 9px; font-weight: 700; padding: 2px 5px; border-radius: 4px; letter-spacing: 0.02em; }
.mini-dash .md-chip-st.g { background: #DCFCE7; color: #15803D; }
.mini-dash .md-chip-st.a { background: #FEF3C7; color: #92400E; }
.mini-dash .md-chip-st.r { background: #FEE2E2; color: #B91C1C; }
.mini-dash .md-chip-st.b { background: #DBEAFE; color: #075985; }

.btn {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
    text-decoration: none; background: #fff; color: var(--navy);
    padding: 14px 28px; border-radius: 11px;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); text-decoration: none; }
.btn-ghost {
    background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45);
    box-shadow: none; padding: 13px 22px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); box-shadow: none; transform: translateY(-1px); }
@media (max-width: 720px) {
    .convert.has-visual { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
    .convert h3 { font-size: 24px; }
    .convert .cta-row { flex-direction: column; align-items: stretch; }
    .convert .cta-row .btn { justify-content: center; }
}

/* Lead magnet capture */
.lead {
    background: var(--white); border: 2px dashed var(--mid); border-radius: 14px;
    padding: 22px 24px; margin: 16px 0 0;
}
.lead .lead-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.lead .lead-header .icon { font-size: 26px; flex-shrink: 0; line-height: 1.2; }
.lead .lead-header div { flex: 1; }
.lead .lead-header strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.lead .lead-header p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.5; }
.lead form { display: flex; gap: 10px; }
.lead input[type="email"] {
    flex: 1; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 9px;
    font-family: inherit; font-size: 14px; color: var(--navy);
}
.lead input[type="email"]:focus { outline: none; border-color: var(--mid); box-shadow: 0 0 0 3px rgba(56,133,237,0.12); }
.lead button {
    padding: 12px 22px; border: none; background: var(--grad); color: #fff;
    font-family: inherit; font-size: 14px; font-weight: 700; border-radius: 9px; cursor: pointer;
    white-space: nowrap;
}
.lead button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(56,133,237,0.3); }
.lead .success { display: none; padding: 12px; background: #DCFCE7; color: #166534; border-radius: 9px; font-size: 14px; }
.lead.submitted .success { display: block; }
.lead.submitted form { display: none; }

/* Disclaimer + footer */
.disclaimer {
    font-size: 13px; color: var(--textl); border-top: 1px solid var(--border); margin-top: 32px; padding: 22px 0 0;
    line-height: 1.65;
}
.disclaimer a { color: var(--mid); }
footer.page-footer {
    padding: 30px 0 64px; font-size: 13px; color: var(--textl);
}
footer.page-footer a { color: var(--textl); }
footer.page-footer .wrap {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

@media (max-width: 600px) {
    h1 { font-size: 30px; }
    h2 { font-size: 22px; }
    .facts dl { grid-template-columns: 1fr; }
    .facts .row:nth-child(odd) { border-right: 0; }
    .lead form { flex-direction: column; }
    .lead button { width: 100%; }
    .convert { padding: 24px 22px; }
    .convert h3 { font-size: 20px; }
}
