@font-face {
  font-family: Thicccboi;
  src: url('/shared/assets/fonts/THICCCBOI-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('/shared/assets/fonts/THICCCBOI-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Thicccboi;
  src: url('/shared/assets/fonts/THICCCBOI-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f2f5f0;
  --card: #fff;
  --ink: #1b221d;
  --body: #3d4740;
  --muted: #72836d;
  --line: #dbe4d8;
  --indigo: #034737;
  --indigo-bright: #0e7a5a;
  --tintcard: #e2ece3;
  --dark: #0c1a13;
  --darktext: #c3cec5;
  --gold: #c9a94c;
  --font: 'Thicccboi', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.025em;
}

::selection {
  background: #cfe4d8;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--indigo-bright);
  outline-offset: 3px;
}

.container {
  width: min(100% - 56px, 1200px);
  margin-inline: auto;
}

.header {
  position: sticky;
  z-index: 80;
  top: 0;
  background: rgba(242, 245, 240, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, transform .35s var(--ease);
}

.header.is-stuck {
  box-shadow: 0 1px 0 var(--line);
}

.header.hide {
  transform: translateY(-100%);
}

.navbar {
  width: min(100% - 56px, 1420px);
  margin-inline: auto;
}

.nav {
  display: flex;
  height: 72px;
  align-items: center;
  gap: 26px;
}

.brand {
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--body);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
}

.nav-link .chev {
  color: var(--muted);
  transition: transform .2s var(--ease);
}

.nav-links li.open .chev {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: -10px;
  display: none;
  min-width: 540px;
  grid-template-columns: 1fr 1fr;
  gap: 4px 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 20px 50px -18px rgba(15, 26, 20, .25);
}

.nav-links li.open .mega {
  display: grid;
}

.mega.narrow {
  min-width: 260px;
  grid-template-columns: 1fr;
}

.mega.right {
  right: -10px;
  left: auto;
}

.mega-col h4 {
  margin: 4px 0 10px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mega a {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
}

.mega a:hover {
  background: var(--canvas);
}

.mega .t,
.mega .d {
  display: block;
}

.mega .t {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.mega .d {
  margin-top: 1px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.pill,
.legal-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 17px 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.1;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease;
}

.pill:hover,
.legal-button:hover {
  transform: translateY(-2px);
}

.pill-indigo,
.legal-button--primary {
  background: var(--indigo);
  color: #fff;
}

.pill-indigo:hover,
.legal-button--primary:hover {
  background: var(--dark);
}

.pill-ghost,
.legal-button--secondary {
  border-color: #c4cfc0;
  background: rgba(255, 255, 255, .4);
  color: var(--ink);
}

.pill-ghost:hover,
.legal-button--secondary:hover {
  border-color: var(--ink);
  background: #fff;
}

.cir,
.legal-button__arrow {
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.legal-button--secondary .legal-button__arrow {
  background: var(--tintcard);
}

.hamburger {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s ease;
}

.mobilenav {
  position: fixed;
  z-index: 79;
  inset: 72px 0 0;
  display: none;
  overflow-y: auto;
  padding: 14px 28px 130px;
  background: var(--canvas);
}

.mobilenav.openm {
  display: block;
}

.mobilenav details {
  border-bottom: 1px solid var(--line);
}

.mobilenav summary,
.mobilenav .mlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

.mobilenav details summary {
  border-bottom: 0;
}

.mobilenav summary::-webkit-details-marker {
  display: none;
}

.mobilenav a:not(.mlink) {
  display: block;
  padding: 10px 2px 10px 14px;
  color: var(--body);
  font-size: 15.5px;
}

.mobilenav .mfix {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 28px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.mobilenav .mfix .pill {
  width: 100%;
}

.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

.js .rv.d1 {
  transition-delay: .07s;
}

.js .rv.d2 {
  transition-delay: .14s;
}

.js .rv.d3 {
  transition-delay: .21s;
}

.legal-page {
  padding: 18px 0 0;
}

.legal-shell {
  width: min(100% - 36px, 1440px);
  margin-inline: auto;
}

.legal-section {
  padding: clamp(82px, 9vw, 132px) 0;
}

.legal-section--tight {
  padding-block: clamp(64px, 7vw, 96px);
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 9px;
  background: var(--indigo-bright);
  content: '';
}

.legal-heading {
  max-width: 17ch;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.legal-heading--small {
  max-width: 19ch;
  font-size: clamp(32px, 3.7vw, 54px);
  line-height: 1.05;
}

.legal-lead {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--body);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
}

.legal-hero {
  position: relative;
  min-height: min(790px, calc(100vh - 90px));
  overflow: hidden;
  border: 1px solid #dfe6dc;
  border-radius: 30px;
  background: #f8f8f2;
  isolation: isolate;
}

.legal-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 248, 242, .98) 0%, rgba(248, 248, 242, .92) 37%, rgba(248, 248, 242, .18) 69%, rgba(248, 248, 242, 0) 100%);
  content: '';
}

.legal-hero__art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.legal-hero__content {
  display: grid;
  min-height: inherit;
  align-content: center;
  padding: clamp(76px, 8vw, 112px) clamp(30px, 6.2vw, 92px);
}

.legal-hero__copy {
  width: min(100%, 690px);
}

.legal-hero h1 {
  max-width: 13ch;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: .99;
  letter-spacing: -.055em;
}

.legal-hero__lead {
  max-width: 57ch;
  margin-top: 28px;
  color: #3d4740;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
}

.legal-hero__proof {
  max-width: 50ch;
  margin-top: 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.legal-logo-band {
  padding: 34px 0 58px;
}

.legal-logo-band p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.legal-logo-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.legal-logo-row span {
  display: grid;
  height: 52px;
  place-items: center;
}

.legal-logo-row img {
  width: auto;
  max-width: 132px;
  height: 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .48;
  transition: filter .2s ease, opacity .2s ease;
}

.legal-logo-row img:hover {
  filter: none;
  opacity: 1;
}

.legal-intro {
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
}

.legal-intro__visual {
  position: relative;
}

.legal-intro__visual::before {
  position: absolute;
  z-index: -1;
  inset: 9% -2% -3% 9%;
  border-radius: 46% 54% 58% 42%;
  background: var(--tintcard);
  content: '';
}

.legal-intro__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  mix-blend-mode: multiply;
  object-fit: cover;
}

.legal-intro__copy p {
  max-width: 63ch;
  margin-top: 21px;
  font-size: 18px;
  line-height: 1.68;
}

.legal-intro__note {
  padding-left: 22px;
  border-left: 3px solid var(--indigo-bright);
  color: var(--ink);
}

.legal-matters {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fbfcfa;
}

.legal-matters__inner {
  padding: clamp(68px, 7vw, 104px) clamp(28px, 5vw, 76px);
}

.legal-matters__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 52px;
}

.legal-matters__head p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 17px;
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.legal-card {
  min-height: 330px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.legal-card:last-child {
  border-right: 0;
}

.legal-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--tintcard);
}

.legal-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.legal-card h3 {
  margin-top: 31px;
  font-size: 25px;
  line-height: 1.12;
}

.legal-card p {
  margin-top: 15px;
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.62;
}

.legal-challenges {
  position: relative;
  overflow: hidden;
  overflow: clip;
  border-radius: 30px;
  background: var(--dark);
  color: var(--darktext);
}

.legal-challenges__inner {
  display: grid;
  grid-template-columns: minmax(390px, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
  padding: clamp(72px, 8vw, 112px) clamp(28px, 5vw, 76px);
}

.legal-challenges__visual {
  display: grid;
  min-height: 0;
  align-items: center;
}

.legal-challenges__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

@media (min-width: 1021px) {
  .legal-challenges__visual {
    position: sticky;
    top: clamp(96px, 12vh, 128px);
    align-self: start;
  }
}

.legal-challenges .legal-eyebrow {
  color: #7bd3ae;
}

.legal-challenges h2 {
  color: #fff;
}

.legal-challenges__lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.62;
}

.legal-checklist {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.legal-checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 16px;
  line-height: 1.46;
  list-style: none;
}

.legal-checklist li::before {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  margin-top: 2px;
  border: 1px solid rgba(123, 211, 174, .55);
  border-radius: 50%;
  color: #7bd3ae;
  content: '✓';
  font-size: 12px;
  font-weight: 700;
}

.legal-checklist strong {
  color: #fff;
  font-weight: 600;
}

.legal-challenges .legal-button--secondary {
  border-color: rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
}

.legal-challenges .legal-button--secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .06);
}

