/* Separate public columns, continuing the approved pearl / ice-blue system. */
:root {
  --column-ink: #284f66;
  --column-copy: #526f84;
  --column-accent: #237995;
  --column-line: #cbdfe9;
  --column-wash: #f0f8fc;
}

/* Five real page destinations keep one consistent, clearly selected position. */
.header-inner {
  gap: 24px;
}
.desktop-nav {
  flex: 0 1 auto;
  gap: 5px;
  color: #506d81;
}
.desktop-nav a {
  position: relative;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}
.desktop-nav a:hover {
  color: #246e8a;
  background: #f0f8fc;
  border-color: #dfedf3;
}
.desktop-nav a[aria-current="page"] {
  color: #216b89;
  background: #eaf5fa;
  border-color: #c6e0eb;
}
.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: calc(50% - 8px);
  width: 16px;
  height: 2px;
  border-radius: 4px;
  background: #4894ab;
}
.header-actions {
  flex-shrink: 0;
}
.mobile-nav {
  border-top: 1px solid #dceaf1;
}
.mobile-nav a {
  padding: 13px 14px;
  border-bottom: 0;
  border-radius: 12px;
  color: #496c82;
  font-size: 17px;
  line-height: 1.7;
}
.mobile-nav a + a {
  margin-top: 5px;
}
.mobile-nav a:hover {
  background: #f0f8fc;
  color: #246e8a;
}
.mobile-nav a[aria-current="page"] {
  background: #eaf5fa;
  color: #216b89;
  box-shadow: inset 3px 0 #63a6ba;
}

