/* Dark blue styling for the shared homepage template. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .ontario-design-classic-blue .newsite-hero::after {
    animation: classicHeroField 18s ease-in-out infinite alternate;
  }
}

@keyframes classicHeroField {
  from { transform: translate3d(-3%, -2%, 0); }
  to { transform: translate3d(3%, 2%, 0) rotate(1deg); }
}

body.ontario-design-classic-blue .site-header .brand img {
  filter: none;
}

body.ontario-design-classic-blue .site-header :is(.btn-primary, .mobile-menu-btn) {
  box-shadow: none;
}

.ontario-design-classic-blue .site-header .mobile-menu-btn {
  background: #183451;
  border-color: #81bad8;
  color: #fff;
}

.ontario-design-classic-blue .site-header .mobile-menu-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.ontario-design-classic-blue .newsite-hero-form .phone-input input[type="tel"] {
  color: var(--text);
}

.ontario-design-classic-blue .checkbox-field input:not(:checked) {
  border-color: #81bad8;
  background: #132b42;
}

body.ontario-design-classic-blue.ontario-sticky-contact-site .sticky-contact-bar {
  background: #0b1728;
  border-color: #34536e;
}

body.ontario-design-classic-blue.ontario-sticky-contact-site .sticky-contact-call {
  background: #183451;
  border-color: #81bad8;
  color: #b8eeff;
}

body.ontario-design-classic-blue.ontario-sticky-contact-site .sticky-contact-cta {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-color: transparent;
  color: #071522;
}

.ontario-design-classic-blue .newsite-hero {
  background: radial-gradient(ellipse at 14% 20%, #234e69, transparent 50%),
    linear-gradient(120deg, #142945, #192d50 48%, #102e40);
}

.ontario-design-classic-blue .newsite-hero::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(77,227,255,.16) 49%, transparent 52%) 0 0 / 260px 260px,
    radial-gradient(circle, rgba(126,221,255,.18) 1px, transparent 1.6px) 0 0 / 38px 38px;
}

.ontario-design-classic-blue .newsite-hero-form input::placeholder {
  color: #a5b9ce;
  -webkit-text-fill-color: currentColor;
  opacity: 1;
}

body.ontario-design-classic-blue .newsite-call-prompt { color: #b5cae0; }
body.ontario-design-classic-blue .newsite-call-prompt a { color: #80deff; }

.ontario-design-classic-blue .newsite-proof-under-form .newsite-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.ontario-design-classic-blue .newsite-proof-under-form .newsite-trust-badges li {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ontario-design-classic-blue :is(.legal-page, .success-page) {
  background: radial-gradient(ellipse at 14% 20%, #234e69, transparent 65%),
    linear-gradient(120deg, #142945, #192d50 48%, #102e40);
}

.ontario-design-classic-blue :is(.legal-shell, .success-page-card) {
  padding: clamp(20px, 5vw, 48px);
  border-color: #35556e;
  background: linear-gradient(145deg, #102a49, #07172b);
  overflow-wrap: anywhere;
}

.ontario-design-classic-blue .legal-content a {
  color: #80deff;
  text-decoration: underline;
}
