/* Supplemental Tailwind utilities used across the site that aren't in the compiled styles.css.
   Add new utilities here when refactoring pages; recompile Tailwind to absorb them later. */

/* Spacing */
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-1 { gap: 0.25rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.mt-4 { margin-top: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.leading-relaxed { line-height: 1.625; }
.pt-8 { padding-top: 2rem; }
.p-10 { padding: 2.5rem; }
@media (min-width: 1024px) {
    .lg\:p-6 { padding: 1.5rem; }
    .lg\:p-8 { padding: 2rem; }
    .lg\:p-10 { padding: 2.5rem; }
    .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .lg\:text-xl { font-size: 1.25rem; }
    .lg\:text-2xl { font-size: 1.5rem; }
}

/* Layout */
.block { display: block; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.w-full { width: 100%; }

/* Grid */
.grid { display: grid; }
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
}

/* Colors */
.text-gray-500 { color: #6b7280; }
.text-blue-100 { color: #dbeafe; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-900 { color: #1e3a8a; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-700 { background-color: #1d4ed8; }
.border-blue-100 { border-color: #dbeafe; }

/* Effects */
.transition-shadow { transition-property: box-shadow; transition-duration: 0.15s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 0.15s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.opacity-25 { opacity: 0.25; }

/* Typography */
.leading-tight { line-height: 1.25; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
@media (min-width: 1024px) {
    .lg\:text-3xl { font-size: 1.875rem; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1.1; }
}

/* Border */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.rounded-md { border-radius: 0.375rem; }

/* Gradients (from-/via-/to- already in compiled CSS but extra coverage) */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, transparent)); }

/* Section D: blue-50 → white → blue-50 gradient (bg-gradient-to-br is the existing utility,
   but to-blue-50 wasn't compiled. Override the global gradient stops for this specific case.) */
.bg-gradient-to-br.from-blue-50.via-white.to-blue-50 {
    background: linear-gradient(to bottom right, #eff6ff, #ffffff, #eff6ff);
}

/* ============================================================================
   Reusable section components (originally inline on index.html, now site-wide)
   Use these on any page that wants to vary its layout away from the standard
   prose-content article pattern. See SEO_PLAN §7.5.A for de-templating context.
   ============================================================================ */

.section-h2 { font-size: 1.75rem; font-weight: 700; color: #111827; margin: 0 0 .75rem; line-height: 1.2; }
@media (min-width: 1024px) { .section-h2 { font-size: 2.25rem; } }
.section-lede { font-size: 1.0625rem; color: #4b5563; line-height: 1.6; margin: 0 0 1.75rem; max-width: 42rem; }
@media (min-width: 1024px) { .section-lede { font-size: 1.125rem; } }

/* Numbered step list */
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.step-list > li { display: flex; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid #e5e7eb; }
.step-list > li:first-child { border-top: 0; padding-top: 0; }
.step-list .num { flex: none; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .5); }
.step-list h3 { font-size: 1.0625rem; font-weight: 600; color: #111827; margin: .25rem 0 .375rem; }
.step-list p { color: #4b5563; line-height: 1.6; margin: 0; font-size: .9375rem; }

/* Comparison table */
.compare-wrap { overflow-x: auto; background: #fff; border-radius: 1rem; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .08); border: 1px solid #e5e7eb; }
.compare { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid #f3f4f6; vertical-align: top; }
.compare thead th { background: #f9fafb; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; font-weight: 600; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: #111827; width: 24%; }
.compare td:last-child { font-size: .8125rem; color: #6b7280; font-style: italic; white-space: nowrap; }

/* Stat card grid */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 1024px) { .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.stat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.stat-card .num { font-size: 2rem; font-weight: 800; color: #1d4ed8; line-height: 1; letter-spacing: -.02em; }
.stat-card .lab { font-size: .8125rem; color: #4b5563; line-height: 1.4; }

/* Pricing card */
.price-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .08); padding: 1.25rem; font-variant-numeric: tabular-nums; max-width: 38rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .625rem 0; border-bottom: 1px dashed #e5e7eb; font-size: .9375rem; }
.price-row:last-child { border-bottom: 0; }
.price-row .label { color: #374151; line-height: 1.4; }
.price-row .price { font-weight: 700; color: #111827; font-feature-settings: "tnum"; white-space: nowrap; }
.price-row.baseline .price { color: #6b7280; font-weight: 600; }
.price-row.below .price { color: #15803d; }
.price-row.above .price { color: #b45309; }

/* Pump-label mock */
.pump-mock { display: grid; grid-template-columns: 1fr; gap: .75rem; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem; background: #fff; }
@media (min-width: 640px) { .pump-mock { grid-template-columns: 14rem 1fr; align-items: center; } }
.ftc-sticker { background: #fde047; border: 2px solid #111827; border-radius: .25rem; padding: .625rem .5rem; text-align: center; font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 800; color: #111827; letter-spacing: .04em; line-height: 1.2; font-size: .8125rem; }
.ftc-sticker .small { display: block; font-size: .625rem; font-weight: 700; margin-top: .25rem; letter-spacing: .06em; }
.ftc-sticker.warn { background: #fef3c7; }
.pump-mock p { margin: 0; color: #4b5563; font-size: .9375rem; line-height: 1.55; }

/* Resource cards */
.resource-grid { display: grid; grid-template-columns: 1fr; gap: .875rem; }
@media (min-width: 640px) { .resource-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }
.resource-card { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.125rem; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.resource-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .1); border-color: #bfdbfe; }
.resource-card h3 { margin: 0 0 .375rem; font-size: .9375rem; font-weight: 700; color: #1d4ed8; line-height: 1.3; }
.resource-card p { margin: 0; font-size: .8125rem; color: #4b5563; line-height: 1.5; }

.reviewed-line { font-size: .8125rem; color: #6b7280; margin: 1rem 0 0; }
.reviewed-line a { color: #2563eb; }

/* Decision-tree (B5 page) */
.decision-tree { background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .06); padding: 1.5rem; }
.decision-question { font-size: 1rem; font-weight: 600; color: #111827; margin: 0 0 .75rem; padding-left: 1.5rem; position: relative; }
.decision-question::before { content: "?"; position: absolute; left: 0; top: 0; width: 1.125rem; height: 1.125rem; line-height: 1.125rem; text-align: center; background: #2563eb; color: #fff; border-radius: 9999px; font-size: .75rem; font-weight: 700; }
.decision-branch { display: grid; grid-template-columns: 1fr; gap: .625rem; margin: 0 0 1.25rem; padding-left: 1.5rem; border-left: 2px solid #e5e7eb; }
.decision-branch:last-child { margin-bottom: 0; }
.decision-row { display: flex; gap: .625rem; align-items: flex-start; padding: .625rem .75rem; background: #f9fafb; border-radius: .5rem; font-size: .875rem; line-height: 1.5; }
.decision-row .tag { flex: none; font-weight: 700; font-size: .6875rem; padding: .125rem .5rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: .04em; align-self: flex-start; margin-top: .125rem; }
.decision-row.yes .tag { background: #dcfce7; color: #166534; }
.decision-row.no .tag { background: #fee2e2; color: #991b1b; }
.decision-row.maybe .tag { background: #fef3c7; color: #92400e; }
.decision-row .body { color: #374151; }
.decision-row .body strong { color: #111827; }

/* Case-study card (B20 page) */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card { background: #fff; border: 1px solid #e5e7eb; border-radius: .875rem; padding: 1.25rem; display: flex; flex-direction: column; gap: .625rem; }
.case-card .org { font-size: .75rem; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: .06em; }
.case-card h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; color: #111827; line-height: 1.3; }
.case-card .stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.case-card .stat-pill { font-size: .75rem; padding: .25rem .625rem; background: #f3f4f6; border-radius: 9999px; color: #374151; font-weight: 500; }
.case-card .stat-pill strong { color: #111827; }
.case-card p { margin: 0; font-size: .9375rem; color: #4b5563; line-height: 1.55; }
.case-card .src { font-size: .75rem; color: #6b7280; font-style: italic; margin-top: auto; padding-top: .5rem; border-top: 1px solid #f3f4f6; }
.case-card .src a { color: #2563eb; }

/* Spec-sheet (B100 page) */
.spec-sheet { background: #0f172a; color: #e2e8f0; border-radius: 1rem; padding: 1.25rem 1.5rem; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: .875rem; line-height: 1.7; }
.spec-sheet h3 { color: #fbbf24; font-family: system-ui, -apple-system, sans-serif; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .75rem; }
.spec-sheet h3:not(:first-child) { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #1e293b; }
.spec-sheet ul { list-style: none; padding: 0; margin: 0; }
.spec-sheet li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.spec-sheet li .k { color: #94a3b8; }
.spec-sheet li .v { color: #f8fafc; font-weight: 500; text-align: right; }
.spec-sheet li .v.ok { color: #4ade80; }
.spec-sheet li .v.no { color: #f87171; }
.spec-sheet li .v.maybe { color: #fbbf24; }

/* Comparison-table layout for advertise.html pricing (replaces 3-up checkmark cards) */
.tier-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .08); }
.tier-table th, .tier-table td { padding: .875rem 1rem; text-align: left; border-bottom: 1px solid #f3f4f6; vertical-align: top; font-size: .9375rem; }
.tier-table thead th { background: #f9fafb; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; font-weight: 600; }
.tier-table tbody td:first-child { font-weight: 600; color: #111827; width: 30%; }
.tier-table .price-cell { font-weight: 700; color: #1d4ed8; font-size: 1rem; }
.tier-table .featured { background: #eff6ff; }
