:root {
  --bg: #f5f8fc;
  --bg-soft: #eef5fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-ink: #0f2239;
  --ink: #10213a;
  --ink-soft: #3a4f6d;
  --muted: #62748f;
  --line: rgba(16, 33, 58, 0.12);
  --line-strong: rgba(16, 33, 58, 0.2);
  --blue: #264ba6;
  --blue-deep: #16336f;
  --cyan: #2bb6dd;
  --cyan-soft: rgba(43, 182, 221, 0.18);
  --gold: #c8a56b;
  --shadow: 0 24px 70px rgba(29, 57, 102, 0.14);
  --shadow-soft: 0 14px 40px rgba(29, 57, 102, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 84px;
  --sticky-cta-space: 9.4rem;
  --sticky-cta-z: 110;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(43, 182, 221, 0.15), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(38, 75, 166, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 38%, #edf4fa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    linear-gradient(90deg, rgba(16, 33, 58, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(16, 33, 58, 0.025) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  opacity: 0.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section-tight {
  padding: 1.5rem 0 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 2.7rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.section-heading h3,
.page-hero h1,
.hero-copy h1,
.cta-band h2,
.service-splash h2,
.copy-block h2,
.glass-panel h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--surface-ink);
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.85rem);
  max-width: 12ch;
}

.page-hero h1 {
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  max-width: 12ch;
}

.section-heading h2,
.cta-band h2,
.service-splash h2 {
  font-size: clamp(2rem, 3.1vw, 2.9rem);
}

.lead,
.section-heading p,
.page-hero p,
.hero-copy p,
.card p,
.glass-panel p,
.copy-block p,
.check-list li,
.bullet-list li,
.timeline-step p,
.contact-card p,
.footer-note,
.footer-group a,
.footer-group p,
.signal-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.lead {
  font-size: 1.04rem;
  max-width: 42rem;
}

.muted {
  color: var(--muted);
}

.page-shell {
  overflow: clip;
  padding-bottom: calc(var(--sticky-cta-space) + env(safe-area-inset-bottom, 0px));
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header {
  width: min(calc(100% - 2rem), var(--container));
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 34, 57, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(15, 34, 57, 0.12);
}

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

.brand-lockup img {
  width: clamp(11rem, 15vw, 14rem);
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-name {
  min-width: 0;
}

.brand-name strong,
.footer-brand strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-name span,
.footer-brand span {
  display: block;
  font-size: 0.73rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.72rem 1rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: rgba(38, 75, 166, 0.08);
}

.nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  margin: auto;
}

.nav-toggle [data-nav-icon-close="true"] {
  opacity: 0;
}

.nav-toggle.is-open [data-nav-icon-lines="true"] {
  opacity: 0;
}

.nav-toggle.is-open [data-nav-icon-close="true"] {
  opacity: 1;
}

.mobile-nav {
  display: none;
  margin: 0.85rem auto 0;
  width: min(calc(100% - 2rem), var(--container));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(15, 34, 57, 0.1);
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav a {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  color: var(--ink-soft);
}

.mobile-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(38, 75, 166, 0.08);
  color: var(--blue);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 32px rgba(38, 75, 166, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button-ghost {
  color: var(--blue);
  background: rgba(38, 75, 166, 0.08);
}

.button-full {
  width: 100%;
}

.hero {
  padding: calc(4rem + var(--header-height)) 0 4.75rem;
}

.hero-grid,
.split-grid,
.contact-layout,
.cta-band,
.service-splash {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  align-items: center;
}

.trust-row,
.proof-chips,
.inline-pills,
.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.proof-chips {
  margin-top: 1.5rem;
}

.proof-chip,
.inline-pill,
.client-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.hero-visual,
.glass-panel,
.card,
.cta-band,
.footer-panel,
.contact-card,
.timeline-step,
.stat-card,
.service-splash,
.form-panel,
.tableau {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  min-height: 38rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 16%, rgba(43, 182, 221, 0.24), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(38, 75, 166, 0.18), transparent 36%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.93), rgba(240, 246, 252, 0.78));
}

.hero-visual::before,
.page-hero::before,
.cta-band::before,
.service-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(43, 182, 221, 0.1), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(38, 75, 166, 0.11), transparent 30%);
  pointer-events: none;
}

.hero-visual .logo-orb {
  position: absolute;
  right: -1.4rem;
  bottom: -2.6rem;
  width: min(24rem, 50%);
  z-index: 1;
  opacity: 0.98;
  filter: drop-shadow(0 26px 34px rgba(24, 66, 140, 0.16));
}

.orbital-panel {
  position: absolute;
  left: 2.2rem;
  top: 2.2rem;
  width: min(17.5rem, calc(100% - 5rem));
  z-index: 2;
  padding: 1.55rem;
  border-radius: 30px;
  background: rgba(15, 34, 57, 0.92);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px rgba(15, 34, 57, 0.28);
}

.orbital-panel p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0.5rem 0 0;
}

.orbital-panel strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.5;
}

.signal-card {
  position: absolute;
  max-width: 13rem;
  z-index: 2;
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 35px rgba(16, 33, 58, 0.1);
}

.signal-card strong,
.stat-card strong,
.mini-stat strong,
.card strong,
.timeline-step strong,
.contact-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--surface-ink);
}

.signal-card p,
.stat-card p,
.card p,
.timeline-step p,
.contact-card p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.signal-card.signal-top {
  right: 1.45rem;
  top: 3rem;
}

.signal-card.signal-middle {
  left: 1.5rem;
  bottom: 4rem;
}

.signal-card.signal-bottom {
  right: 1.5rem;
  bottom: 1.5rem;
}

.stats-grid,
.card-grid,
.value-grid,
.services-grid,
.timeline-grid,
.reg-grid,
.client-grid,
.contact-grid {
  display: grid;
  gap: 1.4rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three,
.services-grid,
.value-grid,
.contact-grid,
.client-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four,
.reg-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.card,
.timeline-step,
.contact-card {
  padding: 1.5rem;
}

.stat-card {
  border-radius: 26px;
}

.stat-card strong {
  font-size: 1.08rem;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

.card h3,
.timeline-step h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.4;
  color: var(--surface-ink);
}

.copy-block h2,
.glass-panel h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
}

.card h3 {
  margin-bottom: 0.65rem;
}

.meta {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(43, 182, 221, 0.12);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: start;
}

.glass-panel,
.form-panel,
.tableau {
  padding: 2rem;
}

.glass-panel.dark {
  background: linear-gradient(165deg, rgba(15, 34, 57, 0.95), rgba(19, 56, 118, 0.92));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 58px rgba(11, 27, 46, 0.25);
}

.glass-panel.dark h2,
.glass-panel.dark h3,
.glass-panel.dark strong {
  color: white;
}

.glass-panel.dark p,
.glass-panel.dark li,
.glass-panel.dark a {
  color: rgba(255, 255, 255, 0.78);
}

