:root {
  --bg: #060f1c;
  --bg-2: #091525;
  --bg-3: #0d1c30;
  --panel: #0f2137;
  --panel-2: #132a44;
  --panel-3: #162f4d;
  --ink: #eef5fc;
  --ink-soft: #d2e0ec;
  --muted: #92a8bc;
  --line: rgba(140, 172, 206, .16);
  --line-2: rgba(140, 172, 206, .28);
  --blue: #2478ff;
  --blue-2: #4f98ff;
  --blue-3: #87bcff;
  --max: 1220px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% -10%, rgba(36,120,255,.11), transparent 28%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 42px), var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--blue); color: white; border-radius: 8px; padding: 10px 14px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,15,28,.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-plaque {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(120, 160, 205, .22);
  background:
    linear-gradient(135deg, rgba(18,39,64,.98), rgba(10,24,41,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 14px 30px rgba(0,0,0,.28),
    0 0 0 1px rgba(43,112,190,.04);
}

.brand-plaque img {
  width: 250px;
  height: auto;
  filter:
    drop-shadow(0 6px 14px rgba(0,0,0,.25))
    drop-shadow(0 0 14px rgba(45,125,255,.06));
}

.primary-nav {
  display: flex; align-items: center; gap: 30px;
}

.primary-nav a {
  position: relative;
  color: #b8cadb;
  font-size: .95rem;
  font-weight: 680;
}

.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px;
  background: var(--blue-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform .2s ease;
}

.primary-nav a:hover { color: white; }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  padding: 8px 11px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 21px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 780; letter-spacing: -.01em; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #1f6ded, #3088ff);
  color: white;
  box-shadow: 0 12px 28px rgba(36,120,255,.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2b79f7, #4e98ff);
}

.btn-outline {
  background: rgba(255,255,255,.02);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: rgba(79,152,255,.55);
  background: rgba(79,152,255,.06);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-3);
  font-size: .77rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .16em;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.04;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(3.9rem, 8.5vw, 8.3rem); font-weight: 760; }
h2 { font-size: clamp(2.4rem, 4.8vw, 4.5rem); font-weight: 730; }
h3 { font-size: 1.35rem; }

.lede {
  margin: 0;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 104px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; opacity: .33;
  background-image:
    linear-gradient(rgba(104,154,206,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104,154,206,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent 10%, #000 65%, #000);
}
.hero::after {
  content: "";
  position: absolute; right: -220px; top: -240px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36,120,255,.18), transparent 66%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 1080px; margin-bottom: 42px; }
.hero h1 .accent {
  color: transparent;
  background: linear-gradient(90deg, #84c0ff 0%, #2f8aff 55%, #68a7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(480px, 650px);
  gap: 54px;
  align-items: start;
}
.hero-rule {
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--blue), rgba(36,120,255,.05));
}

.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 30px;
}
.hero-link {
  min-height: 48px;
  display: inline-flex; align-items: center; gap: 10px;
  color: #174f8f;
  font-weight: 750;
  padding: 0 6px;
}
.hero-link span { color: inherit; }
.hero-link:hover { color: #0b2945; text-decoration: underline; }
.hero-link:focus-visible { outline: 2px solid #174f8f; outline-offset: 4px; border-radius: 4px; }

.section { padding: 112px 0; }
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 900px;
  margin-bottom: 58px;
}
.section-head p:not(.eyebrow),
.body-copy { color: var(--muted); font-size: 1.05rem; }

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  min-height: 340px;
  padding: 34px 30px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17,37,61,.62), rgba(10,22,38,.28));
  transition: background .2s ease, transform .2s ease;
}
.service:hover {
  background: linear-gradient(180deg, rgba(22,49,79,.86), rgba(12,27,46,.58));
  transform: translateY(-3px);
}
.service-number {
  display: block;
  margin-bottom: 82px;
  color: var(--blue-3);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
}
.service p { margin: 0; color: var(--muted); }

