/* Public type standard: one reading scale for every public page, matching TurboTenant's article text.
   Headings: Poppins 600 — h1 54px/75px, h2 32px/43.2px, section titles (h3) 26px on 1.4em (36.4px).
   Card titles keep 20px/28px: h3 inside cards, tiles, bands, calls to action, asides, list items, links,
   repeated panels and steps, FAQ items and product mock-ups.
   Body:     Open Sans 400 — paragraphs, list items and FAQ answers 18px on 1.7em (30.6px).
   Phones (767px and below): h1 32px/45px, h2 26px/36px; section titles, card titles and body keep their desktop size.
   Loaded last by base.html; three ID selectors outrank the page-family scales
   (feature, marketing, reading). Colours are not touched.

   Left at their own size: anything marked to keep its type
   ([data-type-preserve]; whole-page .pd-preserve wrappers do not opt out), product mock-ups and illustrations (figure,
   [role="img"], [aria-hidden="true"], HTML mock-ups such as the yard sign and report screens), tables, forms,
   navigation and breadcrumbs, tab lists, form previews, and small-print roles (notes, captions, meta lines, eyebrows,
   labels, badges, chips, tags, bylines, hints, disclaimers, small). */

html body.public-design #main-content#main-content#main-content :is(h1, h1 > span, h1 > em):not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *, form *, nav *
)) {
  font-family: Poppins, "Open Sans", Arial, sans-serif !important;
  font-size: 54px !important; font-weight: 600 !important; line-height: 75px !important;
  letter-spacing: normal !important;
}

html body.public-design #main-content#main-content#main-content :is(h2, h2 > span, h2 > em):not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *, form *, nav *, table *,
  [class*="tier"], [class*="badge"], [class*="pill"], [class*="eyebrow"], [class*="label"], [class*="kicker"]
)) {
  font-family: Poppins, "Open Sans", Arial, sans-serif !important;
  font-size: 32px !important; font-weight: 600 !important; line-height: 43.2px !important;
  letter-spacing: normal !important;
}

/* Every h3 starts as a card title; the next rule lifts section titles. */
html body.public-design #main-content#main-content#main-content :is(h3, h3 > span, h3 > em):not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *, form *, nav *, table *,
  [class*="tier"], [class*="badge"], [class*="pill"], [class*="eyebrow"], [class*="label"], [class*="kicker"]
)) {
  font-family: Poppins, "Open Sans", Arial, sans-serif !important;
  font-size: 20px !important; font-weight: 600 !important; line-height: 28px !important;
  letter-spacing: normal !important;
}

/* Section titles: same selector weight as the rule above, so this later rule wins.
   Titles of repeated items stay card titles: list items, links, data-card-* cards, and the
   named grids, steps, panels and mock-ups whose class names carry no card word. */
html body.public-design #main-content#main-content#main-content :is(h3, h3 > span, h3 > em):not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *, form *, nav *, table *, aside *,
  li *, a *, [data-card-title], [data-card-title] *, [data-card-role] *,
  [class*="tier"], [class*="badge"], [class*="pill"], [class*="eyebrow"], [class*="label"], [class*="kicker"],
  [class*="band"], [class*="band"] *, [class*="card"] *, [class*="cta"] *, [class*="tile"] *,
  .pr-keep, .pr-keep *, .slp-art-guide *, .slp-kn *, .slp-related *, .slp-legal *, .slp-toc-mobile *, .slp-src *,
  .slp-doc-src *, .slp-types *, .slp-doc *,
  .support-answer *, .timeline-item *, .ra-tool *, .listing-support-section .grid *, .rl-group *, .pg-panel *,
  .eb-field-record *, .rf-source-grid *, .aia-task-group *, .aia-person *, .aia-mode *, .aia-reserved *,
  .cai-control-visual *, .cai-control-item *, .db-context-visual *, .la-plan *, .ex-report-points *,
  .fc-toolbox *, .fc-support-grid *, .mt2-trio *, .ln-step *, .syn-placement-guide *, .vnd-payment-guide *,
  .sm-benefit-grid *, .mc-benefit-grid *, .mc-fit-note *, .pma-access-grid *, .cr-checklist *, .vs2-pitch-cols *,
  .cmp-checklist *, .about-audience-grid *, .lh-plans *, .lh-plan *, .rc2-cases *, .rc2-case *, .cr-job *, .cr-roles *,
  .damage-record-pair *, .ev-empty *, .ev-notify *, .pp-boundaries *, .pm-workspace *, .pm-mode-summary *,
  .rfm *, .rp-snapshot *, .fp-tools-grid *
)) {
  font-size: 26px !important; line-height: 1.4em !important;
}