.check-list,
.bullet-list,
.footer-links {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.bullet-list li {
  position: relative;
  margin: 0 0 0.9rem;
  padding-left: 1.45rem;
}

.check-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  transform: translateY(-50%);
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step .step-no {
  display: inline-flex;
  width: 2.3rem;
  height: 2.3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(38, 75, 166, 0.08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.page-hero {
  margin-top: calc(2.4rem + var(--header-height));
  padding: 3.2rem;
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.75fr);
  align-items: end;
}

.hero-note {
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-note strong {
  display: block;
  margin-bottom: 0.45rem;
}

.service-splash,
.cta-band {
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  align-items: center;
  padding: 2.3rem;
}

.cta-band .button-row,
.service-splash .button-row {
  margin-top: 1.4rem;
}

.tableau {
  display: grid;
  gap: 1rem;
}

.tableau strong {
  font-size: 0.98rem;
}

.client-grid .card {
  min-height: 100%;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.contact-stack,
.footer-group {
  display: grid;
  gap: 1rem;
}

.contact-card a,
.footer-group a {
  color: var(--blue);
}

.form-panel form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(38, 75, 166, 0.35);
  box-shadow: 0 0 0 4px rgba(38, 75, 166, 0.08);
}

textarea {
  min-height: 10.5rem;
  resize: vertical;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-panel {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.65fr));
  padding: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: min(14rem, 100%);
  height: auto;
  object-fit: contain;
}

.footer-group strong {
  display: block;
  margin-bottom: 0.95rem;
  color: var(--surface-ink);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .service-splash,
  .cta-band,
  .contact-layout,
  .page-hero-grid,
  .footer-panel {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .reg-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid.three,
  .services-grid,
  .value-grid,
  .contact-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 32rem;
  }
}

@media (max-width: 860px) {
  .site-nav,
  .site-header .button {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero,
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: calc(3.6rem + var(--header-height));
  }

  .stats-grid,
  .reg-grid,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .services-grid,
  .value-grid,
  .timeline-grid,
  .contact-grid,
  .client-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .glass-panel,
  .form-panel,
  .tableau {
    padding: 1.6rem;
  }

  .orbital-panel {
    position: relative;
    left: 0;
    top: 0;
    margin: 1.5rem;
  }

  .hero-visual .logo-orb {
    width: min(26rem, 88%);
    right: -1rem;
    bottom: -3rem;
  }

  .signal-card.signal-top {
    top: auto;
    right: 1rem;
    bottom: 12rem;
  }

  .signal-card.signal-middle {
    left: 1rem;
    bottom: 5.5rem;
  }

  .signal-card.signal-bottom {
    right: 1rem;
    bottom: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .site-header {
    width: min(calc(100% - 1.2rem), var(--container));
    padding: 0.85rem 1rem;
  }

  .mobile-nav {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand-name span,
  .footer-brand span {
    max-width: 18rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .signal-card {
    position: relative;
    inset: auto;
    max-width: none;
    margin: 0 1rem 1rem;
  }

  .hero-visual .logo-orb {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(20rem, calc(100% - 2rem));
    margin: 0 auto 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:root {
  --container: 1320px;
  --corp-bg: #f8f9fa;
  --corp-surface: #ffffff;
  --corp-surface-soft: #f3f4f5;
  --corp-surface-muted: #edeeef;
  --corp-line: #cfd5de;
  --corp-line-strong: #c2c6d4;
  --corp-text: #191c1d;
  --corp-text-soft: #424752;
  --corp-blue: #003f87;
  --corp-blue-strong: #0056b3;
  --corp-blue-soft: #d7e2ff;
  --corp-charcoal: #2e3132;
  --corp-shadow: 0 12px 24px rgba(17, 31, 51, 0.08);
}

body[data-page="home"] {
  font-family: "Inter", "Sora", sans-serif;
  color: var(--corp-text);
  background: var(--corp-bg);
}

body[data-page="home"]::before {
  display: none;
}

body[data-page="home"] .page-shell {
  overflow: visible;
}

.shell {
  width: min(calc(100% - 4rem), var(--container));
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #dde3ea;
}

.site-header {
  width: min(calc(100% - 4rem), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.6rem;
  padding: 0.95rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
}

.brand-lockup {
  gap: 0;
}

.brand-lockup img {
  width: clamp(10.75rem, 16vw, 13.5rem);
  height: auto;
}

.brand-name strong,
.footer-brand strong {
  font-family: "Inter", "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--corp-text);
}

.brand-name span,
.footer-brand span {
  font-family: "Inter", "Sora", sans-serif;
  font-size: 0.74rem;
  line-height: 1.25;
  color: #627085;
}

.site-nav {
  justify-content: center;
  gap: 1.7rem;
}

.site-nav a {
  position: relative;
  padding: 0.3rem 0;
  border-radius: 0;
  background: transparent;
  font-family: "Inter", "Sora", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5d6573;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1rem;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--corp-blue);
  background: transparent;
}

.site-nav a.is-active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  background: var(--corp-blue-strong);
}

.button {
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.6rem;
  font-family: "Inter", "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button-primary {
  background: var(--corp-blue);
  color: white;
  box-shadow: none;
}

.button-secondary {
  border-color: var(--corp-line);
  background: white;
  color: var(--corp-blue);
}

.button-ghost {
  background: var(--corp-surface-soft);
  color: var(--corp-blue);
}

.button-light {
  background: white;
  color: var(--corp-blue);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  background: white;
  border-color: var(--corp-line);
  color: var(--corp-text);
}

.mobile-nav {
  width: min(calc(100% - 4rem), var(--container));
  margin: 0 auto 1rem;
  padding: 1rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mobile-nav a {
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  font-family: "Inter", "Sora", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--corp-text-soft);
}

.mobile-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--corp-blue-soft);
  color: var(--corp-blue);
}

.mobile-nav-cta {
  margin-top: 0.5rem;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--corp-charcoal);
  color: #eef0f3;
}

.footer-panel {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 0.9fr;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.footer-brand {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: min(13.5rem, 100%);
  height: auto;
  filter: none;
}

.footer-brand strong,
.footer-group strong {
  color: white;
}

.footer-note,
.footer-group a,
.footer-group p,
.footer-links li a {
  color: #bfc5cf;
}

.footer-group strong {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-contact-list {
  display: grid;
  gap: 0.9rem;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 2.55rem minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  margin: 0;
}

.footer-contact-row:is(a) {
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-contact-row:is(a):hover,
.footer-contact-row:is(a):focus-visible {
  transform: translateX(2px);
  color: #f3f8ff;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(133, 197, 255, 0.18);
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 22% 20%, rgba(109, 192, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: #eef5ff;
  box-shadow:
    0 10px 18px rgba(3, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-contact-icon svg {
  width: 1.08rem;
  height: 1.08rem;
}

.footer-contact-icon-whatsapp {
  background:
    radial-gradient(circle at 22% 20%, rgba(95, 255, 184, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(39, 202, 113, 0.14), rgba(255, 255, 255, 0.02));
  border-color: rgba(53, 196, 114, 0.22);
}

.footer-contact-icon-muted {
  background:
    radial-gradient(circle at 22% 20%, rgba(109, 192, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  color: #d8e6f8;
}

.footer-contact-text {
  display: block;
  min-width: 0;
  line-height: 1.55;
  color: inherit;
}

.footer-contact-note {
  color: #c7d5e6;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: calc(2.55rem + 0.8rem);
  margin-top: 0.1rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(133, 197, 255, 0.18);
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: #edf5ff;
  box-shadow:
    0 10px 20px rgba(3, 11, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(170, 214, 255, 0.34);
  box-shadow:
    0 14px 24px rgba(3, 11, 24, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.footer-social-link-instagram {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 182, 193, 0.2), transparent 34%),
    radial-gradient(circle at 82% 85%, rgba(255, 208, 117, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(193, 53, 132, 0.16), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 173, 207, 0.24);
}

.footer-social-link-facebook {
  background:
    radial-gradient(circle at 22% 18%, rgba(145, 193, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(59, 89, 152, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(24, 119, 242, 0.18), rgba(255, 255, 255, 0.03));
  border-color: rgba(134, 186, 255, 0.24);
}

.footer-social-link-linkedin {
  background:
    radial-gradient(circle at 22% 18%, rgba(109, 192, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(29, 101, 221, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(17, 119, 181, 0.18), rgba(255, 255, 255, 0.03));
  border-color: rgba(122, 191, 255, 0.24);
}

.footer-links {
  margin: 0;
  padding-left: 1.05rem;
  list-style: disc;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links li::marker {
  color: rgba(127, 202, 255, 0.92);
}

.footer-bottom {
  width: 100vw;
  margin: 2rem calc(50% - 50vw) 0;
  padding:
    1.15rem
    max(1.4rem, calc((100vw - var(--container)) / 2 + 1.4rem));
  border: 1px solid rgba(120, 190, 255, 0.14);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(92, 178, 255, 0.16), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(55, 208, 175, 0.14), transparent 28%),
    linear-gradient(135deg, #203245, #1a2736 52%, #123e59);
  color: #e3edf8;
  font-size: 0.83rem;
  box-shadow:
    0 16px 30px rgba(4, 12, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-bottom-credit a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.footer-bottom-credit a:hover,
.footer-bottom-credit a:focus-visible {
  color: #8fd2ff;
}

.premium-home {
  color: var(--corp-text);
}

.home-hero-band {
  background: var(--corp-surface-soft);
  padding: 4.5rem 0 4rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
  gap: 3rem;
  align-items: center;
}

.home-hero-copy h1,
.home-section-heading h2,
.client-feature h2,
.hmrc-cta h2,
.ecosystem-grid h2,
.pillar-card h3,
.client-card h3 {
  font-family: "Inter", "Sora", sans-serif;
  color: var(--corp-text);
}

.home-hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.7rem, 4.4vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--corp-blue);
}

.home-hero-copy p,
.pillar-card p,
.doc-sheet p,
.client-feature p,
.client-card p,
.hmrc-cta p,
.ecosystem-grid p,
.registration-panel span,
.registration-grid div,
.doc-sheet li,
.service-bullets li,
.inline-link {
  font-family: "Inter", "Sora", sans-serif;
  color: var(--corp-text-soft);
}

.home-hero-copy p {
  max-width: 32rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.85;
}

.section-pill,
.hmrc-alert {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--corp-blue-soft);
  color: var(--corp-blue);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.home-hero-media {
  position: relative;
}

.home-hero-image {
  overflow: hidden;
  border: 1px solid var(--corp-line-strong);
  border-radius: 1rem;
  background: white;
  box-shadow: var(--corp-shadow);
}

.home-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
}

.home-floating-badge {
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--corp-line-strong);
  border-radius: 0.75rem;
  background: white;
  box-shadow: var(--corp-shadow);
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--corp-blue);
  background: var(--corp-blue-soft);
  font-size: 0.9rem;
}

.home-floating-badge span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #687283;
}

.home-floating-badge strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  color: var(--corp-text);
}

.home-section {
  padding: 4.75rem 0;
}

.home-section-compact {
  padding-top: 1rem;
}

.home-section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.heading-rule {
  width: 5rem;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: var(--corp-blue-strong);
}

.home-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.4rem;
}

.pillar-card {
  grid-column: span 4;
  padding: 1.75rem;
  border: 1px solid var(--corp-line-strong);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pillar-card-wide {
  grid-column: span 8;
}

.pillar-card-feature {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 15.5rem);
  gap: 1.5rem;
  align-items: center;
  background: var(--corp-blue);
  color: white;
}

.pillar-card-full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.95fr);
  gap: 1.5rem;
}

.pillar-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 16rem);
  gap: 1.5rem;
  align-items: stretch;
}

.pillar-card h3 {
  margin: 0.95rem 0 0.7rem;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.pillar-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.75;
}

.pillar-card-feature h3,
.pillar-card-feature p,
.pillar-card-feature .doc-sheet {
  color: white;
}

.pillar-card-feature p {
  max-width: 33rem;
}

.service-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.65rem;
  background: var(--corp-blue-soft);
  color: var(--corp-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-mark-muted {
  background: #edf1f6;
  color: #536176;
}

.service-mark-soft {
  background: #ffe8e3;
  color: #ba1a1a;
}

.service-mark-charcoal {
  background: #e5e8ec;
  color: var(--corp-charcoal);
}

.service-bullets {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-bullets.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--corp-blue-strong);
  transform: translateY(-50%);
}

.doc-sheet,
.doc-preview,
.registration-panel {
  border: 1px solid var(--corp-line-strong);
  border-radius: 0.9rem;
  background: var(--corp-surface-soft);
}

.doc-sheet {
  padding: 1rem 1.05rem;
}

.doc-sheet-contrast {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.doc-sheet-label,
.panel-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d7683;
}

.doc-sheet-contrast .doc-sheet-label {
  color: rgba(255, 255, 255, 0.74);
}

.doc-sheet strong,
.doc-preview strong,
.registration-panel strong {
  display: block;
  font-size: 0.98rem;
  color: var(--corp-text);
}

.doc-sheet-contrast strong,
.doc-sheet-contrast li {
  color: white;
}

.doc-sheet ul {
  margin: 0.85rem 0 0;
  padding-left: 1rem;
}

.doc-sheet li {
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.6;
}

.doc-preview {
  margin-top: 1.3rem;
  padding: 1rem;
}

.doc-preview-inline {
  max-width: 33rem;
}

.doc-preview p {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--corp-blue);
}

.registration-panel {
  padding: 1.1rem;
}

.registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 0.35rem;
}

.registration-grid div {
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  background: white;
  font-size: 0.88rem;
}

.related-authority {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--corp-line);
}

.related-authority span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7480;
}

.related-authority strong {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  background: white;
  border: 1px solid var(--corp-line);
  font-size: 0.84rem;
  font-weight: 700;
}

.ecosystem-strip {
  padding: 3rem 0;
  background: var(--corp-surface-soft);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.ecosystem-grid h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.ecosystem-grid p {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  font-size: 0.96rem;
  line-height: 1.75;
}

.software-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.3rem;
  align-items: center;
  justify-content: flex-end;
}

.software-item {
  text-align: center;
}

.software-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--corp-line);
  border-radius: 0.75rem;
  background: white;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--corp-blue);
}

.software-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--corp-text);
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 1.4rem;
}

.client-feature {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--corp-blue);
  color: white;
}

.client-feature h2 {
  margin: 0;
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  color: white;
}

.client-feature p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.8;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.client-card {
  padding: 1.55rem;
  border: 1px solid var(--corp-line-strong);
  border-radius: 1rem;
  background: white;
}

.client-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.client-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
}

.hmrc-cta {
  position: relative;
  padding: 3.3rem 2rem;
  border: 1px solid var(--corp-line-strong);
  border-radius: 1.4rem;
  background: white;
  box-shadow: var(--corp-shadow);
  text-align: center;
}

