/* One type system for the whole site.
   Every page loads this last, so per-page utility classes cannot make the
   reading text, the h1, the h2 or the h3 differ from one page to the next.
   Scoped to the content root only: the shared nav and the footer keep their
   own compact styling. */
:root{
  --type-display:'Sora',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --type-body:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  /* The two sizes the whole site reads at. Body copy and buttons each have one
     value, so a page cannot drift to 15px or 17px on its own. */
  --type-body-size:1.0625rem;
  --type-button-size:1rem;
}

/* H1: one size, one family, every page */
:is(main,.card,.wrap,.page-wrap) h1,
:is(main,.card,.wrap,.page-wrap) h1 *{
  font-family:var(--type-display)!important;
  font-size:clamp(2rem,4vw,2.75rem)!important;
  line-height:1.12!important;
  font-weight:800!important;
  letter-spacing:-0.01em!important;
}

/* H2 */
:is(main,.card,.wrap,.page-wrap) h2,
:is(main,.card,.wrap,.page-wrap) h2 *{
  font-family:var(--type-display)!important;
  font-size:clamp(1.625rem,2.8vw,2rem)!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-0.005em!important;
}

/* H3 */
:is(main,.card,.wrap,.page-wrap) h3,
:is(main,.card,.wrap,.page-wrap) h3 *{
  font-family:var(--type-display)!important;
  font-size:1.375rem!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:normal!important;
}

/* Body copy: one size everywhere, including inside article bodies.

   Text that is deliberately not body copy keeps its own size, because forcing it
   to 17px shrank prices and pull quotes to the size of a paragraph and blew up
   labels: display type (font-display, text-lg…text-5xl), small print (text-xs and
   text-[…px]), and eyebrow or uppercase labels. One :not() with a list keeps the
   specificity at a single class so it cannot out-rank the eyebrow rule below. */
:is(main,article,.card,.wrap,.page-wrap) :is(p,li,dt,dd,blockquote,figcaption,td,th,summary,legend):not(
  [class*="font-display"],[class*="eyebrow"],[class*="kicker"],[class*="text-xs"],
  [class*="text-["],[class*="text-lg"],[class*="text-xl"],[class*="text-2xl"],
  [class*="text-3xl"],[class*="text-4xl"],[class*="text-5xl"],[class~="uppercase"],.tag
){
  font-family:var(--type-body)!important;
  font-size:var(--type-body-size)!important;
  line-height:1.7!important;
  letter-spacing:normal!important;
}

/* Buttons: one family, one size, one weight, on every page. Kept as a plain
   selector list, not a grouped :is() block, so it cannot be mistaken for the
   shared eyebrow rule further down this file. */
html body button,
html body [type=submit],
html body [type=button],
html body [type=reset],
html body .cd-cta,
html body .cd-buy,
html body .hr-button{
  font-family:var(--type-body)!important;
  font-size:var(--type-button-size)!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:normal!important;
}

/* Icon-only controls are drawn as a glyph, so they are not words and must keep
   their size: the cookie banner's close × was set to 30px and the shared button
   size shrank it to a 16px × on every page. */
html body .aeogeo-cookie-close{
  font-size:30px!important;
  line-height:1!important;
  font-weight:400!important;
}

/* Small print stays small, but at the same two steps everywhere */
:is(main,.card,.wrap,.page-wrap) p small,
:is(main,.card,.wrap,.page-wrap) li small,
:is(main,.card,.wrap,.page-wrap) .text-xs{
  font-size:.75rem!important;
  line-height:1.55!important;
}
:is(main,.card,.wrap,.page-wrap) .text-sm,
:is(main,.card,.wrap,.page-wrap) p.text-sm,
:is(main,.card,.wrap,.page-wrap) li.text-sm{
  font-size:.875rem!important;
  line-height:1.6!important;
}

/* Opt-in: render a paragraph at the standard h2 size and weight. */
p.type-h2,h2.type-h2{
  font-family:var(--type-display)!important;
  font-size:clamp(1.625rem,2.8vw,2rem)!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-0.005em!important;
}

/* Mobile tap targets: FAQ rows and service-category jump pills. */
@media (max-width:700px){
  summary{min-height:44px}
  nav[aria-label="Service categories"] a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
  }

  /* Robots generator: compact text controls grow to 44px. */
  #root:has(#robots-txt-generator) button[class*="text-[9px]"],
  #root:has(#robots-txt-generator) button[class*="text-[10px]"],
  #root:has(#robots-txt-generator) button[class*="text-[11px]"],
  #root:has(#robots-txt-generator) button[class*="text-xs"]{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  /* Switches and icon-only controls keep their visual size, with a 44px hit area. */
  #root:has(#robots-txt-generator) button[class*="h-6 w-11"],
  #root:has(#robots-txt-generator) button[class*="size-7"]{position:relative}
  #root:has(#robots-txt-generator) button[class*="h-6 w-11"]::after{content:"";position:absolute;inset:-11px 0}
  #root:has(#robots-txt-generator) button[class*="size-7"]::after{content:"";position:absolute;inset:-8px}
}