/* Legal reading panels carry a card class on the whole column, so their own h3s are section titles. */
html body.public-design #main-content#main-content#main-content :is(.pr-legal-layout > .pr-card, .legal-prose.pr-reading) :is(h3, h3 > span, h3 > em):not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *, form *, nav *, table *, aside *,
  li *, a *, .not-prose *,
  [class*="tier"], [class*="badge"], [class*="pill"], [class*="eyebrow"], [class*="label"], [class*="kicker"],
  .pr-card [class*="card"] *, .pr-card [class*="band"] *, .pr-card [class*="cta"] *, .pr-card [class*="tile"] *
)) {
  font-size: 26px !important; line-height: 1.4em !important;
}

html body.public-design #main-content#main-content#main-content :is(p, li):not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *,
  form *, nav *, table *, [role="tablist"] *, small, small *,
  [aria-label="Breadcrumb" i] *, [class*="crumb"], [class*="crumb"] *,
  [class*="note"], [class*="note"] *, [class*="caption"], [class*="caption"] *,
  [class*="meta"], [class*="meta"] *, [class*="eyebrow"], [class*="eyebrow"] *,
  [class*="label"], [class*="label"] *, [class*="badge"], [class*="badge"] *,
  [class*="chip"], [class*="chip"] *, [class*="tag"], [class*="tag"] *,
  [class*="byline"], [class*="byline"] *, [class*="hint"], [class*="hint"] *,
  [class*="disclaimer"], [class*="disclaimer"] *, [class*="fine"], [class*="fine"] *,
  [class*="kicker"], [class*="kicker"] *, [data-type-role="caption"], [data-type-role="caption"] *,
  [class~="text-micro"], [class~="text-micro"] *, .text-xs.uppercase, .text-xs.uppercase *, .faq-trust-head, .th-read,
  .slp-doc *, .ys-sign *, .rp-snapshot *, .rp-workspace *
)) {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 18px !important; font-weight: 400; line-height: 1.7em !important;
}

/* Bold, italic and other inline words inside body copy keep the paragraph's Open Sans; the global
   Inter override in typography.css would otherwise switch them. Bold is 700. */
html body.public-design #main-content#main-content#main-content :is(p, li, dd, summary) :is(b, strong, em, i, mark, abbr, cite, u, small, span):not(:where(
  [data-type-preserve], [data-type-preserve] *, [class*="fa-"], .fa, .fas, .far, .fab, [class*="icon"], [class*="material"],
  [class*="badge"], [class*="pill"], [class*="chip"], [class*="tag"], code, kbd, samp, svg, svg *
)) { font-family: inherit !important; }
html body.public-design #main-content#main-content#main-content :is(p, li, dd, summary) :is(b, strong):not(:where([data-type-preserve], [data-type-preserve] *)) { font-weight: 700 !important; }

/* Article text style on every public page.
   - Body text marked by static/js/public-body-ink.js (body-size grey, slate or near-black text on a
     light background) reads in navy.
   - Body copy runs the full column: the long-form --measure cap and product-page paragraph caps are off.
   - Text links inside body copy fade to bright cyan over 0.4s on hover and keyboard focus.
   - The lease note's bold label keeps the body font. */
