/* ============================================
   BADGES PAGE — badges-page.css
   Styles for /badges dedicated landing page
   ============================================ */

/* ---- Layout tokens (inherit from styles.css vars) ---- */
:root {
    --tpgb-radius: 12px;
    --tpgb-radius-sm: 8px;
    --tpgb-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --tpgb-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --tpgb-section-py: 5rem;
    --tpgb-section-py-sm: 3rem;
}

/* ============================================
   HEADER
   ============================================ */
.tpgb-page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--tpg-gray-100);
    padding: 0.875rem 0;
}

.tpgb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tpgb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    color: var(--tpg-gray-600);
    transition: color var(--tpg-transition-fast);
}

.tpgb-back-link:hover { color: var(--tpg-primary); }

.tpgb-back-link svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* Logo inside hero - matches landing page .tpg-hero-logo pattern */
.tpgb-hero-logo {
    margin-bottom: 0.75rem;
    max-width: 180px;
}

.tpgb-hero-logo a {
    display: inline-block;
}

.tpgb-hero-logo .tpg-logo-svg {
    width: 100%;
    height: auto;
    display: block;
}

.tpgb-header-cta { white-space: nowrap; }

#tpg-landing .tpg-header {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
}

.tpg-header .tpgb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.tpgb-section {
    padding: var(--tpgb-section-py) 0;
}

.tpgb-section--alt {
    background: var(--tpg-gray-50);
}

.tpgb-section-title {
    font-family: 'Outfit', var(--tpg-font-family);
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--tpg-gray-900);
    text-align: center;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.tpgb-section-subtitle {
    font-size: 1.0625rem;
    color: var(--tpg-gray-500);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ============================================
   HERO
   ============================================ */
.tpgb-hero {
    padding: 2rem 0 3rem;
    background: linear-gradient(160deg, #f8f9ff 0%, #ffffff 60%);
    overflow: hidden;
}

.tpgb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tpgb-addon-pill {
    display: inline-block;
    background: var(--tpg-gray-100);
    color: var(--tpg-gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.tpgb-hero-title {
    font-family: 'Outfit', var(--tpg-font-family);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--tpg-gray-900);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.tpgb-highlight {
    background: var(--tpg-primary);
    color: var(--tpg-white);
    padding: 0 0.1em;
    border-radius: 4px;
    text-shadow: none;
    display: inline-block;
    margin: 3px;
    vertical-align: baseline;
    line-height: 0.9;
    opacity: 0;
    animation: tpgbHighlightSlideUp 0.8s ease-out 0.3s forwards;
}

@keyframes tpgbHighlightSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) rotate(2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.tpgb-hero-subtitle {
    font-size: 1.0625rem;
    color: var(--tpg-gray-500);
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 520px;
}

.tpgb-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
}

.tpgb-hero-proof {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.tpgb-hero-proof li {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--tpg-gray-500);
    font-weight: 500;
}

.tpgb-hero-proof li svg {
    width: 0.9375rem;
    height: 0.9375rem;
    color: #42963B;
    flex-shrink: 0;
}

/* Badge mockup visuals */
.tpgb-hero-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Hero image */
.tpgb-hero-img {
    width: 100%;
    max-width: 525px;
    height: auto;
    display: block;
    object-fit: contain;
}

.tpgb-mockup-name {
    height: 10px;
    background: var(--tpg-gray-200);
    border-radius: 4px;
    width: 70%;
}

.tpgb-mockup-role {
    height: 7px;
    background: var(--tpg-gray-100);
    border-radius: 4px;
    width: 50%;
}

.tpgb-mockup-org {
    height: 7px;
    background: var(--tpg-gray-100);
    border-radius: 4px;
    width: 40%;
}

.tpgb-mockup-qr {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    color: var(--tpg-gray-400);
}

.tpgb-mockup-qr svg { width: 100%; height: 100%; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.tpgb-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.tpgb-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.875rem;
}

.tpgb-step-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #42963B;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Outfit', var(--tpg-font-family);
}

.tpgb-step-content h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tpg-gray-900);
    margin: 0 0 0.375rem;
}

