/* ═══════════════════════════════════════════════════════════════
   Lotly SEO hub styles — shared across glossary, calculators,
   states, compare, and data hubs. Uses the site's Outfit font and
   #fea327 orange to stay on-brand.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --hub-bg: #FFFFFF;
    --hub-bg-soft: #FFFAF1;
    --hub-bg-warm: #FFF1DC;
    --hub-ink: #1C1C1C;
    --hub-ink-soft: #4A5168;
    --hub-ink-mute: #7A8398;
    --hub-line: #ECE3D2;
    --hub-line-soft: #F4ECDC;
    --hub-orange: #fea327;
    --hub-orange-deep: #e8901a;
    --hub-orange-soft: #FFE5C7;
    --hub-navy: #182241;
    --hub-card: #FFFFFF;
    --hub-shadow-sm: 0 1px 2px rgba(28,28,28,0.05), 0 4px 14px rgba(28,28,28,0.06);
    --hub-shadow-md: 0 2px 6px rgba(28,28,28,0.07), 0 14px 36px rgba(28,28,28,0.10);
    --hub-radius: 14px;
    --hub-radius-lg: 22px;
}

.hub-page {
    background:
        radial-gradient(ellipse 1200px 480px at 50% -120px, #FFE0B8 0%, rgba(255,224,184,0) 65%),
        radial-gradient(ellipse 800px 420px at 88% 100px, #FFEED1 0%, rgba(255,238,209,0) 70%),
        var(--hub-bg);
    min-height: 100vh;
    color: var(--hub-ink);
}

.hub-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px 28px;
    text-align: center;
}
.hub-hero .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hub-orange-deep);
    margin-bottom: 12px;
}
.hub-hero h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.06;
    margin: 0 0 16px;
    color: var(--hub-ink);
    letter-spacing: -0.02em;
}
.hub-hero h1 em { color: var(--hub-orange-deep); font-style: normal; }
.hub-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--hub-ink-soft);
    line-height: 1.55;
}

/* ═══ Breadcrumbs ═══ */
.hub-breadcrumbs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px 0;
    font-size: 13px;
    color: var(--hub-ink-mute);
    display: flex; gap: 6px; flex-wrap: wrap;
}
.hub-breadcrumbs a { color: var(--hub-ink-soft); text-decoration: none; }
.hub-breadcrumbs a:hover { color: var(--hub-orange-deep); }
.hub-breadcrumbs .sep { opacity: 0.5; }
.hub-breadcrumbs .current { color: var(--hub-ink); font-weight: 500; }

/* ═══ GLOSSARY ═══ */

.glossary-toolbar {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 24px;
    display: flex; flex-direction: column; gap: 18px;
}
.glossary-search {
    display: flex; align-items: center; gap: 10px;
    background: white; border: 1px solid var(--hub-line);
    border-radius: 999px; padding: 12px 18px;
    box-shadow: var(--hub-shadow-sm);
}
.glossary-search:focus-within { border-color: var(--hub-orange); }
.glossary-search input {
    flex: 1; border: none; background: transparent; font: inherit;
    color: var(--hub-ink); outline: none;
}
.glossary-search input::placeholder { color: var(--hub-ink-mute); }