body.public-design { --measure: none; }
html body.public-design #main-content#main-content#main-content :is(p, li)[data-body-ink] { color: #042238 !important; }
html body.public-design #main-content#main-content#main-content :is(.cz-p, .mzz-body) { max-width: none !important; }
html body.public-design #main-content#main-content#main-content p[data-body-wide] { max-width: none !important; }
html body.public-design #main-content#main-content#main-content :is(p, li) a:not(:where(
  [class*="btn"], [class*="button"], [class*="cta"], [class*="card"], [class*="chip"], [class*="pill"], [class*="tag"],
  [class*="badge"], [class*="le2-type"], [data-fill-hover], [role="button"], [data-link-ink="keep"], [data-type-preserve] *
)) { transition: color .4s ease !important; }
html body.public-design #main-content#main-content#main-content :is(p, li) a:not(:where(
  [class*="btn"], [class*="button"], [class*="cta"], [class*="card"], [class*="chip"], [class*="pill"], [class*="tag"],
  [class*="badge"], [class*="le2-type"], [data-fill-hover], [role="button"], [data-link-ink="keep"], [data-type-preserve] *
)):is(:hover, :focus-visible) { color: #00c8ff !important; }
@media (prefers-reduced-motion: reduce) {
  html body.public-design #main-content#main-content#main-content :is(p, li) a { transition: none !important; }
}
html body.public-design #main-content#main-content#main-content .slp-lease-note > :is(b, strong) { font-family: "Open Sans", Arial, sans-serif !important; }

/* Bold in body copy names Open Sans: wrappers between the paragraph and the bold word may still be Inter. */
html body.public-design #main-content#main-content#main-content :is(p, li, dd, summary) :is(b, strong):not(:where(
  [data-type-preserve], [data-type-preserve] *, :is(h1, h2, h3, h4, h5, h6, button, [class*="btn"], [class*="button"], [class*="badge"], [class*="pill"], [class*="chip"], [class*="tag"]) *,
  [class*="btn"], [class*="button"], [class*="badge"], [class*="pill"], [class*="chip"], [class*="tag"]
)) { font-family: "Open Sans", Arial, sans-serif !important; }

/* FAQ answers written as bare text in a div read as body copy; their question stays at least as large. */
html body.public-design #main-content#main-content#main-content :is(details.faq-item > .faq-answer, details.faq-item > .faq-a, details.faq-card > .faq-body):not(:where([data-type-preserve], [data-type-preserve] *, figure *, [aria-hidden="true"] *)) {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 18px !important; font-weight: 400; line-height: 1.7em !important;
}
html body.public-design #main-content#main-content#main-content :is(details.faq-item:has(> .faq-answer, > .faq-a), details.faq-card:has(> .faq-body)) > summary:not(:where([data-type-preserve], [data-type-preserve] *, figure *, [aria-hidden="true"] *)) {
  font-size: 18px !important; line-height: 1.4em !important;
}

/* Definition lists in reading prose follow the body size on phones too. */
html body.public-design #main-content#main-content#main-content .pr-reading :is(dt, dd):not(:where([data-type-preserve], [data-type-preserve] *, .pr-keep, .pr-keep *, table *, [class*="card"] *, .slp-kn *, .slp-related *, .slp-legal *, .slp-toc-mobile *, .slp-src *, .slp-doc-src, .slp-doc-src *, .slp-types *, .slp-doc *)) { font-size: 18px !important; }
html body.public-design #main-content#main-content#main-content .pr-reading dd:not(:where([data-type-preserve], [data-type-preserve] *, .pr-keep, .pr-keep *, table *, [class*="card"] *, .slp-kn *, .slp-related *, .slp-legal *, .slp-toc-mobile *, .slp-src *, .slp-doc-src, .slp-doc-src *, .slp-types *, .slp-doc *)) { line-height: 1.7em !important; }

/* Keep list bullets and row icons centred on the first line of the taller lines. */
html body[data-bullet] #main-content :is(.pr-reading, .ras-article, .publication-prose, .rc-prose, .ha-body, .legal-prose, .city-prose, .mk-page .mk-copy) ul:where(:not([class]), .ras-bullets, .ras-sublist) > li::before { top: calc(.5lh + .08em); }
html body.public-design #main-content .slp-details li::before { top: calc(.5lh - 4.5px); }