.statement {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 100px;
  align-items: end;
}
.statement-copy {
  padding-left: 30px;
  border-left: 2px solid var(--blue);
}
.statement-copy p {
  margin-top: 0;
  color: var(--ink-soft);
}
.statement-copy p:last-child { margin-bottom: 0; }

.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.reason {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13,29,49,.55);
}
.reason strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.27rem;
  letter-spacing: -.02em;
}
.reason p { margin: 0; color: var(--muted); }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.process-step {
  position: relative;
  padding: 40px 34px 0 0;
  min-height: 260px;
}
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute; right: 18px; top: 35px;
  color: #607d99; font-size: 1.4rem;
}
.process-step span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue-3);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .14em;
}
.process-step p { margin: 0; color: var(--muted); }

.brand-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.logo-stage {
  position: relative;
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  padding: 42px;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 18%, rgba(90,148,255,.16), transparent 32%),
    linear-gradient(145deg, #122540, #0a1829);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 18px 50px rgba(0,0,0,.25);
}
.logo-stage::before {
  content: "";
  position: absolute; inset: 18px;
  border: 1px solid rgba(94,153,214,.12);
  border-radius: 18px;
}
.logo-stage::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,138,255,.16), transparent 68%);
  z-index: 1;
}
.logo-stage img {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  filter:
    drop-shadow(0 18px 28px rgba(0,0,0,.28))
    drop-shadow(0 0 18px rgba(68,144,255,.08));
}
.brand-copy p { color: var(--muted); font-size: 1.05rem; }
.brand-copy .text-link {
  display: inline-flex; margin-top: 10px; color: var(--blue-3); font-weight: 800;
}

.page-hero {
  position: relative;
  padding: 112px 0 78px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 82% 10%, rgba(36,120,255,.10), transparent 34%);
}
.page-hero h1 {
  max-width: 1000px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
}

.value-grid,
.dont-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,37,61,.66), rgba(10,22,38,.34));
}
.card-number {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--blue-3);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
}
.card p { margin: 0; color: var(--muted); }

.quote-block {
  padding: 48px;
  border: 1px solid rgba(74,147,255,.26);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(36,120,255,.11), rgba(13,29,49,.6));
}
.quote-block p {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.35;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 76px;
  align-items: start;
}
.contact-intro h1 {
  font-size: clamp(3.5rem, 6.5vw, 6.8rem);
  margin-bottom: 22px;
}
.contact-intro p { color: var(--muted); font-size: 1.06rem; }

.contact-note {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(36,120,255,.055);
  color: #b9cadd;
}

.contact-form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17,37,61,.72), rgba(11,24,41,.72));
  box-shadow: 0 30px 80px rgba(0,0,0,.20);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field { margin-bottom: 18px; }

label {
  display: block;
  margin-bottom: 7px;
  color: #d7e5f2;
  font-size: .9rem;
  font-weight: 760;
}

input, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(143,165,186,.28);
  border-radius: 10px;
  outline: none;
  color: white;
  background: #091727;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36,120,255,.11);
}
textarea { min-height: 165px; resize: vertical; }

.form-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-top: 5px;
}
.form-foot small { max-width: 360px; color: var(--muted); }

.cta {
  padding: 106px 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(36,120,255,.22), transparent 38%),
    linear-gradient(145deg, #0b1a2d, #07111f);
  border-top: 1px solid var(--line);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 50px;
}
.cta h2 { max-width: 860px; margin: 0; }

.site-footer {
  padding: 50px 0 30px;
  background: #050c16;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 60px; align-items: start;
}
.footer-brand .brand-plaque img {
  width: 290px;
}
.footer-copy {
  max-width: 500px;
  margin: 18px 0 0;
  color: #738ba2;
}
.footer-links {
  display: flex; justify-content: flex-end; gap: 24px; flex-wrap: wrap;
  color: #a8bdcf; font-weight: 650;
}
.footer-bottom {
  margin-top: 38px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px;
  color: #647d94; font-size: .84rem;
}

