/**
 * copygapscanner.css  v1.5
 *
 * ACSS-aware but self-contained.
 * Uses ACSS variables (--space-*, --text-*, --h*, --radius etc.) where
 * available, with pixel/rem fallbacks so it works on any WordPress theme.
 * Does NOT depend on ACSS card selectors being configured — all card
 * visual styles are defined here explicitly.
 *
 * Brand tokens (scoped to #cgs-app)
 * --cgs-navy      #1e3a5f
 * --cgs-navy-deep #0f2444
 * --cgs-navy-mid  #2a4f80
 * --cgs-gold      #c9a84c
 * --cgs-gold-hvr  #e0ba5a
 * --cgs-present   #16a34a
 * --cgs-partial   #d97706
 * --cgs-missing   #94a3b8
 */

/* ─────────────────────────────────────────────────────────────
   Brand tokens
───────────────────────────────────────────────────────────── */

#cgs-app {
    --cgs-navy:       #1e3a5f;
    --cgs-navy-deep:  #0f2444;
    --cgs-navy-mid:   #2a4f80;
    --cgs-gold:       #c9a84c;
    --cgs-gold-hvr:   #e0ba5a;
    --cgs-present:    #16a34a;
    --cgs-partial:    #d97706;
    --cgs-missing:    #94a3b8;
}

/* ─────────────────────────────────────────────────────────────
   Scoped reset  (box-sizing only — do not strip margins/padding)
───────────────────────────────────────────────────────────── */

#cgs-app *, #cgs-app *::before, #cgs-app *::after {
    box-sizing: border-box;
}

#cgs-app {
    font-family: var(--text-font-family, 'Helvetica Neue', Arial, sans-serif);
    font-size:   var(--text-m, 1.1rem);
    line-height: var(--text-line-height, 1.7);
    color:       var(--body-color, #1a202c);
    -webkit-font-smoothing: antialiased;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Headings — scoped default; overridden per-component below for dark backgrounds */
#cgs-app h1, #cgs-app h2, #cgs-app h3,
#cgs-app h4, #cgs-app h5, #cgs-app h6 {
    font-family: var(--heading-font-family, var(--text-font-family, sans-serif));
    font-weight: var(--heading-font-weight, 700);
    line-height: var(--heading-line-height, 1.2);
    color: var(--heading-color, #1e3a5f);
    margin-top: 0;
}

#cgs-app p { margin-top: 0; }

/* Links — default navy; overridden for buttons and dark-bg sections below */
#cgs-app a { color: #1e3a5f; }

/* ─────────────────────────────────────────────────────────────
   Utility
───────────────────────────────────────────────────────────── */

.cgs-hidden { display: none !important; }

/* ─────────────────────────────────────────────────────────────
   LANDING HERO
───────────────────────────────────────────────────────────── */

#cgs-landing {
    background: linear-gradient(135deg, var(--cgs-navy-deep) 0%, var(--cgs-navy) 55%, var(--cgs-navy-mid) 100%);
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.cgs-landing-inner {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.cgs-badge {
    display: inline-block;
    background: rgba(201,168,76,.18);
    color: #f0d080;
    border: 1px solid rgba(201,168,76,.4);
    border-radius: 999px;
    padding: 6px 22px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cgs-headline {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff !important;   /* beats #cgs-app h1 specificity */
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}

.cgs-headline em        { font-style: italic; color: #f0d080; }
.cgs-headline-accent    { color: #c9a84c; }

.cgs-subheadline {
    font-size: 1.2rem;
    color: rgba(255,255,255,.85);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Form ─── */

.cgs-form { width: 100%; }

.cgs-input-row {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto 10px;
}

.cgs-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid rgba(255,255,255,.28);
    border-radius: var(--radius, 10px);
    background: rgba(255,255,255,.13);
    color: #fff;
    outline: none;
    transition: border-color .2s, background .2s;
    min-width: 0;
    box-shadow: none;
}

.cgs-input::placeholder { color: rgba(255,255,255,.5); }
.cgs-input:focus        { border-color: var(--cgs-gold); background: rgba(255,255,255,.18); }

.cgs-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: var(--cgs-gold);
    color: var(--cgs-navy);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius, 10px);
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    text-decoration: none;
    line-height: 1;
}

.cgs-btn-primary:hover        { background: var(--cgs-gold-hvr); transform: translateY(-2px); color: var(--cgs-navy); text-decoration: none; }
.cgs-btn-primary:active       { transform: translateY(0); }
.cgs-btn-primary:disabled     { opacity: .55; cursor: not-allowed; transform: none; }

.cgs-input-error { color: #fca5a5; font-size: .85rem; min-height: 1.4em; margin-top: 6px; }
.cgs-form-note   { color: rgba(255,255,255,.5); font-size: .84rem; margin-top: 6px; }

.cgs-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.cgs-trust-item { color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 500; }

/* ─────────────────────────────────────────────────────────────
   LOADING STATE
───────────────────────────────────────────────────────────── */

#cgs-loading {
    background: var(--body-bg-color, #f8fafc);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
}

.cgs-loading-inner { max-width: 520px; width: 100%; text-align: center; }

.cgs-spinner-wrap  { display: flex; justify-content: center; margin-bottom: 28px; }

.cgs-spinner {
    width: 56px; height: 56px;
    border: 5px solid rgba(0,0,0,.1);
    border-top-color: var(--cgs-navy);
    border-radius: 50%;
    animation: cgs-spin .8s linear infinite;
}

@keyframes cgs-spin { to { transform: rotate(360deg); } }

.cgs-loading-title   { font-size: 1.5rem; font-weight: 700; color: var(--cgs-navy); margin-bottom: 10px; }
.cgs-loading-message { color: #64748b; font-size: .95rem; margin-bottom: 24px; min-height: 1.5em; transition: opacity .3s; }

.cgs-progress-bar-wrap {
    background: rgba(0,0,0,.08);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 28px;
}

.cgs-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cgs-navy), var(--cgs-gold));
    border-radius: 999px;
    width: 0%;
    transition: width .6s ease;
}

.cgs-loading-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    max-width: 340px;
    margin: 0 auto;
}

.cgs-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius, 8px);
    font-size: .9rem;
    color: var(--cgs-missing);
    background: transparent;
    transition: background .3s, color .3s;
}