.legal-services__head {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: end;
  gap: 54px;
  margin-bottom: 68px;
}

.legal-services__head .legal-lead {
  margin: 0 0 5px;
}

.legal-service-list {
  display: grid;
  gap: 30px;
}

.legal-service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 5vw, 74px);
  padding: clamp(42px, 5vw, 70px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 64px -54px rgba(8, 50, 38, .5);
}

.legal-service:nth-child(even) {
  background: #edf3ec;
}

.legal-service__head {
  position: sticky;
  top: 110px;
  align-self: start;
}

.legal-service__head .legal-icon {
  width: 76px;
  height: 76px;
}

.legal-service__head .legal-icon img {
  width: 38px;
  height: 38px;
}

.legal-service__label {
  display: block;
  margin-top: 30px;
  color: var(--indigo-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.legal-service h3 {
  max-width: 11ch;
  margin-top: 12px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.04;
}

.legal-service__body > p {
  font-size: 17px;
  line-height: 1.68;
}

.legal-service__body h4 {
  margin-top: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.legal-service__body ul {
  display: grid;
}

.legal-service__body li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
  list-style: none;
}

.legal-service__body li::before {
  color: var(--indigo-bright);
  content: '↗';
  font-weight: 700;
}

.legal-service__body strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-service__close {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 3px solid var(--indigo-bright);
  background: rgba(226, 236, 227, .55);
  color: var(--ink);
}

.legal-service:nth-child(even) .legal-service__close {
  background: rgba(255, 255, 255, .65);
}

.legal-industries {
  border-radius: 30px;
  background: #dfeae0;
}

.legal-industries__inner {
  padding: clamp(72px, 8vw, 112px) clamp(28px, 5vw, 76px);
}

.legal-industries__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 50px;
}

.legal-industry {
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(3, 71, 55, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  transition: transform .25s var(--ease), background .25s ease;
}

.legal-industry:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-4px);
}

