/*
 * Koo public styles. One prestige ramp, spent in one place: badges climb from
 * quiet sage through the Blorglax forest green (#228B22) to Keystone gold.
 * Card-level treatments (Premium accent, Supporter gradient frame) are
 * printed inline against the configured card selector so a theme change is a
 * settings edit, not a stylesheet rewrite.
 */

.koo-badge {
    display: inline-block;
    padding: 3px 12px;
    margin: 0 6px 6px 0;
    border-radius: 999px;
    font: 600 11px/1.7 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    vertical-align: middle;
}

/* Listing levels: Basic stays badge-free by design; the ramp starts where
   photos do. */
.koo-badge-basic     { background: #5f7d6b; }
.koo-badge-enhanced  { background: #228B22; }
.koo-badge-premium   { background: linear-gradient(135deg, #1f6f4a, #228B22); }
.koo-badge-supporter {
    background: linear-gradient(135deg, #1f6f4a 0%, #228B22 45%, #c9a227 100%);
    box-shadow: 0 2px 8px rgba(31, 111, 74, .25);
}

/* Annual sponsorships: a second, outlined register so the two programs read
   as related but distinct. */
.koo-badge.koo-sponsor {
    background: #fff;
    border: 1.5px solid currentColor;
}
.koo-sponsor-corporate { color: #228B22; }
.koo-sponsor-founding  { color: #1f6f4a; }
.koo-sponsor-keystone  {
    color: #8a6d1a;
    background: linear-gradient(135deg, #fdf8e7, #f7edc8);
    border-color: #c9a227;
}

@media (prefers-reduced-motion: no-preference) {
    .koo-badge-supporter { transition: box-shadow .2s ease; }
    .koo-badge-supporter:hover { box-shadow: 0 3px 12px rgba(201, 162, 39, .35); }
}

/*
 * Koo pricing page ([koo-pricing]). Bosquecito's card language rebuilt in
 * Directorist's blue register: same radii, same canopy-bar signature, but
 * the bar and chrome run deep blue to sky. The one green in the room is
 * the SIGN UP button (the Bosquecito gradient), so the eye lands on the
 * action; sponsorships answer with a single indigo CONTACT.
 */

.koop {
    font-family: 'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--koop-ink, #1B1D21);
    max-width: 1180px;
    /* Breathing room between the pricing content and whatever the page
       puts before or after it. */
    margin: 40px auto;
}
.koop-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--koop-head, #1B49C8);
    margin: 0 0 14px;
}
.koop-intro {
    max-width: 760px;
    color: var(--koop-ink, #1B1D21);
    font-size: 1.02rem;
    line-height: 1.55;
    margin: 0 0 26px;
}
.koop-intro-list {
    list-style: disc;
    padding-left: 1.35em;
}
.koop-intro-list li { margin: 0 0 8px; }
.koop-intro-list li:last-child { margin-bottom: 0; }
.koop-h2 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--koop-head, #1B49C8);
    margin: 44px 0 10px;
}

.koop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.koop-grid-sponsors {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.koop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #D7E0F2;
    border-radius: 16px;
    padding: 18px 16px 16px;
    box-shadow: 0 2px 10px rgba(27, 73, 200, .06);
}
.koop-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, #1B49C8 0%, #3D7BFB 65%, #7FB0FF 100%);
}
.koop-card-top {
    border-color: #3D7BFB;
    box-shadow: 0 4px 18px rgba(27, 73, 200, .16);
}
.koop-card-top::before {
    background: linear-gradient(90deg, #1B49C8 0%, #3D7BFB 55%, #c9a227 100%);
}


.koop-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 2px; color: #1D2939; }
.koop-price { font-size: 1.02rem; font-weight: 700; color: #1B49C8; margin: 0 0 6px; }
.koop-blurb { font-style: italic; color: #3A4A5E; margin: 0 0 10px; }

.koop-feats {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    flex: 1;
}
.koop-feats li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 7px;
    font-size: .9rem;
    line-height: 1.45;
    color: #2A3648;
}
.koop-feats li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #3D7BFB;
    font-weight: 700;
}

.koop-btn {
    display: inline-block;
    align-self: stretch;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 12px 22px;
    border-radius: 999px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 3px 10px rgba(15, 77, 15, .25);
    transition: transform .12s ease, box-shadow .12s ease;
}
.koop-btn:hover { transform: translateY(-1px); }
.koop-btn:focus-visible { outline: 2px solid #c9a227; outline-offset: 2px; }

.koop-btn-signup {
    background: linear-gradient(135deg, #16621A, #0F4D0F);
}
.koop-btn-example {
    background: linear-gradient(135deg, #1B49C8, #123489);
    box-shadow: 0 3px 10px rgba(27, 73, 200, .25);
    margin-bottom: 10px;
}
.koop-btn-signup::after {
    content: "";
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 215, 0, .3), transparent);
    transform: skewX(-20deg);
    transition: left .5s ease;
}
.koop-btn-signup:hover::after { left: 125%; }

.koop-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 26px auto 8px;
    padding: 18px 22px;
    max-width: 720px;
    background: #F2F6FE;
    border: 1px solid #D7E0F2;
    border-radius: 14px;
    font-weight: 600;
    color: #1D2939;
}
.koop-btn-contact {
    background: linear-gradient(135deg, #2D2A6E, #4B3FA8);
    box-shadow: 0 3px 10px rgba(45, 42, 110, .3);
    align-self: auto;
    padding: 12px 30px;
}

@media (max-width: 640px) {
    .koop-grid, .koop-grid-sponsors { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .koop-btn { transition: none; }
    .koop-btn:hover { transform: none; }
    .koop-btn-signup::after { display: none; }
}