.glossary-azindex {
    display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.glossary-azindex a {
    padding: 6px 11px; border-radius: 8px;
    background: white; border: 1px solid var(--hub-line);
    font-size: 13px; font-weight: 600; color: var(--hub-ink-soft);
    text-decoration: none;
    transition: all 0.15s;
}
.glossary-azindex a:hover { border-color: var(--hub-orange); color: var(--hub-ink); }
.glossary-azindex a.disabled {
    color: #c0c0c0; pointer-events: none; background: #fafafa;
}

.glossary-main {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 24px 80px;
}

.glossary-letter-block { margin-bottom: 36px; }
.glossary-letter-head {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--hub-orange-deep);
    margin: 0 0 14px;
    border-bottom: 2px solid var(--hub-line-soft);
    padding-bottom: 6px;
    scroll-margin-top: 92px;
}
.glossary-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.glossary-card {
    background: white; border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius); padding: 18px 20px;
    box-shadow: var(--hub-shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none; color: inherit;
    display: block;
}
.glossary-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hub-shadow-md);
    color: inherit;
    border-color: var(--hub-orange-soft);
}
.glossary-card h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 17px;
    margin: 0 0 6px;
    color: var(--hub-ink);
}
.glossary-card p {
    font-size: 14px;
    color: var(--hub-ink-soft);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Glossary single-term page */
.glossary-term-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}
.glossary-term-card {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius-lg);
    padding: 40px;
    box-shadow: var(--hub-shadow-md);
}
.glossary-term-card h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
    margin: 0 0 12px;
    color: var(--hub-ink);
    letter-spacing: -0.02em;
}
.glossary-term-card .answer {
    font-size: 19px;
    color: var(--hub-ink);
    line-height: 1.55;
    padding: 16px 18px;
    background: var(--hub-orange-soft);
    border-left: 4px solid var(--hub-orange);
    border-radius: 0 var(--hub-radius) var(--hub-radius) 0;
    margin: 0 0 28px;
}
.glossary-term-card .long-def {
    font-size: 17px;
    line-height: 1.7;
    color: var(--hub-ink);
}
.glossary-term-card .long-def p { margin: 0 0 18px; }

.glossary-related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--hub-line-soft);
}
.glossary-related h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hub-ink-mute);
    margin: 0 0 14px;
}
.glossary-related-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.glossary-related-card {
    background: var(--hub-bg-soft);
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s;
}
.glossary-related-card:hover {
    border-color: var(--hub-orange);
    color: inherit;
}
.glossary-related-card h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--hub-ink);
    margin: 0 0 4px;
}
.glossary-related-card p {
    font-size: 12.5px;
    color: var(--hub-ink-soft);
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.glossary-cta {
    margin-top: 40px;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #182241 0%, #2A3A5E 100%);
    color: white;
    border-radius: var(--hub-radius-lg);
}
.glossary-cta h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 8px;
}
.glossary-cta p {
    color: #C9D1E2;
    margin: 0 0 18px;
    font-size: 15px;
}
.glossary-cta .btn {
    display: inline-block;
    background: var(--hub-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s;
}
.glossary-cta .btn:hover { background: var(--hub-orange-deep); color: white; }

/* ═══ CALCULATORS ═══ */

.calc-grid {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 24px 80px;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.calc-card {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    padding: 24px;
    box-shadow: var(--hub-shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.calc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hub-shadow-md);
    color: inherit;
    border-color: var(--hub-orange-soft);
}
.calc-card-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: var(--hub-orange-soft);
    color: var(--hub-orange-deep);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    font-size: 28px;
}
.calc-card h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 19px;
    margin: 0 0 6px;
    color: var(--hub-ink);
}
.calc-card p {
    color: var(--hub-ink-soft);
    font-size: 14px;
    margin: 0 0 14px;
    line-height: 1.5;
}
.calc-card .arrow {
    color: var(--hub-orange-deep);
    font-weight: 600;
    font-size: 14px;
}

/* Calculator detail page */
.calc-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}
.calc-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-top: 24px;
    align-items: start;
}
.calc-tool {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius-lg);
    padding: 32px;
    box-shadow: var(--hub-shadow-md);
}
.calc-tool h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 3vw, 34px);
    margin: 0 0 8px;
    color: var(--hub-ink);
    letter-spacing: -0.01em;
}
.calc-tool .lede {
    color: var(--hub-ink-soft);
    font-size: 16px;
    margin: 0 0 28px;
    line-height: 1.55;
}
.calc-form {
    display: grid; gap: 16px;
}
.calc-row { display: flex; flex-direction: column; gap: 6px; }
.calc-row label {
    font-weight: 500;
    font-size: 14px;
    color: var(--hub-ink);
}
.calc-row .hint {
    font-size: 12px; color: var(--hub-ink-mute);
}
.calc-row input,
.calc-row select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--hub-line);
    font: inherit; font-size: 16px;
    color: var(--hub-ink);
    background: white;
    outline: none;
}
.calc-row input:focus,
.calc-row select:focus { border-color: var(--hub-orange); }
.calc-row.with-prefix {
    position: relative;
}
.calc-row.with-prefix input {
    padding-left: 32px;
}
.calc-row.with-prefix .prefix {
    position: absolute; left: 12px; top: 35px;
    color: var(--hub-ink-mute);
    font-size: 16px;
    pointer-events: none;
}
.calc-cta-row {
    display: flex; gap: 10px;
    margin-top: 8px;
}
.calc-btn {
    background: var(--hub-orange);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}