.tpgb-step-content p {
    font-size: 0.875rem;
    color: var(--tpg-gray-500);
    line-height: 1.6;
    margin: 0;
}

.tpgb-step-arrow {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    padding-top: 0.75rem;
    color: var(--tpg-gray-300);
    flex-shrink: 0;
}

.tpgb-step-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}

.tpgb-qr-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--tpg-primary, #4f46e5);
    border-radius: var(--tpgb-radius-sm);
    padding: 1.125rem 1.25rem;
    max-width: 680px;
    margin: 0 auto;
}

.tpgb-qr-callout svg {
    width: 1.75rem;
    height: 1.75rem;
    color: rgba(255,255,255,0.8);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.tpgb-qr-callout p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0;
}

.tpgb-qr-callout strong {
    color: #fff;
}

/* ============================================
   TEMPLATES
   ============================================ */
.tpgb-template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .tpgb-template-grid { grid-template-columns: repeat(2, 1fr); }
}

.tpgb-template-card {
    background: #fff;
    border: 1px solid var(--tpg-gray-100);
    border-radius: var(--tpgb-radius);
    padding: 1.5rem;
    position: relative;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.tpgb-template-card:hover {
    box-shadow: var(--tpgb-shadow);
    transform: translateY(-2px);
}

.tpgb-template-card--featured {
    border-color: var(--tpg-primary);
    box-shadow: 0 0 0 2px var(--tpg-primary-light, #ede9fe);
}

.tpgb-template-pill {
    position: absolute;
    top: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tpg-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.625rem;
    border-radius: 100px;
    white-space: nowrap;
}

.tpgb-template-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tpg-gray-900);
    margin: 0.875rem 0 0.375rem;
}