.hmrc-cta h2 {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hmrc-cta p {
  max-width: 43rem;
  margin: 1rem auto 0;
  font-size: 0.98rem;
  line-height: 1.8;
}

.hmrc-cta .home-hero-actions {
  justify-content: center;
  margin-top: 1.9rem;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: 0.63rem;
  }

  .home-hero-grid,
  .ecosystem-grid,
  .client-layout,
  .pillar-card-grid,
  .pillar-card-feature,
  .pillar-card-full {
    grid-template-columns: 1fr;
  }

  .home-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-card,
  .pillar-card-wide,
  .pillar-card-feature,
  .pillar-card-full {
    grid-column: span 1;
  }

  .home-floating-badge {
    left: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(calc(100% - 2rem), var(--container));
  }

  .site-header {
    width: min(calc(100% - 2rem), var(--container));
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .site-nav,
  .site-header .header-cta {
    display: none;
  }

  .mobile-nav {
    width: min(calc(100% - 2rem), var(--container));
  }

  .home-hero-band {
    padding: 3rem 0;
  }

  .home-bento,
  .client-grid,
  .registration-grid,
  .service-bullets.two-col,
  .footer-panel {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand-name span {
    display: none;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .home-hero-image img {
    min-height: 18rem;
  }

  .home-floating-badge {
    position: static;
    margin-top: 1rem;
  }

  .footer-social-row {
    padding-left: 0;
  }

  .button,
  .button-light {
    width: 100%;
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    padding-top: 3rem;
  }
}

/* Homepage refresh and compact heading rule */

.section-heading h2,
.cta-band h2,
.service-splash h2,
.home-section-heading h2,
.client-feature h2,
.hmrc-cta h2 {
  font-size: clamp(1.7rem, 2.15vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-hero h1,
.hero-copy h1 {
  font-size: clamp(1.95rem, 3vw, 3rem);
  line-height: 1.08;
}

.copy-block h2,
.glass-panel h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.14;
}

.card h3,
.timeline-step h3,
.contact-card h3 {
  font-size: 1.02rem;
}

.site-header-wrap {
  box-shadow: 0 6px 22px rgba(24, 39, 67, 0.04);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.985);
}

.site-nav {
  gap: 1.25rem;
}

.site-nav a {
  font-size: 0.64rem;
}

.premium-home .button:hover,
.premium-home .button:focus-visible,
.premium-home .pillar-card:hover,
.premium-home .trust-card:hover,
.premium-home .process-card:hover,
.premium-home .advisory-card:hover,
.premium-home .compliance-layer:hover {
  transform: translateY(-4px);
}

.premium-home .pillar-card,
.premium-home .trust-card,
.premium-home .process-card,
.premium-home .advisory-card,
.premium-home .compliance-layer {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.home-hero-band {
  position: relative;
  overflow: hidden;
  padding: 3.8rem 0 4.4rem;
  background:
    radial-gradient(circle at 10% 14%, rgba(42, 162, 255, 0.3), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(21, 88, 214, 0.28), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(56, 204, 194, 0.2), transparent 22%),
    radial-gradient(circle at 28% 82%, rgba(255, 183, 83, 0.16), transparent 18%),
    linear-gradient(135deg, #fbfdff 0%, #eef5ff 42%, #e6f0fb 100%);
}

.home-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 63, 135, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 63, 135, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  background-size: 76px 76px, 76px 76px, auto;
  opacity: 0.7;
  mask-image: linear-gradient(180deg, black, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.home-hero-band::after {
  content: "";
  position: absolute;
  inset: -8% -6% -14%;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.82), transparent 20%),
    radial-gradient(circle at 76% 18%, rgba(97, 214, 255, 0.34), transparent 18%),
    radial-gradient(circle at 66% 62%, rgba(0, 110, 255, 0.18), transparent 18%),
    radial-gradient(circle at 26% 74%, rgba(255, 201, 122, 0.16), transparent 14%);
  filter: blur(8px);
  opacity: 0.95;
  pointer-events: none;
}

.home-hero-band .shell {
  position: relative;
  z-index: 1;
}

.home-hero-stage {
  position: relative;
  z-index: 1;
  padding: 2.3rem 2rem 2rem;
  perspective: 1600px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, rgba(54, 168, 255, 0.08), rgba(255, 183, 83, 0.06));
  box-shadow:
    0 30px 70px rgba(16, 39, 78, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.home-hero-stage::before,
.home-hero-stage::after {
  content: "";
  position: absolute;
  border-radius: 2rem;
  pointer-events: none;
}

.home-hero-stage::before {
  width: 24rem;
  height: 24rem;
  top: -8rem;
  left: -5rem;
  z-index: 0;
  background:
    linear-gradient(145deg, rgba(18, 96, 210, 0.22), rgba(104, 226, 255, 0.08));
  box-shadow: 0 26px 52px rgba(0, 63, 135, 0.12);
  transform: rotate(-16deg) translate3d(0, 0, 0);
  animation: heroPanelFloatLeft 13s ease-in-out infinite;
}

.home-hero-stage::after {
  width: 21rem;
  height: 21rem;
  right: -5rem;
  bottom: -7rem;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(0, 79, 179, 0.18), rgba(58, 195, 255, 0.12) 48%, rgba(255, 193, 109, 0.18));
  box-shadow: 0 28px 64px rgba(0, 63, 135, 0.14);
  transform: rotate(18deg) translate3d(0, 0, 0);
  animation: heroPanelFloatRight 15s ease-in-out infinite;
}

.home-hero-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 1.8rem;
  padding: 1rem 1.1rem 1rem 0.9rem;
}

.home-hero-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.55rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px rgba(17, 31, 51, 0.08);
}

.home-hero-heading h1 {
  margin: 0.85rem 0 0;
  font-family: "Inter", "Sora", sans-serif;
  font-size: clamp(2.05rem, 2.35vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #0c4c97;
  -webkit-text-fill-color: #0c4c97;
  text-shadow: none;
  filter: none;
  opacity: 1;
  white-space: nowrap;
}

.home-hero-heading h1 span {
  display: block;
  opacity: 1;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.88fr) minmax(25rem, 1.12fr);
  gap: 2.2rem;
  align-items: start;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
}

.home-hero-copy p {
  max-width: 37rem;
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.82;
}

.home-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.home-hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #ccd4e1;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #536176;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.hero-stat-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 16px 28px rgba(20, 34, 58, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.hero-stat-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--corp-text);
}

.hero-stat-card span {
  display: block;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--corp-text-soft);
}

.home-hero-media {
  position: relative;
  min-height: 33rem;
  padding: 1rem 0 0.75rem;
  perspective: 1600px;
  isolation: isolate;
}

.home-hero-media::before {
  content: "";
  position: absolute;
  inset: 0.8rem 0.5rem 0.45rem 1.2rem;
  z-index: 0;
  border-radius: 1.75rem;
  background:
    linear-gradient(155deg, rgba(12, 69, 145, 0.12), rgba(72, 214, 203, 0.06)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(232, 242, 252, 0.38));
  border: 1px solid rgba(191, 225, 255, 0.62);
  box-shadow:
    0 24px 58px rgba(18, 38, 67, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.hero-depth-aura {
  position: absolute;
  inset: 2.3rem 1.5rem 1rem 3rem;
  z-index: 1;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(95, 228, 255, 0.32), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(0, 88, 226, 0.22), transparent 28%),
    radial-gradient(circle at 68% 82%, rgba(255, 196, 112, 0.18), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(222, 234, 249, 0.94));
  box-shadow: 0 26px 56px rgba(18, 38, 67, 0.14);
  transform: rotate(-3deg) translateZ(0);
  animation: heroAuraFloat 11s ease-in-out infinite;
}

.home-hero-image {
  position: absolute;
  right: 0;
  top: 1rem;
  width: min(100%, 39rem);
  z-index: 2;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  transform: rotateY(-7deg) rotateX(2deg) translateZ(16px);
  box-shadow:
    0 30px 72px rgba(18, 38, 67, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.24);
}

.home-hero-image img {
  min-height: 31rem;
}

.hero-depth-card {
  position: absolute;
  z-index: 3;
  max-width: 16rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 255, 0.88));
  box-shadow:
    0 20px 42px rgba(17, 31, 51, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.hero-depth-card span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #667181;
}

.hero-depth-card strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--corp-text);
}

.hero-depth-card-top {
  right: 1rem;
  top: 4rem;
  transform: rotateZ(-3deg) translateZ(52px);
  animation: heroCardFloatTop 9s ease-in-out infinite;
}

.hero-depth-card-bottom {
  left: 1.8rem;
  bottom: 3.7rem;
  transform: rotateZ(2deg) translateZ(42px);
  animation: heroCardFloatBottom 10s ease-in-out infinite;
}

.home-floating-badge {
  left: 2rem;
  bottom: 1rem;
  z-index: 4;
  transform: translateZ(70px);
}

@keyframes heroPanelFloatLeft {
  0%,
  100% {
    transform: rotate(-16deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-13deg) translate3d(0, 14px, 0);
  }
}

@keyframes heroPanelFloatRight {
  0%,
  100% {
    transform: rotate(18deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(22deg) translate3d(0, -12px, 0);
  }
}

@keyframes heroAuraFloat {
  0%,
  100% {
    transform: rotate(-3deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-1deg) translate3d(0, -10px, 0);
  }
}

@keyframes heroCardFloatTop {
  0%,
  100% {
    transform: rotateZ(-3deg) translate3d(0, 0, 52px);
  }

  50% {
    transform: rotateZ(-1deg) translate3d(0, -8px, 52px);
  }
}

@keyframes heroCardFloatBottom {
  0%,
  100% {
    transform: rotateZ(2deg) translate3d(0, 0, 42px);
  }

  50% {
    transform: rotateZ(4deg) translate3d(0, -10px, 42px);
  }
}

.home-section-compact {
  padding-top: 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.trust-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card {
  position: relative;
  padding: 1.4rem 1.3rem 1.45rem;
  border: 1px solid #d3dae5;
  border-radius: 1rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(242, 245, 250, 0.98));
  box-shadow: 0 12px 26px rgba(18, 38, 67, 0.05);
}

.trust-card-label {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: #e5eefc;
  color: var(--corp-blue);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-card h2,
.advisory-card-feature h2,
.compliance-copy h2 {
  margin: 0.9rem 0 0.7rem;
  font-family: "Inter", "Sora", sans-serif;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--corp-text);
}

.trust-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--corp-text-soft);
}

.trust-card-accent {
  background:
    radial-gradient(circle at top right, rgba(51, 150, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #0c4a97, #003f87);
  box-shadow: 0 22px 44px rgba(9, 44, 96, 0.22);
}

.trust-card-accent .trust-card-label {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.trust-card-accent h2,
.trust-card-accent p {
  color: white;
}

.pillar-card {
  transform-style: preserve-3d;
}

.pillar-card:hover {
  box-shadow: 0 18px 38px rgba(17, 31, 51, 0.1);
  border-color: #bac6d8;
}

.home-section-soft {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.8), rgba(240, 243, 248, 0.92));
}

.compliance-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(22rem, 1.04fr);
  gap: 2rem;
  align-items: center;
}

.compliance-copy p {
  max-width: 37rem;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--corp-text-soft);
}

.section-pill-neutral {
  background: #e9edf4;
  color: #4e5d72;
}

.compliance-layers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  align-content: start;
  gap: 1rem;
  padding: 0.25rem 0 0.75rem;
  min-height: auto;
  perspective: 1600px;
}

.compliance-layer {
  position: relative;
  width: 100%;
  max-width: 23.5rem;
  padding: 1.3rem 1.3rem;
  margin: 0;
  border-radius: 1rem;
  box-shadow: 0 18px 34px rgba(18, 38, 67, 0.1);
}

.compliance-layer span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compliance-layer strong {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
}

.compliance-layer-primary {
  grid-column: 1 / span 8;
  justify-self: start;
  z-index: 3;
  background: linear-gradient(150deg, #0f4f9d, #003f87);
  color: white;
  transform: rotate(-3deg) translateZ(26px);
}

.compliance-layer-secondary {
  grid-column: 2 / span 8;
  justify-self: start;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7dfeb;
  color: var(--corp-text);
  transform: rotate(2deg) translateZ(14px);
}

.compliance-layer-tertiary {
  grid-column: 4 / span 8;
  justify-self: start;
  z-index: 1;
  background: #eef3fa;
  border: 1px solid #d7dfeb;
  color: #344357;
  transform: rotate(-1.2deg) translateZ(6px);
}

.process-stage {
  padding: 0.5rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.process-card {
  padding: 1.35rem 1.2rem;
  border: 1px solid #d3dae5;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 12px 26px rgba(18, 38, 67, 0.04);
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.75rem;
  background: #edf2fb;
  color: var(--corp-blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.process-card h3 {
  margin: 1rem 0 0.6rem;
  font-family: "Inter", "Sora", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--corp-text);
}

.process-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--corp-text-soft);
}

.advisory-rack {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.advisory-card {
  padding: 1.5rem 1.3rem;
  border: 1px solid #d3dae5;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 12px 24px rgba(18, 38, 67, 0.04);
}

.advisory-card-feature {
  background:
    radial-gradient(circle at top right, rgba(58, 177, 255, 0.18), transparent 30%),
    linear-gradient(155deg, #f7faff, #eef4fb);
}

.advisory-card h3 {
  margin: 0 0 0.55rem;
  font-family: "Inter", "Sora", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--corp-text);
}

.advisory-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--corp-text-soft);
}

