/* ==========================================================================
   /license — License page
   Matches pricing-plans style: bold dark/lime cards, compact layout
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Tier Cards — dark/lime backgrounds, 24px radius (matches pricing page)
   --------------------------------------------------------------------------- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1650px;
    margin: 2.5rem auto 0;
}
@media (max-width: 1199px) {
    .tier-grid { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
}
@media (max-width: 991px) {
    .tier-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
}
@media (max-width: 767px) {
    .tier-grid { grid-template-columns: 1fr; max-width: 400px; }
}

.tier-card {
    border-radius: 24px;
    padding: 36px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Free — dark */
.tier-card--free {
    background: #000;
    color: #fff;
}
.tier-card--free .tier-card__name { color: #fff; }
.tier-card--free .tier-card__price { color: #fff; }
.tier-card--free .tier-card__desc { color: #9ca3af; }
.tier-card--free .tier-card__features li { color: rgba(255,255,255,0.8); }
.tier-card--free .ico-check { color: #ccea4a; }
.tier-card--free .ico-cross { color: #4b5563; }

/* Standard — lime (highlighted) */
.tier-card--standard {
    background: var(--brand-lime, #ccea4a);
    color: #000;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(204, 234, 74, 0.25);
}
.tier-card--standard .tier-card__desc { color: #000; }
.tier-card--standard .ico-check { color: #000; }
.tier-card--standard .ico-cross { color: #6b7280; }
@media (max-width: 768px) {
    .tier-card--standard { transform: none; }
}

/* Shopper — dark */
.tier-card--shopper {
    background: #000;
    color: #fff;
}
.tier-card--shopper .tier-card__name { color: #fff; }
.tier-card--shopper .tier-card__price { color: #fff; }
.tier-card--shopper .tier-card__desc { color: #9ca3af; }
.tier-card--shopper .tier-card__features li { color: rgba(255,255,255,0.8); }
.tier-card--shopper .ico-check { color: #ccea4a; }
.tier-card--shopper .ico-cross { color: #4b5563; }

/* Extended — dark */
.tier-card--extended {
    background: #000;
    color: #fff;
}
.tier-card--extended .tier-card__name { color: #fff; }
.tier-card--extended .tier-card__price { color: #fff; }
.tier-card--extended .tier-card__desc { color: #9ca3af; }
.tier-card--extended .tier-card__features li { color: rgba(255,255,255,0.8); }
.tier-card--extended .ico-check { color: #ccea4a; }
.tier-card--extended .ico-cross { color: #4b5563; }

/* "Most Popular" pill */
.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tier-card__name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tier-card__price {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}
.tier-card__price small {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.6;
}
.tier-card__price-note {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tier-card__desc {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.tier-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}
.tier-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.8125rem;
    color: #000;
    line-height: 1.4;
}
.tier-card__features .ico-check {
    flex-shrink: 0;
    font-weight: 700;
    margin-top: 1px;
}
.tier-card__features .ico-cross {
    flex-shrink: 0;
    margin-top: 1px;
}

/* CTA buttons */
.tier-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
    height: 42px;
    border-radius: 21px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8125rem;
    transition: opacity 0.15s, transform 0.1s;
    border: none;
}
.tier-cta:hover { text-decoration: none; opacity: 0.9; transform: translateY(-1px); }

.tier-cta--lime { background: var(--brand-lime, #ccea4a); color: #000; }
.tier-cta--dark { background: #000; color: #fff; }
.tier-cta--dark-on-lime { background: #000; color: var(--brand-lime, #ccea4a); }
.tier-cta--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.tier-cta--outline-light:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

.tier-card__footnote {
    font-size: 0.6875rem;
    opacity: 0.5;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   Split layout — Comparison Table + Understanding Your License side by side
   --------------------------------------------------------------------------- */
.lic-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 3rem 0 0;
}
@media (max-width: 991px) {
    .lic-split-layout { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Comparison Table — clean, simple
   --------------------------------------------------------------------------- */
.compare-section {
    max-width: none;
    margin: 0;
    padding: 0;
}
.compare-section h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-bottom: 0.5rem;
}
.compare-section > p {
    text-align: left;
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}
.compare-table thead th {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    padding: 0 0 12px;
    text-align: center;
    border-bottom: 2px solid #e5e7eb;
}
.compare-table thead th:first-child {
    text-align: left;
    color: #6b7280;
}
.compare-table tbody td {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #000;
    text-align: center;
    vertical-align: middle;
}
.compare-table tbody td:first-child {
    text-align: left;
    color: #000;
    font-weight: 500;
}
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table .check { color: #16a34a; font-weight: 700; }
.compare-table .cross { color: #d1d5db; }
.compare-table .attr-pill {
    font-size: 0.6875rem;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Group header rows */
.compare-table .group-header td {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000;
    padding-top: 20px;
    border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 575px) {
    .compare-table { font-size: 0.8125rem; }
    .compare-table thead th, .compare-table tbody td { padding-left: 4px; padding-right: 4px; }
}

/* ---------------------------------------------------------------------------
   Rights — narrow, left-border blocks
   --------------------------------------------------------------------------- */
.rights-section {
    max-width: none;
    margin: 0;
    padding: 0;
}
.rights-section h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-bottom: 0.5rem;
}
.rights-section > p.rights-subtitle {
    text-align: left;
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.rights-group-label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.rights-group-label:first-of-type { margin-top: 0; }

.rights-point {
    border-left: 3px solid var(--brand-lime, #ccea4a);
    padding: 10px 0 10px 20px;
    margin-bottom: 1rem;
}
.rights-point__title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}
.rights-point__text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #4b5563;
}
.rights-point__text strong { color: #000; font-weight: 600; }
.rights-point__text a { color: #000; text-decoration: underline; }
.rights-point__text a:hover { color: var(--brand-lime-dark, #33691e); }

/* ---------------------------------------------------------------------------
   FAQ — dark band, compact
   --------------------------------------------------------------------------- */
.lic-faq-band {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}
.lic-faq-card {
    background: #000;
    border-radius: 16px;
    padding: 52px 82px;
    text-align: left;
    margin-top: 4rem;
}
.lic-faq-inner {
    max-width: 100%;
    margin: 0 auto;
}
.lic-faq-inner h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-align: left;
    margin-bottom: 0.5rem;
}
.lic-faq-inner > p {
    text-align: left;
    color: #9ca3af;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.lic-faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    text-align: left;
}
@media (max-width: 767px) {
    .lic-faq-list { grid-template-columns: 1fr; }
}

.lic-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lic-faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

.lic-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}
.lic-faq-q:hover { color: var(--brand-lime, #ccea4a); }

.lic-faq-icon {
    flex-shrink: 0;
    margin-left: 12px;
    color: var(--brand-lime, #ccea4a);
    transition: transform 0.2s;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1;
}

.lic-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.lic-faq-a__inner {
    padding-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #9ca3af;
}
.lic-faq-a__inner a { color: var(--brand-lime, #ccea4a); text-decoration: underline; }

.lic-faq-item.open .lic-faq-icon { transform: rotate(45deg); }
.lic-faq-item.open .lic-faq-a { max-height: 300px; }

/* ---------------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .lic-faq-icon, .lic-faq-a { transition: none !important; }
    .tier-card--standard { transform: none !important; }
}
