:root {
  --legal-ink: #08111f;
  --legal-ink-soft: #111d30;
  --legal-paper: #f2f5f9;
  --legal-white: #ffffff;
  --legal-muted: #66738a;
  --legal-line: rgba(8, 17, 31, 0.12);
  --legal-blue: #3e73ff;
  --legal-cyan: #42dff5;
  --legal-violet: #795cff;
  --legal-mint: #44dfbd;
}

html {
  scroll-behavior: smooth;
}

.legalSupportLanding {
  --legal-global-header-height: 76px;
  --legal-page-header-height: 64px;
  background: var(--legal-paper);
  color: var(--legal-ink);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

.legalSupportLanding main {
  overflow: clip;
}

.legalPageMenuToggle {
  display: none;
}

.legalSupportLanding [id] {
  scroll-margin-top: calc(var(--legal-global-header-height) + var(--legal-page-header-height) + 16px);
}

.legalSupportLanding h1,
.legalSupportLanding h2,
.legalSupportLanding h3,
.legalSupportLanding main p {
  text-wrap: pretty;
}

.legalShell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.legalSupportHeader {
  position: fixed;
  z-index: 90;
  inset: var(--legal-global-header-height) 0 auto;
  height: var(--legal-page-header-height);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 13, 25, 0.84);
  backdrop-filter: blur(22px) saturate(140%);
}

.legalSupportHeaderInner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.legalSupportNav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
}

.legalSupportNav a {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.legalSupportNav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--legal-cyan), var(--legal-violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.legalSupportNav a:hover,
.legalSupportNav a:focus-visible {
  color: #fff;
}

.legalSupportNav a:hover::after,
.legalSupportNav a:focus-visible::after {
  transform: scaleX(1);
}

.legalHeaderCta {
  grid-column: 3;
  justify-self: end;
  min-height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(66, 223, 245, 0.82);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.legalHeaderCta:hover,
.legalHeaderCta:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, var(--legal-blue), var(--legal-violet));
  transform: translateY(-1px);
}

.legalHero {
  min-height: 820px;
  padding: calc(var(--legal-global-header-height) + var(--legal-page-header-height) + 28px) 0 88px;
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 77% 31%, rgba(61, 111, 255, 0.24), transparent 25%),
    radial-gradient(circle at 93% 82%, rgba(121, 92, 255, 0.2), transparent 28%),
    linear-gradient(138deg, #060d19 0%, #0a1427 62%, #111734 100%);
}

.legalHero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: 8%;
  top: 22%;
  border: 1px solid rgba(66, 223, 245, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(62, 115, 255, 0.12), inset 0 0 80px rgba(121, 92, 255, 0.06);
}

.legalHeroGrid {
  position: absolute;
  inset: 0;
  opacity: 0.44;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000 15%, transparent 100%);
}

.legalBreadcrumbs {
  position: relative;
  z-index: 2;
  min-height: 28px;
  flex-wrap: wrap;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
}

.legalBreadcrumbs a {
  color: rgba(255, 255, 255, 0.68);
}

.legalBreadcrumbs a:hover,
.legalBreadcrumbs a:focus-visible {
  color: #fff;
}

.legalBreadcrumbs > span[aria-hidden] {
  opacity: 0.4;
}

.legalHeroLayout {
  position: relative;
  z-index: 2;
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(450px, 0.96fr);
  align-items: center;
  gap: clamp(52px, 6vw, 92px);
}

.legalEyebrow,
.legalSectionHeading > span,
.legalProcessHeading > span,
.legalContactCopy > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--legal-blue);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legalEyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.legalEyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--legal-mint);
  box-shadow: 0 0 0 5px rgba(68, 223, 189, 0.1), 0 0 18px rgba(68, 223, 189, 0.75);
}

.legalHeroCopy h1 {
  max-width: 720px;
  margin: 26px 0 28px;
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.068em;
  font-weight: 660;
}

.legalHeroCopy h1 > span {
  display: block;
}

.legalHeroCopy > p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  line-height: 1.65;
}

.legalHeroActions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legalButton {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 0.22s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.legalButtonPrimary {
  color: #fff;
  background: linear-gradient(135deg, var(--legal-blue), var(--legal-violet));
  box-shadow: 0 16px 36px rgba(62, 96, 255, 0.32);
}

.legalButtonGhost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.02);
}

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

