/* Shared reading scale. Only type sizes and reading rhythm are adjusted here.
   Display headings, branding, icons, illustrations and motion keep their sizes. */
:root{--read-copy:15px;--read-long:17px;--read-lead:16px;--read-ui:14px;--read-small:12px;--read-meta:11px}

/* Main copy: retain the existing columns, measure, colors and font families. */
.agency-site .hero-description,.agency-site .intro-copy,.agency-site .article-intro>p:not(.eyebrow){font-size:var(--read-lead)}
.agency-site .agency-section-heading>div:last-child>p,
.agency-site .agency-service-card p,.agency-site .work-card>p,
.agency-site .about-split>div:last-child>p:not(.eyebrow),
.agency-site .solutions-grid p,.agency-site .agency-process p,
.agency-site .agency-plan>p,.agency-site .agency-plan li,
.agency-site .resource-card p,.agency-site .faq-layout>div:first-child>p:not(.eyebrow),
.agency-site .agency-faq summary,.agency-site .agency-faq details>p,
.agency-site .home-contact>div:first-child>p:not(.eyebrow),.agency-site .contact-info>p,
.agency-site .capability-grid p,.agency-site .solution-types p,.agency-site .agency-note p,
.agency-site .agency-cta p,.agency-site .about-story p:not(.eyebrow),
.agency-site .mission-grid p:not(.eyebrow),.agency-site .case-details p,.agency-site .case-details li,
.agency-site .home-plans-heading>p,.agency-site .home-plan-content>p,
.agency-site .restored-info-card p,.agency-site .restored-gallery p,
.agency-site .restored-guarantee li,.agency-site .restored-guarantee-heading p,.agency-site .restored-guarantee>p,
.agency-site .restored-faq-answer p,.agency-site .restored-faq-answer ul,.agency-site .restored-faq-answer ol,
.agency-site .restored-stats p,.agency-site .restored-article-metrics p{font-size:var(--read-copy)}
.agency-site .article-body p,.agency-site .restored-article-body ul,.agency-site .restored-article-body ol,
.agency-site .legal-layout p{font-size:var(--read-long);line-height:1.85}
.agency-site .restored-lead,.agency-site .restored-testimonials blockquote p{font-size:var(--read-lead)}
.agency-site .solutions-grid h3,.agency-site .solution-types h3,.agency-site .case-details aside>h3{font-size:18px}

/* Controls and forms: 16 px inputs also avoid focus zoom on mobile Safari. */
.agency-site .button,.agency-site .hero-actions .button,.agency-site .intro-actions>.button,
.agency-site .agency-plan>.button,.agency-site .agency-cta>.button,
.agency-site .agency-form-card button[type="submit"],.agency-site .compose-actions .button,
.agency-site .wizard-controls>.button,.agency-site .wizard-step button[type="submit"],
.agency-site .home-plan-cta{font-size:var(--read-ui)}
.agency-site .text-link,.agency-site .resource-card .text-link,.agency-site .agency-note .text-link,
.agency-site .intro-actions>.text-link,.agency-site .home-contact>div:first-child>.text-link,
.agency-site .agency-section-heading>div:last-child>.text-link,
.agency-site .round-link,.agency-site .hero-actions .round-link,.agency-site .service-card-cta{font-size:13px}
.agency-site .field input,.agency-site .field select,.agency-site .field textarea,
.agency-site .project-search input,.agency-site .compose-review textarea{font-size:16px}
.agency-site .field label,.agency-site .tool-picker>legend,.agency-site .portfolio-links>legend,
.agency-site .tool-choice,.agency-site .website-references>summary,.agency-site .choice-group>legend,
.agency-site .choice-card strong,.agency-site .wizard-step>.step-intro,
.agency-site .compose-review>p,.agency-site .form-status,.agency-site .form-card-heading p{font-size:14px}
.agency-site .field small,.agency-site .field-hint,.agency-site .form-consent,
.agency-site .compose-note,.agency-site .choice-card small,.agency-site .link-remove,
.agency-site .compose-actions .subtle-button,.agency-site .wizard-controls>.subtle-button,
.agency-site .wizard-context p{font-size:13px}
.agency-site .summary-row dd{font-size:15px}
.agency-site .summary-row dt,.agency-site .wizard-controls>span{font-size:12px}
.agency-site .wizard-step-list button{font-size:12px}
.agency-site .wizard-label,.agency-site .wizard-context>span,.agency-site .wizard-step>legend>span,
.agency-site .wizard-step-list button>span,.agency-site .form-card-heading>span{font-size:11px}