.cgs-step.cgs-step-active                     { background: rgba(30,58,95,.07); color: var(--cgs-navy); font-weight: 600; }
.cgs-step.cgs-step-done                       { color: var(--cgs-present); }
.cgs-step.cgs-step-done .cgs-step-icon::after { content: ' ✓'; }
.cgs-step-icon                                { font-size: 1.1rem; }

/* ─────────────────────────────────────────────────────────────
   REPORT AREA — slate background + centred stack of cards
───────────────────────────────────────────────────────────── */

#cgs-report {
    background: #f1f5f9;
    padding: 48px 24px 96px;
}

/* Cards stacked with gap */
.cgs-report-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--content-gap, 24px);
}

/* ─────────────────────────────────────────────────────────────
   CARD — base style applied to every white panel in the report
   (report header, sections 1-5, error state all share this look)
───────────────────────────────────────────────────────────── */

.cgs-report-header,
.cgs-card,
.cgs-error-card {
    background: #ffffff;
    border-radius: var(--radius, 14px);
    padding: 36px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,.07), 0 8px 24px rgba(0,0,0,.05);
}

/* Section cards get the navy top accent */
.cgs-card {
    border-top: 4px solid var(--cgs-navy);
}

/* ─── Report header ─── */

.cgs-report-header { text-align: center; }

.cgs-report-meta {
    font-size: .82rem;
    color: #94a3b8;
    margin-bottom: 10px;
    letter-spacing: .02em;
}

.cgs-report-title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}

