/* RWR Digital 051: accessible navigation, clearer offers and contact form. */
body, h1, h2, h3, h4, input, select, textarea, button {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1200; background: #fff; color: #0b1728; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #087ca0; outline-offset: 4px; }
section[id] { scroll-margin-top: 96px; }
.hero h1 { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: clamp(40px, 5.8vw, 70px); letter-spacing: -.055em; line-height: 1.06; }
.hero .smallcap { color: #9fe5f2; }
.hero .card-metric { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.15; letter-spacing: -.04em; }
.hero .secondary-line strong { font-size: 30px; line-height: 1.15; }
.hero .secondary-line { align-items: start; flex-direction: column; }
.hero .secondary-line span { font-size: 13px; }
.hero .card-sub { font-size: 13px; }
.hero .signal-proof b { font-size: 11px; letter-spacing: .06em; }
.service-link { display: inline-block; margin-top: 14px; font-weight: 750; color: #1453b8; text-underline-offset: 4px; }
.section-lead .service-link { display: block; }
.pricing-note { color: #526173; max-width: 800px; margin-top: 22px; }
.project-row > span { min-width: 0; }
.project-row b, .project-row small { overflow-wrap: anywhere; }
.project-row em { white-space: nowrap; }
.seo-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-faq-grid h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.form-card { min-width: 0; }
.form-card .form-grid > div { min-width: 0; }
.form-card label:not(.consent):not(.interest-checks label) { display: block; font-weight: 700; color: #213047; margin: 0 0 7px; font-size: 14px; }
.form-card .form-hint { margin: 0 0 20px; color: #526173; font-size: 14px; }
.form-card input, .form-card select, .form-card textarea { min-height: 48px; font-size: 16px; }
.form-card textarea { line-height: 1.5; }
.form-card .contact-details { margin: 10px 0 24px; border: 1px solid #dbe4ee; border-radius: 18px; padding: 16px; background: #f7fbff; }
.form-card .contact-details summary { color: #164e91; font-weight: 750; cursor: pointer; }
.form-card .contact-details[open] summary { margin-bottom: 20px; }
.form-card .consent input, .form-card .interest-checks input { flex: 0 0 20px; width: 20px; min-height: 20px; height: 20px; }
.form-card .consent { color: #344256; line-height: 1.5; }
.form-card .consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
#formStatus { margin-top: 18px; font-size: 15px; color: #344256; overflow-wrap: anywhere; }
#formStatus:not(:empty) { padding: 14px 16px; border-radius: 12px; background: #edf5fa; border: 1px solid #c9dfe9; }
#formStatus[data-state="success"] { background: #e8f7ee; color: #155e37; border-color: #b9dfc9; }
#formStatus[data-state="error"] { background: #fff1ed; color: #8d301c; border-color: #efd1c8; }
#contactForm button#contactSubmitBtn.contact-submit-btn { font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important; }
#contactForm button#contactSubmitBtn.contact-submit-btn:disabled { pointer-events: none; }
.footer p { line-height: 1.9; }
.footer a { overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .hero .premium-main-card { max-width: 330px; }
  .hero .premium-secondary-card { max-width: 300px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 42px; }
  .seo-faq-grid { grid-template-columns: 1fr; }
  .form-card, .contact-card { padding: 24px 20px; }
  .form-card .contact-details { padding: 14px; }
  .project-row { grid-template-columns: auto minmax(0,1fr); gap: 12px; }
  .project-row em { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