.tpgb-template-card p {
    font-size: 0.875rem;
    color: var(--tpg-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Template preview mockup */
.tpgb-template-preview {
    border-radius: var(--tpgb-radius-sm);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tpg-gray-100);
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

/* Portrait: 3x4 ratio */
.tpgb-template-preview--portrait {
    width: 70px;
    height: 94px;
    align-self: center;
}
/* Modern: 4x3 ratio */
.tpgb-template-preview--modern {
    width: 120px;
    height: 90px;
    align-self: center;
}
/* Minimal: 3.5x2 ratio (shorter than Modern) */
.tpgb-template-preview--minimal {
    width: 120px;
    height: 69px;
    align-self: center;
}
/* Square: 2x2 */
.tpgb-template-preview--square {
    width: 75px;
    height: 75px;
    align-self: center;
}

.tpgb-tp-header {
    flex-shrink: 0;
}

/* Header heights per template */
.tpgb-template-preview--portrait  .tpgb-tp-header { height: 35%; }
.tpgb-template-preview--landscape .tpgb-tp-header { height: 40%; }
.tpgb-template-preview--modern   .tpgb-tp-header { height: 40%; }
.tpgb-template-preview--minimal   .tpgb-tp-header { height: 15%; }
.tpgb-template-preview--square    .tpgb-tp-header { display: none; }

/* Colors matching actual plugin templates */
.tpgb-tp-header--blue        { background: #2563eb; }
.tpgb-tp-header--purple      { background: #7c3aed; }
.tpgb-tp-header--thin-green  { height: 10px !important; background: #059669; }

.tpgb-tp-body {
    flex: 1;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.tpgb-tp-body--centered { align-items: center; }
.tpgb-tp-body--full { padding-top: 8px; }

.tpgb-tp-name {
    height: 9px;
    background: var(--tpg-gray-200);
    border-radius: 3px;
    width: 65%;
}

.tpgb-tp-name--wide { width: 80%; }

.tpgb-tp-role {
    height: 6px;
    background: var(--tpg-gray-100);
    border-radius: 3px;
    width: 45%;
}

.tpgb-tp-org {
    height: 6px;
    background: var(--tpg-gray-100);
    border-radius: 3px;
    width: 35%;
}

.tpgb-tp-qr {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 22px;
    height: 22px;
    background: var(--tpg-gray-100);
    border-radius: 2px;
}

/* Customize grid */
.tpgb-customize-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.tpgb-customize-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--tpg-gray-100);
    border-radius: var(--tpgb-radius-sm);
    padding: 1.125rem;
}

.tpgb-customize-item svg {
    width: 1.375rem;
    height: 1.375rem;
    color: var(--tpg-primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.tpgb-customize-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tpg-gray-900);
    margin: 0 0 0.25rem;
}

.tpgb-customize-item p {
    font-size: 0.875rem;
    color: var(--tpg-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SIZES
   ============================================ */
.tpgb-sizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.tpgb-size-card {
    background: #fff;
    border: 1px solid var(--tpg-gray-100);
    border-radius: var(--tpgb-radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    transition: box-shadow 200ms ease;
}

.tpgb-size-card:hover { box-shadow: var(--tpgb-shadow); }

.tpgb-size-card--highlight {
    border-color: var(--tpg-primary);
}

.tpgb-size-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tpg-gray-900);
    margin: 0;
}

.tpgb-size-mm {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--tpg-gray-400);
}

.tpgb-size-card p {
    font-size: 0.8125rem;
    color: var(--tpg-gray-500);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.tpgb-size-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tpg-gray-400);
    background: var(--tpg-gray-50);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    align-self: flex-start;
}

/* Size visuals — proportional to actual badge dimensions */
.tpgb-size-visual {
    border-radius: 4px;
    background: var(--tpg-gray-100);
    border: 1px solid var(--tpg-gray-200);
    margin-bottom: 0.75rem;
}

/* Portrait 3x4: h > w */
.tpgb-size-visual--portrait {
    width: 70px;
    height: 94px;
    margin-left: auto;
    margin-right: auto;
}
/* Landscape 4x3: w > h — fixed ratio, centered */
.tpgb-size-visual--landscape-wide {
    width: 120px;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
}
/* Landscape 3.5x2: wider, shorter — fixed ratio, centered */
.tpgb-size-visual--landscape-small {
    width: 120px;
    height: 69px;
    margin-left: auto;
    margin-right: auto;
}
/* Square 2x2 */
.tpgb-size-visual--square {
    width: 75px;
    height: 75px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PRINTING
   ============================================ */
.tpgb-printing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tpgb-printing-block {
    background: #fff;
    border: 1px solid var(--tpg-gray-100);
    border-radius: var(--tpgb-radius);
    padding: 1.5rem;
}

.tpgb-printing-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--tpg-gray-100);
    border-radius: var(--tpgb-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--tpg-gray-600);
}

.tpgb-printing-icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.tpgb-printing-block h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tpg-gray-900);
    margin: 0 0 0.5rem;
}

.tpgb-printing-block p {
    font-size: 0.875rem;
    color: var(--tpg-gray-500);
    line-height: 1.6;
    margin: 0 0 0.875rem;
}

.tpgb-printing-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.tpgb-printing-block li {
    font-size: 0.8125rem;
    color: var(--tpg-gray-500);
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
}

.tpgb-printing-block li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--tpg-gray-300);
}

/* ============================================
   FAQ
   ============================================ */
.tpgb-faq-section { background: #fff; }

.tpgb-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tpgb-faq-item {
    border-bottom: 1px solid var(--tpg-gray-100);
}

.tpgb-faq-item:first-child {
    border-top: 1px solid var(--tpg-gray-100);
}

.tpgb-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tpg-gray-900);
    font-family: 'Inter', var(--tpg-font-family);
    transition: color var(--tpg-transition-fast);
}

.tpgb-faq-btn:hover { color: var(--tpg-primary); }

.tpgb-faq-btn:focus-visible {
    outline: 2px solid var(--tpg-primary);
    outline-offset: 2px;
    border-radius: 3px;
}

.tpgb-faq-caret {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    color: var(--tpg-gray-400);
    transition: transform 280ms ease;
}

.tpgb-faq-btn[aria-expanded="true"] .tpgb-faq-caret {
    transform: rotate(180deg);
}

.tpgb-faq-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 300ms cubic-bezier(0.4,0,0.2,1), opacity 250ms ease;
}

.tpgb-faq-body.is-open {
    max-height: 400px;
    opacity: 1;
}