.legal-industry .legal-icon {
  width: 50px;
  height: 50px;
  background: #fff;
}

.legal-industry .legal-icon img {
  width: 26px;
  height: 26px;
}

.legal-industry h3 {
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.16;
}

.legal-industry p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.58;
}

.legal-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.legal-choice {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.legal-choice:nth-child(2),
.legal-choice:nth-child(4) {
  transform: translateY(30px);
}

.legal-choice h3 {
  margin-top: 28px;
  font-size: 23px;
  line-height: 1.16;
}

.legal-choice p {
  margin-top: 13px;
  font-size: 16px;
  line-height: 1.6;
}

.legal-process {
  border-radius: 30px;
  background: var(--dark);
  color: var(--darktext);
}

.legal-process__inner {
  padding: clamp(72px, 8vw, 112px) clamp(28px, 5vw, 76px);
}

.legal-process .legal-eyebrow {
  color: #7bd3ae;
}

.legal-process h2 {
  color: #fff;
}

.legal-process__intro {
  max-width: 52ch;
  margin-top: 20px;
  font-size: 18px;
}

.legal-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .12);
}

.legal-step {
  min-height: 300px;
  padding: 32px;
  background: #11251b;
}

.legal-step__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7bd3ae;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .09em;
}

.legal-step__num::after {
  width: 46px;
  height: 1px;
  background: rgba(123, 211, 174, .42);
  content: '';
}

.legal-step h3 {
  margin-top: 44px;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.legal-step p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.58;
}

.legal-mid-cta {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.legal-mid-cta__copy {
  display: grid;
  align-content: center;
  padding: clamp(46px, 6vw, 84px);
}

.legal-mid-cta__copy p {
  max-width: 50ch;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.62;
}

.legal-mid-cta__art {
  min-height: 540px;
  background: #edf2e9;
}

.legal-mid-cta__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-cross-sell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.legal-cross-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 32px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.legal-cross-card:last-child {
  border-right: 0;
}

.legal-cross-card h3 {
  font-size: 25px;
}

.legal-cross-card p {
  margin-top: 13px;
  font-size: 16px;
}

.legal-cross-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--indigo);
  font-weight: 700;
}

.legal-cross-card a:hover {
  color: var(--indigo-bright);
}

.faq {
  padding: clamp(82px, 9vw, 132px) 0;
}

/* Use the homepage FAQ shell exactly; keep only this page's Legal copy. */
section.faq[data-faq-tabs] {
  --faq-ref-line: #dde4d9;
}