@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2,1fr); }
  .statement, .brand-panel, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .process { grid-template-columns: repeat(2,1fr); gap: 24px 0; }
  .process-step:nth-child(2)::after { display: none; }
  .value-grid, .dont-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: relative; }
  .nav-wrap { min-height: 76px; }
  .brand-plaque { padding: 8px 12px; }
  .brand-plaque img { width: 190px; }
  .menu-button { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute; left: 14px; right: 14px; top: 68px; z-index: 100;
    padding: 18px;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: #0b192a;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,.36);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 8px 6px; }
  .primary-nav .btn { width: 100%; }

  .hero { padding: 76px 0 70px; }
  h1 { font-size: clamp(3.35rem, 16vw, 5.6rem); line-height: .95; }
  .hero h1 { margin-bottom: 34px; }
  .section { padding: 80px 0; }

  .services, .reasons, .process, .form-row { grid-template-columns: 1fr; }
  .services, .reasons { border-left: 0; }
  .service, .reason { border-left: 1px solid var(--line); }
  .service { min-height: 0; }
  .service-number { margin-bottom: 42px; }
  .process-step::after { display: none !important; }

  .logo-stage { min-height: 300px; padding: 28px; }
  .logo-stage img { width: min(100%, 320px); }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px 20px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* --- SOURCE3K v5: restrained logo usage --- */

.nav-wrap {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.header-wordmark {
  width: 158px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  filter:
    brightness(1.24)
    contrast(1.04)
    drop-shadow(0 3px 10px rgba(0,0,0,.18));
}

/* The logo is intentionally not repeated in page content. */
.about-editorial {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: 90px;
  align-items: start;
}

.about-kicker {
  padding-top: 10px;
}

.about-rule {
  width: 100%;
  height: 1px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--blue), rgba(36,120,255,.05));
}

.about-editorial .brand-copy {
  max-width: 780px;
}

.about-editorial .brand-copy h2 {
  margin-bottom: 24px;
}