.calc-btn:hover { background: var(--hub-orange-deep); }
.calc-btn-secondary {
    background: white;
    color: var(--hub-ink);
    border: 1px solid var(--hub-line);
}
.calc-btn-secondary:hover { border-color: var(--hub-orange); }

.calc-result {
    margin-top: 28px;
    padding: 24px;
    background: linear-gradient(135deg, var(--hub-orange-soft), #FFE0B8);
    border-radius: var(--hub-radius);
    display: none;
}
.calc-result.is-shown { display: block; }
.calc-result-label {
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--hub-orange-deep);
    margin: 0 0 4px;
}
.calc-result-primary {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 5vw, 52px);
    color: var(--hub-ink);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.calc-result-detail {
    color: var(--hub-ink);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}
.calc-result-rows {
    margin-top: 14px;
    border-top: 1px solid rgba(28,28,28,0.12);
    padding-top: 14px;
    display: grid; gap: 6px;
}
.calc-result-rows .row {
    display: flex; justify-content: space-between;
    font-size: 14px;
}
.calc-result-rows .row .key { color: var(--hub-ink-soft); }
.calc-result-rows .row .val { font-weight: 600; color: var(--hub-ink); }

.calc-email-capture {
    margin-top: 18px;
    padding: 16px 18px;
    background: white;
    border-radius: var(--hub-radius);
    border: 1px solid rgba(28,28,28,0.12);
}
.calc-email-capture p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--hub-ink-soft);
}
.calc-email-capture form {
    display: flex; gap: 8px;
}
.calc-consent {
    margin: 10px 0 0;
    font-size: 11.5px;
    color: var(--hub-ink-mute);
    line-height: 1.45;
}
.calc-consent a {
    color: var(--hub-orange-deep);
    text-decoration: underline;
}
.calc-consent a:hover { color: var(--hub-orange); }
.calc-email-capture input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--hub-line);
    font: inherit;
}
.calc-email-capture button {
    background: var(--hub-navy);
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.calc-aside .calc-about,
.calc-aside .calc-related {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    padding: 22px;
    box-shadow: var(--hub-shadow-sm);
    margin-bottom: 16px;
}
.calc-aside h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--hub-ink);
}
.calc-aside p {
    font-size: 14px;
    color: var(--hub-ink-soft);
    margin: 0 0 10px;
    line-height: 1.55;
}
.calc-aside a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--hub-ink);
    text-decoration: none;
    border-top: 1px solid var(--hub-line-soft);
}
.calc-aside a:first-of-type { border-top: none; }
.calc-aside a:hover { color: var(--hub-orange-deep); }

.calc-explainer {
    margin-top: 32px;
    padding: 32px;
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    box-shadow: var(--hub-shadow-sm);
}
.calc-explainer h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--hub-ink);
    margin: 0 0 12px;
}
.calc-explainer h2 + h2 { margin-top: 28px; }
.calc-explainer p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--hub-ink);
    margin: 0 0 14px;
}
.calc-explainer ul {
    margin: 12px 0 16px;
    padding-left: 22px;
}
.calc-explainer li {
    margin: 6px 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--hub-ink);
}

/* ═══ STATES HUB ═══ */

.states-hub-grid {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 24px 80px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.state-tile {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--hub-shadow-sm);
    transition: all 0.15s;
}
.state-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--hub-shadow-md);
    color: inherit;
    border-color: var(--hub-orange-soft);
}
.state-tile h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--hub-ink);
    margin: 0 0 6px;
}
.state-tile .abbr {
    font-size: 12px;
    color: var(--hub-orange-deep);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.state-tile p {
    margin: 8px 0 0;
    font-size: 13.5px;
    color: var(--hub-ink-soft);
    line-height: 1.5;
}

/* State page */
.state-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}
.state-page h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--hub-ink);
    margin: 16px 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.12;
}
.state-page .lede {
    font-size: 18px;
    color: var(--hub-ink-soft);
    line-height: 1.55;
    margin: 0 0 28px;
}
.state-topic-tabs {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 0 0 32px;
}
.state-topic-tabs a {
    padding: 9px 16px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--hub-line);
    font-size: 14px;
    font-weight: 500;
    color: var(--hub-ink-soft);
    text-decoration: none;
    transition: all 0.15s;
}
.state-topic-tabs a:hover { border-color: var(--hub-orange); color: var(--hub-ink); }
.state-topic-tabs a.is-active {
    background: var(--hub-navy); color: white; border-color: var(--hub-navy);
}

