/* Shared presentation for the marketing site, insights, and legal pages.
   Page-specific layouts remain in their existing stylesheets. */
:root {
  --site-accent: #0f766e;
  --site-accent-hover: #115e59;
  --site-accent-light: #5eead4;
  --site-ink: #101828;
  --site-muted: #596579;
}

html { scroll-padding-top: 6rem; }
body { -webkit-font-smoothing: antialiased; }
main, section, article, .service-card { min-width: 0; }
img { max-width: 100%; }
a, button, summary, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #14b8a6; outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 2px; }
.skip-link {
  position: fixed; top: -5rem; left: 1rem; z-index: 200;
  padding: .75rem 1rem; border-radius: 8px; background: #fff; color: #101828;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: .75rem; }

/* One header and footer across the public-facing pages. */
nav.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; min-height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem max(5%, calc((100% - 1200px) / 2));
  background: rgba(10, 10, 10, .97); border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px); text-align: left; line-height: 1.5;
}
.site-header .logo-wrap { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; text-decoration: none; }
.site-header .logo-svg { width: 30px; height: 30px; flex-shrink: 0; }
.site-header .logo-text { display: flex; flex-direction: column; }
.site-header .logo-name { color: #fff; font-size: 1.1rem; font-weight: 900; letter-spacing: -.5px; line-height: 1.1; }
.site-header .logo-tag { color: #a5a9b0; font-size: .56rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.site-header .nav-links { display: flex; align-items: center; gap: 1.75rem; }
.site-header .nav-links a { color: #c4c8cf; font-size: .875rem; font-weight: 500; text-decoration: none; }
.site-header .nav-links a:hover, .site-header .nav-links a[aria-current] { color: #fff; }
.site-header .nav-cta { display: flex; align-items: center; gap: .75rem; }
.site-header .btn { padding: .65rem 1.1rem; white-space: nowrap; }
.mobile-menu { display: none; }

.btn, .button, .btn-white, .btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; border-radius: 10px; font-family: inherit; font-size: .9rem;
  font-weight: 650; line-height: 1.4; text-decoration: none;
}
.btn-gold, .btn-teal, .button, .btn-submit { color: #fff; background: var(--site-accent); }
.btn-gold:hover, .btn-teal:hover, .button:hover, .btn-submit:hover { color: #fff; background: var(--site-accent-hover); }
.btn-ghost-dark { color: #e2e6ec; border: 1px solid #606773; }
.btn-ghost-dark:hover { color: #fff; border-color: #c4c8cf; }
.btn-black { color: #fff; background: #101828; }
.btn-white { color: #115e59; background: #fff; }
.btn-xl { padding: .95rem 1.8rem; }

footer.site-footer {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem;
  padding: 3rem max(5%, calc((100% - 1200px) / 2));
  background: #141414; border-top: 1px solid #343434; text-align: left;
}
.site-footer .footer-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.site-footer .footer-svg { width: 28px; height: 28px; flex-shrink: 0; }
.site-footer .footer-brand-text { display: flex; flex-direction: column; }
.site-footer .footer-logo-name { color: #fff; font-size: 1rem; font-weight: 800; }
.site-footer .footer-tagline { color: #a5a9b0; font-size: .58rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.5rem; }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #c4c8cf; font-size: .875rem; text-decoration: none; }
.site-footer .footer-links a:hover { color: #fff; }
.site-footer .footer-copy { grid-column: 1 / -1; color: #a5a9b0; font-size: .8rem; }

/* Improve hierarchy and contrast without changing the established identity. */
.home-page .hero {
  min-height: min(850px, 95svh); padding: 10rem 5% 6rem;
  background: #0a0a0a;
}
.home-page .hero-inner, .page-hero-inner { max-width: 1100px; width: 100%; }
.home-page .hero h1 { max-width: 900px; font-size: clamp(2.8rem, 5.5vw, 4.75rem); line-height: 1.08; letter-spacing: -.045em; }
.home-page .hero h1 em, .page-hero h1 em { color: var(--site-accent-light); }
.home-page .hero::after, .page-hero::after { background: radial-gradient(ellipse at 80% 50%, rgba(20, 184, 166, .09), transparent 65%); }
.hero-sub { color: #bdc5d0; max-width: 650px; font-size: 1.1rem; line-height: 1.75; }
.home-page .hero-sub { color: #bdc5d0; max-width: 620px; margin-bottom: 2rem; }
.page-hero { padding-top: 9rem; padding-bottom: 4.5rem; }
.page-hero h1 { max-width: 880px; font-size: clamp(2.5rem, 5vw, 4.2rem); letter-spacing: -.04em; line-height: 1.1; }
.page-hero .hero-sub { color: #bdc5d0; }
.page-hero .section-label, .about .section-label { color: var(--site-accent-light); }
.services, .services-section, .about, .blog { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.services-header { margin-bottom: 2.75rem; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; gap: 0; padding: 1.75rem; border-radius: 16px; }
.service-card:hover { box-shadow: 0 8px 28px rgba(15, 118, 110, .08); }
.service-card .svc-icon, .service-card .service-icon {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  margin-bottom: 1.25rem; color: #0f766e; background: #e1f1ed; border-radius: 12px;
}
.service-card svg { width: 23px; height: 23px; }
.service-card h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 1rem; }
.service-bullets { gap: .6rem; padding-top: 1rem; }
.service-bullets li { color: var(--site-muted); font-size: .875rem; line-height: 1.55; }
.section-sub { max-width: 650px; color: var(--site-muted); }
.about-text { color: #c4c8cf; }
.cta-band { background: #0f766e; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.cta-band h2 { color: #fff; max-width: 650px; }
.cta-band p { color: #e0f2ef; max-width: 520px; }
.article-hero { padding-top: 9rem; padding-bottom: 4rem; }
.article-hero h1 { max-width: 840px; font-size: clamp(2.2rem, 4.7vw, 4rem); line-height: 1.12; letter-spacing: -.04em; }
.article-hero .back-link, .article-hero .article-date { color: #8fe5d7; }
.article-body { padding-top: 3.5rem; padding-bottom: 4rem; }
.article-inner, .article-body-inner { max-width: 760px; }
.article-inner p, .article-body p { line-height: 1.85; }
.article-cta p { color: #e0f2ef; }
.blog .btn-ghost-dark { color: #115e59; border-color: #aac9c4; }
.blog .btn-ghost-dark:hover { color: #0a0a0a; border-color: #0f766e; }
.contact-left p, .login-card p { color: #bdc5d0; }
.contact-page label { color: #c4c8cf; letter-spacing: .02em; text-transform: none; }
.contact-page input, .contact-page select, .contact-page textarea { width: 100%; min-width: 0; min-height: 48px; }
.contact-page input::placeholder, .contact-page textarea::placeholder { color: #9da7b7; }
.contact-page .form-notice { color: #aeb8c6; }
.contact-page .contact-left { max-width: 480px; }
.portal-link { width: 100%; }
.login-page main { flex: 1; display: flex; flex-direction: column; }
.login-footer { color: #aeb8c6; }
.legal-hero { padding-top: 9rem; }
.legal-document { overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .site-header .nav-links { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { padding: .65rem .9rem; color: #fff; border: 1px solid #606773; border-radius: 10px; cursor: pointer; font-size: .875rem; font-weight: 600; }
  .mobile-menu-links {
    position: absolute; top: calc(100% + .5rem); right: 5%; left: 5%;
    display: grid; gap: .25rem; padding: .75rem; border: 1px solid #343d48;
    max-height: calc(100dvh - 6.5rem); overflow-y: auto;
    border-radius: 14px; background: #141414; box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
  }
  .mobile-menu-links a { display: flex; align-items: center; min-height: 48px; padding: .65rem 1rem; color: #e2e6ec; border-radius: 8px; text-decoration: none; font-size: .95rem; }
  .mobile-menu-links a:hover, .mobile-menu-links a[aria-current] { background: #242b31; color: #fff; }
  .mobile-menu-links .btn { margin-top: .35rem; color: #fff; background: #0f766e; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.site-footer { grid-template-columns: 1fr; }
  .site-footer .footer-links { justify-content: flex-start; }
}

@media (max-width: 700px) {
  nav.site-header { min-height: 76px; gap: .75rem; }
  .site-header .nav-cta { display: none; }
  .site-header .logo-tag { font-size: .5rem; }
  .home-page .hero { min-height: auto; padding-top: 9rem; padding-bottom: 4rem; }
  .home-page .hero h1 { font-size: clamp(2.6rem, 8.5vw, 3.6rem); }
  .hero-sub { font-size: 1rem; }
  .services, .services-section, .about, .blog { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .services-section .services-grid { margin-top: 0; }
  .service-card { padding: 1.5rem; }
  .page-hero { padding-top: 8.5rem; padding-bottom: 3rem; }
  .page-hero h1 { font-size: clamp(2.4rem, 8vw, 3.2rem); }
  .article-hero { padding-top: 8rem; padding-bottom: 3rem; }
  .article-hero h1 { font-size: clamp(2.1rem, 7.4vw, 3rem); }
  .article-body { padding-top: 2.5rem; padding-bottom: 3rem; }
  .article-inner h2, .article-body h2 { font-size: 1.4rem; }
  .article-inner p, .article-body p { font-size: 1rem; }
  .cta-band { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .contact-page .page-wrap { padding-top: 8rem; }
  .login-card { padding: 2rem 1.5rem; }
  .legal-hero { padding-top: 8rem; }
  .site-footer .footer-links { gap: .25rem 1.25rem; }
  footer.site-footer { gap: 1.25rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