/* Eyebrow labels: one color and one size on every page. */
html body :is(
  .eyebrow,.hr-eyebrow,.st-eyebrow,.cc-eyebrow,.route-eyebrow,.hz-eyebrow,.ea-card-eyebrow,.ahe-eyebrow,
  .ea-output-kicker,.kicker,.cd-kicker,.route-role,.kit-hero-card-label,.hr-card-number,.tag,
  p[class~="uppercase"][class~="text-royal-400"],
  p[class~="uppercase"][class~="text-royal-300"],
  :is(h1,h2,h3,h4,h5,h6)[class~="uppercase"]:is([class~="text-royal-400"],[class~="text-royal-300"]),
  span[class~="uppercase"][class~="text-royal-400"]:not([class*="rounded-full"])
){
  color:#50c878!important;
  -webkit-text-fill-color:#50c878!important;
  font-size:12px!important;
  line-height:16px!important;
  font-weight:700!important;
  letter-spacing:.12em!important;
  margin:0 0 12px!important;
}

/* Pricing cards: use the same 18px title and 30px amount scale across tools and services. */
#plans .price-card h3,
#geo-pricing-rewrite article > h3{
  font-size:18px!important;
  line-height:1.35!important;
}

/* Card-level h2s use the same 22px scale as the Directory Listing Kit card h3s. */
#geo-pricing-rewrite article.glass h2,
body.services-page .route-details section.glass h2,
#kg-title{
  font-size:1.375rem!important;
  line-height:1.3!important;
  letter-spacing:normal!important;
}
#plans .price-card .price,
.pricing-grid .price-card .price,
#geo-pricing-rewrite article > p[class*="text-3xl"],
#geo-pricing-rewrite article > p[class*="text-2xl"][class*="text-royal-400"],
main section.max-w-5xl .glass p[class*="text-6xl"]{
  font-size:30px!important;
  line-height:1.15!important;
}

/* Footer legal links: keep Accessibility, Privacy Policy and Terms on one row. */
html body .geo-legal-links .geo-footer-legal-actions{
  display:grid!important;
  grid-template-columns:max-content max-content minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:8px!important;
  row-gap:12px!important;
}
html body .geo-legal-links .aeogeo-footer-terms-row{display:contents!important}
html body .geo-legal-links .aeogeo-footer-social{grid-column:1/-1!important;justify-self:start}

/* /tools case study: the dl values are display numbers, not body copy. Held at
   paragraph size they became the same weight as their own labels, which made the
   biggest proof on the page read like small print. */
html body :is(main,.card,.wrap,.page-wrap) dl.hr-metrics dd{
  font-family:var(--type-display)!important;
  font-size:2rem!important;
  line-height:1.2!important;
  font-weight:700!important;
}

/* Article reading rhythm: guide copy keeps one line spacing whether it is a
   paragraph, a list item, a table cell or a small-print source line. This file
   loads last, so it also settles text that carries a .text-sm utility. */
[data-aeogeo-standalone-article] article.glass p,
[data-aeogeo-standalone-article] article.glass li,
[data-aeogeo-standalone-article] article.glass td{
  line-height:1.8!important;
}

/* List items and table cells carry no size utility, so they were falling back to
   the global 17px while the paragraphs around them read at 15.5px. Match them to
   the paragraph size; line spacing stays on the shared 1.8 rhythm above. */
[data-aeogeo-standalone-article] article.glass :is(li,td){
  font-size:.97rem!important;
}

/* Sources are small print under a 14px intro, so their items stay 14px instead
   of growing back to body size and towering over the paragraph above them. */
[data-aeogeo-standalone-article] article.glass [data-aeogeo-sources] li{
  font-size:.875rem!important;
  line-height:1.65!important;
}

/* The comparison table read as a stack of cards: 30.6px lines inside 16px of
   cell padding. Tighten only table cells, leaving paragraphs and lists alone. */
[data-aeogeo-standalone-article] article.glass td{
  line-height:1.55!important;
  padding-block:.75rem!important;
}

/* CTA buttons: one button on every page.
   The plan cards, the hero rows, the geo-audit .btn and the old pill CTAs all
   render the same solid royal bar: 12px corners, 15px Sora semibold, 48px tall,
   white centred label with the arrow that is already in the markup. */
