/* ============================================================================
   LICENSE PAGE — /license
   Spec: website-v2-spec/08-license.md
   ============================================================================ */

/* ── Header ──────────────────────────────────────────────────────────────── */
.license-header {
    text-align: center;
    padding-top: 160px;         /* fixed nav clearance */
    padding-bottom: var(--space-xl);
}
.license-header__sub {
    color: var(--text-secondary);
    font-size: 18px;
    margin-top: var(--space-sm);
}

/* ── Section 2: Three Product Cards ──────────────────────────────────────── */
.license-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.license-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}
/* Accent top border by license type */
.license-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.license-card[data-license="free"]::before    { background: var(--green); }
.license-card[data-license="dual"]::before    { background: var(--accent); }
.license-card[data-license="service"]::before { background: var(--product-fleet); }

.license-card__name {
    font-size: 22px;
    font-weight: 600;
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.license-card__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    margin-bottom: var(--space-lg);
}
.license-card__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.license-card__list li::before {
    content: '·';
    color: var(--text-muted);
    flex-shrink: 0;
    font-weight: 700;
}

.license-card__note {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    margin-top: auto;
    margin-bottom: 0;
}

/* ── Section 3: Dual License Side-by-Side ────────────────────────────────── */
.license-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.license-dual__card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}
.license-dual__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.license-dual__card[data-license="free"]::before       { background: var(--green); }
.license-dual__card[data-license="commercial"]::before  { background: var(--accent); }

.license-dual__title {
    font-size: 20px;
    font-weight: 600;
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.license-dual__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
}

.license-dual__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 15px;
    line-height: 1.5;
}
.license-dual__item::before {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.5;
}
.license-dual__item--yes {
    color: var(--text-secondary);
}
.license-dual__item--yes::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
}
.license-dual__item--no {
    color: var(--text-muted);
}
.license-dual__item--no::before {
    content: '✗';
    color: var(--red);
    font-weight: 700;
}

.license-dual__cta {
    margin-top: var(--space-xl);
    align-self: flex-start;
}

/* ── Section 4: FAQ Grid ─────────────────────────────────────────────────── */
.license-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.license-faq {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.license-faq__icon {
    font-size: 22px;
    margin-bottom: var(--space-sm);
}

.license-faq__q {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.license-faq__a {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ── Section 5: Why This Model ───────────────────────────────────────────── */
.license-why-section {
    text-align: center;
}
.license-why__heading {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-xl);
}
.license-why__body {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
}

/* ── Section 6: CTA ──────────────────────────────────────────────────────── */
.license-cta {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}
.license-cta__sub {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: var(--space-sm);
}
.license-cta__actions {
    margin-top: var(--space-xl);
}

/* ── Responsive (License) ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .license-models {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .license-dual {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .license-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .license-header {
        padding-top: 120px;
    }
}