@media (max-width: 1240px) {
  .home-hero-stage {
    padding: 2rem 1.6rem 1.8rem;
  }

  .site-nav {
    gap: 0.95rem;
  }

  .site-nav a {
    font-size: 0.6rem;
  }

  .home-hero-heading h1 {
    white-space: normal;
  }

  .home-hero-grid,
  .compliance-stage,
  .advisory-rack {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliance-layers {
    min-height: 21rem;
  }
}

@media (max-width: 960px) {
  .home-hero-stage {
    padding: 1.7rem 1.25rem 1.5rem;
  }

  .home-hero-stage::before,
  .home-hero-stage::after {
    opacity: 0.72;
  }

  .home-hero-media {
    min-height: auto;
  }

  .home-hero-image,
  .hero-depth-card,
  .hero-depth-aura {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .home-hero-image {
    top: auto;
    right: auto;
  }

  .hero-depth-aura {
    display: none;
  }

  .hero-depth-card {
    margin-top: 1rem;
  }

  .home-floating-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 1rem;
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-nav a::after {
    display: none;
  }

  .hero-stat-row,
  .trust-grid,
  .process-grid,
  .advisory-rack {
    grid-template-columns: 1fr;
  }

  .home-hero-band {
    padding: 2.75rem 0 3.5rem;
  }

  .home-hero-stage {
    padding: 1.4rem 1rem 1.25rem;
    border-radius: 1.45rem;
  }

  .home-hero-heading {
    margin-bottom: 1.2rem;
  }

  .home-hero-heading h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    white-space: normal;
  }

  .home-hero-heading h1 span {
    display: inline;
  }

  .home-hero-stage::before,
  .home-hero-stage::after {
    display: none;
  }

  .trust-card h2,
  .advisory-card-feature h2,
  .compliance-copy h2 {
    font-size: 1.35rem;
  }

  .compliance-layers {
    min-height: auto;
  }

  .compliance-layer {
    position: relative;
    width: 100%;
    inset: auto;
    margin-bottom: 1rem;
    transform: none;
  }
}

/* Final homepage polish */

html {
  scroll-padding-top: 7rem;
}

[data-site-header] {
  position: sticky;
  top: 0;
  z-index: 70;
  display: block;
  background: rgba(255, 255, 255, 0.965);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #dde3ea;
  box-shadow: 0 10px 24px rgba(19, 34, 60, 0.05);
}

.site-header-wrap {
  position: relative;
  top: auto;
  z-index: auto;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.site-header {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
}

.home-hero-heading h1 {
  max-width: none;
}

.home-hero-media {
  transform-style: preserve-3d;
}

.hero-depth-aura {
  filter: saturate(1.05);
}

.trust-card,
.process-card,
.advisory-card,
.pillar-card,
.compliance-layer {
  will-change: transform;
}

@supports not (backdrop-filter: blur(14px)) {
  [data-site-header] {
    background: rgba(255, 255, 255, 0.995);
  }
}

@media (max-width: 960px) {
  [data-site-header] {
    box-shadow: 0 8px 20px rgba(19, 34, 60, 0.06);
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    padding: 0.7rem 0;
  }

  .brand-lockup {
    min-width: 0;
    max-width: 9.9rem;
  }

  .brand-lockup img {
    width: min(100%, 9.9rem);
  }

  .nav-toggle {
    width: 3.35rem;
    height: 3.35rem;
  }
}

@media (max-width: 640px) {
  [data-site-header] {
    border-bottom-color: #e6ebf2;
  }

  .site-header {
    width: min(calc(100% - 1rem), var(--container));
    gap: 0.7rem;
    padding: 0.6rem 0;
  }

  .brand-lockup {
    max-width: 8.95rem;
  }

  .brand-lockup img {
    width: min(100%, 8.95rem);
  }

  .nav-toggle {
    width: 3rem;
    height: 3rem;
  }

  .nav-toggle svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .mobile-nav {
    width: min(calc(100% - 1rem), var(--container));
  }
}

/* Homepage spacing cleanup */

.premium-home .home-hero-band {
  padding: 2.9rem 0 1.9rem;
}

.premium-home .home-hero-band .shell {
  width: 100%;
}

.premium-home .home-hero-stage {
  padding:
    1.8rem
    max(1.35rem, calc((100vw - var(--container)) / 2 + 0.35rem))
    1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 14% 18%, rgba(108, 191, 255, 0.18), transparent 18%),
    radial-gradient(circle at 84% 22%, rgba(87, 235, 202, 0.12), transparent 20%),
    radial-gradient(circle at 40% 84%, rgba(255, 204, 129, 0.12), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 22px 48px rgba(16, 39, 78, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.premium-home .home-hero-stage::before,
.premium-home .home-hero-stage::after {
  display: none;
}

.premium-home .home-hero-heading {
  padding: 0;
  margin-bottom: 1.35rem;
}

.premium-home .home-hero-band + .home-section {
  margin-top: -0.8rem;
}

.premium-home .home-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 1.1fr);
  gap: 1.95rem;
  align-items: start;
}

.premium-home .home-hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.premium-home .home-hero-actions {
  margin-top: 1.6rem;
}

.premium-home .hero-stat-row {
  margin-top: 1.1rem;
  padding-top: 0;
}

.premium-home .home-hero-media {
  min-height: 30.6rem;
  margin-top: 0.15rem;
  padding-top: 0.45rem;
}

.premium-home .home-hero-media::before {
  inset: 0.95rem 0.55rem 0.5rem 1.15rem;
  border-radius: 1.9rem;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.44), transparent 18%),
    radial-gradient(circle at 82% 20%, rgba(111, 215, 255, 0.16), transparent 24%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(225, 239, 250, 0.42));
}

.premium-home .hero-depth-aura {
  inset: 1.9rem 1rem 0.8rem 2.35rem;
  border-radius: 1.6rem;
}

.premium-home .home-hero-image {
  top: 1.15rem;
  right: 0.4rem;
  width: min(100%, 36rem);
}

.premium-home .hero-depth-card-top {
  right: 0.55rem;
  top: 2.6rem;
}

.premium-home .hero-depth-card-bottom {
  left: 0.85rem;
  bottom: 4.15rem;
}

.premium-home .home-floating-badge {
  left: 1rem;
  bottom: 1.35rem;
}

.premium-home .home-section {
  padding: 3.15rem 0;
}

.premium-home .home-section-compact {
  padding-top: 0.35rem;
  padding-bottom: 2.45rem;
}

.premium-home .home-section-soft {
  padding-top: 2.75rem;
  padding-bottom: 2.9rem;
}

.premium-home .home-section-heading {
  margin-bottom: 1.35rem;
}

.premium-home .ecosystem-strip {
  padding: 2.15rem 0;
}

.premium-home .client-layout,
.premium-home .process-grid,
.premium-home .advisory-rack,
.premium-home .trust-grid,
.premium-home .home-bento {
  gap: 1rem;
}

.premium-home .hmrc-cta {
  padding: 2.5rem 1.6rem;
}

@media (max-width: 860px) {
  .premium-home .home-hero-band {
    padding: 1.8rem 0 1rem;
  }

  .premium-home .home-hero-stage {
    padding: 1.05rem 0.95rem 1rem;
    border-radius: 1.3rem;
  }

  .premium-home .home-hero-band + .home-section {
    margin-top: -0.35rem;
  }

  .premium-home .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .premium-home .home-hero-copy {
    min-height: auto;
  }

  .premium-home .hero-stat-row {
    margin-top: 1rem;
    padding-top: 0;
  }

  .premium-home .home-hero-media {
    min-height: auto;
    margin-top: 0.2rem;
    padding-top: 0.15rem;
  }

  .premium-home .home-section {
    padding: 2.1rem 0;
  }

  .premium-home .home-section-compact {
    padding-top: 0.2rem;
    padding-bottom: 1.7rem;
  }

  .premium-home .home-section-soft,
  .premium-home .ecosystem-strip {
    padding: 1.8rem 0;
  }

  .premium-home .home-section-heading {
    margin-bottom: 1rem;
  }

  .premium-home .hmrc-cta {
    padding: 2rem 1.1rem;
  }
}

/* Site architecture refresh */

:root {
  --corp-emerald: #14856d;
  --corp-emerald-deep: #0f6d59;
  --corp-emerald-soft: rgba(20, 133, 109, 0.12);
}

.site-header {
  gap: 1rem;
}

.site-nav {
  gap: 0.95rem;
}

.site-nav a {
  font-size: 0.59rem;
  letter-spacing: 0.12em;
}

.header-cta {
  padding-inline: 1.1rem;
  font-size: 0.71rem;
}

.firm-page {
  color: var(--corp-text);
}

.firm-page .section:first-child {
  padding-top: 0.85rem;
}

.firm-page .section {
  padding: 4rem 0;
}

.firm-page .page-hero h1,
.firm-page .section-heading h2,
.firm-page .copy-block h2,
.firm-page .glass-panel h2,
.firm-page .cta-band h2,
.firm-page .service-splash h2,
.firm-page .card h3,
.firm-page .timeline-step h3,
.firm-page .contact-card h3 {
  font-family: "Inter", "Sora", sans-serif;
}

.firm-page .page-hero {
  margin-top: calc(0.95rem + var(--header-height));
  padding: 2.6rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94)),
    linear-gradient(160deg, rgba(20, 133, 109, 0.03), rgba(0, 63, 135, 0.05));
  box-shadow: 0 24px 58px rgba(15, 34, 57, 0.08);
}

.firm-page .page-hero::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 133, 109, 0.08), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(0, 63, 135, 0.1), transparent 28%);
}

.firm-page .page-hero-grid {
  align-items: center;
}

.firm-page .page-hero h1 {
  max-width: none;
  font-size: clamp(2.35rem, 3.7vw, 4.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--corp-blue);
}

.firm-page .page-hero p,
.firm-page .section-heading p,
.firm-page .copy-block p,
.firm-page .card p,
.firm-page .glass-panel p,
.firm-page .timeline-step p,
.firm-page .contact-card p,
.firm-page .bullet-list li,
.firm-page .check-list li {
  color: var(--corp-text-soft);
}

.firm-page .lead {
  max-width: 44rem;
}

.firm-page .eyebrow {
  color: var(--corp-blue);
}

.firm-page .eyebrow::before {
  background: linear-gradient(90deg, var(--corp-emerald), var(--corp-blue));
}

.firm-page .meta {
  background: linear-gradient(135deg, rgba(0, 63, 135, 0.08), var(--corp-emerald-soft));
  color: var(--corp-blue);
}

