/* Readable type sizes stay consistent across desktop and mobile layouts. */
:root {
  --muted: #5e6c82;
  --copy-size: 1rem;
  --small-copy-size: 0.875rem;
  --label-size: 0.75rem;
}

body { font-size: var(--copy-size); }

body .hero-description,
body .section-heading > p,
body .service-card p,
body .center-heading > p,
body .process-card > p,
body .security-copy > p,
body .pricing-copy > p,
body .price-card-subtitle,
body .price-includes > li,
body .faq-grid > div:first-child > p,
body .faq-item summary,
body .faq-item > p,
body .bottom-cta p,
body .how-dialog > p,
body .dialog-steps > p,
body .page-heading p,
body .panel-description,
body .auth-panel > .panel-description,
body .issue-option,
body .device-option,
body .form-field > label,
body .form-field input,
body .form-field textarea,
body .form-field select,
body .summary-card > p,
body .auth-intro > p,
body .contact-copy > p,
body .contact-point b,
body .success-state p,
body .empty-state p,
body .detail-meta strong,
body .detail-description,
body .timeline h3,
body .message > p,
body .side-detail .panel > p,
body .inquiry p,
body .legal-page p,
body .legal-page li,
body .checkout-details,
body .checkout-status,
body .error-page p {
  font-size: var(--copy-size);
  line-height: 1.7;
}

body .form-field > small,
body .form-hint,
body .form-actions > .form-hint,
body .detail-heading > .form-hint,
body .message-form .form-hint,
body .checkbox-label,
body .form-error,
body .notice,
body .summary-card .price-includes li,
body .summary-card > small,
body .summary-price > span,
body .payment-assurance,
body .price-small,
body .price-frequency,
body .pricing-note,
body .hero-reassurance,
body .services-footnote,
body .center-action > span,
body .service-label,
body .how-dialog > small,
body .auth-tabs button,
body .auth-bottom,
body .forgot-link,
body .contact-point p,
body .stat-card p,
body .repair-list-card p,
body .timeline p,
body .timeline time,
body .message-meta,
body .message-placeholder,
body .session-notice,
body .admin-table,
body .admin-table td small,
body .search-input,
body .filter-bar select,
body .inquiry small,
body .inquiry a,
body .checkout-details small,
body .receipt-details,
body .footer-brand p,
body .made-with,
body .footer-bottom,
body .cta-action > span,
body .compatibility-end {
  font-size: var(--small-copy-size);
  line-height: 1.65;
}

body .eyebrow,
body .tiny-label,
body .section-heading .eyebrow,
body .center-heading .eyebrow,
body .security-copy .eyebrow,
body .pricing-copy > .eyebrow,
body .faq-grid > div:first-child > .eyebrow,
body .bottom-cta .eyebrow,
body .summary-card > .eyebrow,
body .auth-intro .eyebrow,
body .page-heading > .eyebrow,
body .page-heading > div > .eyebrow,
body .contact-copy > .eyebrow,
body .how-dialog .eyebrow,
body .footer-note > .tiny-label,
body .footer-column > span,
body .detail-meta > div > span,
body .detail-label,
body .admin-table th,
body .price-card-header > span:first-child,
body .price-tag,
body .compatibility > span {
  font-size: var(--label-size);
  line-height: 1.6;
  letter-spacing: 0.08em;
}

body .button,
body .hero-buttons .button,
body .cta-action .button,
body .price-card > .button,
body .center-action > .button,
body .page-heading-row > .button,
body .form-actions > .button,
body .auth-panel > .button,
body .auth-panel form > .button,
body .message-form .button,
body .side-detail .button {
  font-size: var(--copy-size);
  min-height: 48px;
  line-height: 1.4;
}

body .text-button,
body .text-link,
body .hero-buttons .text-button,
body .faq-grid .text-link,
body .contact-point .text-link,
body .detail-heading > .text-link,
body .detail-heading .text-button,
body .light-link,
body .desktop-nav > a,
body .login-link,
body .nav-actions > .button,
body .mobile-nav a,
body .footer-column > a,
body .workspace-nav > a,
body .workspace-nav > button,
body .breadcrumb {
  font-size: 0.9375rem;
  line-height: 1.5;
}

body .service-card h3,
body .process-card h3,
body .summary-card h3,
body .form-section-title { font-size: 1.25rem; }
body .repair-list-card h3,
body .inquiry h3 { font-size: 1.0625rem; }
body .side-detail .panel h2 { font-size: 1.25rem; }
body .badge,
body .inquiry button { font-size: 0.8125rem; }
body .hero-pill { font-size: 0.6875rem; }
body .process-number { font-size: 0.8125rem; }

