/* CyberGuard V13 | Shared typography and navigation refinements
   Applied after page-specific styles to retain the original visual language. */
:root {
  --cg-text: #142b40;
  --cg-muted: #52697d;
  --cg-accent: #0877ed;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", "Noto Sans Armenian", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body p { line-height: 1.75; }
body :is(h1,h2,h3,h4) { text-wrap: balance; }
body :is(p,li) { overflow-wrap: break-word; }

/* Header: readable links, stable alignment, comfortable targets. */
body > header {
  min-height: 90px;
  height: 90px;
  gap: clamp(15px, 1.8vw, 30px);
  padding-inline: clamp(22px, 3.2vw, 70px);
}
body > header .logo {
  font-size: 21px !important;
  line-height: 1.1;
  letter-spacing: -.035em;
  flex-shrink: 0;
}
body > header .logo small {
  font-size: 9px !important;
  line-height: 1.35;
  letter-spacing: .075em;
}
body > header nav {
  gap: clamp(12px, 1.4vw, 26px);
  min-width: 0;
}
body > header nav a {
  font-size: clamp(14px, .88vw, 15px) !important;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.01em;
  white-space: nowrap;
  padding-block: 15px;
  transition: color .2s ease;
}
body > header nav a:hover,
body > header nav a:focus-visible { color: #086fe4; }
body > header .actions { gap: 12px; flex-shrink: 0; }
body > header .actions select {
  min-width: 66px;
  min-height: 42px;
  padding: 8px 10px;
  font: 650 14px/1.3 "Inter","Noto Sans Armenian",sans-serif;
  border-radius: 5px;
}
body > header .actions .btn {
  font-size: 13px !important;
  font-weight: 750;
  letter-spacing: .015em;
  min-height: 44px;
  padding: 12px 17px;
  white-space: nowrap;
}

/* Consistent editorial hierarchy across all seven pages. */
body :is(.section-label,.cp-section-label,.tech-section-label,.tech-eyebrow,.why-kicker,.eyebrow) {
  font-size: 12px;
  line-height: 1.5;
}
body :is(.tech-page,.company-v10,.why-premium,.cg-services-section) p {
  line-height: 1.75;
}
body :is(.tech-domain-grid,.cp-expertise-grid,.cg-cards,.why-grid) h3 {
  line-height: 1.32;
}
body .tech-domain-grid p,
body .tech-portfolio-head p,
body .cp-expertise-grid p,
body .cp-values-grid p,
body .cg-service p,
body .why-grid p { font-size: 15px; line-height: 1.75; }
body .cg-service h3 { font-size: 18px; }
body .cg-service-body { min-height: 260px; }
body .why-grid h3 { font-size: 21px; }
body .tech-logo-grid small { font-size: 13px; }
body .tech-steps h3 { font-size: 22px; }
body :is(.cp-button,.tech-primary,.why-about) { font-size: 13px; }
body .tech-hero h1 { font-size: clamp(44px,5.1vw,72px); }
body .cp-hero h1 { font-size: clamp(44px,5vw,76px); }

/* Break early enough to prevent a seven-link header from overflowing. */
@media (max-width: 1360px) {
  body > header { gap: 18px; }
  body > header nav { gap: 12px; }
  body > header nav a { font-size: 14px !important; }
  body > header .logo { font-size: 19px !important; }
  body > header .actions .btn { padding-inline: 12px; }
}
@media (max-width: 1190px) {
  body > header nav { display: none !important; }
  body > header .burger { display: inline-flex !important; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  body > header .actions { margin-left: auto; }
  body .mobile { z-index: 40; }
  body .mobile a { font-size: 16px !important; line-height: 1.45; padding-block: 12px; }
}
@media (max-width: 700px) {
  body > header { height: 78px; min-height: 78px; padding-inline: 18px; gap: 12px; }
  body > header .logo { font-size: 18px !important; }
  body > header .logo small { font-size: 8px !important; }
  body > header .logo b { width: 37px; height: 37px; }
  body > header .actions { gap: 7px; }
  body > header .actions .btn { display: none !important; }
  body > header .actions select { min-width: 58px; font-size: 13px; padding-inline: 6px; }
  body .tech-hero h1, body .cp-hero h1 { font-size: clamp(38px,9vw,52px); }
  body .cg-service-body { min-height: 205px; }
}
@media (max-width: 380px) {
  body > header .logo { font-size: 16px !important; }
  body > header .logo small { font-size: 7px !important; }
}