/* Check marks that start a body list row: align to the first line, whatever its height. */
html body.public-design #main-content li:not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *,
  form *, nav *, table *, [role="tablist"] *, small, small *,
  [aria-label="Breadcrumb" i] *, [class*="crumb"], [class*="crumb"] *,
  [class*="note"], [class*="note"] *, [class*="caption"], [class*="caption"] *,
  [class*="meta"], [class*="meta"] *, [class*="eyebrow"], [class*="eyebrow"] *,
  [class*="label"], [class*="label"] *, [class*="badge"], [class*="badge"] *,
  [class*="chip"], [class*="chip"] *, [class*="tag"], [class*="tag"] *,
  [class*="byline"], [class*="byline"] *, [class*="hint"], [class*="hint"] *,
  [class*="disclaimer"], [class*="disclaimer"] *, [class*="fine"], [class*="fine"] *,
  [class*="kicker"], [class*="kicker"] *, [data-type-role="caption"], [data-type-role="caption"] *,
  [class~="text-micro"], [class~="text-micro"] *, .text-xs.uppercase, .text-xs.uppercase *,
  .slp-doc *, .ys-sign *, .rp-snapshot *, .rp-workspace *
)):is(:has(> :is(.pub-check, .la-plan-off):first-child), .check-list > li:has(> svg:first-child)) { align-items: flex-start; }
html body.public-design #main-content li:not(:where(
  [data-type-preserve], [data-type-preserve] *,
  figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *,
  form *, nav *, table *, [role="tablist"] *, small, small *,
  [aria-label="Breadcrumb" i] *, [class*="crumb"], [class*="crumb"] *,
  [class*="note"], [class*="note"] *, [class*="caption"], [class*="caption"] *,
  [class*="meta"], [class*="meta"] *, [class*="eyebrow"], [class*="eyebrow"] *,
  [class*="label"], [class*="label"] *, [class*="badge"], [class*="badge"] *,
  [class*="chip"], [class*="chip"] *, [class*="tag"], [class*="tag"] *,
  [class*="byline"], [class*="byline"] *, [class*="hint"], [class*="hint"] *,
  [class*="disclaimer"], [class*="disclaimer"] *, [class*="fine"], [class*="fine"] *,
  [class*="kicker"], [class*="kicker"] *, [data-type-role="caption"], [data-type-role="caption"] *,
  [class~="text-micro"], [class~="text-micro"] *, .text-xs.uppercase, .text-xs.uppercase *,
  .slp-doc *, .ys-sign *, .rp-snapshot *, .rp-workspace *
)) > :is(.pub-check, .la-plan-off, .check-list > li > svg):first-child { margin-top: 4px; margin-top: calc(.5lh + .08em - var(--pub-check-size) / 2); }
html body.public-design #main-content .mzz-points li::before { top: 9px; top: calc(.5lh + .08em - 7px); }
html body.public-design #main-content .cai-check-list > li { align-items: flex-start; }
html body.public-design #main-content .cai-check-list > li > svg { flex: none; margin-top: 8px; margin-top: calc(.5lh + .08em - 8px); }
html body.public-design #main-content :is(.db-check-list, .vnd-checks) > li:not(:where(figure *, [aria-hidden="true"] *, [data-type-preserve] *)) > svg { margin-top: 8px; margin-top: calc(.5lh + .08em - 8.5px); }
html body.public-design #main-content .rp-performance-benefits > li > svg { margin-top: 5px; margin-top: calc(.5lh + .08em - 11.5px); }
html body.public-design #main-content .vs2-pitch-col .vs2-dot { margin-top: 12px; margin-top: calc(.5lh + .08em - 4px); }
html body.public-design #main-content .slp p.slp-checked .slp-ok { align-items: flex-start; }
html body.public-design #main-content .slp :is(p.slp-checked .slp-ok, p.slp-art-ok) > svg { margin-top: 8px; margin-top: calc(.5lh - 7px); }

