/* The data pages, rebuilt to Denis's redesign (Nov 24, 2026; artboards Methodology, SeoAgencies and their
   mobile versions): /methodology, /data/seo-agencies and /data/seo-agencies/:city. Loaded by those views after
   site.css; every rule is under .lp .dt. No motion. The landing.css rules for .toc and .study-* still match
   (tests and the toc controller use those classes), so the rules below override what they set.

   Contrast (WCAG 2.2 AA), all pairs from site.css: --slate on #fff 10.0:1, on --surface 9.3:1; --muted on #fff
   5.9:1, on --surface 5.5:1; --teal on #fff 5.4:1; --teal-800 on --teal-50 6.9:1; --amber on --amber-50 7.6:1. */

/* Shared */
.lp .dt .dt-h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.lp .dt .dt-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp .dt .dt-stats li { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.lp .dt .dt-stat-n { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.lp .dt .dt-stat-t { font-size: 15px; line-height: 1.5; color: var(--slate); }
.lp .dt .dt-sec { padding-block: 96px; }
.lp .dt .dt-sec-in { display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 860px) { .lp .dt .dt-stats { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .lp .dt .dt-sec { padding-block: 56px; } }

/* How we measure */
.lp .dt-meth .dt-meth-in { max-width: 1040px; margin: 0 auto; }
.lp .dt-meth .dt-meth-hero { padding: 64px var(--side) 48px; background: linear-gradient(#fff, var(--surface)); }
.lp .dt-meth .dt-h1 { max-width: 862px; }
.lp .dt-meth .dt-meth-lead { max-width: 908px; font-size: 20px; line-height: 1.55; color: var(--slate); }
.lp .dt-meth .doc-updated { font-size: 14px; line-height: 1.55; color: var(--muted); }
.lp .dt-meth .dt-stats { margin-top: 16px; }
.lp .dt-meth .dt-meth-body { padding: 48px var(--side) 96px; }
.lp .dt-meth .dt-meth-grid { display: grid; grid-template-columns: 256px minmax(0, 720px); gap: 32px 64px; align-items: start; }
.lp .dt-meth .toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; margin: 0; }
.lp .dt-meth .dt-toc-h { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lp .dt-meth .toc ol { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; border: 0; list-style: none; }
.lp .dt-meth .toc a { display: flex; align-items: center; min-height: 36px; padding: 6px 0; margin: 0; border: 0; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--slate); text-decoration: none; }
.lp .dt-meth .toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lp .dt-meth .toc a[aria-current] { color: var(--ink); font-weight: 700; }
.lp .dt-meth .dt-meth-text { display: flex; flex-direction: column; gap: 48px; }
.lp .dt-meth .dt-meth-text section { display: flex; flex-direction: column; gap: 20px; }
.lp .dt-meth .dt-meth-h2 { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; scroll-margin-top: 24px; }
.lp .dt-meth .dt-meth-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 22px; font-size: 18px; line-height: 1.6; color: var(--slate); }
.lp .dt-meth .dt-meth-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.lp .dt-meth .dt-meth-cta > div { display: flex; flex-direction: column; gap: 6px; }
.lp .dt-meth .dt-meth-cta-h { font-size: 20px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; }
.lp .dt-meth .dt-meth-cta p { font-size: 15px; line-height: 1.55; color: var(--slate); }
@media (max-width: 900px) {
  .lp .dt-meth .dt-meth-grid { grid-template-columns: minmax(0, 1fr); }
  .lp .dt-meth .toc { position: static; display: flex; max-width: 256px; }
}
@media (max-width: 720px) {
  .lp .dt-meth .dt-meth-text { gap: 40px; }
  .lp .dt-meth .dt-meth-list { font-size: 17px; }
  .lp .dt-meth .dt-meth-cta { padding: 24px; }
}

/* The study and city pages */
.lp .dt-study .dt-hero { padding-block: 64px 96px; }
.lp .dt-study .dt-hero-in { display: flex; flex-direction: column; gap: 48px; }
.lp .dt-study .dt-hero-head { max-width: 860px; }
.lp .dt-study .dt-kicker-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lp .dt-study .dt-kicker-link:hover { color: var(--teal-800); }
.lp .dt-study .dt-note { padding: 16px 20px; background: var(--surface); border-radius: var(--r); color: var(--ink); line-height: 1.55; }
.lp .dt-study .dt-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.lp .dt-study .dt-cities li { border-top: 1px solid var(--line); }
.lp .dt-study .dt-cities a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.lp .dt-study .dt-cities a:hover { color: var(--teal-800); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .lp .dt-study .dt-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .lp .dt-study .dt-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp .dt-study .dt-cities { grid-template-columns: minmax(0, 1fr); } }

/* A city's card (pages/_study_city) */
.lp .dt-study .dt-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.lp .dt-study .dt-city { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: 24px; }
.lp .dt-study .dt-city-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.lp .dt-study .dt-city-h { font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; }
.lp .dt-study .dt-city-h a { color: inherit; text-decoration: none; }
.lp .dt-study .dt-city-h a:hover { color: var(--teal-800); text-decoration: underline; text-underline-offset: 4px; }
.lp .dt-study .dt-city-meta { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.lp .dt-study .dt-city-none { line-height: 1.55; color: var(--slate); }
.lp .dt-study .dt-table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lp .dt-study .dt-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.lp .dt-study .dt-table :is(th, td) { padding: 14px 16px; text-align: left; vertical-align: top; border: 0; }
.lp .dt-study .dt-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.lp .dt-study .dt-table tbody :is(th, td) { border-top: 1px solid var(--line); }
.lp .dt-study .dt-table tbody th { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.lp .dt-study .dt-table td { color: var(--slate); }
.lp .dt-study .dt-qs { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 15px; color: var(--slate); }
.lp .dt-study .dt-qs summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 12px 16px; list-style: none; font-weight: 700; line-height: 1.3; color: var(--ink); cursor: pointer; border-radius: var(--r-md); }
.lp .dt-study .dt-qs summary::-webkit-details-marker { display: none; }
.lp .dt-study .dt-qs-x { display: inline-flex; flex: none; color: var(--teal); }
.lp .dt-study .dt-qs-x .icon-minus, .lp .dt-study .dt-qs[open] .dt-qs-x .icon-plus { display: none; }
.lp .dt-study .dt-qs[open] .dt-qs-x .icon-minus { display: block; }
.lp .dt-study .dt-qs ol { margin: 0; padding: 0 16px 16px 36px; line-height: 1.55; }
.lp .dt-study .dt-one-card { max-width: 760px; }
@media (max-width: 960px) { .lp .dt-study .dt-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .lp .dt-study .dt-city { padding: 16px; }
  .lp .dt-study .dt-table :is(th, td) { padding: 12px 10px; }
}

/* How we measured and the hand check */
.lp .dt-study .dt-method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; align-items: start; }
.lp .dt-study .dt-check, .lp .dt-study .dt-own { display: flex; flex-direction: column; gap: 20px; }
.lp .dt-study .dt-check-head { display: flex; flex-direction: column; gap: 4px; }
.lp .dt-study .dt-check-h { font-size: 16px; font-weight: 700; line-height: 1.35; }
.lp .dt-study .dt-own .dt-check-h { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.lp .dt-study .dt-check-sub { font-size: 14px; line-height: 1.55; color: var(--muted); }
.lp .dt-study .dt-check-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp .dt-study .dt-check-stats li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r-md); background: var(--surface); font-size: 14px; line-height: 1.55; color: var(--muted); }
.lp .dt-study .dt-check-stats .is-match { background: var(--teal-50); color: var(--teal-800); }
.lp .dt-study .dt-check-stats .is-lower { background: var(--amber-50); color: var(--amber); }
.lp .dt-study .dt-check-n { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.lp .dt-study .dt-check-stats :is(.is-match, .is-lower) .dt-check-n { color: inherit; }
.lp .dt-study .dt-check-p { font-size: 15px; line-height: 1.55; color: var(--slate); }
.lp .dt-study .dt-cmp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; color: var(--slate); }
.lp .dt-study .dt-cmp a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.lp .dt-study .dt-cmp a:hover { color: var(--teal-800); }
@media (max-width: 959px) { .lp .dt-study .dt-method { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .lp .dt-study .dt-check-stats { grid-template-columns: minmax(0, 1fr); } }