/* Secondary copy should remain legible against the white cards. */
body .hero-description,
body .hero-reassurance,
body .issue-option,
body .form-field > small,
body .form-hint,
body .checkbox-label,
body .summary-card > small,
body .summary-price > span,
body .payment-assurance,
body .price-small,
body .price-frequency,
body .price-includes > li,
body .service-label,
body .services-footnote,
body .pricing-note,
body .auth-bottom,
body .detail-meta > div > span,
body .detail-label,
body .timeline time,
body .message-meta,
body .message-placeholder,
body .session-notice,
body .admin-table th,
body .admin-table td small,
body .filter-bar select,
body .inquiry small,
body .footer-column > span,
body .footer-column > a,
body .made-with,
body .footer-bottom,
body .breadcrumb { color: #637089; }
body .form-field > label { color: #344560; font-weight: 600; }
body .form-field input::placeholder,
body .form-field textarea::placeholder { color: #707e94; }
body .connection-schedule { min-width: 0; }
body .schedule-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body .schedule-fields .form-field { min-width: 0; }
body .schedule-fields input { min-width: 0; min-height: 52px; color-scheme: light; }
@media (max-width: 600px) {
  body .schedule-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
body .security-copy > p,
body .security-points > div { color: #bac9e0; }
body .security-points > div { font-size: var(--copy-size); line-height: 1.7; }
body .bottom-cta p,
body .cta-action > span { color: #e0e9ff; }

/* Give the larger labels room instead of shrinking them on smaller devices. */
body .app-grid { grid-template-columns: minmax(0, 1fr) 360px; }
body .booking-progress { gap: 12px; }
body .booking-progress > span {
  font-size: var(--small-copy-size);
  color: #637089;
  white-space: normal;
  line-height: 1.5;
}
body .booking-progress > span.active { color: var(--blue); }
body .booking-progress b {
  font-size: 0.8125rem;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
body .issue-option { min-height: 84px; padding: 18px; }
body .issue-option:has(input:checked) { color: var(--blue); }
body .summary-card .price-includes { gap: 16px; }
body .price-includes > li { align-items: flex-start; }
body .price-includes .icon { width: 18px; height: 18px; margin-top: 3px; }
body .price-card-header { flex-wrap: wrap; }
body .payment-assurance { flex-wrap: wrap; text-align: center; }
body .summary-price > span { display: inline-block; letter-spacing: 0; }
body .form-actions { flex-wrap: wrap; }
body .message-form .form-hint,
body .detail-heading > .form-hint { max-width: none; }
body .hero-buttons,
body .hero-reassurance { flex-wrap: wrap; }
body .hero-buttons { row-gap: 18px; }
body .compatibility > span { max-width: 170px; }
body .compatibility-end { max-width: 180px; }
body .service-card p,
body .process-card > p { max-width: none; }
body .service-card { padding: 28px; }
body .section-heading > p { max-width: 400px; }
body .section-heading > p br { display: none; }
body .footer-main { gap: 30px; }
body .footer-bottom { flex-wrap: wrap; gap: 16px; }

@media (max-width: 1100px) {
  body .desktop-nav { gap: 16px; margin-left: 0; }
  body .nav-actions { gap: 16px; }
  body .app-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  body .compatibility { flex-wrap: wrap; justify-content: center; padding: 24px 0; }
  body .compatibility > span { max-width: none; width: 100%; text-align: center; }
  body .compatibility-end { display: none; }
}

@media (max-width: 960px) {
  body .site-header { height: 76px; }
  body .desktop-nav { display: none; }
  body .mobile-menu-button { display: inline-flex; }
  body .mobile-nav:not([hidden]) {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: white;
    padding: 12px 21px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 25px #16213a08;
  }
  body .mobile-nav a { padding: 12px 0; border-bottom: 1px solid #f1f3f8; }
  body .app-grid { grid-template-columns: minmax(0, 1fr); }
  body .summary-card { position: static; }
  body .summary-card .price-includes { display: grid; grid-template-columns: 1fr 1fr; }
  body .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 25px; }
}

@media (max-width: 600px) {
  body .booking-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body .booking-progress > i { display: none; }
  body .booking-progress > span { flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 0.8125rem; }
  body .issue-option { padding: 16px 12px; }
  body .summary-card .price-includes { grid-template-columns: 1fr; }
  body .detail-heading { flex-wrap: wrap; }
  body .hero-reassurance { justify-content: center; gap: 10px 18px; }
  body .footer-main { grid-template-columns: 1fr 1fr; }
  body .footer-brand { grid-column: 1 / -1; }
  body .footer-bottom > div { gap: 16px; flex-wrap: wrap; }
  body .workspace-nav { flex-wrap: wrap; gap: 5px; }
  body .stat-card p { font-size: 0.8125rem; }
  body .form-actions > .form-hint { flex-basis: 100%; }
  body .device-option { flex: 1; text-align: center; padding: 10px 12px; }
  body .hero-description .desktop-break { display: none; }
}

@media (max-width: 520px) {
  body .site-header { height: 70px; }
  body .mobile-nav:not([hidden]) { top: 69px; }
  body .nav-wrap { gap: 12px; }
  body .nav-actions { gap: 9px; }
  body .nav-actions > .button { font-size: 0.875rem; padding: 10px 12px; white-space: nowrap; }
  body .nav-actions > .button > .icon { display: none; }
  body .hero-pill { letter-spacing: 0.05em; gap: 7px; }
  body .price-tag { display: none; }
}

@media (max-width: 400px) {
  body .nav-actions > .button { display: none; }
  body .mobile-menu-button { width: 40px; height: 40px; }
  body .issue-grid { grid-template-columns: 1fr; }
  body .issue-option { flex-direction: row; align-items: center; min-height: 64px; padding: 16px; gap: 12px; }
  body .checkout-details { flex-wrap: wrap; gap: 14px; }
}
