/* Content Shape Checker landing page. Uses the Census theme tokens with fallbacks. */
html, body { overflow-x: clip; }
.csc-page {
  --c-ink: var(--ink, #172321);
  --c-ink-2: var(--ink-2, #22302D);
  --c-canvas: var(--canvas, #F4F2E9);
  --c-paper: var(--paper, #FBFAF5);
  --c-panel: var(--panel, #ECE9DE);
  --c-rule: var(--rule, #D9D6CB);
  --c-muted: var(--muted, #4A5654);
  --c-lime: var(--lime, #DCFA57);
  --c-r-s: var(--radius-s, 6px);
  --c-r-m: var(--radius-m, 14px);
  --c-r-l: var(--radius-l, 22px);
  --c-wrap: var(--wrap, 1200px);
  color: var(--c-ink);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.62;
}
.csc-page *, .csc-page *::before, .csc-page *::after { box-sizing: border-box; }
.csc-wrap { width: 100%; max-width: var(--c-wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.csc-bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
.csc-page h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); line-height: 1.22; letter-spacing: -.01em; font-weight: 800; margin: 0 0 .5em; color: inherit; }
.csc-page h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.33; font-weight: 700; margin: 0 0 .4em; color: inherit; }
.csc-page p { margin: 0 0 1em; }
.csc-page a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--c-lime); }
.csc-page a:hover { text-decoration-color: currentColor; }

.csc-kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-muted); margin: 0 0 .75rem !important;
}
.csc-kicker::before { content: ""; width: 14px; height: 10px; background: var(--c-lime); transform: skewX(-18deg); border-radius: 2px; }
.csc-small { font-size: .875rem; color: var(--c-muted); }
.csc-mark { background: linear-gradient(transparent 58%, var(--c-lime) 58%, var(--c-lime) 92%, transparent 92%); padding: 0 .08em; }

.csc-btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px;
  background: var(--c-ink); color: var(--c-canvas) !important; border: 2px solid var(--c-ink);
  font-weight: 700; text-decoration: none !important; line-height: 1.2; transition: background .15s ease, color .15s ease;
}
.csc-btn:hover { background: var(--c-lime); color: var(--c-ink) !important; }
.csc-btn-ghost { background: transparent; color: var(--c-ink) !important; }
.csc-btn-lime { background: var(--c-lime); color: var(--c-ink) !important; border-color: var(--c-lime); }
.csc-btn-lime:hover { background: var(--c-canvas); border-color: var(--c-canvas); }

/* Hero */
.csc-hero { background: var(--c-canvas); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--c-rule); }
.csc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.csc-eyebrow { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem !important; }
.csc-eyebrow span { font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: var(--c-paper); border: 1px solid var(--c-rule); }
.csc-eyebrow span:first-child { background: var(--c-lime); border-color: var(--c-lime); }
.csc-h1 { font-size: clamp(2.6rem, 6vw, 4.75rem) !important; line-height: 1.04 !important; letter-spacing: -.03em !important; font-weight: 800 !important; margin: 0 0 1.25rem !important; color: var(--c-ink); }
.csc-lead { font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: var(--c-ink-2); max-width: 36rem; }
.csc-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.csc-hero-shot { margin: 0; border-radius: var(--c-r-l); overflow: hidden; background: var(--c-paper); border: 1px solid var(--c-rule); box-shadow: 0 30px 60px -36px rgba(23, 35, 33, .45); transform: rotate(.6deg); }
.csc-hero-shot img { display: block; width: 100%; height: auto; }
.csc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; border-top: 1px solid var(--c-rule); }
.csc-facts div { padding: 1.1rem 1rem 0 0; }
.csc-facts dt { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.csc-facts dd { margin: .2rem 0 0; color: var(--c-muted); font-size: .9rem; }

/* Sections */
.csc-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.csc-section-head { max-width: 40rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.csc-section-head p:not(.csc-kicker) { color: var(--c-muted); font-size: 1.1rem; }
.csc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.csc-prose p { font-size: 1.1rem; }

.csc-tool { background: var(--c-canvas); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.csc-tool .hsc { max-width: none; }

.csc-table-wrap { overflow-x: auto; margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--c-rule); border-radius: var(--c-r-l); background: var(--c-paper); }
.csc-compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
.csc-compare th, .csc-compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--c-rule); vertical-align: top; }
.csc-compare tr:last-child th, .csc-compare tr:last-child td { border-bottom: 0; }
.csc-compare thead th { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.csc-compare thead th:last-child { color: var(--c-ink); background: var(--c-lime); }
.csc-compare tbody th { font-weight: 700; width: 28%; }
.csc-compare td:last-child { font-weight: 600; background: rgba(220, 250, 87, .16); }
.csc-compare td:nth-child(2) { color: var(--c-muted); }

/* Dark checks band */
.csc-dark { background: var(--c-ink); color: var(--c-canvas); }
.csc-dark h2, .csc-dark h3 { color: var(--c-canvas); }
.csc-dark .csc-kicker { color: #C6CECB; }
.csc-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.csc-check { border: 1px solid #2E3D3A; border-radius: var(--c-r-m); padding: 1.5rem; background: var(--c-ink-2); border-top: 4px solid var(--c); }
.csc-check h3 { display: flex; gap: .6rem; align-items: baseline; }
.csc-check h3 span { font-size: .85rem; color: var(--c-lime); font-weight: 800; }
.csc-check > p { color: #C6CECB; }
.csc-ba { display: grid; gap: .6rem; margin-top: 1rem; }
.csc-ba p { margin: 0; padding: .85rem 1rem; border-radius: var(--c-r-s); font-size: .95rem; line-height: 1.5; }
.csc-ba p span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .25rem; }
.csc-before { background: rgba(244, 242, 233, .06); color: #C6CECB; text-decoration: line-through; text-decoration-color: rgba(198, 206, 203, .5); }
.csc-before span { text-decoration: none; color: #9AA6A3; display: block; }
.csc-after { background: var(--c-canvas); color: var(--c-ink); }
.csc-after span { color: var(--c-ink); }
.csc-after span::before { content: ""; display: inline-block; width: 10px; height: 8px; background: var(--c-lime); transform: skewX(-18deg); margin-right: .4em; border: 1px solid var(--c-ink); }

/* Example report */
.csc-duel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.csc-duel-card { border-radius: var(--c-r-l); padding: 1.75rem; border: 1px solid var(--c-rule); background: var(--c-paper); }
.csc-duel-pass { background: var(--c-lime); border-color: var(--c-lime); }
.csc-duel-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .25rem !important; color: var(--c-muted); }
.csc-duel-pass .csc-duel-label { color: var(--c-ink); }
.csc-duel-score { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem !important; }
.csc-duel-card ul { list-style: none; margin: 0; padding: 0; }
.csc-duel-card li { padding: .55rem 0; border-top: 1px solid rgba(23, 35, 33, .12); }
.csc-duel-card li strong { display: inline-block; min-width: 3.2rem; font-size: 1.1rem; }
.csc-duel + .csc-small { margin-top: .75rem; }

.csc-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.csc-shots figure { margin: 0; }
.csc-shots img { display: block; width: 100%; height: auto; border-radius: var(--c-r-m); border: 1px solid var(--c-rule); background: var(--c-paper); }
.csc-shots figcaption { font-size: .875rem; color: var(--c-muted); margin-top: .6rem; }

.csc-export { margin-top: clamp(2rem, 4vw, 3rem); border-radius: var(--c-r-l); background: var(--c-ink); color: var(--c-canvas); padding: clamp(1.25rem, 3vw, 2rem); }
.csc-export h3 { color: var(--c-canvas); max-width: 44rem; }
.csc-export .csc-kicker { color: #C6CECB; }
.csc-code { margin: 1rem 0 .75rem; padding: 1.25rem; border-radius: var(--c-r-m); background: #0F1817; border: 1px solid #2E3D3A; color: #E4EAD2; font-size: .85rem; line-height: 1.6; overflow: auto; max-height: 420px; white-space: pre; }
.csc-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: none; color: inherit; padding: 0; }
.csc-export .csc-small { color: #9AA6A3; margin: 0; }

/* Steps */
.csc-panel { background: var(--c-panel); }
.csc-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: .75rem; }
.csc-steps li { counter-increment: s; background: var(--c-paper); border: 1px solid var(--c-rule); border-radius: var(--c-r-m); padding: 1.25rem 1.25rem 1rem 4rem; position: relative; }
.csc-steps li::before { content: counter(s); position: absolute; left: 1.25rem; top: 1.15rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--c-lime); font-weight: 800; display: grid; place-items: center; }
.csc-steps p { margin: 0; color: var(--c-muted); }

/* Who */
.csc-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.csc-who div { border-top: 3px solid var(--c-ink); padding-top: 1rem; }
.csc-who p { color: var(--c-muted); margin: 0; }

/* GEO note */
.csc-geo-band { padding-top: 0; }
.csc-note-card { border-left: 4px solid var(--c-lime); background: var(--c-paper); border-radius: 0 var(--c-r-l) var(--c-r-l) 0; padding: clamp(1.5rem, 3vw, 2.5rem); max-width: 56rem; }
.csc-note-card p:last-child { margin-bottom: 0; }

/* FAQ */
.csc-faq details { border-bottom: 1px solid var(--c-rule); padding: 1rem 0; }
.csc-faq details:first-child { border-top: 1px solid var(--c-rule); }
.csc-faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.csc-faq summary::-webkit-details-marker { display: none; }
.csc-faq summary::after { content: "+"; font-weight: 800; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-panel); }
.csc-faq details[open] summary::after { content: "\2212"; background: var(--c-lime); }
.csc-faq details p { margin: .75rem 0 0; color: var(--c-ink-2); max-width: 46rem; }

/* Method + cite */
.csc-method-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.csc-method-wrap .hsc-method { margin: 0; border: 0; padding: 0; font-size: 1rem; }
.csc-method-wrap .hsc-method h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); margin-top: 0; }
.csc-method-wrap .hsc-method h3 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }
.csc-cite { position: sticky; top: 1.5rem; background: var(--c-panel); border-radius: var(--c-r-l); padding: 1.5rem; }
.csc-cite p { font-size: .95rem; word-break: break-word; }