.firm-page .card,
.firm-page .glass-panel,
.firm-page .form-panel,
.firm-page .timeline-step,
.firm-page .stat-card,
.firm-page .contact-card,
.firm-page .service-splash,
.firm-page .cta-band,
.firm-page .page-hero,
.firm-page .featured-resource,
.firm-page .featured-resource-card,
.firm-page .hero-media-card,
.firm-page .service-card-pro {
  border-color: rgba(0, 63, 135, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(15, 34, 57, 0.07);
}

.firm-page .button-primary {
  background: linear-gradient(135deg, var(--corp-blue), var(--corp-emerald));
  box-shadow: 0 18px 34px rgba(0, 63, 135, 0.18);
}

.firm-page .button-secondary {
  border-color: rgba(0, 63, 135, 0.14);
  background: white;
  color: var(--corp-blue);
}

.firm-page .button-ghost {
  background: rgba(0, 63, 135, 0.08);
}

.firm-hero-grid {
  align-items: center;
}

.hero-media-card {
  position: relative;
  padding: 0.95rem;
  overflow: hidden;
}

.hero-media-card img {
  width: 100%;
  min-height: 23rem;
  object-fit: cover;
  border-radius: 1.4rem;
}

.hero-media-card figcaption {
  position: absolute;
  left: 1.8rem;
  right: 1.8rem;
  bottom: 1.8rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(16, 45, 92, 0.88);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.6;
  box-shadow: 0 16px 30px rgba(11, 27, 46, 0.2);
}

.service-summary-card {
  padding: 1.5rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 247, 0.94)),
    linear-gradient(135deg, rgba(20, 133, 109, 0.05), rgba(0, 63, 135, 0.03));
}

.service-summary-card strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--corp-blue);
}

.firm-stats .stat-card {
  padding: 1.6rem;
}

.firm-stats .stat-card strong {
  font-size: clamp(1.85rem, 2.4vw, 2.5rem);
  line-height: 1;
  color: var(--corp-blue);
}

.firm-stats .stat-card p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--corp-text-soft);
}

.firm-overview-grid {
  align-items: center;
}

.overview-visual {
  position: relative;
  min-height: 30rem;
}

.overview-image-frame {
  position: absolute;
  inset: 0 2.5rem 0 1rem;
  padding: 0.95rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 63, 135, 0.08);
  box-shadow: 0 24px 48px rgba(15, 34, 57, 0.1);
}

.overview-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.4rem;
}

.floating-detail {
  position: absolute;
  max-width: 16rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(15, 34, 57, 0.12);
}

.floating-detail span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--corp-emerald-deep);
}

.floating-detail strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--corp-text);
}

.floating-detail-top {
  left: 0;
  top: 1.4rem;
}

.floating-detail-bottom {
  right: 0;
  bottom: 1rem;
}

.feature-card,
.value-card,
.category-card,
.resource-card,
.software-panel,
.service-card-pro {
  min-height: 100%;
}

.feature-icon,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0, 63, 135, 0.08), var(--corp-emerald-soft));
  color: var(--corp-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-stack {
  display: grid;
  gap: 2.5rem;
}

.service-group {
  display: grid;
  gap: 1.4rem;
}

.service-card-pro {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem;
  border-radius: 1.5rem;
}

.service-card-pro h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.35;
  color: var(--corp-text);
}

.service-card-pro p {
  margin: 0;
}

.service-card-pro .bullet-list {
  margin: 0.1rem 0 0;
  flex: 1;
}

.service-card-pro .button {
  width: 100%;
  margin-top: auto;
}

.software-benefits .card,
.faq-grid .card {
  min-height: 100%;
}

.featured-resource {
  margin-top: calc(0.95rem + var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: 1.4rem;
  align-items: stretch;
  padding: 2.35rem;
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)),
    linear-gradient(150deg, rgba(20, 133, 109, 0.04), rgba(0, 63, 135, 0.05));
}

.featured-resource-copy h1,
.featured-resource-card h2 {
  margin: 0;
  font-family: "Inter", "Sora", sans-serif;
  color: var(--corp-blue);
  letter-spacing: -0.04em;
}

.featured-resource-copy h1 {
  font-size: clamp(2.25rem, 3.5vw, 3.8rem);
  line-height: 1.03;
}

.featured-resource-card {
  padding: 1.6rem;
  border-radius: 1.55rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 246, 0.95));
}

.featured-resource-card h2 {
  margin-top: 0.3rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.15;
}

.featured-resource-card p {
  margin: 0.9rem 0 0;
  color: var(--corp-text-soft);
  line-height: 1.75;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  gap: 1.4rem;
  align-items: start;
}

.blog-grid .card {
  min-height: 100%;
}

.resource-image {
  height: 10rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 18% 22%, rgba(20, 133, 109, 0.16), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(0, 63, 135, 0.14), transparent 24%),
    linear-gradient(145deg, #f3f7fd, #edf4fa);
  border: 1px solid rgba(0, 63, 135, 0.08);
}

.resource-sidebar {
  display: grid;
  gap: 1rem;
}

.sidebar-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.sidebar-links a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background: white;
  color: var(--corp-text);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.sidebar-links a:hover,
.sidebar-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(20, 133, 109, 0.3);
}

.newsletter-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-info-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--corp-blue);
}

.map-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  gap: 1.4rem;
  align-items: center;
}

.map-canvas {
  min-height: 18rem;
  padding: 1.6rem;
  border-radius: 1.5rem;
  border: 1px dashed rgba(0, 63, 135, 0.24);
  background:
    radial-gradient(circle at 20% 18%, rgba(20, 133, 109, 0.12), transparent 22%),
    linear-gradient(145deg, rgba(244, 248, 255, 0.95), rgba(235, 245, 242, 0.92));
  display: grid;
  place-items: center;
  text-align: center;
}

.map-canvas span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--corp-emerald-deep);
}

.map-canvas strong {
  display: block;
  max-width: 18rem;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--corp-text);
}

.firm-cta {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 255, 0.95)),
    linear-gradient(135deg, rgba(20, 133, 109, 0.04), rgba(0, 63, 135, 0.04));
}

.firm-cta::before {
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 133, 109, 0.09), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(0, 63, 135, 0.08), transparent 28%);
}

.client-tag {
  border-color: rgba(0, 63, 135, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--corp-text);
}

@media (max-width: 1380px) {
  .site-nav {
    gap: 0.8rem;
  }

  .site-nav a {
    font-size: 0.55rem;
  }

  .brand-lockup img {
    width: clamp(10rem, 13vw, 12.5rem);
  }
}

@media (max-width: 1240px) {
  .site-header .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .resource-layout,
  .featured-resource,
  .firm-overview-grid,
  .map-placeholder,
  .firm-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .firm-page .section:first-child {
    padding-top: 0.3rem;
  }

  .firm-page .section {
    padding: 2.7rem 0;
  }

  .firm-page .page-hero {
    margin-top: calc(0.35rem + var(--header-height));
    padding: 1.45rem;
    border-radius: 1.45rem;
  }

  .firm-page .page-hero h1,
  .featured-resource-copy h1 {
    font-size: clamp(1.95rem, 8vw, 2.8rem);
  }

  .featured-resource {
    margin-top: calc(0.35rem + var(--header-height));
    padding: 1.35rem;
    border-radius: 1.45rem;
  }

  .hero-media-card img {
    min-height: 17rem;
  }

  .hero-media-card figcaption {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .overview-visual {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .overview-image-frame,
  .floating-detail {
    position: relative;
    inset: auto;
    max-width: none;
  }

  .overview-image-frame {
    min-height: 19rem;
  }

  .map-placeholder {
    grid-template-columns: 1fr;
  }
}

/* Navigation architecture refinement */

.firm-page [id],
.premium-home [id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.site-nav {
  position: relative;
  align-items: center;
  gap: 0.58rem;
}

.site-nav > a,
.site-nav > .nav-item > .site-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.82rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--corp-text);
  box-shadow: none;
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.site-nav > a::before,
.site-nav > .nav-item > .site-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.86)),
    linear-gradient(135deg, rgba(20, 133, 109, 0.08), rgba(0, 63, 135, 0.1));
  opacity: 0;
  transform: translateY(4px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: -1;
}

.site-nav > a::after,
.site-nav > .nav-item > .site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--corp-blue), var(--corp-emerald));
  transform: scaleX(0);
  transform-origin: center;
  box-shadow: 0 0 16px rgba(20, 133, 109, 0.28);
  transition: transform 0.22s ease;
}

.site-nav > a.is-active,
.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-item.is-active > .site-nav-link,
.nav-item:hover > .site-nav-link,
.nav-item:focus-within > .site-nav-link {
  color: var(--corp-blue);
  border-color: rgba(0, 63, 135, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.56));
  box-shadow:
    0 12px 22px rgba(15, 34, 57, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.site-nav > a.is-active::before,
.site-nav > a:hover::before,
.site-nav > a:focus-visible::before,
.nav-item.is-active > .site-nav-link::before,
.nav-item:hover > .site-nav-link::before,
.nav-item:focus-within > .site-nav-link::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-nav > a.is-active::after,
.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.nav-item.is-active > .site-nav-link::after,
.nav-item:hover > .site-nav-link::after,
.nav-item:focus-within > .site-nav-link::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item-has-menu {
  padding-bottom: 0.75rem;
  margin-bottom: -0.75rem;
}

.nav-caret {
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-0.05rem);
  opacity: 0.62;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-item-has-menu:hover .nav-caret,
.nav-item-has-menu:focus-within .nav-caret {
  transform: rotate(225deg) translateY(-0.05rem);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.15rem);
  left: 50%;
  width: min(34rem, calc(100vw - 2rem));
  transform: translate(-50%, 0.85rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 30;
}

.nav-dropdown-wide {
  width: min(47rem, calc(100vw - 2rem));
}

.nav-dropdown-panel {
  padding: 1.1rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(0, 63, 135, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(247, 251, 250, 0.995)),
    linear-gradient(135deg, rgba(20, 133, 109, 0.03), rgba(0, 63, 135, 0.03));
  box-shadow: 0 28px 54px rgba(15, 34, 57, 0.14);
  backdrop-filter: blur(16px);
}

.nav-item-has-menu:hover .nav-dropdown-panel,
.nav-item-has-menu:focus-within .nav-dropdown-panel {
  box-shadow:
    0 30px 62px rgba(15, 34, 57, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.nav-dropdown-header {
  padding: 0.2rem 0.35rem 0.85rem;
}

.nav-dropdown-header strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--corp-blue);
}

.nav-dropdown-header p {
  margin: 0.35rem 0 0;
  font-size: 0.77rem;
  line-height: 1.65;
  color: var(--corp-text-soft);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.nav-dropdown-grid.is-services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-sublink {
  display: block;
  min-height: 100%;
  padding: 0.88rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background: rgba(255, 255, 255, 0.985);
  color: var(--corp-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-dropdown .nav-sublink::after {
  content: none;
}

.nav-sublink span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--corp-text);
}

.nav-sublink small {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.71rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: var(--corp-text-soft);
}

.nav-sublink:hover,
.nav-sublink:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(20, 133, 109, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 246, 0.95));
  box-shadow: 0 18px 28px rgba(15, 34, 57, 0.09);
}

.nav-sublink-overview {
  background: linear-gradient(145deg, rgba(0, 63, 135, 0.08), rgba(20, 133, 109, 0.08));
}