.faq > .container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 7vw, 90px);
}

.faq .side h2 {
  max-width: 11ch;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
}

.faq .side > p {
  max-width: 31ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 2px;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa .plus {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .25s var(--ease), background .2s ease;
}

.qa .plus::before,
.qa .plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  content: '';
  transform: translate(-50%, -50%);
}

.qa .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.qa[open] .plus {
  background: var(--ink);
  color: #fff;
  transform: rotate(45deg);
}

.qa .ans p {
  max-width: 66ch;
  padding: 0 42px 24px 2px;
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
}

.legal-final {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: var(--indigo);
  color: #d8e8dd;
}

.legal-final::after {
  position: absolute;
  right: -12%;
  bottom: -52%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .025), 0 0 0 160px rgba(255, 255, 255, .018);
  content: '';
}

.legal-final__inner {
  position: relative;
  z-index: 1;
  padding: clamp(78px, 8vw, 118px) clamp(28px, 6vw, 88px);
}

.legal-final .legal-eyebrow {
  color: #91ddb9;
}

.legal-final h2 {
  max-width: 18ch;
  color: #fff;
}

.legal-final p {
  max-width: 67ch;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.62;
}

.legal-final .legal-button--primary {
  background: #fff;
  color: var(--indigo);
}

.legal-final .legal-button--primary:hover {
  background: var(--tintcard);
}

.legal-final .legal-button--secondary {
  border-color: rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
}

.legal-final .legal-button--secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.footer {
  margin: 18px 12px 12px;
  overflow: hidden;
  padding: 84px 0 0;
  border-radius: 32px;
  background: var(--dark);
  color: var(--darktext);
}

.footer-lead-card {
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-lead-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-lead-head h2 {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
}

.footer-lead-head p {
  max-width: 35ch;
}

.footer-lead-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #eef5ef;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: #7bd3ae;
  box-shadow: 0 0 0 3px rgba(123, 211, 174, .12);
}

.field .err {
  display: none;
  margin-top: 4px;
  color: #ffb6b6;
  font-size: 12px;
}

.footer-lead-field--wide {
  grid-column: span 3;
}

.footer-lead-submit {
  align-self: end;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  font-weight: 700;
}

.footer-lead-success {
  display: none;
}

.f-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 54px 0;
}

.f-brand p {
  max-width: 26ch;
  margin-top: 13px;
  font-size: 16px;
}

.f-col h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.f-col a {
  display: block;
  padding: 5px 0;
  font-size: 15.5px;
}

.f-col a:hover,
.f-bottom a:hover {
  color: #fff;
}

.f-bottom {
  display: flex;
  align-items: center;
  gap: 12px 26px;
  padding-bottom: 26px;
  color: #8f9d92;
  font-size: 14px;
}

.f-bottom .grow {
  flex: 1;
}

.f-word {
  transform: translateY(14%);
}

