/* ==========================================
   CROSS-STATE LICENSING COMPARISON
   Worker-facing tool
   ========================================== */

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero */
.lic-hero {
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    border-bottom: 2px dotted #b3b8c0;
}
.lic-hero-inner { max-width: 720px; margin: 0 auto; }
.lic-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #0F172A;
    margin: 0 0 1rem;
    text-transform: lowercase;
}
.lic-hero-sub {
    font-size: 1.1rem;
    color: #546478;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto;
}

/* Section */
.lic-section {
    padding: 3rem 1.5rem;
    border-bottom: 2px dotted #b3b8c0;
}
.lic-section-inner { max-width: 1100px; margin: 0 auto; }
.lic-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #165DFF;
    margin-bottom: 0.5rem;
}
.lic-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0F172A;
    margin: 0 0 0.5rem;
    text-transform: lowercase;
}
.lic-section-sub {
    font-size: 0.95rem;
    color: #546478;
    line-height: 1.5;
    margin: 0 0 2rem;
    max-width: 600px;
}

/* Comparison Tool */
.lic-compare-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
}
.lic-select {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    background: #fff;
    color: #0F172A;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23546478' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
    min-width: 160px;
}
.lic-select:focus { outline: none; border-color: #165DFF; }
.lic-compare-vs {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Side-by-side comparison cards */
.lic-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.lic-compare-card {
    background: #fff;
    border: 2px dotted #b3b8c0;
    border-radius: 14px;
    padding: 1.75rem;
}
.lic-compare-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
}
.lic-compare-state {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    text-transform: lowercase;
}
.lic-compare-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
}
.lic-badge-required { background: rgba(22,163,74,0.1); color: #16A34A; }
.lic-badge-not-required { background: rgba(100,116,139,0.1); color: #64748B; }
.lic-badge-local { background: rgba(234,179,8,0.1); color: #B45309; }

.lic-compare-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F8FAFC;
    font-size: 0.85rem;
}
.lic-compare-row:last-child { border-bottom: none; }
.lic-compare-label {
    color: #64748B;
    font-weight: 500;
    min-width: 100px;
}
.lic-compare-val {
    color: #0F172A;
    font-weight: 600;
    text-align: right;
    max-width: 200px;
}
.lic-compare-notes {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #F8FAFC;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #546478;
    line-height: 1.5;
}

/* Overview Grid */
.lic-overview-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.lic-overview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 800px;
}
.lic-overview-table thead th {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #546478;
    padding: 0.6rem 0.5rem;
    border-bottom: 2px solid #E2E8F0;
}
.lic-overview-table thead th:first-child {
    text-align: left;
}
.lic-overview-table tbody td {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid #F1F5F9;
    text-align: center;
    vertical-align: middle;
}
.lic-overview-table tbody td:first-child {
    text-align: left;
    font-weight: 700;
    color: #0F172A;
}
.lic-overview-table tbody tr:hover td { background: #F8FAFC; }
.lic-cell-yes {
    color: #16A34A;
    font-weight: 700;
}
.lic-cell-no {
    color: #94a3b8;
}
.lic-cell-local {
    color: #B45309;
    font-weight: 600;
    font-size: 0.72rem;
}

/* Key Insight */
.lic-insight {
    background: #fff;
    border: 2px dotted #b3b8c0;
    border-radius: 14px;
    padding: 1.75rem;
    margin-top: 2rem;
}
.lic-insight-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 0.75rem;
    text-transform: lowercase;
}
.lic-insight-text {
    font-size: 0.9rem;
    color: #546478;
    line-height: 1.6;
    margin: 0;
}
.lic-insight-text strong { color: #0F172A; }

/* CTA */
.lic-cta-section {
    padding: 3.5rem 1.5rem;
    text-align: center;
}
.lic-cta-inner { max-width: 520px; margin: 0 auto; }
.lic-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0F172A;
    margin: 0 0 0.75rem;
    text-transform: lowercase;
}
.lic-cta-sub {
    font-size: 0.95rem;
    color: #546478;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}
.lic-btn-primary {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    background: #165DFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.lic-btn-primary:hover {
    background: #1249CC;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .lic-compare-grid { grid-template-columns: 1fr; }
    .lic-hero { padding: 3rem 1.25rem 2rem; }
    .lic-section { padding: 2rem 1.25rem; }
    .lic-compare-controls { flex-direction: column; align-items: stretch; }
    .lic-select { min-width: unset; width: 100%; }
    .lic-compare-vs { text-align: center; }
}
@media (max-width: 480px) {
    .lic-compare-card { padding: 1.25rem; }
    .lic-insight { padding: 1.25rem; }
    .lic-cta-section { padding: 2.5rem 1rem; }
}