.cgs-report-subtitle { color: #64748b; font-size: 1.05rem; margin-bottom: 0; }

/* ─── Section label pill ─── */

.cgs-section-label {
    display: inline-block;
    background: rgba(30,58,95,.08);
    color: var(--cgs-navy);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

/* ─── Card heading ─── */

.cgs-card-title {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}

/* ─── Card intro paragraph ─── */

.cgs-card-intro {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 680px;
}

/* ─────────────────────────────────────────────────────────────
   SECTION 1 — Trust Language Score
───────────────────────────────────────────────────────────── */

.cgs-score-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cgs-gauge-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cgs-gauge-svg    { width: 190px; height: 190px; overflow: visible; }
.cgs-gauge-bg     { fill: none; stroke: #e2e8f0; stroke-width: 12; }
.cgs-gauge-arc    { fill: none; stroke-width: 12; stroke-linecap: round; }

.cgs-gauge-num {
    font-size: 30px;
    font-weight: 800;
    fill: var(--cgs-navy);
    dominant-baseline: central;
}

.cgs-gauge-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    fill: var(--cgs-missing);
    dominant-baseline: central;
}

.cgs-score-copy     { flex: 1; min-width: 200px; }

.cgs-score-headline {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.55;
    margin-bottom: 20px;
}

.cgs-score-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cgs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 86px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.cgs-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.cgs-stat-lbl {
    font-size: .72rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.cgs-stat-num.cgs-c-present { color: var(--cgs-present); }
.cgs-stat-num.cgs-c-partial  { color: var(--cgs-partial); }
.cgs-stat-num.cgs-c-missing  { color: var(--cgs-missing); }

/* ─────────────────────────────────────────────────────────────
   SECTION 2 — Phrase Gap Grid
───────────────────────────────────────────────────────────── */

.cgs-grid-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 28px;
}

.cgs-legend-item            { display: flex; align-items: center; gap: 5px; font-size: .85rem; font-weight: 600; }
.cgs-legend-item.cgs-present { color: var(--cgs-present); }
.cgs-legend-item.cgs-partial  { color: var(--cgs-partial); }
.cgs-legend-item.cgs-missing  { color: var(--cgs-missing); }

.cgs-theme-block             { margin-bottom: 28px; }
.cgs-theme-block:last-child  { margin-bottom: 0; }

.cgs-theme-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.cgs-phrase-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cgs-phrase-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: default;
    transition: transform .15s;
}

.cgs-phrase-chip:hover        { transform: translateY(-1px); }
.cgs-phrase-chip.cgs-present  { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.cgs-phrase-chip.cgs-partial  { background: #fef9c3; color: #92400e; border: 1px solid #fde68a; }
.cgs-phrase-chip.cgs-missing  { background: #f1f5f9; color: #64748b;  border: 1px solid #e2e8f0; }

.cgs-chip-icon { font-size: .95rem; line-height: 1; }

/* ─────────────────────────────────────────────────────────────
   SECTION 3 — Dominant themes
───────────────────────────────────────────────────────────── */

.cgs-voice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--content-gap, 16px);
}

.cgs-voice-card {
    border-radius: 12px;
    border-left: 5px solid transparent;
    padding: 22px 24px;
}

.cgs-voice-card.cgs-sig-positive { background: #f0fdf4; border-color: var(--cgs-present); }
.cgs-voice-card.cgs-sig-neutral  { background: #f8fafc; border-color: var(--cgs-missing); }
.cgs-voice-card.cgs-sig-negative { background: #fff7ed; border-color: var(--cgs-partial); }

.cgs-voice-rank  { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 8px; }
.cgs-voice-name  { font-size: 1rem;   font-weight: 700; color: var(--cgs-navy); margin-bottom: 10px; line-height: 1.3; }
.cgs-voice-desc  { font-size: .875rem; color: #475569; line-height: 1.65; }

.cgs-voice-signal {
    display: inline-block;
    margin-top: 12px;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 2px 8px;
}

.cgs-sig-positive .cgs-voice-signal { background: #dcfce7; color: #15803d; }
.cgs-sig-neutral  .cgs-voice-signal { background: #f1f5f9; color: #475569; }
.cgs-sig-negative .cgs-voice-signal { background: #fef3c7; color: #92400e; }

/* ─────────────────────────────────────────────────────────────
   SECTION 4 — Highest-Impact Gaps
───────────────────────────────────────────────────────────── */

.cgs-gap-cards {
    display: flex;
    flex-direction: column;
    gap: var(--content-gap, 20px);
}

.cgs-gap-card {
    border-radius: 12px;
    border: 1px solid #fed7aa;
    background: #fffbf5;
    padding: 26px 28px;
}

.cgs-gap-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--cgs-navy);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 12px;
}

.cgs-gap-theme-badge {
    display: inline-block;
    background: #fff7ed;
    color: #c2410c;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 2px 9px;
    margin-bottom: 10px;
    border: 1px solid #fed7aa;
}

.cgs-gap-phrase {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cgs-navy);
    margin-bottom: 14px;
    line-height: 1.4;
}

.cgs-gap-example {
    background: #fff;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 14px;
    border-left: 3px solid var(--cgs-gold);
}

.cgs-gap-example-label {
    font-size: .72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}

.cgs-gap-example blockquote {
    font-size: .9rem;
    color: #334155;
    font-style: italic;
    line-height: 1.65;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
}

.cgs-gap-why { font-size: .875rem; color: #475569; line-height: 1.65; margin-bottom: 0; }

/* ─────────────────────────────────────────────────────────────
   SECTION 5 — DCC Readiness
───────────────────────────────────────────────────────────── */

.cgs-dcc-rating {
    border-radius: 12px;
    padding: 32px 36px;
    text-align: center;
}

.cgs-dcc-rating.cgs-dcc-gold { background: linear-gradient(135deg,#fdf6e3,#fef9c3); border: 2px solid #f0c040; }
.cgs-dcc-rating.cgs-dcc-blue { background: linear-gradient(135deg,#eff6ff,#dbeafe); border: 2px solid #93c5fd; }
.cgs-dcc-rating.cgs-dcc-grey { background: #f8fafc; border: 2px solid #e2e8f0; }

.cgs-dcc-badge {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 16px;
    margin-bottom: 14px;
}

.cgs-dcc-gold .cgs-dcc-badge { background: #fef08a; color: #854d0e; border: 1px solid #fde047; }
.cgs-dcc-blue .cgs-dcc-badge { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.cgs-dcc-grey .cgs-dcc-badge { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

.cgs-dcc-level   { font-size: 2rem; font-weight: 800; color: #1e3a5f; margin-bottom: 14px; letter-spacing: -.02em; }
.cgs-dcc-message { font-size: 1.05rem; color: #334155; line-height: 1.7; max-width: 540px; margin: 0 auto 28px; }

/* Section 5 CTA — use #cgs-app prefix to beat the #cgs-app a { color } rule */
#cgs-app .cgs-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: #1e3a5f;
    color: #ffffff;          /* must be explicit — beaten by #cgs-app a otherwise */
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: var(--radius, 10px);
    text-decoration: none;
    transition: background .2s, transform .15s;
    border: none;
    cursor: pointer;
}

#cgs-app .cgs-btn-cta:hover {
    background: #0f2444;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────
   EMAIL CAPTURE
───────────────────────────────────────────────────────────── */

.cgs-email-capture {
    background: linear-gradient(135deg, var(--cgs-navy-deep) 0%, var(--cgs-navy) 100%);
    border-radius: var(--radius, 16px);
    padding: 44px 40px;
    text-align: center;
}

/* Use #cgs-app prefix to beat the #cgs-app h3 { color } specificity */
#cgs-app .cgs-email-capture h3 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;      /* explicit white — overrides heading-color default */
    margin-bottom: 12px;
}
#cgs-app .cgs-email-capture p {
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.cgs-email-form {
    display: flex;
    gap: 10px;
    max-width: 540px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cgs-email-form input {
    flex: 1;
    min-width: 180px;
    padding: 14px 18px;
    font-size: .95rem;
    font-family: inherit;
    border: 2px solid rgba(255,255,255,.28);
    border-radius: var(--radius, 10px);
    background: rgba(255,255,255,.13);
    color: #fff;
    outline: none;
    transition: border-color .2s;
    box-shadow: none;
}

.cgs-email-form input::placeholder { color: rgba(255,255,255,.5); }
.cgs-email-form input:focus         { border-color: var(--cgs-gold); }
.cgs-email-form-msg                 { margin-top: 12px; font-size: .88rem; min-height: 1.4em; color: #a7f3d0; }
.cgs-email-form-msg.cgs-err         { color: #fca5a5; }

/* ─────────────────────────────────────────────────────────────
   STICKY CTA BAR
   Lives outside #cgs-app (appended to body by JS), so CSS custom
   properties from #cgs-app cannot resolve here — use raw hex values.
───────────────────────────────────────────────────────────── */

.cgs-sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #1e3a5f;              /* hard hex — var(--cgs-navy) won't resolve outside #cgs-app */
    padding: 14px 24px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -3px 20px rgba(0,0,0,.3);
    display: none;
}

.cgs-sticky-cta.cgs-sticky-visible { display: block; }

.cgs-sticky-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #c9a84c;              /* hard hex — var(--cgs-gold) won't resolve here */
    color: #1e3a5f;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.1rem;                /* larger — was .95rem */
    padding: 14px 32px;               /* more generous padding */
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
    letter-spacing: .01em;
}

.cgs-sticky-cta a:hover { background: #e0ba5a; text-decoration: none; color: #1e3a5f; }

/* ─────────────────────────────────────────────────────────────
   ERROR STATE
───────────────────────────────────────────────────────────── */

.cgs-error-card { text-align: center; }

.cgs-error-icon  { font-size: 3rem; margin-bottom: 16px; display: block; }
.cgs-error-title { font-size: 1.3rem; font-weight: 700; color: var(--cgs-navy); margin-bottom: 12px; }
.cgs-error-msg   { color: #64748b; font-size: .93rem; line-height: 1.65; max-width: 480px; margin: 0 auto 12px; }

.cgs-try-again-btn {
    background: transparent;
    border: 2px solid var(--cgs-navy);
    color: var(--cgs-navy);
    font-family: inherit;
    font-size: .93rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, color .2s;
    margin-right: 10px;
    margin-bottom: 10px;
}

.cgs-try-again-btn:hover { background: var(--cgs-navy); color: #fff; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
    .cgs-input-row   { flex-direction: column; }
    .cgs-btn-primary { width: 100%; justify-content: center; }

    .cgs-report-header,
    .cgs-card,
    .cgs-error-card  { padding: 24px 20px; }

    .cgs-score-layout { flex-direction: column; align-items: center; text-align: center; }
    .cgs-score-stats  { justify-content: center; }

    .cgs-email-capture { padding: 28px 20px; }
    .cgs-dcc-rating    { padding: 24px 16px; }
    .cgs-gap-card      { padding: 20px; }

    #cgs-report { padding: 28px 14px 80px; }
}

@media (max-width: 480px) {
    .cgs-voice-cards { grid-template-columns: 1fr; }
    .cgs-phrase-chip { font-size: .8rem; }
}
