.cs-page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 76px;
  color: var(--text);
}

.cs-breadcrumb, .cs-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}

.cs-breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
}

.cs-page a {
  color: var(--accent2);
  text-underline-offset: .2em;
}

.cs-hero {
  padding: clamp(30px, 6vw, 74px) 0 24px;
  max-width: 850px;
}

.cs-page h1, .cs-page h2 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}

.cs-page h1 { font-size: clamp(2rem, 5.8vw, 4.25rem); }
.cs-page h2 { font-size: clamp(1.32rem, 3vw, 2.15rem); }

.cs-page.cs-page--audit { width: min(1420px, calc(100% - 32px)); }
.cs-page--audit .audit-case-result { width: 100%; max-width: none; padding: 0; }
.cs-page--audit h1.sa-header-label { font-size: .75rem; letter-spacing: .1em; margin: 0 0 10px; }
.cs-page--audit .sa-share-url code { min-width: 0; overflow-wrap: anywhere; }
.cs-page--audit .sa-actions-row > * { max-width: 100%; }
.cs-page--audit .cs-breadcrumb { margin-bottom: 16px; }
.audit-case-result [data-filter] { text-align: start; color: var(--text); font-family: inherit; cursor: pointer; }
.audit-case-result [data-filter]:is(:hover,:focus-visible,[aria-pressed=true]) { border-color: var(--sa-accent); }
.audit-case-result #sa-issues-wrap { scroll-margin-top: 80px; }
.audit-case-result .sa-issue-card[hidden] { display: none; }


.cs-page p { line-height: 1.63; margin: 0; }
.cs-page .cs-lead { max-width: 68ch; margin: 16px 0 0; color: var(--muted); font-size: 1.1rem; }
.cs-date { font-size: .82rem; color: var(--muted); }
.cs-page .cs-date { margin-bottom: 12px; }

.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--cs-card-min, 260px)), 1fr)); gap: 18px; }
.cs-takeaway {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 36px);
}

