:root {
  color-scheme: light;
  --ink-950: #080d18;
  --ink-900: #0d1425;
  --ink-850: #111a2f;
  --ink-800: #17213a;
  --blue-700: #263276;
  --blue-600: #354c98;
  --blue-500: #496cb1;
  --blue-300: #8fa9d6;
  --silver-500: #a7a5ab;
  --silver-300: #d8dae1;
  --paper: #f5f7fb;
  --white: #ffffff;
  --text: #172036;
  --muted: #657087;
  --line: #dfe4ed;
  --container: 1180px;
  --shadow: 0 24px 70px rgba(8, 13, 24, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink-950);
  background: var(--white);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #6f92dc;
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 13, 24, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 13, 24, 0.95);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex: 0 0 auto;
}

.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.31em;
}

.brand-copy small {
  margin-top: 7px;
  color: var(--blue-300);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.35em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 28px);
}

.main-nav > a:not(.button) {
  color: #d7dce7;
  font-size: 0.89rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.main-nav > a:not(.button):hover {
  color: var(--white);
}

.main-nav .nav-client {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, #435fa7, #273476);
  border: 1px solid rgba(155, 178, 224, 0.28);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(33, 49, 114, 0.3);
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(33, 49, 114, 0.4);
  background: linear-gradient(135deg, #5275bd, #2b3b85);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 154px 0 0;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 30%, rgba(63, 86, 162, 0.3), transparent 28%),
    linear-gradient(145deg, var(--ink-950) 0%, #0d1428 52%, #101a34 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -260px;
  bottom: 40px;
  border: 1px solid rgba(124, 151, 207, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(124, 151, 207, 0.025), 0 0 0 160px rgba(124, 151, 207, 0.018);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent 70%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
  min-height: 650px;
}

.hero-copy {
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: #aabce1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), #adc3e9);
  border-radius: 99px;
}

.eyebrow.dark {
  color: var(--blue-700);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 27px;
  font-size: clamp(2.7rem, 4.6vw, 4.35rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: #c6ccda;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-700);
  font-weight: 750;
  border-bottom: 1px solid rgba(38, 50, 118, 0.26);
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover {
  color: var(--blue-500);
  gap: 13px;
}

.hero .text-link,
.text-link.light {
  color: #e4e8f2;
  border-color: rgba(255, 255, 255, 0.23);
}

.hero-note {
  margin: 22px 0 0;
  color: #8f9ab0;
  font-size: 0.88rem;
}

.hero-system {
  position: relative;
  align-self: center;
  overflow: hidden;
  margin-bottom: 70px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 124, 195, 0.2), transparent 27%),
    linear-gradient(155deg, rgba(35, 48, 94, 0.95), rgba(10, 17, 34, 0.98));
  border: 1px solid rgba(181, 196, 225, 0.24);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hero-system::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -130px;
  right: -80px;
  border: 42px solid rgba(143, 169, 214, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-system-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-system-head span,
.hero-system-focus > span {
  color: #afc0e3;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-system-head small {
  color: #9aa7bf;
  font-size: 0.76rem;
}

.hero-system-focus {
  position: relative;
  padding: 30px 24px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-system-focus strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero-system-focus p {
  margin: 10px 0 0;
  color: #aeb9ce;
  font-size: 0.9rem;
}

.hero-system-list {
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.hero-system-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-system-list > li > span {
  color: #8299c8;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.hero-system-list div {
  display: grid;
  gap: 2px;
}

.hero-system-list strong {
  font-size: 0.91rem;
}

.hero-system-list small {
  color: #8f9bb1;
  font-size: 0.76rem;
}

.hero-system-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: #dce5f7;
  font-size: 0.82rem;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease;
}

.hero-system-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
}

.regime-strip {
  position: relative;
  min-height: 90px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  align-items: center;
  gap: 24px;
  color: #d8dde9;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.regime-strip span {
  color: #7f8ca5;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.regime-strip strong {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.93rem;
  font-weight: 650;
}

.section {
  padding: clamp(88px, 11vw, 140px) 0;
}

.services,
.cases {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(44px, 8vw, 110px);
  margin-bottom: 60px;
}

.section-heading.compact {
  margin-bottom: 48px;
}

.section-heading h2,
.method h2,
.about h2,
.careers h2,
.cta-panel h2 {
  margin-bottom: 0;
  color: var(--ink-950);
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(12, 20, 40, 0.035);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), transparent 72%);
  opacity: 0.55;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  background: var(--white);
  border-color: #cbd5e6;
  box-shadow: var(--shadow);
}

.service-card-featured {
  color: var(--white);
  background: linear-gradient(145deg, #263276, #16244b);
  border-color: rgba(173, 194, 232, 0.18);
}

.service-card-featured:hover {
  background: linear-gradient(145deg, #30418d, #192957);
}

.service-card-reform {
  background: linear-gradient(145deg, #3b58a1, #233270);
}

.service-card-reform:hover {
  background: linear-gradient(145deg, #496bb7, #293b7f);
}

.service-card-featured::before {
  background: linear-gradient(90deg, #b8c9eb, transparent 76%);
  opacity: 0.72;
}

.service-number {
  display: block;
  margin-bottom: 52px;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.service-card-featured .service-number {
  color: #aebfe4;
}

.service-card h3 {
  max-width: 260px;
  margin-bottom: 13px;
  color: var(--ink-950);
  font-size: 1.18rem;
  line-height: 1.35;
}

.service-card-featured h3 {
  color: var(--white);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card-featured p {
  color: #cad3e7;
}

.reform {
  background: var(--white);
}

.reform-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 8vw, 105px);
  padding: clamp(44px, 7vw, 78px);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 15%, rgba(82, 117, 189, 0.34), transparent 30%),
    linear-gradient(135deg, #182655 0%, #09101f 72%);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.reform-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -220px;
  bottom: -240px;
  border: 70px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.reform-panel > * {
  position: relative;
  z-index: 1;
}

.reform-intro h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.reform-intro > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: #b8c3d9;
}

.reform-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-self: start;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.reform-steps li {
  min-height: 210px;
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.reform-steps > li > span {
  display: block;
  margin-bottom: 34px;
  color: #849bd0;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.reform-steps h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.02rem;
}

.reform-steps p {
  margin-bottom: 0;
  color: #aeb9ce;
  font-size: 0.88rem;
  line-height: 1.55;
}

.method {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #0a1020 0%, #101a36 100%);
}

.method::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -210px;
  border: 80px solid rgba(85, 111, 181, 0.07);
  border-radius: 50%;
}

.method-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 9vw, 130px);
}

.method h2 {
  color: var(--white);
}

.method-intro > p:not(.eyebrow) {
  margin: 26px 0 30px;
  color: #aeb8cd;
  font-size: 1.04rem;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.method-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.method-steps > li > span {
  color: #7f98ce;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.method-steps h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.17rem;
}

.method-steps p {
  margin-bottom: 0;
  color: #aeb8cd;
  font-size: 0.95rem;
}

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

.case-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(12, 20, 40, 0.055);
}

.case-tag {
  margin-bottom: 48px;
  color: var(--blue-700);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-card h3 {
  margin-bottom: 13px;
  color: var(--ink-950);
  font-size: 1.24rem;
  line-height: 1.35;
}

.case-card > p:not(.case-tag) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.case-card > span {
  margin-top: auto;
  padding-top: 17px;
  color: #4f5c76;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 750;
}

.about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(55px, 10vw, 145px);
}

.about-photo {
  position: relative;
  max-width: 460px;
}

.about-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 30px -30px -30px 30px;
  background: linear-gradient(150deg, #263276, #7793ca);
  border-radius: 18px;
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  filter: saturate(0.85);
}

.about-copy {
  max-width: 610px;
}

.about-copy h2 {
  margin-bottom: 26px;
}

.about-copy p {
  color: var(--muted);
}

.about-copy .about-lead {
  color: #3c485f;
  font-size: 1.1rem;
}

.about-lead strong {
  color: var(--ink-950);
}

.credential {
  min-width: 190px;
  display: grid;
  margin-top: 0;
  padding: 18px 22px;
  background: var(--paper);
  border-left: 4px solid var(--blue-600);
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.credential span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credential strong {
  margin-top: 3px;
  color: var(--ink-950);
}

.careers {
  background: var(--paper);
}

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
}

.careers-copy {
  max-width: 670px;
}

.careers-copy h2 {
  margin-bottom: 25px;
}

.careers-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.careers-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 50px);
  color: var(--white);
  background: linear-gradient(145deg, #263276, #101a37);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(14, 23, 51, 0.18);
}

.careers-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -110px;
  top: -95px;
  border: 38px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.careers-card > * {
  position: relative;
  z-index: 1;
}

.careers-kicker {
  display: block;
  margin-bottom: 28px;
  color: #aebfe4;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.careers-card h3 {
  margin-bottom: 13px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.careers-card p {
  margin-bottom: 26px;
  color: #c2cce0;
  font-size: 0.92rem;
}

.careers-card .button {
  width: 100%;
}

.careers-requirements {
  display: block;
  margin: 17px 0 0;
  text-align: center;
  color: #bdc9e0;
  font-size: 0.78rem;
}

.cta-section {
  padding: 0 0 110px;
  background: var(--white);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 50px;
  padding: clamp(42px, 7vw, 76px);
  color: var(--white);
  background: linear-gradient(130deg, #1d2a68 0%, #0f1835 72%);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -120px;
  border: 50px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 650px;
  color: var(--white);
}

.cta-panel p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: #c2cbdf;
}

.cta-actions {
  display: grid;
  justify-items: start;
  gap: 13px;
}

.button-light {
  color: var(--blue-700);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.button-light:hover {
  color: var(--ink-950);
  background: #eef2fb;
}

.cta-actions > span {
  color: #93a2c3;
  font-size: 0.79rem;
}

.site-footer {
  color: #c7cfdf;
  background: var(--ink-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr;
  gap: 70px;
  padding: 70px 0 50px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 360px;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: #97a2b9;
  font-size: 0.9rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  transition: color 150ms ease;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 17px 8px 8px;
  color: #0f4526;
  background: #f7fff9;
  border: 1px solid #bfddc8;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(10, 17, 31, 0.19);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(10, 17, 31, 0.25);
}

.whatsapp-float > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #198b4b;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 850;
}

.whatsapp-float strong {
  font-size: 0.8rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.js .reveal[data-delay="1"] {
  transition-delay: 100ms;
}

.js .reveal[data-delay="2"] {
  transition-delay: 190ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Careers form */
.career-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 150px 0 105px;
  background:
    radial-gradient(circle at 88% 12%, rgba(73, 108, 177, 0.12), transparent 26%),
    var(--paper);
}

.career-page::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -360px;
  bottom: -280px;
  border: 80px solid rgba(38, 50, 118, 0.04);
  border-radius: 50%;
}

.career-page-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: clamp(55px, 8vw, 110px);
}

.career-page-intro {
  position: sticky;
  top: 130px;
  padding-top: 20px;
}

.career-page-intro h1 {
  max-width: 590px;
  margin-bottom: 26px;
  color: var(--ink-950);
  font-size: clamp(2.6rem, 4.7vw, 4.45rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.career-page-lead {
  max-width: 590px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.05rem;
}

.career-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.career-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.career-points > li > span {
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.career-points div {
  display: grid;
  gap: 2px;
}

.career-points strong {
  color: var(--ink-950);
  font-size: 0.94rem;
}

.career-points small {
  color: var(--muted);
  font-size: 0.83rem;
}

.career-contact-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.career-contact-note a {
  color: var(--blue-700);
  font-weight: 750;
  border-bottom: 1px solid rgba(38, 50, 118, 0.22);
}

.application-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(10, 17, 34, 0.13);
}

.application-heading {
  padding: 38px 42px 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 146, 210, 0.26), transparent 30%),
    linear-gradient(135deg, #263276, #111b39);
}

.application-heading > span {
  display: block;
  margin-bottom: 16px;
  color: #b9c8e7;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.application-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.application-heading p {
  margin-bottom: 0;
  color: #c4cde0;
  font-size: 0.86rem;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
  padding: 38px 42px 42px;
}

.form-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink-900);
  font-size: 0.87rem;
  font-weight: 750;
}

.form-field label > span,
.application-heading strong {
  color: #5678bd;
}

.form-field label small {
  color: #8791a5;
  font-size: 0.75rem;
  font-weight: 550;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--text);
  background: #fbfcfe;
  border: 1px solid #ccd4e2;
  border-radius: 10px;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #adb9cc;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(73, 108, 177, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #939cad;
}

.file-input {
  padding: 9px !important;
  cursor: pointer;
}

.file-input::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  padding: 0 14px;
  color: var(--blue-700);
  background: #eaf0fb;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.field-help {
  color: #7e899d;
  font-size: 0.78rem;
}

.field-help.has-file {
  color: #28613f;
  font-weight: 700;
}

.field-help.has-error {
  color: #a12d38;
  font-weight: 700;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  color: #5e687b;
  cursor: pointer;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--blue-700);
}

.consent-field span {
  font-size: 0.82rem;
  line-height: 1.55;
}

.consent-field a {
  color: var(--blue-700);
  font-weight: 700;
  border-bottom: 1px solid rgba(38, 50, 118, 0.25);
}

.consent-field strong {
  color: #5678bd;
}

.form-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-error {
  min-height: 0;
  margin: -5px 0 0;
  color: #a12d38;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-error:empty {
  display: none;
}

.form-submit {
  display: grid;
  justify-items: start;
  gap: 11px;
}

.form-submit .button {
  min-width: 235px;
  border: 0;
  cursor: pointer;
}

.form-submit small {
  color: #818b9e;
  font-size: 0.77rem;
}

.application-form.is-submitting .button {
  opacity: 0.72;
  pointer-events: none;
}

.career-footer .footer-bottom {
  min-height: 74px;
}

.career-footer .footer-bottom a {
  margin: 0;
}

/* Careers success */
.success-body {
  color: var(--white);
  background: var(--ink-950);
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 135px 0 70px;
  background:
    radial-gradient(circle at 75% 22%, rgba(64, 91, 169, 0.25), transparent 29%),
    linear-gradient(145deg, #0a1020, #101a34);
}

.success-card {
  max-width: 760px;
  padding: clamp(38px, 7vw, 70px);
  color: var(--text);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--white);
  background: linear-gradient(145deg, #496cb1, #263276);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 850;
}

.success-card h1 {
  margin-bottom: 20px;
  color: var(--ink-950);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.success-card > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
}

.success-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
}

/* Privacy page */
.page-shell {
  min-height: 100vh;
  padding: 150px 0 100px;
  background: var(--paper);
}

.legal-card {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(30px, 6vw, 64px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(12, 20, 40, 0.08);
}

.legal-card h1 {
  margin-bottom: 16px;
  color: var(--ink-950);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--ink-950);
  font-size: 1.22rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card .back-link {
  margin-top: 34px;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav > a:not(.button) {
    font-size: 0.82rem;
  }

  .main-nav .nav-secondary {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr 0.82fr;
    gap: 50px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .career-page-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
    gap: 45px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: grid;
    gap: 0;
    padding: 14px 20px 25px;
    background: rgba(8, 13, 24, 0.985);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 210ms ease, opacity 210ms ease, visibility 210ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav > a:not(.button),
  .main-nav .nav-secondary {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav .nav-client {
    padding-left: 0;
    border-left: 0;
  }

  .main-nav .button {
    margin-top: 16px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  .hero-system {
    width: min(100%, 650px);
    justify-self: start;
    margin-bottom: 62px;
  }

  .regime-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 25px 0;
  }

  .regime-strip span {
    grid-column: 1 / -1;
  }

  .regime-strip strong:first-of-type {
    padding-left: 0;
    border-left: 0;
  }

  .section-heading,
  .method-layout,
  .about-layout,
  .careers-layout,
  .career-page-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .career-page-intro {
    position: static;
    max-width: 720px;
    padding-top: 0;
  }

  .career-points {
    max-width: 650px;
  }

  .section-heading {
    align-items: start;
    gap: 28px;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reform-panel {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .method-layout {
    gap: 55px;
  }

  .about-photo {
    width: min(88%, 500px);
    margin-inline: auto;
  }

  .about-copy {
    max-width: 720px;
  }

  .cta-actions {
    justify-items: start;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr;
    gap: 45px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 1.12rem;
  }

  .brand-copy small {
    font-size: 0.5rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

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

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
    min-height: 48px;
  }

  .hero-system {
    border-radius: 16px;
  }

  .hero-system-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .regime-strip {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .regime-strip span {
    padding-bottom: 14px;
  }

  .regime-strip strong {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 0;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 28px;
  }

  .service-number {
    margin-bottom: 48px;
  }

  .case-card {
    min-height: 300px;
    padding: 28px;
  }

  .reform {
    padding-inline: 0;
  }

  .reform-panel {
    width: min(calc(100% - 28px), var(--container));
    padding: 34px 24px;
    border-radius: 16px;
  }

  .reform-steps {
    grid-template-columns: 1fr;
  }

  .reform-steps li {
    min-height: 0;
  }

  .careers-card {
    padding: 32px 24px;
  }

  .about-credentials {
    display: grid;
    grid-template-columns: 1fr;
  }

  .credential {
    min-width: 0;
  }

  .career-page {
    padding: 125px 0 75px;
  }

  .career-page-intro h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .application-card {
    border-radius: 16px;
  }

  .application-heading {
    padding: 30px 24px 26px;
  }

  .application-form {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 28px 24px 32px;
  }

  .form-field-full {
    grid-column: auto;
  }

  .form-submit {
    justify-items: stretch;
  }

  .form-submit .button {
    width: 100%;
    min-width: 0;
  }

  .button-header-back {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .success-page {
    padding: 120px 0 60px;
  }

  .success-card {
    border-radius: 16px;
  }

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

  .success-actions .button,
  .success-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .about-photo {
    width: calc(100% - 22px);
    margin-left: 0;
  }

  .about-photo::before {
    inset: 20px -20px -20px 20px;
  }

  .cta-section {
    padding-bottom: 75px;
  }

  .cta-panel {
    width: min(calc(100% - 28px), var(--container));
    gap: 34px;
    border-radius: 16px;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    gap: 34px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding-right: 8px;
  }

  .whatsapp-float strong {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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