.footer-name {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.footer-copy {
  margin-top: 12px;
}

/* Retire the v4 logo plaque treatment. */
.brand-plaque,
.logo-stage {
  display: none !important;
}

@media (max-width: 980px) {
  .about-editorial {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-rule {
    max-width: 240px;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 68px;
  }

  .header-wordmark {
    width: 136px;
    max-height: 36px;
  }

  .about-editorial {
    gap: 26px;
  }
}


/* --- SOURCE3K v6: larger, clearer header branding --- */

.site-header {
  background: rgba(4, 11, 21, .88);
  border-bottom: 1px solid rgba(168, 190, 212, .14);
}

.nav-wrap {
  min-height: 80px;
}

.header-brand-shell {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px 8px;
  border-radius: 14px;
  border: 1px solid rgba(140, 172, 206, .18);
  background:
    linear-gradient(135deg, rgba(13, 24, 39, .98), rgba(8, 18, 31, .98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 10px 24px rgba(0,0,0,.18);
}

.header-wordmark {
  width: 184px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter:
    brightness(1.42)
    contrast(1.16)
    saturate(1.08)
    drop-shadow(0 4px 10px rgba(0,0,0,.20))
    drop-shadow(0 0 10px rgba(90, 155, 255, .05));
}

.primary-nav a {
  color: #c0d0df;
}

.primary-nav a:hover {
  color: #ffffff;
}

.footer-name {
  letter-spacing: .16em;
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 72px;
  }

  .header-brand-shell {
    padding: 7px 11px 6px;
    border-radius: 12px;
  }

  .header-wordmark {
    width: 158px;
    max-height: 42px;
  }
}


/* --- SOURCE3K v7: light professional theme + readable header lockup --- */

:root {
  --bg: #eef3f8;
  --bg-2: #f7f9fc;
  --bg-3: #e8eff6;
  --panel: #ffffff;
  --panel-2: #f2f6fa;
  --panel-3: #e8f0f7;
  --ink: #0d2238;
  --ink-soft: #29435d;
  --muted: #60758a;
  --line: rgba(24, 61, 96, .13);
  --line-2: rgba(24, 61, 96, .22);
  --blue: #1f6fe5;
  --blue-2: #2d7df0;
  --blue-3: #4c91ea;
}

html {
  background: var(--bg);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -8%, rgba(45,125,240,.10), transparent 28%),
    var(--bg);
}

.site-header {
  background: rgba(247,249,252,.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(16, 44, 70, .05);
}

.nav-wrap {
  min-height: 82px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-mark {
  width: 58px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
  filter:
    saturate(1.05)
    contrast(1.05)
    drop-shadow(0 3px 7px rgba(20,70,140,.10));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: #102c49;
  font-size: 1.18rem;
  font-weight: 820;
  letter-spacing: .08em;
}

.brand-name span {
  color: var(--blue);
}

.brand-tagline {
  margin-top: 5px;
  color: #687d91;
  font-size: .58rem;
  font-weight: 720;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.primary-nav a {
  color: #3f566d;
}

.primary-nav a:hover {
  color: #102c49;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1f6fe5, #3185f4);
  box-shadow: 0 10px 24px rgba(31,111,229,.18);
}

.btn-outline {
  color: var(--ink);
  background: rgba(255,255,255,.55);
  border-color: var(--line-2);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 8%, rgba(45,125,240,.09), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.hero::before {
  opacity: .25;
  background-image:
    linear-gradient(rgba(31,111,229,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,111,229,.08) 1px, transparent 1px);
}

.hero::after {
  background: radial-gradient(circle, rgba(45,125,240,.12), transparent 66%);
}

.hero h1 .accent {
  background: linear-gradient(90deg, #245fae 0%, #1f6fe5 60%, #438cea 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.eyebrow {
  color: #3f7fc9;
}

.hero-rule,
.about-rule {
  background: linear-gradient(90deg, var(--blue), rgba(31,111,229,.05));
}

.lede,
.statement-copy p,
.section-head p:not(.eyebrow),
.body-copy,
.brand-copy p,
.contact-intro p {
  color: var(--muted);
}

.section-alt {
  background: #e7eef5;
  border-block: 1px solid var(--line);
}

.services {
  border-color: var(--line);
}

.service {
  background: rgba(255,255,255,.62);
  border-color: var(--line);
}

.service:hover {
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(30,68,105,.06);
}

.service p,
.reason p,
.process-step p,
.card p {
  color: var(--muted);
}

.reason {
  background: rgba(255,255,255,.62);
  border-color: var(--line);
}

.process {
  border-color: var(--line);
}

.card {
  background: rgba(255,255,255,.7);
  border-color: var(--line);
}

.quote-block {
  background: linear-gradient(145deg, rgba(35,112,220,.08), rgba(255,255,255,.86));
  border-color: rgba(35,112,220,.20);
  color: var(--ink);
}

.contact-form {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 26px 70px rgba(25, 64, 99, .10);
}

.contact-note {
  background: #edf5ff;
  border-color: rgba(31,111,229,.18);
  color: #49637d;
}

label {
  color: #27435e;
}

input, textarea {
  color: var(--ink);
  background: #f8fafc;
  border-color: rgba(55,86,114,.22);
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31,111,229,.10);
}

.cta {
  color: white;
  background:
    radial-gradient(circle at 78% 20%, rgba(62,135,245,.18), transparent 38%),
    linear-gradient(145deg, #15324f, #0e243a);
  border-top: 1px solid rgba(15,51,82,.35);
}

.site-footer {
  color: white;
  background: #0d2134;
  border-top: 1px solid rgba(255,255,255,.07);
}

.footer-name {
  color: #f0f5fa;
}

.footer-copy {
  color: #90a5b7;
}

.footer-links {
  color: #c0ceda;
}

.footer-bottom {
  color: #8297a9;
  border-color: rgba(255,255,255,.09);
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 74px;
  }

  .header-mark {
    width: 48px;
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: .5rem;
    letter-spacing: .16em;
  }

  .primary-nav {
    background: #ffffff;
    border-color: var(--line);
    box-shadow: 0 20px 45px rgba(26, 62, 96, .14);
  }
}


/* --- SOURCE3K v8: differentiated What We Do + proprietary software positioning --- */

.what-we-do {
  background: #f7f9fc;
}

.what-intro {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 64px;
}

.what-intro h2 {
  margin-bottom: 0;
}

.what-intro-copy {
  padding-left: 30px;
  border-left: 2px solid var(--blue);
}

.what-intro-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.what-intro-copy p:last-child {
  margin-bottom: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.method-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(31, 62, 91, .04);
}

.method-card-featured {
  border-color: rgba(31,111,229,.28);
  background:
    radial-gradient(circle at 88% 8%, rgba(45,125,240,.09), transparent 30%),
    #ffffff;
  box-shadow: 0 18px 40px rgba(31,111,229,.08);
}

.method-number {
  display: block;
  margin-bottom: 58px;
  color: #4b84c8;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.method-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f3ff;
  color: #2369bd;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.method-card h3 {
  max-width: 470px;
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.method-card p {
  margin: 0;
  color: var(--muted);
}

.software-section {
  padding-top: 22px;
  background: #f7f9fc;
}

.software-shell {
  padding: 54px;
  border: 1px solid rgba(31,111,229,.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0%, rgba(45,125,240,.12), transparent 32%),
    linear-gradient(145deg, #edf5ff, #f8fbff);
  box-shadow: 0 22px 55px rgba(27, 76, 121, .07);
}

.software-copy {
  max-width: 900px;
  margin-bottom: 44px;
}

.software-copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
}

.software-copy p {
  margin: 0;
  max-width: 820px;
  color: #536b82;
  font-size: 1.06rem;
}

.software-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.flow-step {
  padding: 26px;
  border: 1px solid rgba(31,111,229,.16);
  border-radius: 15px;
  background: rgba(255,255,255,.72);
}

.flow-step span {
  display: block;
  margin-bottom: 32px;
  color: #4d83c3;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.flow-step strong {
  display: block;
  margin-bottom: 7px;
  color: #153a60;
  font-size: 1.05rem;
}

.flow-step small {
  color: #698096;
  line-height: 1.45;
}

.flow-arrow {
  display: flex;
  align-items: center;
  color: #6e9ed6;
  font-size: 1.5rem;
}

.performance-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 90px;
}

.performance-heading h2 {
  margin-bottom: 0;
}

.performance-copy {
  padding-left: 30px;
  border-left: 2px solid var(--blue);
}

.performance-copy p {
  margin-top: 0;
  color: #52697f;
  font-size: 1.06rem;
}

.performance-copy p:last-child {
  margin-bottom: 0;
  color: #163b61;
}

.diagnostic-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.diagnostic-item {
  min-height: 185px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.62);
}

.diagnostic-item span {
  display: block;
  margin-bottom: 44px;
  color: #4f83bf;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.diagnostic-item strong {
  color: #24435f;
  font-size: .96rem;
  line-height: 1.45;
}

.methodology-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.methodology-step {
  min-height: 230px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}

.methodology-step span {
  display: block;
  margin-bottom: 48px;
  color: #4f83bf;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.methodology-step strong {
  display: block;
  margin-bottom: 8px;
  color: #163b61;
  font-size: 1.05rem;
}

.methodology-step small {
  color: #6a7f93;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .diagnostic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .methodology-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .what-intro,
  .performance-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .what-intro-copy,
  .performance-copy {
    padding-left: 22px;
  }

  .software-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 760px) {
  .method-grid,
  .diagnostic-grid,
  .methodology-strip {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 0;
  }

  .method-number {
    margin-bottom: 34px;
  }

  .method-badge {
    position: static;
    display: inline-flex;
    margin: -18px 0 24px;
  }

  .software-shell {
    padding: 30px 22px;
  }

  .diagnostic-item,
  .methodology-step {
    min-height: 0;
  }

  .diagnostic-item span,
  .methodology-step span {
    margin-bottom: 24px;
  }
}


/* --- SOURCE3K v9 cleanup --- */
.method-badge {
  display: none !important;
}


/* --- SOURCE3K Production v1 contact form --- */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.turnstile-wrap {
  margin: 4px 0 18px;
  min-height: 0;
}

.form-status {
  min-height: 24px;
  margin: 0 0 14px;
  font-size: .94rem;
  font-weight: 650;
}

.form-status.is-success { color: #1f6b43; }
.form-status.is-error { color: #a33131; }

#contact-submit:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
}


/* --- SOURCE3K Production v2 polish --- */
.who-we-help {
  background: #ffffff;
}

.who-intro {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 54px;
}

.who-intro h2 { margin-bottom: 0; }

.who-intro-copy {
  padding-left: 30px;
  border-left: 2px solid var(--blue);
}

.who-intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.who-card {
  min-height: 285px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.who-card > span {
  display: block;
  margin-bottom: 54px;
  color: #4f83bf;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.who-card h3 {
  margin-bottom: 12px;
  color: #173b5f;
  font-size: 1.22rem;
}

.who-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.required {
  color: #1f6fe5;
  font-weight: 850;
}

.form-foot small a,
.privacy-copy a {
  color: #1f6fe5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status:focus {
  outline: 2px solid rgba(31,111,229,.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.privacy-hero h1 {
  max-width: 980px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 80px;
  align-items: start;
}

.privacy-summary {
  position: sticky;
  top: 115px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-summary strong,
.privacy-summary span {
  display: block;
}

.privacy-summary strong {
  margin-bottom: 4px;
  color: #173b5f;
}

.privacy-summary span {
  color: var(--muted);
  font-size: .92rem;
}

.privacy-copy {
  max-width: 790px;
}

.privacy-copy h2 {
  margin: 48px 0 12px;
  font-size: 1.55rem;
  letter-spacing: -.025em;
}

.privacy-copy h2:first-child { margin-top: 0; }
.privacy-copy p { color: var(--muted); }

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.error-shell {
  max-width: 850px;
}

.error-shell h1 {
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

@media (max-width: 980px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-layout { grid-template-columns: 1fr; gap: 38px; }
  .privacy-summary { position: static; max-width: 260px; }
}

@media (max-width: 900px) {
  .who-intro { grid-template-columns: 1fr; gap: 34px; }
  .who-intro-copy { padding-left: 22px; }
}

@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; border-left: 0; }
  .who-card { min-height: 0; border-left: 1px solid var(--line); }
  .who-card > span { margin-bottom: 28px; }
  .privacy-copy h2 { margin-top: 38px; }
}


/* ============================================================
   SOURCE3K Production v3
   Darker cool-slate visual refinement
   ============================================================ */

:root {
  --bg: #d7e0e9;
  --bg-2: #e1e8ef;
  --bg-3: #ccd8e3;
  --panel: #edf2f6;
  --panel-2: #e5ecf2;
  --panel-3: #dbe5ed;

  --ink: #0d2238;
  --ink-soft: #29435d;
  --muted: #566d82;

  --line: rgba(20, 53, 84, .16);
  --line-2: rgba(20, 53, 84, .26);

  --blue: #155fbf;
  --blue-2: #2071d5;
  --blue-3: #397fc8;
}

/* Overall page is now a slate blue-gray rather than near-white. */
html,
body {
  background: var(--bg);
}

body {
  background:
    radial-gradient(circle at 88% -8%, rgba(32,113,213,.10), transparent 27%),
    linear-gradient(180deg, #dbe4ec 0%, #d3dde6 100%);
}

/* Header remains easy to read, but no longer floats on bright white. */
.site-header {
  background: rgba(211, 222, 232, .96);
  border-bottom: 1px solid rgba(22, 53, 82, .18);
  box-shadow: 0 7px 24px rgba(18, 47, 75, .08);
}

.brand-name {
  color: #0b2945;
}

.brand-name span {
  color: #155fbf;
}

.brand-tagline {
  color: #526a80;
}

.primary-nav a {
  color: #354f68;
}

.primary-nav a:hover {
  color: #0b2945;
}

/* Hero gets a noticeably richer background without becoming a dark theme. */
.hero {
  background:
    radial-gradient(circle at 88% 8%, rgba(31,111,229,.11), transparent 27%),
    linear-gradient(180deg, #e2e9f0 0%, #d4dee7 100%);
  border-bottom-color: rgba(20, 53, 84, .17);
}

.hero::before {
  opacity: .34;
}

.hero h1 .accent {
  background: linear-gradient(90deg, #174f8f 0%, #155fbf 55%, #2b75c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Main sections are now layered slate surfaces instead of white blocks. */
.what-we-do,
.software-section {
  background: #dbe4ec;
}

.section-alt {
  background: #cbd7e2;
  border-block-color: rgba(20, 53, 84, .17);
}

/* Cards retain separation without becoming bright white boxes. */
.service,
.reason,
.method-card,
.card,
.diagnostic-item,
.methodology-step {
  background: rgba(239, 244, 248, .72);
  border-color: rgba(20, 53, 84, .15);
}

.service:hover,
.method-card:hover {
  background: #f3f6f9;
  box-shadow: 0 16px 36px rgba(23, 55, 84, .09);
}

.method-card-featured {
  background:
    radial-gradient(circle at 88% 8%, rgba(32,113,213,.10), transparent 30%),
    #edf3f8;
  border-color: rgba(21,95,191,.26);
}

.software-shell {
  background:
    radial-gradient(circle at 88% 0%, rgba(32,113,213,.13), transparent 32%),
    linear-gradient(145deg, #dce7f1, #e8eef4);
  border-color: rgba(21,95,191,.22);
  box-shadow: 0 22px 55px rgba(20, 57, 91, .09);
}

.flow-step {
  background: rgba(241, 245, 249, .74);
  border-color: rgba(21,95,191,.17);
}

.quote-block {
  background:
    linear-gradient(145deg, rgba(31,111,229,.09), rgba(233,239,245,.92));
  border-color: rgba(21,95,191,.22);
}

/* About/editorial areas stay calm but no longer sit on white. */
.about-editorial,
.brand-panel {
  color: var(--ink);
}

/* Contact area: slightly darker page, clear lighter form card. */
.contact-form {
  background: #e8eef4;
  border-color: rgba(20, 53, 84, .18);
  box-shadow: 0 26px 65px rgba(23, 55, 84, .13);
}

.contact-note {
  background: #d7e7f8;
  border-color: rgba(21,95,191,.19);
  color: #36536d;
}

input,
textarea {
  background: #f3f6f9;
  border-color: rgba(36, 70, 101, .24);
}

input:focus,
textarea:focus {
  background: #f8fafc;
}

/* Privacy / simple content pages use the same slate surfaces. */
.page-hero {
  background:
    radial-gradient(circle at 82% 10%, rgba(21,95,191,.10), transparent 33%),
    linear-gradient(180deg, #dfe7ee, #d6e0e8);
  border-bottom-color: rgba(20, 53, 84, .16);
}

/* Keep CTA and footer deliberately dark to anchor the lighter slate site. */
.cta {
  background:
    radial-gradient(circle at 78% 20%, rgba(64,139,235,.20), transparent 38%),
    linear-gradient(145deg, #14304c, #0b2136);
}

.site-footer {
  background: #0b1e31;
}

/* Mobile navigation should match the new slate system. */
@media (max-width: 760px) {
  .primary-nav {
    background: #e8eef4;
    border-color: rgba(20, 53, 84, .18);
    box-shadow: 0 20px 45px rgba(23, 55, 84, .16);
  }
}
