:root {
      --navy: #10243a;
      --navy-2: #183954;
      --blue: #1674b8;
      --cyan: #42c2d9;
      --ink: #203044;
      --muted: #5c6c7d;
      --paper: #ffffff;
      --soft: #f3f7fa;
      --line: #dce5ec;
      --radius: 18px;
      --shadow: 0 12px 34px rgba(16,36,58,.08);
      --max: 1160px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 88px; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    a { color: var(--blue); text-underline-offset: 3px; }
    a:hover { color: #0b568c; }
    a:focus-visible, button:focus-visible {
      outline: 3px solid var(--cyan);
      outline-offset: 3px;
    }
    .container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
    .skip-link {
      position: absolute; left: -9999px; top: 8px; z-index: 100;
      background: white; color: var(--navy); padding: 10px 14px; border-radius: 8px;
    }
    .skip-link:focus { left: 12px; }
    .site-header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }
    .nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--navy); }
    .brand-mark {
      display: inline-block;
      color: #66717d;
      font-size: 2.75rem;
      line-height: 1.1;
      letter-spacing: -.025em;
      font-weight: 400;
      transition: color .2s ease;
      white-space: nowrap;
    }
    .brand-mark .brand-sci { color: #123f70; }
    .brand:hover .brand-mark { color: #1674b8; }
    .brand:hover .brand-mark .brand-sci { color: #1674b8; }
    .brand-logo { display: block; width: 170px; height: auto; }
    .brand-name { font-size: 1.28rem; font-weight: 800; letter-spacing: -.04em; }
    .nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
    .nav-links a { color: var(--ink); font-size: .94rem; font-weight: 650; text-decoration: none; }
    .nav-links a:hover { color: var(--blue); }
    .nav-links .portal-link { color: white; background: var(--blue); padding: 10px 15px; border-radius: 999px; }
    .nav-links .portal-link:hover { color: white; background: var(--blue); }
    .hero {
      position: relative; overflow: hidden; color: white;
      background:
        radial-gradient(ellipse at 88% 15%, rgba(66,194,217,.25), transparent 34%),
        radial-gradient(ellipse at 8% 100%, rgba(22,116,184,.26), transparent 42%),
        linear-gradient(120deg, #0d2034, #173c59);
      padding: 70px 0 36px;
    }
    .hero::after {
      content: ""; position: absolute; right: -120px; bottom: -280px; width: 560px; height: 560px;
      border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
      box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.025);
      pointer-events: none;
    }
    .hero-content { position: relative; z-index: 1; max-width: 850px; }
    .eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 800; color: var(--cyan); }
    h1, h2, h3 { line-height: 1; letter-spacing: -.035em; }
    h1 { max-width: 850px; margin: 0; font-size: clamp(2.2rem, 4.8vw, 4rem); }
    .hero-title-line { display: block; }
    .hero-copy { max-width: 760px; margin: 20px 0; color: #d9e7f0; font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
    .actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .button {
      display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
      padding: 12px 19px; border: 1px solid transparent; border-radius: 999px;
      text-decoration: none; font-weight: 750; transition: transform .15s ease, background .15s ease;
    }
    .button:hover { transform: translateY(-1px); }
    .button-primary { background: var(--cyan); color: #08253a; }
    .button-primary:hover { background: #78d9e8; color: #08253a; }
    .button-secondary { border-color: rgba(255,255,255,.45); color: white; }
    .button-secondary:hover { background: rgba(255,255,255,.1); color: white; }
    .proof-strip { background: #f7fafc; border-bottom: 1px solid var(--line); }
    .proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 24px 0; }
    .proof-item { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: .92rem; font-weight: 700; }
    .proof-icon {
      flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
      color: var(--blue); background: #e4f4fa; font-size: 1.05rem;
    }
    section { padding: 78px 0; }
    
    .section-heading { max-width: 100%; margin-bottom: 32px; }
    .section-kicker { margin: 0 0 10px; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
    h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(2rem, 3.4vw, 3rem); }
    .section-heading > p:last-child { 
      margin: 0; 
      color: var(--muted); 
      font-size: 1.08rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .solutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card {
      min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius);
      background: white; box-shadow: var(--shadow);
    }
    .card-icon {
      width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px;
      border-radius: 14px; background: #e8f5fa; color: var(--blue); font-size: 1.35rem; font-weight: 800;
    }
    h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.28rem; }
    .card p { margin: 0 0 18px; color: var(--muted); }
    .text-link { display: inline-flex; gap: 7px; align-items: center; font-weight: 750; text-decoration: none; }
    .text-link:hover { text-decoration: underline; }
    .soft-section { background: var(--soft); }
    .process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .process-step { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
    .step-number {
      display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px;
      border-radius: 50%; color: white; background: var(--blue); font-weight: 850;
    }
    .process-step p { margin: 0; color: var(--muted); }
    .cta-band { padding: 0 0 78px; }
    .cta-panel {
      display: flex; align-items: center; justify-content: space-between; gap: 26px;
      padding: 38px; border-radius: 24px; color: white;
      background: linear-gradient(115deg, var(--navy), var(--navy-2));
    }
    .cta-panel h2 { color: white; font-size: clamp(1.7rem, 3vw, 2.4rem); }
    .cta-panel p { max-width: 650px; margin: 0; color: #d5e4ee; white-space: normal; }
    .cta-panel .button { flex-shrink: 0; }

    /* Custom Footer Styles */
    .site-footer {
      background-color: #0f172a;
      color: #94a3b8;
      padding: 80px 0 32px;
    }
    .footer-content {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 48px;
      border-bottom: 1px solid rgba(30, 41, 59, 0.8);
      padding-bottom: 64px;
      margin-bottom: 48px;
    }
    .footer-col { display: flex; flex-direction: column; gap: 16px; }
    .footer-title {
      color: #ffffff;
      font-size: 1.125rem;
      font-weight: 700;
      letter-spacing: -0.025em;
      margin: 0;
    }
    .footer-address {
      font-size: 0.875rem;
      color: #94a3b8;
      line-height: 1.625;
    }
    .footer-address p { margin: 2px 0; }
    .footer-address .heading {
      font-weight: 500;
      color: #cbd5e1;
    }
    .footer-contact {
      font-size: 0.875rem;
      color: #94a3b8;
      line-height: 1.625;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-contact p { margin: 0; }
    .footer-label {
      display: block;
      color: #64748b;
      font-weight: 500;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 2px;
    }
    .footer-contact a, .footer-socials a {
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.15s ease;
    }
    .footer-contact a:hover, .footer-socials a:hover {
      color: #ffffff;
    }
    .footer-socials {
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 0.875rem;
    }
    .social-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .social-icon {
      width: 16px;
      height: 16px;
      fill: #94a3b8;
      transition: fill 0.15s ease, stroke 0.15s ease;
    }
    .social-link:hover .social-icon {
      fill: #60a5fa;
      stroke: #60a5fa;
    }
    .social-icon.stroke-only {
      fill: none;
      stroke: #94a3b8;
    }
    .footer-bottom {
      font-size: 0.75rem;
      text-align: center;
      color: #64748b;
    }

    @media (max-width: 900px) {
      .nav { align-items: flex-start; padding: 16px 0; flex-direction: column; gap: 14px; }
      .nav-links { justify-content: flex-start; flex-wrap: wrap; gap: 14px 20px; }
      .proof-grid { grid-template-columns: repeat(2, 1fr); }
      .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .cta-panel { align-items: flex-start; flex-direction: column; }
      .footer-content { grid-template-columns: 1fr; gap: 32px; }
      .section-heading > p:last-child { white-space: normal; }
    }
    @media (max-width: 600px) {
      .container { width: min(100% - 28px, var(--max)); }
      .hero { padding: 68px 0 58px; }
      section { padding: 58px 0; }
      .proof-grid, .cards, .process-grid { grid-template-columns: 1fr; }
      .proof-grid { gap: 14px; }
      .card, .process-step { padding: 22px; }
      .cta-band { padding-bottom: 58px; }
      .cta-panel { padding: 27px; }
      .brand-mark { font-size: 2rem; }
      .nav-links { gap: 12px 16px; }
      .nav-links a { font-size: .9rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; }
    }

/* Hero alignment: left-align content with the shared page container */
.hero,
.hero .hero-content,
.hero .eyebrow,
.hero h1,
.hero .hero-copy,
.page-hero,
.page-hero .hero-content,
.page-hero .eyebrow,
.page-hero h1,
.page-hero .hero-copy {
  text-align: left;
}

/* Keep hero content on the same left edge as the header brand/container. */
.hero-content,
.page-hero .hero-content {
  margin-left: 0;
  margin-right: auto;
}

/* If the hero-content element also has .container, preserve container width/alignment. */
.container.hero-content,
.container.page-hero .hero-content {
  width: min(var(--max), calc(100% - 40px));
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.hero-copy,
.page-hero .hero-copy {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 600px) {
  .container.hero-content,
  .container.page-hero .hero-content {
    width: min(100% - 28px, var(--max));
  }
}