.state-content {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius-lg);
    padding: 36px 40px;
    box-shadow: var(--hub-shadow-md);
}
.state-content h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--hub-ink);
    margin: 32px 0 12px;
    letter-spacing: -0.01em;
}
.state-content h2:first-child { margin-top: 0; }
.state-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--hub-ink);
    margin: 0 0 16px;
}
.state-content ul.facts {
    list-style: none; padding: 0;
    margin: 16px 0 22px;
    display: grid;
    gap: 12px;
}
.state-content ul.facts li {
    background: var(--hub-bg-soft);
    border-left: 3px solid var(--hub-orange);
    border-radius: 0 var(--hub-radius) var(--hub-radius) 0;
    padding: 14px 18px;
}
.state-content ul.facts .h {
    font-weight: 600; font-size: 15px; color: var(--hub-ink);
    margin-bottom: 4px;
}
.state-content ul.facts .b {
    font-size: 14px; color: var(--hub-ink-soft); line-height: 1.5;
}
.state-content .citations {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--hub-line-soft);
    font-size: 13px; color: var(--hub-ink-mute);
}
.state-content .citations strong { color: var(--hub-ink); }

.state-disclaimer {
    margin-top: 24px;
    padding: 18px 22px;
    background: #FFF8E1;
    border: 1px solid #F4E1A6;
    border-radius: var(--hub-radius);
    font-size: 14px;
    color: var(--hub-ink-soft);
    line-height: 1.55;
}
.state-disclaimer strong { color: var(--hub-ink); }

/* ═══ COMPARE HUB ═══ */

.compare-grid {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 24px 80px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.compare-tile {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    padding: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--hub-shadow-sm);
    transition: all 0.15s;
}
.compare-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--hub-shadow-md);
    color: inherit;
    border-color: var(--hub-orange-soft);
}
.compare-tile h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--hub-ink);
}
.compare-tile .vs {
    font-size: 12px;
    color: var(--hub-orange-deep);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.compare-tile p {
    margin: 8px 0 0;
    font-size: 13.5px;
    color: var(--hub-ink-soft);
    line-height: 1.5;
}

/* Compare detail page */
.compare-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}
.compare-page h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--hub-ink);
    margin: 16px 0 12px;
    letter-spacing: -0.02em;
}
.compare-page .lede {
    font-size: 18px;
    color: var(--hub-ink-soft);
    line-height: 1.55;
    margin: 0 0 24px;
}
.compare-table-wrap {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    overflow: hidden;
    box-shadow: var(--hub-shadow-sm);
    margin-bottom: 28px;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.compare-table th,
.compare-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--hub-line-soft);
}
.compare-table th {
    background: var(--hub-bg-soft);
    font-weight: 600;
    color: var(--hub-ink);
    font-size: 14px;
}
.compare-table th.col-header {
    background: var(--hub-navy);
    color: white;
    text-align: center;
}
.compare-table th.col-header.is-lotly {
    background: var(--hub-orange);
    color: white;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: #2E8B57; font-weight: 600; }
.compare-table .no { color: #B05050; }
.compare-table .partial { color: #C29040; }

.compare-content {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius-lg);
    padding: 36px 40px;
    box-shadow: var(--hub-shadow-md);
}
.compare-content h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--hub-ink);
    margin: 24px 0 12px;
}
.compare-content h2:first-child { margin-top: 0; }
.compare-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--hub-ink);
    margin: 0 0 16px;
}
.compare-content ul.pretty {
    list-style: none; padding: 0;
    margin: 16px 0 22px;
    display: grid; gap: 12px;
}
.compare-content ul.pretty li {
    background: var(--hub-bg-soft);
    border-left: 3px solid var(--hub-orange);
    border-radius: 0 var(--hub-radius) var(--hub-radius) 0;
    padding: 14px 18px;
}
.compare-content ul.pretty .h {
    font-weight: 600; font-size: 16px; color: var(--hub-ink); margin-bottom: 4px;
}
.compare-content ul.pretty .b {
    font-size: 15px; color: var(--hub-ink-soft); line-height: 1.5;
}