.cs-page--catalog { width: min(1280px, calc(100% - 40px)); }
.cs-page--catalog .cs-hero { padding: clamp(18px, 3vw, 36px) 0 22px; }
.cs-card { min-width: 0; display: grid; }
.cs-page .cs-card-link {
  display: flex; flex-direction: column; color: var(--text); text-decoration: none;
  border: 1px solid var(--border); background: var(--surface); border-radius: 12px; overflow: hidden;
}
.cs-cover { display: block; width: 100%; height: auto; aspect-ratio: 9/4; }
.cs-card-body { flex: 1; display: flex; flex-direction: column; align-items: start; gap: 9px; padding: 15px 17px; }
.cs-card-meta { display: flex; width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; font-size: .76rem; color: var(--muted); }
.cs-page .cs-card :is(h2, h3) { margin: 0; font-size: clamp(1.12rem, 1.65vw, 1.39rem); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cs-card-body p { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.cs-read { display: inline-flex; align-items: center; gap: 8px; color: var(--accent2); font-size: .9rem; font-weight: 650; margin-top: auto; padding-top: 5px; }
.cs-card-link:is(:hover,:focus-visible) { border-color: var(--accent2); }
.cs-card-link:is(:hover,:focus-visible) .cs-read { text-decoration: underline; }
.cs-card-link:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }

.cs-takeaway, .cs-section { display: grid; gap: 16px; }
.cs-takeaway { border-inline-start: 3px solid var(--accent); max-width: 850px; }
.cs-section { margin: 42px 0 0; max-width: 850px; }
.cs-proof { margin: 0; }
.cs-proof-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.cs-proof-panel { display:grid; gap:10px; padding:14px; border:1px solid var(--border); border-radius:12px; background:var(--surface); }
.cs-proof-panel h3 { margin:0; font-size:1.05rem; }
.cs-proof-panel > p { color:var(--muted); font-size:.92rem; }
.cs-proof a { display:block; cursor:zoom-in; }
.cs-proof img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.cs-proof figcaption { margin-top: 8px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.cs-steps { display: grid; gap: 14px; margin: 0; padding-inline-start: 1.35em; line-height: 1.63; }
.cs-sources { padding-top: 8px; }
.cs-page .cs-action {
  justify-self: start;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
.cs-related { --cs-card-min: 236px; max-width: none; border-top: 1px solid var(--border); padding-top: 22px; scroll-margin-top: 90px; }
.cs-related > a { justify-self: start; }
html:has(.cs-page--bulk) { scroll-behavior: auto; }
.cs-page--bulk { width: min(1080px, calc(100% - 36px)); }
.cs-page:has(.cs-top-demo) .cs-hero { max-width: none; padding: clamp(12px, 2vw, 24px) 0 16px; }
.cs-page:has(.cs-top-demo) .cs-hero h1 { font-size: clamp(1.6rem, 3.3vw, 2.65rem); }
.cs-page:has(.cs-top-demo) .cs-hero .cs-lead { max-width: 85ch; margin-top: 8px; font-size: 1rem; }
.cs-page--indexing :is(.cs-section,.cs-takeaway) { max-width: none; min-width: 0; }
.cs-page--indexing h2[id] { scroll-margin-top: 90px; }
.cs-page--indexing .cs-section > p, .cs-page--indexing .cs-steps { max-width: 80ch; }
.cs-page--indexing .cs-bulk-table th:first-child { width: clamp(4.5rem, 12%, 7rem); }
.cs-proof--gsc-clicks { --proof-width: 199px; }
.cs-proof--audit { --proof-width: 855px; }
.cs-page--indexing .cs-proof--audit a { padding: 0; background: transparent; border: 0; justify-items: start; }
.cs-page--traffic .cs-section, .cs-page--traffic .cs-takeaway { max-width: none; min-width: 0; }
.cs-page--traffic .cs-top-demo + .cs-takeaway { padding: clamp(14px, 2.4vw, 24px); }
.cs-page--traffic .cs-section > p, .cs-page--traffic .cs-takeaway > p { max-width: 78ch; }
.cs-page--traffic .cs-proof-grid { grid-template-columns: minmax(0,1fr); }
.cs-proof--traffic-google { --proof-width: 800px; }
.cs-traffic-queries tfoot { font-weight: 700; }
.cs-traffic-queries tfoot > tr > * { border-top: 1px solid var(--border); }
.cs-proof--traffic-analyst { --proof-width: 733px; }
.cs-page--traffic .cs-bulk-cta .cs-proof--cta { --proof-width: 330px; flex-basis: 370px; }
.cs-page--traffic h2[id], #traffic-check { scroll-margin-top: 90px; }
.cs-page--bulk .cs-section, .cs-page--bulk .cs-takeaway { max-width: none; min-width: 0; }
.cs-page--bulk .cs-section > p, .cs-page--bulk .cs-takeaway > p { max-width: 78ch; }
.cs-page--bulk h2[id] { scroll-margin-top: 92px; }
.cs-page--bulk .cs-takeaway {
  border-inline-start-width: 1px;
  border-inline-start-color: var(--border);
  border-radius: 12px;
}
.cs-bulk-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--border); }
.cs-bulk-highlights div {
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
  padding: clamp(8px, 1.7vw, 16px) 0;
}
.cs-bulk-highlights div + div { padding-inline-start: clamp(8px, 2vw, 18px); border-inline-start: 1px solid var(--border); }
.cs-bulk-highlights dt { color: var(--muted); font-size: .84rem; }
.cs-bulk-highlights dd { margin: 0; font-size: clamp(1.08rem, 2.7vw, 1.95rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-bulk-jumps { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 570; }
.cs-page--bulk .cs-bulk-jumps a, .cs-page--bulk .cs-sources a { color: var(--text); text-decoration-color: var(--muted); }
.cs-bulk-subheading { margin: 5px 0 0; font-size: 1.1rem; }

.cs-bulk-table {
  width: 100%;
  border: 1px solid var(--border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}
.cs-bulk-table th, .cs-bulk-table td {
  padding: 11px clamp(8px, 1.8vw, 20px);
  text-align: start;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.cs-bulk-table thead th {
  color: var(--text);
  background: color-mix(in srgb, var(--surface), var(--text) 7%);
  border-bottom: 1px solid var(--border);
}
.cs-bulk-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface), var(--text) 2%); }
.cs-bulk-table tbody tr + tr > * { border-top: 1px solid var(--border); }
.cs-bulk-table tbody th { font-weight: 620; }
.cs-bulk-timing th:first-child { width: 40%; }
.cs-bulk-timing tbody tr:last-child { background: color-mix(in srgb, var(--surface), var(--text) 7%); }
.cs-bulk-timing tbody tr:last-child strong { font-size: clamp(.95rem, 1.8vw, 1.24rem); }
.cs-bulk-results th:first-child { width: 24%; }
.cs-bulk-results tbody th small { display: block; margin-top: 3px; color: var(--muted); font-size: .73em; font-weight: 500; }
.cs-bulk-results tr[id] { scroll-margin-top: 92px; }
.cs-bulk-results tr:target > * { box-shadow: inset 0 2px var(--accent2), inset 0 -2px var(--accent2); }
.cs-bulk-results tbody .cs-bulk-diff { background: color-mix(in srgb, var(--surface), var(--text) 6%); }
.cs-bulk-status { line-height: 1.35; }

.cs-bulk-guide .cs-steps { gap: 30px; }
.cs-bulk-guide h3 { margin: 0 0 6px; font-size: 1.08rem; }
.cs-bulk-guide .cs-proof { margin-top: 12px; }
.cs-bulk-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  scroll-margin-top: 90px;
}
.cs-bulk-cta > div { flex: 1 1 24rem; }
.cs-bulk-cta .cs-proof--cta { flex: 0 1 290px; margin: 0; width: 100%; --proof-width: 228px; }
.cs-proof--cta figcaption { text-align: center; }
.cs-bulk-cta h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.cs-bulk-cta p { color: var(--muted); }
.cs-bulk-cta .cs-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--accent), #770c04 32%);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  text-decoration: none;
  margin-top: 16px;
}
.cs-bulk-cta .cs-primary-action:hover { background: color-mix(in srgb, var(--accent), #770c04 55%); }
.cs-bulk-cta .cs-primary-action:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.cs-bulk-guide .cs-proof--form { max-width: 790px; --proof-width: 744px; }
.cs-proof--complete { max-width: 520px; --proof-width: 464px; }
.cs-source-image { justify-self: start; font-size: .85rem; }
.cs-top-demo { max-width: 820px; display: grid; gap: 10px; margin-bottom: 30px; }
.cs-demo-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.cs-page .cs-demo-heading h2 { flex: 1 1 17rem; font-size: clamp(1.18rem, 2.2vw, 1.65rem); }
.cs-motion { min-height: 40px; padding: 6px 12px; font: inherit; font-size: .88rem; color: var(--text); border: 1px solid var(--border); background: var(--surface); border-radius: 8px; cursor: pointer; }
.cs-top-demo > p { color: var(--muted); font-size: .9rem; }
.cs-walkthrough { width: 100%; max-width: 820px; }
.cs-watch { display: grid; gap: 10px; text-decoration: none; cursor: zoom-in; }
.cs-watch-label { justify-self: start; font-size: .88rem; font-weight: 650; }
.cs-watch img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; box-sizing: border-box; }
html:has(.cs-viewer[open]) { overflow: hidden; }
.cs-viewer {
  width: min(950px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  margin: auto; padding: 0; box-sizing: border-box; overflow: auto;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 14px;
}
.cs-viewer::backdrop { background: rgb(0 0 0 / 76%); }
.cs-viewer header, .cs-viewer footer, .cs-viewer-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
}
.cs-viewer header, .cs-viewer footer { padding: 12px 16px; }
.cs-viewer header form { margin: 0; }
.cs-page .cs-viewer h2 { font-size: 1.1rem; }
.cs-viewer .cs-viewer-caption { flex: 1 1 22rem; font-size: .92rem; }
.cs-viewer button {
  min-height: 44px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; cursor: pointer;
}
.cs-viewer button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.cs-viewer button[aria-pressed="true"] { border-color: var(--accent); }
.cs-viewer-stage { max-height: 65dvh; overflow: auto; overscroll-behavior: contain; background: var(--bg); }
.cs-viewer-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 65dvh; margin-inline: auto; }
.cs-viewer.is-zoomed .cs-viewer-stage img { max-width: none; max-height: none; }
#bulk-guide { scroll-margin-top: 5rem; }
.cs-bulk-evidence { grid-template-columns: minmax(0, 1fr); }
.cs-bulk-evidence .cs-proof-panel { padding: clamp(12px, 2.4vw, 24px); }
.cs-bulk-evidence .cs-proof-panel > p { max-width: 75ch; }
.cs-bulk-evidence .cs-proof-panel h3 { font-size: 1.12rem; }
.cs-proof--editorial { min-width: 0; }
.cs-proof--editorial a {
  display: grid;
  position: relative;
  place-items: center;
  padding: clamp(10px, 2.8vw, 28px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.cs-proof--editorial a:focus-visible { outline: 3px solid var(--accent2); outline-offset: 4px; }
.cs-proof--editorial img { width: 100%; max-width: var(--proof-width, 100%); border-radius: 6px; }
.cs-proof--menu { max-width: 302px; --proof-width: 244px; }
.cs-proof--google { --proof-width: 735px; }
.cs-proof--seokit { --proof-width: 760px; }
.cs-page--updates { width: min(1120px, calc(100% - 32px)); }
.cs-page--updates :is(.cs-top-demo, .cs-walkthrough, .cs-section, .cs-takeaway) { max-width: none; min-width: 0; }
.cs-page--updates .cs-takeaway { background: none; border: 0; padding: 0; }
.cs-page--updates article :is(p, figcaption) { max-width: 80ch; }
.cs-page--updates h2[id] { scroll-margin-top: 5rem; }
.cs-report-source { min-width: 0; display: grid; gap: 14px; margin-top: 12px; }
.cs-gsc-comparison {
  display: grid; grid-template-columns: minmax(0, 199px) minmax(0, 863px);
  align-items: start; gap: clamp(16px, 3vw, 40px);
}
.cs-page--updates .cs-proof--editorial a { padding: 0; border: 0; background: transparent; }
.cs-page--updates .cs-proof--gsc-clicks { max-width: 199px; }
.cs-page--updates .cs-viewer { width: min(1160px, calc(100% - 24px)); }
.cs-page--updates .cs-bulk-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 740px) {
  .cs-gsc-comparison, .cs-page--updates .cs-bulk-cta { grid-template-columns: minmax(0, 1fr); }
}
.cs-proof-zoom {
  position: absolute;
  inset-inline-end: 8px;
  inset-block-start: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font: 650 17px/1 system-ui;
}

@media (max-width: 650px) {
  .cs-page--traffic .cs-proof-grid { grid-template-columns: minmax(0,1fr); }
  .cs-bulk-cta { display: grid; gap: 14px; }
  .cs-bulk-cta .cs-proof--cta { width: 100%; }
  .cs-bulk-cta .cs-primary-action { width: 100%; }
  .cs-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-proof-grid { grid-template-columns:minmax(0,1fr); }
  .cs-section { margin-top: 32px; }
  .cs-page--bulk .cs-takeaway { padding: 14px; }
  .cs-bulk-highlights dt { font-size: .71rem; }
  .cs-bulk-table th, .cs-bulk-table td { padding: 9px 7px; font-size: .8rem; }
  .cs-proof--editorial a { padding: 9px; }
  .cs-proof-zoom { width: 20px; height: 20px; inset-block-start: 4px; inset-inline-end: 4px; }
}