html body :is(a,button):is(
  .btn-primary,.btn,.choose-plan,.route-button,.session-sign-in,
  [class~="bg-royal-500"]
):not(.btn-secondary):not(.secondary):not(.ghost):not(.tab-btn):not(.small):not(.outlinebtn):not([aria-label]):not([class~="bg-white"]){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:48px!important;
  padding:13px 24px!important;
  border:0!important;
  border-radius:12px!important;
  background-color:#2b4fc0!important;
  background-image:none!important;
  color:#fff!important;
  font-family:var(--type-display)!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
html body :is(a,button):is(
  .btn-primary,.btn,.choose-plan,.route-button,.session-sign-in,
  [class~="bg-royal-500"]
):not(.btn-secondary):not(.secondary):not(.ghost):not(.tab-btn):not(.small):not(.outlinebtn):not([aria-label]):not([class~="bg-white"]):hover{
  background-color:#3768ed!important;
}
html body :is(a,button):is(
  .btn-primary,.btn,.choose-plan,.route-button,.session-sign-in,
  [class~="bg-royal-500"]
):not(.btn-secondary):not(.secondary):not(.ghost):not(.tab-btn):not(.small):not(.outlinebtn):not([aria-label]):not([class~="bg-white"]):focus-visible{
  outline:3px solid #c1d8ff!important;
  outline-offset:3px!important;
}
/* Plan cards: the CTA spans the card, as in the reference card. */
html body #geo-pricing-rewrite article>:is(a.btn-primary,a.btn),
html body .price-card>:is(a.btn-primary,a.btn),
html body .pricing-grid>:is(a.btn-primary,a.btn){width:100%!important}

/* Secondary CTAs keep the outline treatment, but share the corners, height and label size. */
html body :is(a,button):is(.btn-secondary,.btn.secondary,[class~="border-royal-400/40"]):not(.tab-btn):not(.small){
  min-height:48px!important;
  padding:13px 24px!important;
  border-radius:12px!important;
  font-family:var(--type-display)!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:600!important;
}

/* Compact CTAs (for example the account page's small Sign out) keep their own
   size, but a squeezed row must not break their label onto two lines. */
html body :is(a,button):is(.btn,.btn-primary,.btn-secondary).small{white-space:nowrap!important}

/* A white "primary" next to a blue one is the second action on that row: same
   size and corners, outline treatment (the screenshot's blue bar is the primary). */
html body :is(a,button):is(.btn-primary,.btn)[class~="bg-white"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:48px!important;
  padding:13px 24px!important;
  border:1px solid #6ea8ff80!important;
  border-radius:12px!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#e8eeff!important;
  font-family:var(--type-display)!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
/* Header CTAs match the page buttons exactly, but they stay out of the
   site-wide CTA selector on purpose: that rule sets display:inline-flex!important,
   which would override the navigation's own show/hide rules for these two links
   and pull the mobile-menu CTA into the desktop bar (and the desktop CTA onto
   phones). This rule never declares display. */
html body header :is(.website-consultation,.website-mobile-consultation){
 align-items:center!important;
 justify-content:center!important;
 gap:8px!important;
 min-height:48px!important;
 padding:13px 24px!important;
 border:0!important;
 border-radius:12px!important;
 background-color:#2b4fc0!important;
 background-image:none!important;
 color:#fff!important;
 font-family:var(--type-display)!important;
 font-size:15px!important;
 line-height:1.3!important;
 font-weight:600!important;
 letter-spacing:0!important;
 text-transform:none!important;
 text-align:center!important;
 text-decoration:none!important;
 box-shadow:none!important;
}
html body header :is(.website-consultation,.website-mobile-consultation):hover{
 background-color:#3768ed!important;
}

html body :is(a,button):is(.btn-primary,.btn)[class~="bg-white"]:hover{
  background-color:#4f7df91f!important;
  border-color:#6ea8ffb3!important;
  color:#fff!important;
}

/* ---------------------------------------------------------------------------
   ONE BUTTON SHAPE, EVERY PAGE.
   The reference is the /pricing "Compare Plans" CTA: a 12px rounded rectangle,
   not a pill. Per-element utilities (rounded-full/rounded-xl/rounded-2xl) and
   older rules (999px in site-header.css) previously gave buttons different
   shapes on different pages. This rule is the single source of truth: it
   overrides every radius utility and inline radius on button elements while
   leaving navigation pills, badges and icon chips alone.
   --------------------------------------------------------------------------- */
html body :is(a,button):is(
  .btn,.btn-primary,.btn-secondary,
  .choose-plan,.route-button,.session-sign-in,
  .hr-button,.hr-button-secondary,.cd-cta,.st-button,
  [class~="bg-royal-500"]
)[class],
html body :is(a,button)[style*="border-radius"]{
  border-radius:12px!important;
}
/* The homepage plan table's CTAs carry no class of their own, so they need the
   structural selector rather than a class list. */
html body .hr-plan-table tbody tr td>a[href]{
  border-radius:12px!important;
}
/* The header consultation buttons are CTAs with their own size rule (kept out of
   the site-wide selector so it cannot set display and move them across
   breakpoints), but they take the same 12px shape as every other button. */
html body a.website-consultation[class],
html body a.website-mobile-consultation[class]{
  border-radius:12px!important;
}