/* ═══ DATA HUB ═══ */

.data-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}
.data-stat-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 32px 0;
}
.data-stat {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius);
    padding: 22px;
    box-shadow: var(--hub-shadow-sm);
}
.data-stat .num {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: var(--hub-orange-deep);
    line-height: 1;
    letter-spacing: -0.02em;
}
.data-stat .label {
    margin-top: 8px;
    font-size: 14px;
    color: var(--hub-ink-soft);
    line-height: 1.4;
}
.data-stat .source {
    margin-top: 12px;
    font-size: 11px;
    color: var(--hub-ink-mute);
}
.data-section {
    background: white;
    border: 1px solid var(--hub-line-soft);
    border-radius: var(--hub-radius-lg);
    padding: 32px 36px;
    margin-bottom: 22px;
    box-shadow: var(--hub-shadow-sm);
}
.data-section h2 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--hub-ink);
    margin: 0 0 14px;
}
.data-section p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--hub-ink);
    margin: 0 0 14px;
}
.data-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}
.data-section table th,
.data-section table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--hub-line-soft);
    text-align: left;
}
.data-section table th {
    background: var(--hub-bg-soft);
    font-weight: 600;
    color: var(--hub-ink);
    font-size: 13px;
}

/* ═══ FOOTER CTA (universal across hubs) ═══ */
.hub-footer-cta {
    margin: 48px auto 0;
    max-width: 1280px;
    padding: 0 24px;
}
.hub-footer-cta-inner {
    background: linear-gradient(135deg, #182241 0%, #2A3A5E 100%);
    color: white;
    padding: 40px 36px;
    border-radius: var(--hub-radius-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    box-shadow: var(--hub-shadow-md);
    position: relative;
    overflow: hidden;
}
.hub-footer-cta-inner::after {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,163,39,0.25) 0%, transparent 70%);
}
.hub-footer-cta-inner h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 26px;
    margin: 0 0 6px;
}
.hub-footer-cta-inner p {
    color: #C9D1E2;
    font-size: 15px;
    margin: 0;
    max-width: 540px;
}
.hub-footer-cta-inner .btn {
    background: var(--hub-orange);
    color: white;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    z-index: 1;
    transition: background 0.15s;
    white-space: nowrap;
}
.hub-footer-cta-inner .btn:hover { background: var(--hub-orange-deep); color: white; }

/* ═══ Lotly toast — replaces native alert()/prompt() ═══ */
.lotly-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    background: var(--hub-navy);
    color: #FFFFFF;
    padding: 14px 22px 14px 18px;
    border-radius: 12px;
    font-family: "Outfit", sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: 0 8px 32px rgba(28,28,28,0.22);
    max-width: 380px;
    border-left: 4px solid var(--hub-orange);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(.2,.8,.2,1), opacity 0.32s ease;
    pointer-events: none;
}
.lotly-toast.is-shown {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.lotly-toast.is-success { border-left-color: #5DBE83; }
.lotly-toast.is-error   { border-left-color: #E07A6F; }
.lotly-toast.is-info    { border-left-color: var(--hub-orange); }
@media (max-width: 600px) {
    .lotly-toast {
        top: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .calc-layout { grid-template-columns: 1fr; }
    .compare-table { font-size: 13.5px; }
    .compare-table th, .compare-table td { padding: 10px 12px; }
    .glossary-term-card { padding: 28px 22px; }
    .state-content { padding: 28px 22px; }
    .compare-content { padding: 28px 22px; }
    .hub-footer-cta-inner { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 600px) {
    .hub-hero { padding: 40px 20px 16px; }
    .glossary-grid { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .states-hub-grid { grid-template-columns: repeat(2, 1fr); }
    .compare-grid { grid-template-columns: 1fr; }
}
