/* ================================================================
 *  custom.css — your own CSS
 *
 *  Loads after the template and theme.css, so a rule here wins any
 *  tie. Every template update ships this file empty: keep your copy
 *  when you update.
 * ================================================================ */

/* ================================================================
 *  Yakety Yak palette fixes
 *  Ink #2E2A3B · Yak Teal #3DBEA7 (fills only) · Deep Teal #17695C
 *  (text and buttons on light) · Paper #FFF8EC · Amber #F2A541
 * ================================================================ */

/* Ink and the light-on-ink accent follow the Yak seeds explicitly. */
html[data-demo="agency-2"] {
    --custom-ink: #2E2A3B;
    --custom-accent: #3DBEA7;
    --yak-deep-teal: #17695C;

    /* Teal text and links on light grounds use Deep Teal, never Yak Teal. */
    --color-primary-ink: var(--yak-deep-teal);
    --color-link: var(--yak-deep-teal);
}

/* On the ink bands, teal text is Yak Teal again (Deep Teal is too dark there). */
html[data-demo="agency-2"] :is(.custom-dark, .dark-section, .section-dark, .bg-dark) {
    --color-primary-ink: #3DBEA7;
    --color-link: #3DBEA7;
}

/* Primary button: Deep Teal with white text on light grounds; Yak Teal with Ink text on the ink. */
html[data-demo="agency-2"] .btn-primary {
    background: var(--yak-deep-teal);
    border-color: var(--yak-deep-teal);
    color: #fff;
}
html[data-demo="agency-2"] .btn-primary:hover {
    background: #0f4f45;
    border-color: #0f4f45;
}
html[data-demo="agency-2"] :is(.custom-dark, .dark-section, .section-dark, .bg-dark) .btn-primary {
    background: #3DBEA7;
    border-color: #3DBEA7;
    color: #2E2A3B;
}
html[data-demo="agency-2"] :is(.custom-dark, .dark-section, .section-dark, .bg-dark) .btn-primary:hover {
    background: #5cccb8;
    border-color: #5cccb8;
}

/* Pilot button: Amber with Ink text, same shape as the template's primary button. */
.btn-pilot {
    background: #F2A541;
    border-color: #F2A541;
    color: #2E2A3B;
}
.btn-pilot:hover {
    background: #f5b560;
    border-color: #f5b560;
    color: #2E2A3B;
}

/* Draft tag: marks anything not yet confirmed (label text set per use). */
.draft-tag {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background: #F2A541;
    color: #2E2A3B;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

/* The Yak logo is a full-colour round badge: show it larger than a text wordmark. */
.brand-logo.brand-logo--yak {
    height: 3.25rem;
    width: auto;
}
.custom-footer .brand-logo.brand-logo--yak { height: 4.5rem; }

/* The template sets display:flex on .form-error-msg, which would override [hidden]. */
.form-error-msg[hidden] { display: none; }

/* Sample tags in the teacher quote cards: a small pill, not a full-width bar */
.testimonial-body > .draft-tag { align-self: flex-start; }

/* Pilot steps: the empty first axis column carries no tick, so the Step ticks sit under the markers */
.custom-growth-chart-axis > .custom-growth-chart-axis-pad::before { content: none; }

/* Contrast fixes found in the browser check (Task 9) */
.stat-bar--primary .stat-bar-caption { color: #2E2A3B; }                 /* ink on Yak Teal, not 74% ink */
.custom-caps-count > span { color: rgb(255 255 255 / 0.62); }            /* the "/03" on Ink */
.custom-results-tags li { background: rgb(46 42 59 / 0.82); }            /* Level badges stay readable on any cover */

/* Teacher quotes: with two cards per column, one loop is ~34-42rem tall. Keep the wall
   shorter than one loop so the drifting columns never show an empty band. */
#ag2-voices .testimonial-wall { --wall-height: 32rem; }

/* Hero status pill on phones: flow as one line of text that wraps as a whole,
   instead of squeezing "Free Class Pilots" into a three-line column */
@media (max-width: 639px) {
    .custom-tag.custom-hero-status { display: block; border-radius: 1.25rem; line-height: 1.7; font-size: 0.875rem; }
    .custom-tag.custom-hero-status > * { margin-inline: 0.25rem; }
    .custom-tag.custom-hero-status .custom-live-dot { display: inline-block; vertical-align: middle; margin-inline: 0 0.375rem; }
}

/* Pilot card: the "Choose one" prompt in the empty selects read at 3.3:1; lift it to AA */
#pilot-form .form-select:has(option[value=""]:checked),
#pilot-form .form-input::placeholder { color: rgb(255 255 255 / 0.62); }

/* Krashen band number cards: an even row. The template's rising staircase (and its
   bar/spark/ring decorations, removed from the markup) read as a trend chart. */
#ag2-impact .stat-bars { --stat-bars-step: 0; align-items: stretch; }