/* Each column opens with its purpose and a short set of local waypoints. */
.column-intro {
  position: relative;
  padding-top: 41px;
  padding-bottom: 42px;
  isolation: isolate;
}
.column-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 1px;
  background: radial-gradient(ellipse at 89% 28%, #e4f4f9 0, #f1f9fc66 30%, #fff0 64%);
  pointer-events: none;
}
.column-intro::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg, #6da9be 0 34px, #d1e3ed 34px 100%);
  pointer-events: none;
}
.column-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 30px;
  color: #526f84;
  font-size: 14px;
  line-height: 1.7;
}
.column-crumb a {
  color: #45788f;
}
.column-crumb a:hover {
  color: #1f6885;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.column-code {
  display: block;
  margin-bottom: 14px;
  color: #39718c;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 1.7px;
}
.column-code::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1px;
  margin: 0 11px 4px 0;
  background: #79acbf;
  vertical-align: middle;
}
.column-intro h1 {
  max-width: 1000px;
  color: var(--column-ink);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.4px;
  overflow-wrap: anywhere;
}
.column-intro > p {
  max-width: 850px;
  margin-top: 18px;
  color: var(--column-copy);
  font-size: 19px;
  line-height: 1.95;
}
.column-jumps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}
.column-jumps a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #ccdfeb;
  border-radius: 12px;
  background: #fbfeff;
  color: #3b728c;
  font-size: 16px;
  line-height: 1.6;
}
.column-jumps a:hover {
  border-color: #87b6c9;
  background: #edf7fb;
  color: #216a85;
}
.column-jumps a:active {
  background: #e4f2f8;
}
body[data-page="services"] .column-intro + .section,
body[data-page="about"] .column-intro + .section,
body[data-page="cases"] .column-intro + .section,
body[data-page="contact"] .column-intro + .section {
  padding-top: 65px;
}
body[data-page="cases"] .rich-stories {
  background: linear-gradient(180deg, #f8fcfe, #edf6fb);
}
body[data-page="contact"] .contact-section {
  border-top: 0;
}

/* A concise homepage introduces the four destinations without duplicating them. */
body[data-page="home"] .concept-difference {
  padding-top: 65px;
  padding-bottom: 62px;
}
body[data-page="home"] .concept-difference .concept-section-heading {
  margin-bottom: 30px;
}
body[data-page="home"] .concept-comparison th,
body[data-page="home"] .concept-comparison td {
  padding-top: 17px;
  padding-bottom: 17px;
}
.column-gateway {
  padding-top: 62px;
  padding-bottom: 62px;
}
.column-heading {
  max-width: 850px;
  margin-bottom: 32px;
}
.column-heading .section-kicker {
  margin-bottom: 12px;
}
.column-heading h2 {
  color: var(--column-ink);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.3px;
}
.column-heading > p {
  margin-top: 14px;
  color: var(--column-copy);
  font-size: 18px;
  line-height: 1.95;
}
.column-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.column-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 278px;
  padding: 29px 25px 25px;
  overflow: hidden;
  border: 1px solid #c9dfe9;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 28%, #eff8fc);
  box-shadow: 0 8px 26px #4386a106;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.column-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #87b8c9;
  border-left: 1px solid #87b8c9;
  border-radius: 3px 0 0;
  pointer-events: none;
}
.column-card::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 26px;
  width: 19px;
  height: 19px;
  border: 1px solid #d7e8ef;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #f8fcfe;
  pointer-events: none;
}
.column-card:nth-child(2) {
  background: linear-gradient(145deg, #fff 28%, #f0f9f7);
}
.column-card:nth-child(3) {
  background: linear-gradient(145deg, #fff 28%, #eff5fc);
}
.column-card:nth-child(4) {
  background: linear-gradient(145deg, #fff 28%, #f7f9f0);
}
.column-card-code {
  display: block;
  padding-right: 17px;
  color: #466f86;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 1.4px;
}
.column-card h3 {
  margin-top: 21px;
  color: #2e5a72;
  font-size: 26px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -.2px;
}
.column-card > p {
  margin-top: 11px;
  margin-bottom: 25px;
  color: #537489;
  font-size: 17px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.column-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  gap: 14px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #d6e7ef;
  color: #2d7794;
  font-size: 16px;
  line-height: 1.7;
}
.column-card:hover {
  border-color: #87b7c9;
  box-shadow: 0 13px 30px #3c829a12;
  transform: translateY(-3px);
}
.column-card:hover .column-card-link {
  color: #195c79;
}
.column-card:active {
  transform: translateY(0);
  border-color: #5d9eb5;
}

/* One quiet handover to the next page replaces a repeated full contact panel. */
.column-close {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding-top: 40px;
  padding-bottom: 42px;
  margin-top: 0;
  margin-bottom: 42px;
}
.column-close::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: #d1e3ec;
}
.column-close > div {
  max-width: 760px;
}
.column-close h2 {
  color: #2e5870;
  font-size: 29px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -.2px;
}
.column-close p {
  margin-top: 10px;
  color: #54778c;
  font-size: 17px;
  line-height: 1.95;
}
.column-close > .btn {
  flex-shrink: 0;
  border-radius: 15px;
  font-size: 17px;
  padding: 16px 23px;
}
.footer-columns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-left: auto;
  font-size: 14px;
  line-height: 1.8;
}
.footer-columns a {
  display: inline-block;
  padding: 4px 0;
  color: #4d758d;
}
.footer-columns a:hover {
  color: #216b89;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-columns a[aria-current="page"] {
  color: #216b89;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #80b0c2;
}
.column-intro a:focus-visible,
.column-card:focus-visible,
.footer-columns a:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible {
  outline: 3px solid #267f99;
  outline-offset: 5px;
}

@media (max-width: 1150px) {
  .header-inner { gap: 18px; }
  .desktop-nav { gap: 1px; }
  .desktop-nav a { padding: 10px; font-size: 15px; }
  .column-intro::after, .column-close::before { left: 35px; right: 35px; }
  .column-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .column-card { min-height: 247px; padding: 29px 30px 25px; }
  .column-card h3 { margin-top: 16px; }
  .column-card > p { max-width: 440px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; width: 39px; height: 39px; padding: 8px; border-radius: 11px; }
  .header-actions { gap: 16px; }
  .mobile-nav { padding: 12px 24px 18px; }
  .column-intro h1 { font-size: 40px; }
  .column-intro > p { font-size: 18px; }
  .column-close { gap: 25px; }
  .column-close h2 { font-size: 27px; }
  .footer-columns { justify-content: flex-start; gap: 9px 18px; }
}
@media (min-width: 901px) {
  .menu-toggle { display: none; }
  .mobile-nav:not([hidden]) { display: none; }
}
@media (max-width: 680px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 12px; }
  .column-intro { padding-top: 25px; padding-bottom: 31px; }
  .column-intro::after, .column-close::before { left: 23px; right: 23px; }
  .column-crumb { font-size: 13px; gap: 9px; margin-bottom: 24px; }
  .column-code { font-size: 13px; letter-spacing: 1.2px; margin-bottom: 12px; }
  .column-intro h1 { font-size: 34px; line-height: 1.55; letter-spacing: -.5px; }
  .column-intro > p { font-size: 17px; line-height: 1.95; margin-top: 15px; }
  .column-jumps { gap: 9px; margin-top: 22px; }
  .column-jumps a { font-size: 15px; min-height: 44px; padding: 9px 13px; border-radius: 11px; }
  body[data-page="services"] .column-intro + .section,
  body[data-page="about"] .column-intro + .section,
  body[data-page="cases"] .column-intro + .section,
  body[data-page="contact"] .column-intro + .section { padding-top: 45px; }
  body[data-page="home"] .concept-difference { padding-top: 45px; padding-bottom: 42px; }
  body[data-page="home"] .concept-difference .concept-section-heading { margin-bottom: 25px; }
  body[data-page="home"] .concept-comparison th,
  body[data-page="home"] .concept-comparison td { padding-top: 16px; padding-bottom: 16px; }
  .column-gateway { padding-top: 45px; padding-bottom: 39px; }
  .column-heading { margin-bottom: 26px; }
  .column-heading h2 { font-size: 30px; line-height: 1.6; }
  .column-heading > p { font-size: 17px; line-height: 1.95; margin-top: 12px; }
  .column-card-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .column-card { min-height: 0; padding: 27px 25px 24px; border-radius: 20px; }
  .column-card-code { font-size: 12px; }
  .column-card h3 { font-size: 25px; line-height: 1.65; margin-top: 14px; }
  .column-card > p { margin-top: 9px; margin-bottom: 20px; font-size: 17px; }
  .column-card-link { padding-top: 15px; font-size: 16px; }
  .column-close { flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 31px; padding-bottom: 30px; margin-bottom: 18px; }
  .column-close h2 { font-size: 25px; line-height: 1.65; }
  .column-close p { font-size: 17px; margin-top: 9px; }
  .column-close > .btn { font-size: 16px; padding: 15px 21px; border-radius: 14px; }
  .footer-columns { margin-left: 0; flex-basis: 100%; gap: 8px 20px; font-size: 14px; }
  .footer-columns a { padding: 5px 0; }
}
@media (max-width: 520px) {
  body[data-page="home"] .concept-comparison tbody th { padding-top: 0; padding-bottom: 0; }
  body[data-page="home"] .concept-comparison tbody td { padding: 13px 15px; }
  body[data-page="home"] .concept-comparison tbody tr { padding: 21px; }
}
@media (max-width: 370px) {
  .header-actions { gap: 9px; }
  .column-intro::after, .column-close::before { left: 18px; right: 18px; }
  .column-intro h1 { font-size: 31px; }
  .column-card { padding-left: 22px; padding-right: 22px; }
  .column-jumps a { font-size: 14px; padding-left: 11px; padding-right: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .column-card { transition: none; }
  .column-card:hover, .column-card:active { transform: none; }
}

/* A continuous atmosphere across every column; panels remain distinct above it. */
body[data-page] {
  min-height: 100vh;
  background-color: #edf7fb;
  background-image:
    radial-gradient(ellipse 850px 650px at 92% 100px, #d8f1f466, transparent 74%),
    radial-gradient(ellipse 950px 800px at -7% 1250px, #dfeafd66, transparent 75%),
    radial-gradient(ellipse 1000px 900px at 102% 2750px, #d9f4ef66, transparent 76%),
    linear-gradient(115deg, #f3f8fe 0%, #edf7fb 52%, #eaf8f5 100%);
  background-size: auto;
  background-repeat: no-repeat;
}

/* Remove only full-width section paint, including older white section defaults.
   The existing home hero, cards, tables, dialog and other descendants retain theirs. */
body[data-page] > main#main,
body[data-page] > main#main > section:not(.hero) {
  background: transparent;
}
body[data-page] > main#main > section:not(.hero) {
  border-top-color: transparent;
  border-bottom-color: transparent;
}
body[data-page] .column-intro::before {
  content: none;
}

/* Keep navigation strokes crisp enough to read without introducing dark bands. */
body[data-page] .column-intro::after {
  background: linear-gradient(90deg, #6aabc0 0 34px, #bed9e7 34px 100%);
}
body[data-page] .column-close::before {
  background: linear-gradient(90deg, #6aabc0 0 34px, #c5dfea 34px 100%);
}
body[data-page] .site-footer {
  background: transparent;
  border-top-color: #c5dce8;
  color: #526f84;
}
body[data-page] .site-footer > a,
body[data-page] .site-footer p,
body[data-page] .site-footer .filing-line a,
body[data-page] .footer-columns a {
  color: #496c82;
}

/* Auxiliary copy stays readable on the pale blue / teal canvas as well as cards. */
body[data-page] > main#main > section:not(.hero) :is(
  .section-kicker,
  .concept-kicker,
  .rich-eyebrow,
  .rich-section-note,
  .concept-note,
  .concept-trust-note,
  .concept-card-index,
  .concept-step-output,
  .rich-story-category,
  .rich-story-steps dt,
  .rich-sample-status,
  .rich-sample-badge,
  .document-top,
  .document-top small,
  .document-bottom,
  .space-kicker,
  .space-footer,
  .phase-eyebrow,
  .annual-path-caption > span,
  .annual-path-caption > p,
  .service-principles span,
  .contact-heading p,
  .contact-action > span,
  .contact-preview-note,
  .intro-chips span,
  .assessment-note,
  .wizard-privacy,
  .wizard-heading,
  .question-hint,
  .field-label
) {
  color: #4b6d82;
}
body[data-page] .column-close p,
body[data-page] .column-heading > p,
body[data-page] .column-intro > p,
body[data-page] .column-crumb,
body[data-page] .column-code,
body[data-page] .section-heading > p,
body[data-page] .concept-section-heading > p {
  color: #4b6d82;
}
body[data-page] > main#main > section:not(.hero) :is(
  .text-link,
  .concept-text-link
) {
  color: #226c87;
}
body[data-page] :is(a, button, select):focus-visible {
  outline-color: #226781;
}

/* Consistent page-level hierarchy; thin rules mark meaning rather than decoration. */
.desktop-nav a,.mobile-nav a,.contact-link,.column-jumps a{font-weight:600;letter-spacing:0}.desktop-nav{color:#3e6076}.desktop-nav a:hover{color:#1e607d}.desktop-nav a[aria-current="page"]{border-color:#95bacb;background:#e9f4f8;color:#1e5e7a}.desktop-nav a[aria-current="page"]::after{height:2px;width:20px;left:calc(50% - 10px);background:#3b849c}.contact-link{color:#245f7b;border-color:#aacbd9}.mobile-nav a[aria-current="page"]{box-shadow:inset 3px 0 #3b849c;color:#1e5e7a}
.column-intro h1{font-weight:650;letter-spacing:-.015em;color:var(--ui-heading)}.column-intro .column-headline{color:#2f5369;font-weight:500}.column-heading h2,.column-close h2{font-weight:600;color:var(--ui-heading);letter-spacing:-.01em}.column-code,.column-crumb,.column-card-code{font-size:14px;letter-spacing:.5px}.column-crumb{letter-spacing:0}.column-card h3{font-weight:600;color:#254c63}.column-card>p{font-size:18px;color:var(--ui-copy)}.column-card-link{font-weight:600;color:#286a85}.column-card{border-color:var(--ui-border);box-shadow:0 8px 24px #315e7506}.column-card:hover{transform:none;border-color:#82aebf;box-shadow:0 8px 24px #315e750b}.column-card::before,.column-card::after{content:none}.column-card-code{font-weight:500}.column-card-link{border-top-color:var(--ui-rule)}
body[data-page] .column-intro::after,body[data-page] .column-close::before{background:linear-gradient(90deg,#6f9fb5 0 26px,#c8dce7 26px 100%)}
body[data-page] .column-close p,body[data-page] .column-heading>p,body[data-page] .column-intro>p,body[data-page] .section-heading>p,body[data-page] .concept-section-heading>p{color:var(--ui-copy)}
body[data-page] .column-crumb,body[data-page] .column-code,body[data-page] .site-footer,body[data-page] .site-footer>a,body[data-page] .site-footer p,body[data-page] .site-footer .filing-line a,body[data-page] .footer-columns a{color:var(--ui-muted)}.footer-columns a{font-weight:500}.site-footer p,.filing-line a{font-size:14px}
@media(max-width:680px){.column-card>p{font-size:17px}.column-code,.column-crumb,.column-card-code{font-size:14px}.column-jumps a{font-size:15px}.column-intro h1{font-weight:650}.site-footer p,.filing-line a{font-size:13px}.column-close>.btn{font-weight:600}.column-headline{line-height:1.85}}

/* Contact details can be reached directly from the page introduction. */
body[data-page="contact"] .column-intro .contact-intro-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px 19px;margin-top:23px;max-width:100%}
.contact-intro-actions>.btn{flex:0 1 auto;min-width:0;max-width:100%;padding:15px 22px;font-size:17px;line-height:1.6;white-space:normal;text-align:center;overflow-wrap:anywhere;letter-spacing:0}
.contact-intro-actions>.text-link{font-size:16px;line-height:1.8;font-weight:600}
#contact-details{scroll-margin-top:105px}
@media(max-width:680px){body[data-page="contact"] .column-intro .contact-intro-actions{gap:13px 16px;margin-top:22px}.contact-intro-actions>.btn{padding:14px 19px;font-size:16px}.contact-intro-actions>.text-link{font-size:16px}#contact-details{scroll-margin-top:90px}}