/* Final CTA */
.csc-final { background: var(--c-ink); color: var(--c-canvas); text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.csc-final h2 { color: var(--c-canvas); font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
.csc-final p { color: #C6CECB; font-size: 1.1rem; }

/* Tool tweaks inside the page */
.csc-page .hsc-method { display: block; }

@media (max-width: 900px) {
  .csc-hero-grid, .csc-split, .csc-method-wrap { grid-template-columns: minmax(0, 1fr); }
  .csc-hero-shot { transform: none; }
  .csc-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csc-cite { position: static; }
}
@media (max-width: 640px) {
  .csc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csc-checks, .csc-duel, .csc-shots, .csc-who { grid-template-columns: minmax(0, 1fr); }
}

/* Claims card */
.csc-check-wide { grid-column: 1 / -1; }
.csc-ns { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(220,250,87,.16); color: var(--c-lime); padding: .2rem .55rem; border-radius: 999px; margin-left: .25rem; }
.csc-ba-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.csc-check-wide .csc-before { text-decoration: none; }
@media (max-width: 640px) { .csc-ba-row { grid-template-columns: minmax(0, 1fr); } }

/* AI detection section */
.csc-ai { background: var(--c-paper); border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); }
.csc-ai-top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.csc-ai-lead { font-size: 1.15rem; color: var(--c-ink-2); max-width: 34rem; }
.csc-ai-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.5rem 0 1.75rem; }
.csc-ai-stats div { background: var(--c-canvas); border: 1px solid var(--c-rule); border-radius: var(--c-r-m); padding: 1rem 1.1rem; }
.csc-ai-stats div:first-child { background: var(--c-lime); border-color: var(--c-lime); }
.csc-ai-stats dt { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.csc-ai-stats dd { margin: .25rem 0 0; font-size: .9rem; color: var(--c-ink-2); }
.csc-ai-shot { margin: 0; }
.csc-ai-shot img { display: block; width: 100%; height: auto; border-radius: var(--c-r-l); border: 1px solid var(--c-rule); box-shadow: 0 30px 60px -36px rgba(23, 35, 33, .45); }
.csc-ai-shot figcaption { font-size: .875rem; color: var(--c-muted); margin-top: .6rem; }
.csc-ai-chart { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--c-canvas); border: 1px solid var(--c-rule); border-radius: var(--c-r-l); padding: clamp(1.25rem, 3vw, 2rem); }
.csc-ai-chart h3 { margin-bottom: .25rem; }
.csc-chart-wrap { overflow-x: auto; margin-top: 1rem; }
.csc-chart-svg { display: block; width: 100%; min-width: 620px; height: auto; font-family: inherit; }
.csc-chart-lab { font-size: 15px; font-weight: 700; fill: #172321; }
.csc-chart-sub { font-size: 12.5px; fill: #4A5654; }
.csc-chart-band { font-size: 11px; font-weight: 800; letter-spacing: .08em; fill: #4A5654; }
.csc-ai-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); }
.csc-ai-steps { margin: .5rem 0 0; padding: 0; list-style: none; counter-reset: a; display: grid; gap: .75rem; }
.csc-ai-steps li { counter-increment: a; position: relative; padding-left: 2.6rem; margin: 0; }
.csc-ai-steps li::before { content: counter(a); position: absolute; left: 0; top: .1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--c-ink); color: var(--c-lime); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.csc-ai-limits { margin: .5rem 0 1rem; padding: 0; list-style: none; display: grid; gap: .5rem; }
.csc-ai-limits li { position: relative; padding-left: 1.6rem; margin: 0; }
.csc-ai-limits li::before { content: "!"; position: absolute; left: 0; top: .15rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #F6DDCB; color: #B84A00; font-weight: 800; font-size: .7rem; display: grid; place-items: center; }

/* Example screenshots: third image spans the row */
.csc-shot-wide { grid-column: 1 / -1; }
.csc-shot-wide img { max-width: 860px; margin-inline: auto; }
.csc-shot-wide figcaption { text-align: center; }

@media (max-width: 900px) {
  .csc-ai-top, .csc-ai-split { grid-template-columns: minmax(0, 1fr); }
}

.csc-chart-hint { display: none; font-size: .8rem; font-weight: 700; color: var(--c-muted); margin: .75rem 0 0; }
@media (max-width: 700px) { .csc-chart-hint { display: block; } }