/* Artwork that fills a text block keeps its size: the block gives back the height the taller lines added. */
@media (min-width: 901px) {
  html body.public-design #main-content .marketing-features .mzz-hero:has(> .mzz-art) { padding-bottom: calc(64px - 3 * (30.6px - 27px)); }
}
@media (min-width: 1051px) {
  html body.public-design #main-content .lt-resource-copy { padding-block: 19px; }
  html body.public-design #main-content .lt-resource-note { margin-bottom: 8px; }
}
@media (max-width: 540px) {
  html body.public-design #main-content .lt-resource-copy { padding-block: 13px; }
  html body.public-design #main-content .lt-resource-note { margin-bottom: 10px; }
}
@media (min-width: 768px) {
  html body.public-design #main-content .le2-page .le2-close { padding-block: calc(96px - (30.6px - 27px)); }
}

/* Home page illustrated cards: the artwork keeps its size and stays clear of the taller copy. */
html body.public-design .home-main .hv2-support .hv2-support-copy { padding-block: 24px; }
@media (min-width: 901px) {
  html body.public-design .home-main .benefit-listing .listing-scene { margin-top: 17px; }
  html body.public-design .home-main .benefit-bank .maintenance-scene { margin-top: 20px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  html body.public-design .home-main .benefit-ai .ai-scene { bottom: -42px; }
}
@media (min-width: 801px) and (max-width: 1365px) {
  html body.public-design .home-main .rental-choice--assistance .rental-choice-scene { margin-top: 21px; }
}
@media (min-width: 1151px) and (max-width: 1365px) {
  html body.public-design .home-main .rental-choice--assistance .rental-choice-scene { margin-top: 15px; }
}
@media (max-width: 1050px) {
  html body.public-design .home-main .hv2-support .hv2-support-copy { padding-block: 22px; }
}
@media (max-width: 900px) {
  html body.public-design .home-main .benefit-workspace { min-height: 0; }
  html body.public-design .home-main .benefit-workspace .workspace-scene { position: relative; inset: auto; height: 410px; }
  html body.public-design .home-main .benefit-ai { min-height: 0; }
  html body.public-design .home-main .benefit-ai .benefit-copy { padding-bottom: 215px; }
}
@media (max-width: 540px) {
  html body.public-design .home-main .benefit-workspace .workspace-scene { height: 455px; }
  html body.public-design .home-main .benefit-ai .benefit-copy { padding-bottom: 185px; }
}
/* The home AI agents block keeps its own headings; its body copy follows the reading scale. */
html body.public-design #main-content#main-content#main-content section#ai .ag :is(.ag-head p, .ag-body, .ag-skills li) { font-size: 18px !important; line-height: 1.7em !important; }
html body.public-design #main-content section#ai .ag-skills .pub-check { margin-top: 3px; margin-top: calc(.5lh + .08em - var(--pub-check-size) / 2); }

@media (max-width: 767px) {
  html body.public-design #main-content#main-content#main-content :is(h1, h1 > span, h1 > em):not(:where(
    [data-type-preserve], [data-type-preserve] *,
    figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *, form *, nav *
  )) { font-size: 32px !important; line-height: 45px !important; }

  html body.public-design #main-content#main-content#main-content :is(h2, h2 > span, h2 > em):not(:where(
    [data-type-preserve], [data-type-preserve] *,
    figure *, [role="img"] *, [aria-hidden="true"], [aria-hidden="true"] *, form *, nav *, table *,
    [class*="tier"], [class*="badge"], [class*="pill"], [class*="eyebrow"], [class*="label"], [class*="kicker"]
  )) { font-size: 26px !important; line-height: 36px !important; }

  /* Legal forms on the print layout size inline text inside paragraphs; keep it at the reading size. */
  html body.public-design #main-content#main-content#main-content .print-page .legal-prose.pr-reading :is(p *, li *) { font-size: 18px !important; }
}