.nav-item-has-menu:hover .nav-dropdown,
.nav-item-has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mobile-nav {
  gap: 0.6rem;
  padding: 0.9rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 255, 0.97)),
    linear-gradient(135deg, rgba(20, 133, 109, 0.05), rgba(0, 63, 135, 0.05));
  box-shadow:
    0 22px 42px rgba(15, 34, 57, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.98rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
  color: var(--corp-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 18px rgba(15, 34, 57, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.mobile-nav > a.is-active,
.mobile-nav > a:hover,
.mobile-nav > a:focus-visible {
  background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(234, 245, 255, 0.98));
  color: var(--corp-blue);
  border-color: rgba(20, 133, 109, 0.18);
  box-shadow:
    0 14px 24px rgba(15, 34, 57, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.mobile-nav > a.mobile-nav-cta {
  justify-content: center;
  margin-top: 0.2rem;
  border-color: rgba(0, 63, 135, 0.8);
  background: linear-gradient(135deg, #0d57b4, #003f87);
  color: #ffffff;
  box-shadow:
    0 16px 28px rgba(0, 63, 135, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.mobile-nav > a.mobile-nav-cta:hover,
.mobile-nav > a.mobile-nav-cta:focus-visible {
  border-color: rgba(0, 63, 135, 0.88);
  background: linear-gradient(135deg, #1262c5, #004999);
  color: #ffffff;
  box-shadow:
    0 18px 32px rgba(0, 63, 135, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.mobile-nav-group {
  border: 1px solid rgba(0, 63, 135, 0.08);
  border-radius: 1.08rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(15, 34, 57, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-group.is-active,
.mobile-nav-group[open] {
  border-color: rgba(20, 133, 109, 0.18);
  box-shadow:
    0 16px 26px rgba(15, 34, 57, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.mobile-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--corp-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-group summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-group[open] summary {
  color: var(--corp-blue);
  background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(234, 245, 255, 0.98));
}

.mobile-nav-caret {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  opacity: 0.72;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-nav-group[open] .mobile-nav-caret {
  transform: rotate(225deg);
  opacity: 1;
}

.mobile-nav-group-links {
  display: grid;
  gap: 0.42rem;
  padding: 0 0.7rem 0.78rem;
}

.mobile-nav-group-links a {
  display: block;
  padding: 0.82rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 63, 135, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: var(--corp-text-soft);
  font-size: 0.8rem;
  line-height: 1.45;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.mobile-nav-group-links a:hover,
.mobile-nav-group-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(20, 133, 109, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 246, 0.95));
  color: var(--corp-blue);
  box-shadow: 0 10px 18px rgba(15, 34, 57, 0.06);
}

.mobile-parent-link {
  font-weight: 700;
  color: var(--corp-blue);
  background: linear-gradient(145deg, rgba(0, 63, 135, 0.08), rgba(20, 133, 109, 0.1));
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: normal;
    column-gap: 0.85rem;
  }

  .brand-lockup {
    grid-column: 1;
    min-width: 0;
    max-width: 9.4rem;
  }

  .brand-lockup img {
    width: min(100%, 9.4rem);
  }

  .nav-toggle {
    grid-column: 2;
    justify-self: end;
    align-self: center;
    width: 3.1rem;
    height: 3.1rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(calc(100% - 1rem), var(--container));
    gap: 0.65rem;
    padding: 0.6rem 0;
  }

  .brand-lockup {
    max-width: 8.95rem;
  }

  .brand-lockup img {
    width: min(100%, 8.95rem);
  }

  .nav-toggle {
    width: 2.95rem;
    height: 2.95rem;
  }
}

@media (max-width: 1380px) {
  .site-nav > a,
  .site-nav > .nav-item > .site-nav-link {
    font-size: 0.57rem;
    letter-spacing: 0.12em;
  }

  .nav-dropdown-grid.is-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  .nav-dropdown-wide {
    width: min(38rem, calc(100vw - 2rem));
  }
}

@media (max-width: 860px) {
  .firm-page [id],
  .premium-home [id] {
    scroll-margin-top: calc(var(--header-height) + 1rem);
  }
}

/* Global card depth upgrade */

:root {
  --card-lift-blue: rgba(91, 178, 255, 0.34);
  --card-lift-cyan: rgba(69, 211, 255, 0.28);
  --card-lift-emerald: rgba(20, 133, 109, 0.26);
  --card-lift-gold: rgba(255, 198, 92, 0.24);
  --card-lift-peach: rgba(255, 160, 132, 0.22);
  --card-lift-violet: rgba(123, 126, 255, 0.22);
}

:is(
  .card,
  .glass-panel,
  .stat-card,
  .contact-card,
  .service-card-pro,
  .service-summary-card,
  .hero-stat-card,
  .hero-depth-card,
  .home-floating-badge,
  .doc-sheet,
  .doc-preview,
  .registration-panel,
  .software-item,
  .featured-resource,
  .featured-resource-card,
  .form-panel,
  .map-canvas,
  .hero-media-card,
  .overview-image-frame,
  .floating-detail,
  .trust-card,
  .pillar-card,
  .compliance-layer,
  .cta-band,
  .service-splash
) {
  --card-aura-1: var(--card-lift-blue);
  --card-aura-2: var(--card-lift-emerald);
  --card-aura-3: var(--card-lift-gold);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 12% 14%, var(--card-aura-1) 0, transparent 30%),
    radial-gradient(circle at 90% 10%, var(--card-aura-2) 0, transparent 34%),
    radial-gradient(circle at 84% 94%, var(--card-aura-3) 0, transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 247, 255, 0.96) 44%, rgba(231, 249, 242, 0.95));
  border: 1px solid rgba(166, 219, 255, 0.46);
  box-shadow:
    0 18px 34px rgba(15, 34, 57, 0.08),
    0 34px 62px rgba(31, 91, 165, 0.12),
    0 0 0 1px rgba(0, 63, 135, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -24px 30px rgba(255, 255, 255, 0.24);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

:is(
  .card,
  .glass-panel,
  .stat-card,
  .contact-card,
  .service-card-pro,
  .service-summary-card,
  .hero-stat-card,
  .hero-depth-card,
  .home-floating-badge,
  .doc-sheet,
  .doc-preview,
  .registration-panel,
  .software-item,
  .featured-resource,
  .featured-resource-card,
  .form-panel,
  .map-canvas,
  .hero-media-card,
  .overview-image-frame,
  .floating-detail,
  .trust-card,
  .pillar-card,
  .compliance-layer,
  .cta-band,
  .service-splash
)::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.1) 34%, transparent 66%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.56), transparent 26%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

:is(
  .card,
  .glass-panel,
  .stat-card,
  .contact-card,
  .service-card-pro,
  .service-summary-card,
  .hero-stat-card,
  .hero-depth-card,
  .home-floating-badge,
  .doc-sheet,
  .doc-preview,
  .registration-panel,
  .software-item,
  .featured-resource,
  .featured-resource-card,
  .form-panel,
  .map-canvas,
  .hero-media-card,
  .overview-image-frame,
  .floating-detail,
  .trust-card,
  .pillar-card,
  .compliance-layer,
  .cta-band,
  .service-splash
) > * {
  position: relative;
  z-index: 1;
}

:is(.card-grid, .trust-grid, .home-bento, .stats-grid, .value-grid, .software-list, .resource-sidebar, .contact-stack, .compliance-layers, .hero-stat-row) > *:nth-child(4n + 1) {
  --card-aura-1: rgba(90, 182, 255, 0.38);
  --card-aura-2: rgba(86, 216, 255, 0.3);
  --card-aura-3: rgba(112, 169, 255, 0.22);
}

:is(.card-grid, .trust-grid, .home-bento, .stats-grid, .value-grid, .software-list, .resource-sidebar, .contact-stack, .compliance-layers, .hero-stat-row) > *:nth-child(4n + 2) {
  --card-aura-1: rgba(20, 133, 109, 0.32);
  --card-aura-2: rgba(93, 229, 186, 0.24);
  --card-aura-3: rgba(255, 208, 104, 0.24);
}

:is(.card-grid, .trust-grid, .home-bento, .stats-grid, .value-grid, .software-list, .resource-sidebar, .contact-stack, .compliance-layers, .hero-stat-row) > *:nth-child(4n + 3) {
  --card-aura-1: rgba(123, 126, 255, 0.26);
  --card-aura-2: rgba(90, 182, 255, 0.32);
  --card-aura-3: rgba(255, 170, 142, 0.2);
}

:is(.card-grid, .trust-grid, .home-bento, .stats-grid, .value-grid, .software-list, .resource-sidebar, .contact-stack, .compliance-layers, .hero-stat-row) > *:nth-child(4n + 4) {
  --card-aura-1: rgba(255, 198, 92, 0.28);
  --card-aura-2: rgba(255, 160, 132, 0.22);
  --card-aura-3: rgba(20, 133, 109, 0.22);
}

:is(.glass-panel.dark, .trust-card-accent, .pillar-card-feature) {
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 214, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(88, 244, 203, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(9, 33, 71, 0.98), rgba(0, 63, 135, 0.94) 54%, rgba(20, 133, 109, 0.9));
  border: 1px solid rgba(174, 225, 255, 0.18);
  box-shadow:
    0 22px 42px rgba(10, 29, 61, 0.24),
    0 40px 74px rgba(0, 63, 135, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

:is(.glass-panel.dark, .trust-card-accent, .pillar-card-feature)::after {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 40%),
    radial-gradient(circle at top left, rgba(123, 214, 255, 0.22), transparent 24%);
}

.software-item {
  min-height: 8.75rem;
}

.feature-icon,
.service-icon,
.meta,
.trust-card-label,
.doc-sheet-label,
.panel-label,
.section-pill {
  border: 1px solid rgba(150, 216, 255, 0.44);
  background:
    radial-gradient(circle at 18% 22%, rgba(92, 188, 255, 0.28), transparent 34%),
    radial-gradient(circle at 84% 22%, rgba(59, 228, 190, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 244, 255, 0.94) 54%, rgba(229, 250, 239, 0.92));
  box-shadow:
    0 10px 20px rgba(15, 34, 57, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.service-card-pro,
.card-grid > .card,
.category-card,
.firm-stats .stat-card,
.faq-grid .card,
.software-benefits .card {
  background:
    radial-gradient(circle at 10% 12%, rgba(96, 190, 255, 0.34), transparent 26%),
    radial-gradient(circle at 90% 14%, rgba(73, 236, 190, 0.24), transparent 30%),
    radial-gradient(circle at 84% 96%, rgba(255, 203, 111, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(236, 247, 255, 0.97) 44%, rgba(232, 250, 243, 0.95));
}

.card-grid > .card:nth-child(3n + 2),
.service-card-pro:nth-child(3n + 2),
.category-card:nth-child(3n + 2),
.faq-grid .card:nth-child(3n + 2),
.software-benefits .card:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 12% 10%, rgba(74, 227, 190, 0.28), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(255, 205, 102, 0.24), transparent 28%),
    radial-gradient(circle at 86% 94%, rgba(108, 166, 255, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 251, 246, 0.97) 42%, rgba(236, 246, 255, 0.96));
}

.card-grid > .card:nth-child(3n),
.service-card-pro:nth-child(3n),
.category-card:nth-child(3n),
.faq-grid .card:nth-child(3n),
.software-benefits .card:nth-child(3n) {
  background:
    radial-gradient(circle at 12% 12%, rgba(136, 140, 255, 0.24), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(90, 188, 255, 0.28), transparent 30%),
    radial-gradient(circle at 84% 94%, rgba(255, 170, 138, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 246, 255, 0.97) 42%, rgba(248, 242, 255, 0.95));
}

.firm-stats .stat-card:nth-child(4n + 2) {
  background:
    radial-gradient(circle at 12% 10%, rgba(74, 227, 190, 0.28), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(255, 205, 102, 0.24), transparent 28%),
    radial-gradient(circle at 86% 94%, rgba(108, 166, 255, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 251, 246, 0.97) 42%, rgba(236, 246, 255, 0.96));
}

.firm-stats .stat-card:nth-child(4n + 3) {
  background:
    radial-gradient(circle at 12% 12%, rgba(136, 140, 255, 0.24), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(90, 188, 255, 0.28), transparent 30%),
    radial-gradient(circle at 84% 94%, rgba(255, 170, 138, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(239, 246, 255, 0.97) 42%, rgba(248, 242, 255, 0.95));
}

.firm-stats .stat-card:nth-child(4n + 4) {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 205, 102, 0.24), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(74, 227, 190, 0.24), transparent 28%),
    radial-gradient(circle at 86% 94%, rgba(108, 166, 255, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(251, 246, 236, 0.97) 42%, rgba(236, 250, 243, 0.96));
}

:is(
  .card-grid > .card,
  .stats-grid > .stat-card,
  .service-card-pro,
  .faq-grid .card,
  .software-benefits .card,
  .contact-stack > .glass-panel,
  .form-panel
)::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  right: -3rem;
  top: -3.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-aura-1) 0, color-mix(in srgb, var(--card-aura-2) 55%, transparent) 38%, transparent 72%);
  filter: blur(10px);
  opacity: 0.98;
  pointer-events: none;
  z-index: 0;
}

:is(
  .card-grid > .card,
  .stats-grid > .stat-card,
  .service-card-pro,
  .faq-grid .card,
  .software-benefits .card,
  .contact-stack > .glass-panel,
  .form-panel
)::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-depth-card,
.home-floating-badge,
.doc-sheet,
.doc-preview,
.registration-panel {
  backdrop-filter: blur(12px);
}

.hero-depth-card,
.home-floating-badge {
  position: absolute;
}

@media (hover: hover) {
  :is(
    .card,
    .glass-panel,
    .stat-card,
    .contact-card,
    .service-card-pro,
    .service-summary-card,
    .hero-stat-card,
    .hero-depth-card,
    .home-floating-badge,
    .doc-sheet,
    .doc-preview,
    .registration-panel,
    .software-item,
    .featured-resource,
    .featured-resource-card,
    .form-panel,
    .map-canvas,
    .hero-media-card,
    .overview-image-frame,
    .floating-detail,
    .trust-card,
    .pillar-card,
    .compliance-layer,
    .cta-band,
    .service-splash
  ):hover {
    transform: translateY(-7px) rotateX(1.2deg) rotateY(-1.15deg);
    border-color: rgba(20, 133, 109, 0.18);
    box-shadow:
      0 24px 42px rgba(15, 34, 57, 0.12),
      0 42px 78px rgba(31, 91, 165, 0.18),
      0 0 0 1px rgba(20, 133, 109, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  :is(.card-grid, .trust-grid, .home-bento, .stats-grid, .value-grid, .software-list, .resource-sidebar, .contact-stack, .compliance-layers, .hero-stat-row) > *:nth-child(even):hover {
    transform: translateY(-7px) rotateX(1.1deg) rotateY(1.1deg);
  }
}

@media (max-width: 860px) {
  :is(
    .card,
    .glass-panel,
    .stat-card,
    .contact-card,
    .service-card-pro,
    .service-summary-card,
    .hero-stat-card,
    .hero-depth-card,
    .home-floating-badge,
    .doc-sheet,
    .doc-preview,
    .registration-panel,
    .software-item,
    .featured-resource,
    .featured-resource-card,
    .form-panel,
    .map-canvas,
    .hero-media-card,
    .overview-image-frame,
    .floating-detail,
    .trust-card,
    .pillar-card,
    .compliance-layer,
    .cta-band,
    .service-splash
  ) {
    box-shadow:
      0 14px 28px rgba(15, 34, 57, 0.08),
      0 22px 42px rgba(31, 91, 165, 0.08),
      0 0 0 1px rgba(0, 63, 135, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }
}

/* Card readability safeguards */

.firm-page .glass-panel.dark,
.glass-panel.dark {
  background:
    radial-gradient(circle at 12% 14%, rgba(120, 180, 255, 0.18), transparent 26%),
    radial-gradient(circle at 88% 86%, rgba(51, 225, 188, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(10, 49, 108, 0.98), rgba(0, 63, 135, 0.95) 56%, rgba(18, 138, 114, 0.9));
  border: 1px solid rgba(152, 217, 255, 0.2);
}

.firm-page .glass-panel.dark h2,
.firm-page .glass-panel.dark h3,
.firm-page .glass-panel.dark strong,
.firm-page .glass-panel.dark p,
.firm-page .glass-panel.dark li,
.firm-page .glass-panel.dark a,
.firm-page .glass-panel.dark .eyebrow {
  color: rgba(255, 255, 255, 0.96);
}

.firm-page .glass-panel.dark .eyebrow::before {
  background: linear-gradient(90deg, rgba(142, 214, 255, 0.95), rgba(98, 255, 213, 0.85));
}

.glass-panel.dark .button-secondary,
.glass-panel.dark .button-primary,
.glass-panel.dark .button-ghost {
  color: var(--corp-blue) !important;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 26px rgba(10, 29, 61, 0.18);
}

.glass-panel.dark .button-primary:hover,
.glass-panel.dark .button-secondary:hover,
.glass-panel.dark .button-ghost:hover,
.glass-panel.dark .button-primary:focus-visible,
.glass-panel.dark .button-secondary:focus-visible,
.glass-panel.dark .button-ghost:focus-visible {
  color: var(--corp-blue) !important;
}

.home-hero-media {
  overflow: hidden;
}

.hero-depth-card,
.home-floating-badge {
  background:
    radial-gradient(circle at 16% 18%, rgba(97, 191, 255, 0.26), transparent 28%),
    radial-gradient(circle at 86% 86%, rgba(217, 255, 177, 0.26), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 255, 0.96));
  border: 1px solid rgba(184, 227, 255, 0.72);
}

.hero-depth-card {
  max-width: 13.75rem;
}

.hero-depth-card-top {
  right: 0.7rem;
  top: 3.35rem;
}

.hero-depth-card-bottom {
  left: 1rem;
  bottom: 3rem;
}

.home-floating-badge {
  left: 1.2rem;
  bottom: 0.85rem;
}

.pillar-card-feature {
  background:
    radial-gradient(circle at 16% 16%, rgba(110, 189, 255, 0.16), transparent 26%),
    radial-gradient(circle at 88% 88%, rgba(61, 235, 195, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(9, 54, 118, 0.98), rgba(0, 63, 135, 0.96) 56%, rgba(18, 138, 114, 0.92));
}

.pillar-card-feature .doc-sheet-contrast {
  background:
    radial-gradient(circle at 16% 18%, rgba(102, 196, 255, 0.24), transparent 28%),
    radial-gradient(circle at 86% 86%, rgba(255, 230, 143, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 255, 0.96));
  border-color: rgba(182, 227, 255, 0.62);
}

.pillar-card-feature .doc-sheet-contrast,
.pillar-card-feature .doc-sheet-contrast strong,
.pillar-card-feature .doc-sheet-contrast li,
.pillar-card-feature .doc-sheet-contrast .doc-sheet-label {
  color: var(--corp-text);
}

.compliance-layer {
  width: min(23.5rem, 100%);
}

.compliance-layer-primary {
  grid-column: 1 / span 8;
  justify-self: start;
  background:
    radial-gradient(circle at 16% 18%, rgba(108, 189, 255, 0.18), transparent 26%),
    linear-gradient(150deg, rgba(10, 72, 145, 0.98), rgba(0, 63, 135, 0.96));
  color: white;
}

.compliance-layer-primary span,
.compliance-layer-primary strong {
  color: white;
}

.compliance-layer-secondary {
  grid-column: 2 / span 8;
  justify-self: start;
  background:
    radial-gradient(circle at 16% 16%, rgba(95, 194, 255, 0.26), transparent 26%),
    radial-gradient(circle at 84% 84%, rgba(222, 255, 177, 0.24), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(241, 249, 255, 0.97));
  border-color: rgba(177, 224, 255, 0.58);
  color: var(--corp-text);
}

.compliance-layer-secondary span,
.compliance-layer-secondary strong {
  color: var(--corp-text);
}

.compliance-layer-tertiary {
  grid-column: 4 / span 8;
  justify-self: start;
  background:
    radial-gradient(circle at 16% 16%, rgba(150, 194, 255, 0.2), transparent 26%),
    linear-gradient(145deg, rgba(235, 245, 255, 0.98), rgba(228, 240, 250, 0.96));
  border-color: rgba(180, 220, 255, 0.52);
  color: #314154;
}

.compliance-layer-tertiary span,
.compliance-layer-tertiary strong {
  color: #314154;
}

.software-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(6.75rem, 8rem));
  gap: 1rem;
  justify-content: end;
}

.software-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: auto;
  padding: 1rem 0.7rem 0.85rem;
}

.software-item strong {
  margin-top: 0.15rem;
  line-height: 1.2;
  white-space: normal;
}

@media (max-width: 1180px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  }

  .home-hero-image {
    width: min(100%, 33rem);
  }

  .hero-depth-card {
    max-width: 12.5rem;
    padding: 0.9rem 0.95rem;
  }

  .hero-depth-card strong {
    font-size: 0.86rem;
  }

  .hero-depth-card-top {
    right: 0.35rem;
    top: 2.7rem;
  }

  .hero-depth-card-bottom {
    left: 0.4rem;
    bottom: 2.35rem;
  }

  .home-floating-badge {
    left: 0.55rem;
    bottom: 0.5rem;
  }
}

@media (max-width: 960px) {
  .pillar-card-feature .doc-sheet-contrast,
  .compliance-layer-primary,
  .compliance-layer-secondary,
  .compliance-layer-tertiary {
    transform: none;
  }

  .software-list {
    grid-template-columns: repeat(3, minmax(5.9rem, 1fr));
    width: 100%;
    justify-content: stretch;
  }
}

@media (max-width: 1180px) {
  .compliance-layers {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding-top: 0.15rem;
    min-height: auto;
  }

  .compliance-layer {
    max-width: min(30rem, 100%);
  }

  .compliance-layer-primary,
  .compliance-layer-secondary,
  .compliance-layer-tertiary {
    grid-column: 1;
  }

  .compliance-layer-primary {
    justify-self: start;
  }

  .compliance-layer-secondary {
    justify-self: center;
  }

  .compliance-layer-tertiary {
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .software-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .software-item {
    padding: 0.85rem 0.45rem 0.75rem;
  }

  .software-item strong {
    font-size: 0.82rem;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08111d;
  --bg-soft: #0c1726;
  --surface: rgba(12, 22, 34, 0.84);
  --surface-strong: #101b2a;
  --surface-ink: #edf4ff;
  --ink: #e6eef8;
  --ink-soft: #b8cade;
  --muted: #8ea4c1;
  --line: rgba(183, 205, 234, 0.14);
  --line-strong: rgba(183, 205, 234, 0.24);
  --corp-bg: #08111d;
  --corp-surface: #101a27;
  --corp-surface-soft: #142131;
  --corp-surface-muted: #172536;
  --corp-line: rgba(183, 205, 234, 0.14);
  --corp-line-strong: rgba(183, 205, 234, 0.22);
  --corp-text: #edf4ff;
  --corp-text-soft: #c1d2e6;
  --corp-blue-soft: rgba(92, 139, 223, 0.18);
  --corp-charcoal: #07111d;
}

html[data-theme="dark"] body {
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(37, 108, 217, 0.24), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(12, 180, 143, 0.16), transparent 26%),
    linear-gradient(180deg, #09121e 0%, #0b1726 40%, #0f1b2b 100%);
}

html[data-theme="dark"] body::before {
  background-image:
    linear-gradient(rgba(4, 10, 18, 0.58), rgba(4, 10, 18, 0.58)),
    linear-gradient(90deg, rgba(201, 220, 245, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(201, 220, 245, 0.035) 1px, transparent 1px);
  opacity: 0.58;
}

html[data-theme="dark"] [data-site-header] {
  background: rgba(7, 17, 29, 0.94);
  border-bottom-color: rgba(173, 195, 224, 0.12);
  box-shadow: 0 12px 28px rgba(1, 6, 13, 0.32);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .mobile-nav,
html[data-theme="dark"] .mobile-nav-group,
html[data-theme="dark"] .mobile-nav > a,
html[data-theme="dark"] .mobile-nav-group-links a,
html[data-theme="dark"] .nav-toggle {
  border-color: rgba(166, 191, 224, 0.16);
  background:
    linear-gradient(145deg, rgba(14, 24, 38, 0.96), rgba(18, 32, 48, 0.94)),
    linear-gradient(135deg, rgba(22, 133, 109, 0.08), rgba(0, 63, 135, 0.08));
  color: var(--corp-text);
  box-shadow:
    0 18px 34px rgba(1, 6, 13, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .site-nav a,
html[data-theme="dark"] .nav-dropdown-header p,
html[data-theme="dark"] .mobile-nav-group-links a,
html[data-theme="dark"] .footer-note,
html[data-theme="dark"] .footer-group a,
html[data-theme="dark"] .footer-group p {
  color: var(--corp-text-soft);
}

html[data-theme="dark"] .site-nav a.is-active,
html[data-theme="dark"] .site-nav a:hover,
html[data-theme="dark"] .site-nav a:focus-visible,
html[data-theme="dark"] .mobile-nav > a.is-active,
html[data-theme="dark"] .mobile-nav > a:hover,
html[data-theme="dark"] .mobile-nav > a:focus-visible,
html[data-theme="dark"] .mobile-nav-group[open] summary {
  color: #9cc6ff;
}

html[data-theme="dark"] .footer-bottom {
  border-color: rgba(120, 190, 255, 0.16);
}

.sticky-bottom-cta-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--sticky-cta-z);
  display: flex;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.sticky-bottom-cta {
  pointer-events: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    0.82rem
    max(1rem, calc((100vw - var(--container)) / 2 + 1rem))
    calc(0.82rem + env(safe-area-inset-bottom, 0px))
    max(1rem, calc((100vw - var(--container)) / 2 + 1.05rem));
  border: 1px solid rgba(138, 196, 255, 0.22);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 1.55rem 1.55rem 0 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(113, 198, 255, 0.2), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(91, 223, 183, 0.16), transparent 28%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 255, 0.86));
  backdrop-filter: blur(22px);
  box-shadow:
    0 24px 46px rgba(12, 28, 52, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.sticky-bottom-cta-copy {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--corp-text);
}

.sticky-bottom-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-wrap: nowrap;
}

.sticky-theme-toggle,
.sticky-bottom-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 63, 135, 0.14);
  font-family: "Inter", "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.sticky-theme-toggle {
  padding: 0.78rem 1rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--corp-blue);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(12, 28, 52, 0.08);
}

.sticky-theme-toggle:hover,
.sticky-theme-toggle:focus-visible,
.sticky-bottom-cta-link:hover,
.sticky-bottom-cta-link:focus-visible {
  transform: translateY(-2px);
}

.sticky-theme-toggle-icon,
.sticky-bottom-cta-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.sticky-theme-toggle-icon svg,
.sticky-bottom-cta-link-icon svg {
  width: 100%;
  height: 100%;
}

.sticky-theme-toggle-label {
  white-space: nowrap;
}

.sticky-bottom-cta-link {
  padding: 0.78rem 1.15rem;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(12, 28, 52, 0.14);
}

.sticky-bottom-cta-link-call {
  border-color: rgba(155, 32, 49, 0.76);
  background: linear-gradient(135deg, #d64056, #b51f39);
}

.sticky-bottom-cta-link-whatsapp {
  border-color: rgba(17, 138, 77, 0.76);
  background: linear-gradient(135deg, #18a957, #0f8f47);
}

html[data-theme="dark"] .sticky-bottom-cta {
  border-color: rgba(138, 196, 255, 0.18);
  background:
    radial-gradient(circle at 14% 18%, rgba(94, 178, 255, 0.2), transparent 26%),
    radial-gradient(circle at 86% 78%, rgba(18, 173, 129, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(9, 20, 34, 0.94), rgba(13, 26, 42, 0.92));
  box-shadow:
    0 26px 52px rgba(1, 6, 13, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .sticky-bottom-cta-copy {
  color: #edf4ff;
}

html[data-theme="dark"] .sticky-theme-toggle {
  border-color: rgba(138, 196, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #dbe8fb;
  box-shadow: 0 12px 22px rgba(1, 6, 13, 0.22);
}

@media (max-width: 720px) {
  :root {
    --sticky-cta-space: 5.95rem;
  }

  .sticky-bottom-cta {
    gap: 0.45rem;
    padding:
      0.55rem
      0.65rem
      calc(0.55rem + env(safe-area-inset-bottom, 0px));
    border-radius: 1.2rem 1.2rem 0 0;
  }

  .sticky-bottom-cta-copy {
    display: none;
  }

  .sticky-bottom-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .sticky-theme-toggle,
  .sticky-bottom-cta-link {
    min-height: 2.95rem;
    padding: 0.72rem 0.8rem;
    font-size: 0.72rem;
  }

  .sticky-theme-toggle {
    display: none;
  }
}

/* Dubai banner and topbar refresh */

:root {
  --header-height: 124px;
}

.site-topbar {
  background:
    linear-gradient(90deg, rgba(8, 17, 32, 0.98), rgba(12, 28, 52, 0.97));
  border-bottom: 1px solid rgba(122, 164, 214, 0.18);
}

.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  padding: 0.62rem 0;
}

.site-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  font-family: "Inter", "Sora", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(236, 245, 255, 0.94);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-topbar-link:hover,
.site-topbar-link:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.site-topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.14);
  color: #ffd166;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-topbar-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.site-topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-topbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-topbar-social-link:hover,
.site-topbar-social-link:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.site-topbar-social-link .site-topbar-icon {
  background: rgba(123, 214, 255, 0.14);
  color: #9dd4ff;
}

.site-topbar-social-link-facebook .site-topbar-icon {
  background: rgba(132, 180, 255, 0.16);
  color: #b9d7ff;
}

.site-topbar-social-link-instagram .site-topbar-icon {
  background: rgba(255, 176, 198, 0.14);
  color: #ffd4e3;
}

.premium-home .home-hero-band {
  padding: 0 0 2.15rem;
}

.premium-home .home-hero-stage {
  min-height: clamp(31rem, 72vh, 42rem);
  padding:
    clamp(2.2rem, 4.6vw, 3.35rem)
    max(1.2rem, calc((100vw - var(--container)) / 2 + 0.45rem))
    clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(160, 211, 255, 0.18);
  border-radius: 0 0 2rem 2rem;
  background:
    linear-gradient(100deg, rgba(3, 12, 24, 0.88) 0%, rgba(6, 22, 44, 0.78) 30%, rgba(8, 36, 74, 0.46) 58%, rgba(8, 53, 109, 0.2) 100%),
    linear-gradient(180deg, rgba(4, 14, 28, 0.12), rgba(4, 14, 28, 0.48)),
    url("images/dubai-user-banner.png") center 46% / cover no-repeat;
  box-shadow:
    0 34px 72px rgba(7, 18, 35, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: none;
}

.premium-home .home-hero-heading {
  max-width: 54rem;
  margin-bottom: 1.65rem;
  padding: 0;
}

.premium-home .home-hero-heading::before {
  display: none;
}

.premium-home .home-hero-grid {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
}

.premium-home .home-hero-copy {
  max-width: 47rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid rgba(180, 222, 255, 0.12);
  border-radius: 1.4rem;
  background: linear-gradient(145deg, rgba(4, 15, 29, 0.42), rgba(4, 15, 29, 0.18));
  box-shadow:
    0 24px 40px rgba(1, 10, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(7px);
}

.premium-home .home-hero-media {
  display: none;
}

.premium-home .section-pill {
  border-color: rgba(149, 212, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(7, 40, 83, 0.9), rgba(19, 91, 170, 0.72));
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(4, 13, 28, 0.38);
  box-shadow:
    0 10px 24px rgba(5, 16, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.premium-home .home-hero-heading h1,
.premium-home .home-hero-copy p,
.premium-home .hero-stat-card strong,
.premium-home .hero-stat-card span {
  color: #f8fbff;
}

.premium-home .home-hero-heading h1 {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 12px 30px rgba(2, 10, 20, 0.34);
}

.premium-home .home-hero-copy p {
  max-width: 42rem;
  font-size: 1.08rem;
  color: rgba(234, 244, 255, 0.9);
}

.premium-home .home-hero-actions {
  margin-top: 1.8rem;
}

.premium-home .home-hero-actions .button-primary {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #1f74d9, #0e4ca2);
  box-shadow: 0 18px 30px rgba(8, 31, 66, 0.28);
}

.premium-home .home-hero-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.premium-home .home-hero-actions .button-secondary:hover,
.premium-home .home-hero-actions .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.premium-home .hero-stat-row {
  max-width: 42rem;
  margin-top: 1.45rem;
}

.premium-home .hero-stat-card {
  border-color: rgba(210, 233, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow:
    0 18px 30px rgba(4, 16, 30, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.premium-home .hero-stat-card span {
  color: rgba(219, 236, 255, 0.8);
}

@media (max-width: 960px) {
  :root {
    --header-height: 116px;
  }

  .site-topbar-inner {
    justify-content: center;
    gap: 0.5rem 0.8rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 108px;
  }

  .site-topbar .shell {
    width: min(calc(100% - 0.5rem), var(--container));
  }

  .page-shell {
    overflow: visible;
  }

  .site-topbar-inner {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.46rem 0;
  }

  .site-topbar-link {
    flex: 0 0 auto;
    gap: 0.28rem;
    min-height: 1.7rem;
    font-size: 0.58rem;
    white-space: nowrap;
  }

  .site-topbar-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .site-topbar-icon svg {
    width: 0.76rem;
    height: 0.76rem;
  }

  .site-topbar-socials {
    flex: 0 0 auto;
    gap: 0.22rem;
  }

  .mobile-nav {
    max-height: calc(100dvh - var(--header-height) - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav.is-open {
    display: grid;
    align-content: start;
  }

  .premium-home .home-hero-band {
    padding: 0 0 1.25rem;
  }

  .premium-home .home-hero-stage {
    min-height: auto;
    padding: 1.55rem 1rem 1.35rem;
    border-radius: 0 0 1.4rem 1.4rem;
    background-position: center 36%;
  }

  .premium-home .home-hero-heading {
    margin-bottom: 1.15rem;
  }

  .premium-home .home-hero-copy p {
    font-size: 0.98rem;
  }

  .premium-home .hero-stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 102px;
  }

  .site-topbar-link {
    font-size: 0.54rem;
    letter-spacing: 0.01em;
  }

  .site-topbar-link span:last-child {
    font-size: 0.54rem;
  }

  .premium-home .home-hero-stage {
    padding: 1.35rem 0.95rem 1.1rem;
  }

  .premium-home .home-hero-copy {
    padding: 0.9rem 0.9rem 1rem;
  }

  .premium-home .home-hero-heading h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
}