@media (max-width: 1100px) {
  .legal-logo-row {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .legal-choice:nth-child(2),
  .legal-choice:nth-child(4) {
    transform: none;
  }

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

@media (max-width: 900px) {
  .nav-links,
  .nav-cta .pill-ghost {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav {
    justify-content: space-between;
  }

  .legal-hero {
    min-height: 820px;
  }

  .legal-hero::after {
    background: linear-gradient(180deg, rgba(248, 248, 242, .98) 0%, rgba(248, 248, 242, .96) 48%, rgba(248, 248, 242, .42) 72%, rgba(248, 248, 242, .05) 100%);
  }

  .legal-hero__art {
    object-position: 60% center;
    opacity: .76;
  }

  .legal-hero__content {
    align-content: start;
  }

  .legal-intro,
  .legal-challenges__inner,
  .legal-services__head,
  .legal-service,
  .legal-mid-cta,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .legal-intro__visual {
    max-width: 700px;
  }

  .legal-card-grid,
  .legal-industries__grid,
  .legal-steps,
  .legal-cross-sell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-card:nth-child(2),
  .legal-cross-card:nth-child(2) {
    border-right: 0;
  }

  .legal-card:last-child,
  .legal-cross-card:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .legal-service__head {
    position: static;
  }

  .legal-service h3 {
    max-width: 18ch;
  }

  .legal-mid-cta__art {
    min-height: 420px;
  }

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

  .footer-lead-field--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .container,
  .navbar {
    width: min(100% - 36px, 1200px);
  }

  .nav-cta {
    display: none;
  }

  .legal-page {
    padding-top: 0;
  }

  .legal-shell {
    width: 100%;
  }

  .legal-hero,
  .legal-matters,
  .legal-challenges,
  .legal-industries,
  .legal-process,
  .legal-final {
    border-radius: 0;
  }

  .legal-hero {
    min-height: 780px;
    border-right: 0;
    border-left: 0;
  }

  .legal-hero h1 {
    font-size: clamp(43px, 13.3vw, 60px);
  }

  .legal-hero__content {
    padding: 62px 20px 280px;
  }

  .legal-hero__art {
    top: auto;
    height: 390px;
    object-position: 64% center;
  }

  .legal-hero::after {
    background: linear-gradient(180deg, #f8f8f2 0%, rgba(248, 248, 242, .98) 56%, rgba(248, 248, 242, .25) 78%, rgba(248, 248, 242, 0) 100%);
  }

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

  .legal-button {
    width: 100%;
  }

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

  .legal-logo-row span:nth-child(n + 7) {
    display: none;
  }

  .legal-matters__head,
  .footer-lead-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-card-grid,
  .legal-industries__grid,
  .legal-choice-grid,
  .legal-steps,
  .legal-cross-sell {
    grid-template-columns: 1fr;
  }

  .legal-card,
  .legal-cross-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-card:last-child,
  .legal-cross-card:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .legal-challenges__visual {
    min-height: auto;
  }

  .legal-service {
    padding: 34px 22px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .legal-service-list {
    gap: 16px;
  }

  .legal-mid-cta {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .legal-mid-cta__copy {
    padding: 48px 20px;
  }

  .legal-mid-cta__art {
    min-height: 300px;
  }

  .faq {
    padding-inline: 0;
  }

  .footer {
    margin: 0;
    border-radius: 0;
  }

  .footer-lead-fields,
  .f-grid {
    grid-template-columns: 1fr;
  }

  .footer-lead-field--wide {
    grid-column: auto;
  }

  .f-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

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

/* Keep the Legal page navbar identical to the shared homepage navbar. */
.header {
  position: fixed;
  z-index: 80;
  top: 20px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform .35s var(--ease);
}

.header.hide {
  transform: translateY(-140%);
}

.header.is-stuck {
  box-shadow: none;
}

.navbar {
  position: relative;
  width: auto;
  max-width: 960px;
  margin: 0;
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 2px 10px rgba(15, 26, 20, .05);
  pointer-events: auto;
  transition: box-shadow .25s ease;
}

.header.is-stuck .navbar {
  box-shadow: 0 8px 30px rgba(15, 26, 20, .1);
}

.header .nav {
  display: flex;
  height: 64px;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
}

.header .brand {
  padding: 0 6px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.header .nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.header .nav-links > li {
  position: static;
}

.header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  transition: background .15s ease;
}

.header .nav-link.current,
.header .nav-link:hover,
.header li.open .nav-link {
  background: #f0f2ee;
  color: var(--ink);
}

.header .nav-link .chev {
  color: var(--muted);
  transition: transform .2s var(--ease);
}

.header li.open .nav-link .chev {
  transform: rotate(180deg);
}

.header .nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.header .cta-arw {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  background: var(--indigo);
  color: #fff;
}

.header .cta-arw::before,
.header .marw::before {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background: var(--indigo-bright);
  content: '';
  transform: translate(-100%, 100%);
  transition: transform .35s cubic-bezier(.625, .05, 0, 1);
}

.header .cta:hover .cta-arw::before,
.header .mcard:hover .marw::before {
  transform: translate(-17%, 17%);
}

.header .cta-arw svg,
.header .marw svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
  transition: transform .35s cubic-bezier(.625, .05, 0, 1), opacity .35s cubic-bezier(.625, .05, 0, 1);
}

.header .cta-arw .ar1,
.header .marw .ar1 {
  color: #fff;
  opacity: 1;
  transform: translate(0, 0);
}

.header .cta-arw .ar2,
.header .marw .ar2 {
  color: #fff;
  opacity: 0;
  transform: translate(-120%, 120%);
}

.header .cta:hover .cta-arw .ar1,
.header .mcard:hover .marw .ar1 {
  opacity: 0;
  transform: translate(120%, -120%);
}

.header .cta:hover .cta-arw .ar2,
.header .mcard:hover .marw .ar2 {
  opacity: 1;
  transform: translate(0, 0);
}

.header .mega,
.header .mega.right {
  position: absolute;
  top: calc(100% + 8px);
  right: auto;
  left: 50%;
  display: none;
  width: min(960px, calc(100vw - 32px));
  min-width: 0;
  padding: 16px;
  border: 1px solid #dde4d9;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 20px 50px -18px rgba(15, 26, 20, .22);
  opacity: 0;
  grid-template-columns: none;
  gap: 0;
  transform: translate(-50%, -6px);
  transition: opacity .3s cubic-bezier(.625, .05, 0, 1), transform .3s cubic-bezier(.625, .05, 0, 1);
}

.header .nav-links li.open .mega {
  display: block;
  opacity: 1;
  transform: translate(-50%, 0);
}

.header .mega.narrow {
  width: min(720px, calc(100vw - 32px));
  min-width: 0;
  grid-template-columns: none;
}

.header .mega-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header .mrow {
  display: flex;
  gap: 12px;
}

.header .mrow .mcard {
  min-width: 0;
  flex: 1 1 0;
}

.header .mega .mcard {
  position: relative;
  display: block;
  min-height: 104px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f5f6f3;
  transition: flex .35s cubic-bezier(.625, .05, 0, 1), background .35s cubic-bezier(.625, .05, 0, 1);
}

.header .mega .mcard:hover {
  background: #eceee9;
  flex-grow: 1.35;
}

.header .mcard .t {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.header .mcard .d {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.header .mcard .marw {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 24px;
  height: 24px;
  overflow: hidden;
  place-items: center;
  border-radius: 4px;
  background: var(--indigo);
  color: #fff;
}

.header .hamburger {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header .hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

body > .mobilenav {
  position: fixed;
  z-index: 79;
  inset: 80px 0 0;
  display: none;
  overflow-y: auto;
  padding: 14px 28px 130px;
  background: var(--canvas);
}

body > .mobilenav.openm {
  display: block;
}

body > .mobilenav details {
  border-bottom: 1px solid var(--line);
}

body > .mobilenav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

body > .mobilenav summary::-webkit-details-marker {
  display: none;
}

body > .mobilenav a {
  display: block;
  padding: 10px 2px 10px 14px;
  color: var(--body);
  font-size: 15.5px;
}

body > .mobilenav .mlink {
  display: flex;
  justify-content: space-between;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

body > .mobilenav .mfix {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 28px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

body > .mobilenav .mfix .pill {
  display: flex;
  width: 100%;
  justify-content: center;
  color: #fff;
}

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

  .header .navbar {
    width: 100%;
    max-width: none;
  }

  .header .hamburger {
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: auto;
    align-content: center;
    justify-items: center;
    padding: 6px;
  }

  .header .nav {
    height: 60px;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header,
  .header .cta-arw,
  .header .cta-arw::before,
  .header .cta-arw svg,
  .header .marw::before,
  .header .marw svg,
  .header .mcard,
  .header .mega,
  .header .nav-link .chev {
    transition: none;
  }
}

/* Fit the complete challenges story inside the 1224×698 review viewport. */
@media (min-width: 1120px) {
  .legal-challenges-section {
    padding-block: 16px;
  }

  .legal-challenges__inner {
    grid-template-columns: minmax(340px, .76fr) minmax(0, 1.24fr);
    gap: 52px;
    padding: 34px 52px;
  }

  .legal-challenges .legal-eyebrow {
    margin-bottom: 11px;
    font-size: 12px;
  }

  .legal-challenges h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .legal-challenges__lead {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.42;
  }

  .legal-checklist {
    margin-top: 17px;
  }

  .legal-checklist li {
    grid-template-columns: 22px 1fr;
    gap: 9px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.32;
  }

  .legal-checklist li::before {
    width: 18px;
    height: 18px;
    margin-top: 0;
    font-size: 10px;
  }

  .legal-challenges .legal-actions {
    margin-top: 15px;
  }

  .legal-challenges .legal-button {
    min-height: 42px;
    padding: 8px 13px 8px 17px;
    font-size: 14px;
  }

  .legal-challenges .legal-button__arrow {
    width: 24px;
    height: 24px;
  }
}