.legalButtonPrimary:hover,
.legalButtonPrimary:focus-visible {
  box-shadow: 0 22px 48px rgba(62, 96, 255, 0.44);
}

.legalButtonGhost:hover,
.legalButtonGhost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.legalWorkspace {
  position: relative;
  width: 100%;
  min-height: 510px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(10, 20, 38, 0.8);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35), 0 0 70px rgba(62, 115, 255, 0.12);
  backdrop-filter: blur(16px);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.legalWorkspace::after {
  content: "";
  position: absolute;
  inset: 20% -12% -16% 20%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(93, 70, 255, 0.2);
  filter: blur(70px);
}

.legalWorkspaceTop {
  min-height: 40px;
  padding: 0 2px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.legalWorkspaceTop > span {
  display: flex;
  gap: 5px;
}

.legalWorkspaceTop > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.23);
}

.legalWorkspaceTop > span i:first-child {
  background: var(--legal-cyan);
  box-shadow: 0 0 12px rgba(66, 223, 245, 0.8);
}

.legalWorkspaceTop b {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.legalWorkspaceTop small {
  justify-self: end;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.legalWorkspaceGrid {
  padding-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(170px, 0.84fr);
  gap: 12px;
}

.legalWorkspace article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.legalContractPanel {
  grid-row: span 2;
  min-height: 312px;
  padding: 20px;
}

.legalRiskPanel,
.legalChecklistPanel {
  padding: 16px;
}

.legalPanelHeading {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
}

.legalPanelHeading b {
  color: var(--legal-cyan);
  font-size: 10px;
  font-weight: 650;
}

.legalDocumentLine {
  width: 73%;
  height: 8px;
  margin: 13px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.legalDocumentLine.isLong {
  width: 92%;
}

.legalDocumentLine.isShort {
  width: 56%;
}

.legalDocumentLine.isMarked {
  width: 84%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 58%, rgba(121, 92, 255, 0.68) 58% 78%, rgba(255, 255, 255, 0.12) 78%);
}

.legalAgreementRow {
  margin-top: 62px;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.legalAgreementRow b {
  padding: 7px 10px;
  border-radius: 999px;
  color: #80f4d7;
  background: rgba(68, 223, 189, 0.1);
  font-size: 12px;
}

.legalRiskScale {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.legalRiskScale i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legalRiskScale i.high {
  background: #ff7d78;
}

.legalRiskScale i.medium {
  background: #ffbf65;
}

.legalRiskScale i.low {
  background: var(--legal-mint);
}

.legalRiskScale b {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.legalChecklistPanel ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.legalChecklistPanel li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.legalChecklistPanel li i {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #07131e;
  background: var(--legal-cyan);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.legalChecklistPanel li.isPending i {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.legalTaskStatus {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.legalTaskStatus > div {
  min-height: 58px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.legalTaskStatus span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.legalTaskStatus b {
  width: max-content;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legalTaskStatus .isReview {
  color: #aebeff;
}

.legalTaskStatus .isDone {
  color: #70e7c9;
}

.legalTaskStatus .isWork {
  color: #70ddf4;
}

.legalServicesSection,
.legalResultsSection {
  padding: 126px 0;
  background: var(--legal-paper);
}

.legalSectionHeading {
  max-width: 930px;
  margin-bottom: 58px;
}

.legalSectionHeading.compact {
  margin-bottom: 44px;
}

.legalSectionHeading h2,
.legalProcessHeading h2,
.legalContactCopy h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.062em;
  font-weight: 670;
}

.legalServiceGrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.legalServiceCard {
  grid-column: span 2;
  min-height: 468px;
  padding: 16px 16px 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(8, 17, 31, 0.1);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(20, 35, 65, 0.035);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.legalServiceCardWide {
  grid-column: span 3;
  min-height: 430px;
}

.legalServiceCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(20, 35, 65, 0.1);
}

.legalCardImage {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  margin-bottom: 26px;
  border-radius: 17px;
  object-fit: cover;
  background: #e7ecf2;
}

.legalServiceCardWide .legalCardImage {
  aspect-ratio: 2 / 1;
}

.legalServiceCard > small {
  color: var(--legal-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.legalServiceCard h3 {
  margin: 13px 0 14px;
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.044em;
  text-transform: uppercase;
}

.legalServiceCard p {
  margin: 0;
  color: var(--legal-muted);
  font-size: 16px;
  line-height: 1.62;
}

.legalExpertNote {
  margin: 28px 0 0;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  border: 1px solid #ccd9f2;
  border-left: 4px solid var(--legal-blue);
  border-radius: 16px;
  background: #eaf0fc;
  color: #2f4265;
  font-size: 16px;
  line-height: 1.65;
}

.legalExpertNote p {
  margin: 0;
}

.legalExpertNoteIcon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--legal-blue);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.legalProcessSection {
  padding: 128px 0 116px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(62, 115, 255, 0.15), transparent 24%),
    linear-gradient(145deg, #070e1b, #0b1527);
}

.legalProcessHeading {
  max-width: 780px;
  margin-bottom: 58px;
}

.legalProcessHeading > span {
  color: var(--legal-cyan);
}

.legalProcessGrid {
  margin: 0;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  list-style: none;
}

.legalProcessGrid li {
  position: relative;
  min-height: 198px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: #0d1729;
}

.legalProcessGrid li > span {
  color: var(--legal-cyan);
  font-size: 11px;
  font-weight: 750;
}

.legalProcessGrid h3 {
  max-width: 290px;
  margin: auto 0 0;
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.legalProcessGrid li > i {
  position: absolute;
  top: 25px;
  right: 25px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 14px;
  font-style: normal;
}

.legalProcessGrid li:last-child > i {
  color: var(--legal-mint);
}

.legalProcessOutput {
  margin-top: 46px;
  padding-top: 36px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legalProcessOutput h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legalProcessOutput ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.legalProcessOutput li {
  padding: 13px 16px;
  border: 1px solid rgba(66, 223, 245, 0.17);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(66, 223, 245, 0.035);
  font-size: 14px;
}

.legalResultsLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  align-items: start;
  gap: clamp(54px, 7vw, 105px);
}

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

.legalResultList li {
  min-height: 91px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--legal-line);
}

.legalResultList span {
  color: var(--legal-blue);
  font-size: 11px;
  font-weight: 750;
}

.legalResultList strong {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legalFormats {
  position: sticky;
  top: 110px;
  padding: 34px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 5%, rgba(121, 92, 255, 0.28), transparent 31%),
    #0b1425;
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.16);
}

.legalFormats::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -115px;
  bottom: -115px;
  border: 1px solid rgba(66, 223, 245, 0.16);
  border-radius: 50%;
}

.legalFormats > h3 {
  margin: 0 0 36px;
  color: var(--legal-cyan);
  font-size: 34px;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.legalFormats > div {
  position: relative;
  z-index: 1;
  padding: 21px 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.legalFormats b {
  color: var(--legal-cyan);
  font-size: 10px;
  font-weight: 750;
}

.legalFormats p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.56;
}

.legalContactSection {
  position: relative;
  padding: 128px 0 118px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 90%, rgba(121, 92, 255, 0.25), transparent 34%),
    #070f1d;
}

.legalContactSection::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.legalContactGlow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -140px;
  bottom: -180px;
  border: 1px solid rgba(66, 223, 245, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(62, 115, 255, 0.14), inset 0 0 80px rgba(121, 92, 255, 0.1);
}

.legalContactLayout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(52px, 8vw, 118px);
}

.legalContactCopy > span {
  color: var(--legal-cyan);
}

.legalContactCopy h2 {
  max-width: 490px;
}

.legalLeadForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.legalLeadForm label {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.legalLeadForm label > span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legalLeadForm input,
.legalLeadForm select,
.legalLeadForm textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 13px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.legalLeadForm textarea {
  min-height: 128px;
  padding-top: 16px;
  line-height: 1.5;
  resize: vertical;
}

.legalLeadForm select {
  color-scheme: dark;
}

.legalLeadForm select option {
  color: #f8fafc;
  background-color: #111d30;
}

.legalLeadForm select option:checked {
  color: #fff;
  background-color: #244ca8;
}

.legalLeadForm select option:disabled {
  color: #b4c1d8;
  background-color: #111d30;
}

.legalLeadForm input::placeholder,
.legalLeadForm textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.legalLeadForm input:focus,
.legalLeadForm select:focus,
.legalLeadForm textarea:focus {
  border-color: rgba(66, 223, 245, 0.72);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(66, 223, 245, 0.08);
}

.legalFieldWide {
  grid-column: 1 / -1;
}

.legalFormSubmit {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.legalFormSubmit button {
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--legal-blue), var(--legal-violet));
  box-shadow: 0 16px 36px rgba(62, 96, 255, 0.3);
  font-size: 14px;
  font-weight: 760;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.legalFormSubmit button:hover,
.legalFormSubmit button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(62, 96, 255, 0.42);
}

.legalFormSubmit button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.legalFormSubmit small {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  line-height: 1.5;
}

.legalFormSubmit small a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 961px) and (max-width: 1399px) {
  .legalSupportLanding {
    --legal-global-header-height: 110px;
  }
}

@media (max-width: 1080px) {
  .legalHeroLayout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
    gap: 42px;
  }

  .legalHeroCopy h1 {
    font-size: clamp(44px, 4.8vw, 52px);
  }

  .legalWorkspace {
    min-height: 470px;
  }

  .legalContractPanel {
    min-height: 278px;
  }

  .legalAgreementRow {
    margin-top: 46px;
  }

  .legalServiceCard {
    min-height: 490px;
  }

  .legalServiceCardWide {
    min-height: 440px;
  }
}

@media (max-width: 960px) {
  .legalSupportLanding {
    --legal-global-header-height: 68px;
    --legal-page-header-height: 56px;
  }

  .legalSupportHeaderInner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .legalPageMenuToggle {
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.035);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }

  .legalPageMenuToggle:hover,
  .legalPageMenuToggle:focus-visible {
    border-color: var(--legal-cyan);
    background: rgba(66, 223, 245, 0.08);
  }

  .legalPageMenuIcon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .legalPageMenuIcon i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .legalPageMenuIcon i:first-child { transform: translateY(-6px); }
  .legalPageMenuIcon i:last-child { transform: translateY(6px); }
  .legalPageMenuToggle.active i:first-child { transform: rotate(45deg); }
  .legalPageMenuToggle.active i:nth-child(2) { opacity: 0; }
  .legalPageMenuToggle.active i:last-child { transform: rotate(-45deg); }

  .legalHeaderCta {
    grid-column: 2;
    min-height: 44px;
  }

  .legalSupportNav {
    grid-column: auto;
    justify-self: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--legal-global-header-height) - var(--legal-page-header-height));
    padding: 8px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #08101d;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .legalSupportNav.isOpen {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .legalSupportNav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
  }

  .legalSupportNav a::after {
    display: none;
  }

  .legalHero {
    padding-top: calc(var(--legal-global-header-height) + var(--legal-page-header-height) + 28px);
  }

  .legalBreadcrumbs {
    margin-bottom: 42px;
  }
}

@media (max-width: 900px) {
  .legalShell {
    width: min(100% - 40px, 1240px);
  }

  .legalHeroLayout {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .legalHeroCopy h1 {
    max-width: 760px;
    font-size: clamp(44px, 7.2vw, 64px);
  }

  .legalWorkspace {
    width: min(100%, 650px);
    min-height: 510px;
    justify-self: center;
    transform: none;
  }

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

  .legalServiceCard,
  .legalServiceCardWide {
    grid-column: auto;
    min-height: 470px;
  }

  .legalServiceCard:last-child {
    grid-column: 1 / -1;
    min-height: 420px;
  }

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

  .legalProcessOutput,
  .legalResultsLayout,
  .legalContactLayout {
    grid-template-columns: 1fr;
  }

  .legalProcessOutput {
    gap: 28px;
  }

  .legalResultsLayout {
    gap: 70px;
  }

  .legalFormats {
    position: relative;
    top: auto;
  }

  .legalContactLayout {
    gap: 62px;
  }

  .legalContactCopy h2 {
    max-width: 720px;
  }

}

@media (max-width: 720px) {
  .legalServicesSection,
  .legalResultsSection,
  .legalProcessSection,
  .legalContactSection {
    padding-top: 96px;
    padding-bottom: 92px;
  }

  .legalServiceGrid {
    grid-template-columns: 1fr;
  }

  .legalServiceCard,
  .legalServiceCardWide,
  .legalServiceCard:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .legalServiceCardWide .legalCardImage {
    aspect-ratio: 16 / 9;
  }

  .legalProcessGrid {
    grid-template-columns: 1fr;
  }

  .legalProcessGrid li {
    min-height: 160px;
  }
}

@media (max-width: 560px) {
  .legalShell {
    width: calc(100% - 28px);
  }

  .legalHeaderCta {
    min-height: 44px;
    padding: 0 15px;
    font-size: 12px;
  }

  .legalPageMenuToggle {
    font-size: 12px;
  }

  .legalHero {
    min-height: auto;
    padding: calc(var(--legal-global-header-height) + var(--legal-page-header-height) + 28px) 0 74px;
  }

  .legalBreadcrumbs {
    gap: 7px;
    margin-bottom: 34px;
    font-size: 9px;
  }

  .legalHero::before {
    width: 360px;
    height: 360px;
    right: -180px;
    top: 43%;
  }

  .legalHeroLayout {
    gap: 46px;
  }

  .legalHeroCopy h1 {
    margin: 22px 0;
    font-size: clamp(32px, 8.8vw, 48px);
    line-height: 0.97;
    letter-spacing: -0.06em;
  }

  .legalHeroCopy > p {
    font-size: 16px;
  }

  .legalHeroActions {
    margin-top: 30px;
    flex-direction: column;
  }

  .legalButton {
    width: 100%;
  }

  .legalWorkspace {
    min-height: auto;
    padding: 13px;
    border-radius: 22px;
  }

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

  .legalWorkspaceTop > b {
    justify-self: end;
  }

  .legalWorkspaceTop > small {
    grid-column: 1 / -1;
  }

  .legalWorkspaceGrid {
    grid-template-columns: 1fr;
  }

  .legalContractPanel {
    grid-row: auto;
    min-height: 272px;
  }

  .legalTaskStatus {
    grid-template-columns: 1fr;
  }

  .legalTaskStatus > div {
    min-height: 52px;
  }

  .legalSectionHeading,
  .legalProcessHeading {
    margin-bottom: 40px;
  }

  .legalSectionHeading h2,
  .legalProcessHeading h2,
  .legalContactCopy h2 {
    font-size: 43px;
  }

  .legalServiceCard {
    padding: 13px 13px 28px;
    border-radius: 21px;
  }

  .legalServiceCard h3 {
    font-size: 22px;
  }

  .legalExpertNote {
    padding: 18px 16px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    border-radius: 13px;
  }

  .legalExpertNoteIcon {
    width: 28px;
    height: 28px;
    font-size: 19px;
  }

  .legalProcessGrid li {
    min-height: 148px;
    padding: 23px;
  }

  .legalProcessGrid h3 {
    max-width: 270px;
    font-size: 18px;
  }

  .legalProcessOutput li {
    width: 100%;
    border-radius: 12px;
  }

  .legalResultList li {
    min-height: 82px;
    grid-template-columns: 42px 1fr;
    gap: 10px;
  }

  .legalResultList strong {
    font-size: 19px;
  }

  .legalFormats {
    padding: 27px 22px;
    border-radius: 22px;
  }

  .legalFormats > h3 {
    font-size: 30px;
  }

  .legalLeadForm {
    grid-template-columns: 1fr;
  }

  .legalFieldWide {
    grid-column: auto;
  }

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

  .legalFormSubmit button {
    width: 100%;
  }

  .legalFormSubmit small {
    max-width: none;
    text-align: center;
  }

}

@media (max-width: 380px) {
  .legalHeaderCta {
    padding: 0 12px;
    font-size: 11px;
  }

  .legalSectionHeading h2,
  .legalProcessHeading h2,
  .legalContactCopy h2 {
    font-size: 39px;
  }
}

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

  .legalSupportLanding *,
  .legalSupportLanding *::before,
  .legalSupportLanding *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