.tpgb-faq-body p {
    font-size: 0.9375rem;
    color: var(--tpg-gray-500);
    line-height: 1.7;
    margin: 0 0 1.125rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.tpgb-cta-section {
    background: var(--tpg-primary);
    padding: 5rem 0;
}

.tpgb-cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.tpgb-cta-title {
    font-family: 'Outfit', var(--tpg-font-family);
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.875rem;
    line-height: 1.2;
}

.tpgb-cta-subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.tpgb-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

#tpg-landing .tpgb-cta-row .tpg-btn-primary {
    background: #42963B;
    color: #fff;
    border-color: #42963B;
}

#tpg-landing .tpgb-cta-row .tpg-btn-primary:hover {
    background: #357030;
    border-color: #357030;
}

#tpg-landing .tpgb-cta-row .tpg-btn-outline {
    background: #fff;
    border-color: #fff;
    color: var(--tpg-primary);
}

#tpg-landing .tpgb-cta-row .tpg-btn-outline:hover {
    background: rgba(255,255,255,0.9);
    border-color: #fff;
    color: var(--tpg-primary);
}

.tpgb-cta-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.tpgb-inline-link {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tpgb-inline-link:hover { color: #fff; }

/* ============================================
   FOOTER
   ============================================ */
.tpgb-footer {
    background: var(--tpg-gray-900);
    padding: 2rem 0;
}

.tpgb-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    justify-content: space-between;
}

.tpgb-footer-logo { display: block; opacity: 0.7; transition: opacity 200ms; }
.tpgb-footer-logo:hover { opacity: 1; }

.tpgb-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.tpgb-footer-nav a {
    font-size: 0.875rem;
    color: var(--tpg-gray-400);
    text-decoration: none;
    transition: color 200ms;
}

.tpgb-footer-nav a:hover { color: #fff; }

.tpgb-footer-copy {
    font-size: 0.8125rem;
    color: var(--tpg-gray-500);
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

@media (max-width: 1024px) {
    .tpgb-sizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tpgb-printing-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tpgb-template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --tpgb-section-py: var(--tpgb-section-py-sm);
    }

    /* Hero */
    .tpgb-hero {
        padding: 1.5rem 0 2.5rem;
    }

    .tpgb-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tpgb-hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .tpgb-hero-visual {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .tpgb-hero-img {
        max-width: 100%;
        width: 100%;
    }

    .tpgb-hero-cta-row {
        flex-direction: column;
    }

    .tpgb-hero-cta-row .tpg-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .tpgb-hero-proof {
        gap: 0.5rem 1rem;
    }

    /* How it works */
    .tpgb-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .tpgb-step {
        max-width: 100%;
        width: 100%;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .tpgb-step-num {
        flex-shrink: 0;
    }

    .tpgb-step-arrow {
        display: none;
    }

    /* Templates */
    .tpgb-template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tpgb-customize-grid {
        grid-template-columns: 1fr;
    }

    /* Sizes */
    .tpgb-sizes-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Printing */
    .tpgb-printing-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .tpgb-cta-section {
        padding: 3rem 0;
    }

    .tpgb-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .tpgb-cta-row .tpg-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Footer */
    .tpgb-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* FAQ */
    .tpgb-faq-body.is-open {
        max-height: 600px;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .tpgb-hero {
        padding: 1rem 0 2rem;
    }

    .tpgb-hero-logo {
        margin-bottom: 0.5rem;
    }

    .tpgb-addon-pill {
        font-size: 0.6875rem;
    }

    .tpgb-hero-subtitle {
        font-size: 1rem;
    }

    /* Templates: single column on very small screens */
    .tpgb-template-grid {
        grid-template-columns: 1fr;
    }

    /* Sizes */
    .tpgb-sizes-grid {
        grid-template-columns: 1fr;
    }

    /* Section titles */
    .tpgb-section-title {
        font-size: clamp(1.375rem, 5vw, 1.75rem);
    }

    .tpgb-section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    /* QR callout */
    .tpgb-qr-callout {
        flex-direction: column;
        gap: 0.625rem;
    }

    .tpgb-header-cta {
        display: none;
    }
}