/* Navigation, captions and supporting information stay subordinate but readable. */
.agency-site .desktop-nav,.agency-site .services-dropdown a,.agency-site .header-contact{font-size:13px}
.agency-site .language-link{font-size:12px}
.agency-site .mobile-nav a,.agency-site .mobile-services-toggle{font-size:16px}
.agency-site .mobile-services a{font-size:14px}
.agency-site .agency-plan>.plan-note,.agency-site .agency-fineprint,.agency-site .plan-price small,
.agency-site .intro-note,.agency-site .about-story figcaption,.agency-site .filter-status,
.agency-site .filter-group button,.agency-site .tech-tags span,.agency-site .restored-tech-tags span,
.agency-site .restored-testimonials figcaption span,.agency-site .restored-article-image figcaption,
.agency-site .article-meta,.agency-site .article-toc>a:not(.text-link),
.agency-site .article-toc>.text-link,.agency-site .article-sources a,.agency-site .legal-layout>nav>a,
.agency-site .restored-article-navigation>a{font-size:var(--read-small)}
.agency-site .restored-testimonials figcaption strong{font-size:14px}
.agency-site .eyebrow,.agency-site .hero .eyebrow,.agency-site .agency-section-heading .eyebrow,
.agency-site .agency-intro .eyebrow,.agency-site .about-split .eyebrow,.agency-site .home-contact .eyebrow,
.agency-site .faq-layout>div:first-child>.eyebrow,.agency-site .agency-cta .eyebrow,
.agency-site .about-story .eyebrow,.agency-site .mission-grid .eyebrow,.agency-site .case-details .eyebrow,
.agency-site .article-intro .eyebrow,.agency-site .breadcrumb,.agency-site .plan-eyebrow,
.agency-site .plan-price>span,.agency-site .resource-tag,.agency-site .work-meta span,
.agency-site .work-open,.agency-site .service-card-top,.agency-site .photo-caption span,
.agency-site .article-toc>span{font-size:var(--read-meta)}
.agency-site .hero-micro,.agency-site .hero-bottom,.agency-site .scroll-cue,
.agency-site .agency-ribbon>.shell{font-size:10px}
.agency-site .globe-satellite>span:last-child,.agency-site .motion-control{font-size:11px}
.agency-site .globe-satellite strong{font-size:13px}
.agency-site .contact-phone,.agency-site .contact-method>a,
.agency-site .home-contact .contact-address,.agency-site .contact-info .contact-address{font-size:15px}
.agency-site .contact-method>span{font-size:11px}
.agency-site .footer-lead>div>p{font-size:14px}
.agency-site .footer-columns h2{font-size:14px}
.agency-site .footer-columns>div>a,.agency-site .footer-columns>div>p,
.agency-site .footer-columns>div>.text-link,.agency-site .social-links>a{font-size:13px}
.agency-site .footer-last,.agency-site .footer-last>a{font-size:11px}

/* Original standalone pages keep their chrome and icon system. */
body:not(.agency-site) .tagline{font-size:16px}
body:not(.agency-site) .link-button{font-size:15px}
body:not(.agency-site) .authority-text{font-size:13px}
body:not(.agency-site) .hero p,body:not(.agency-site) .section-title p,
body:not(.agency-site) .final-cta p{font-size:16px}
body:not(.agency-site) .problem-card p,body:not(.agency-site) .feature-item p,
body:not(.agency-site) .feature-item-solution p,body:not(.agency-site) .feature-item-pro p,
body:not(.agency-site) .filter-box p,body:not(.agency-site) .bonus-content p,
body:not(.agency-site) .demo-content p,body:not(.agency-site) .demo-card p,
body:not(.agency-site) .faq-answer p,body:not(.agency-site) .faq-question{font-size:16px}
body:not(.agency-site) .cta-button,body:not(.agency-site) .cta-button.outline,
body:not(.agency-site) .cta-button.glow-effect,body:not(.agency-site) .setup-cta{font-size:14px}
body:not(.agency-site) .hero-pre-title{font-size:11px}

@media(max-width:680px){
  :root{--read-long:16px}
  .agency-site .wizard-step-list button{font-size:10px}
  body:not(.agency-site) .tagline{font-size:15px}
  body:not(.agency-site) .link-button{font-size:14px}
}
/* Let footer grid tracks shrink to narrow viewports without clipping content. */
.agency-site .footer-columns>div{min-width:0}
.agency-site .footer-columns .social-links{min-width:0;max-width:100%}
@media(max-width:680px){
  .agency-site .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
  .agency-site .header-inner>.brand{min-width:0}
  .agency-site .header-end{flex-shrink:0}
}
@media(max-width:375px){
  .agency-site .site-header .brand-word{font-size:clamp(16px,4.8vw,18px)}
}
