:root {
  color-scheme: light;
  --navy-950: #071a33;
  --navy-900: #0a2344;
  --navy-800: #12365d;
  --ink: #102033;
  --muted: #5a6678;
  --line: #d9e2ec;
  --white: #ffffff;
  --cloud: #f6f9fc;
  --gold: #c9a24a;
  --teal: #2c7a7b;
  --shadow: 0 22px 70px rgba(7, 26, 51, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 26, 51, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.trust-row,
.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
}

.brand {
  min-width: max-content;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy-950);
  background: var(--white);
  border: 2px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
}

.nav-links {
  gap: clamp(14px, 2.2vw, 28px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a,
.nav-call {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-call {
  min-width: max-content;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-call:hover {
  background: var(--white);
  color: var(--navy-950);
  border-color: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  padding: 132px clamp(20px, 6vw, 84px) 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.96) 0%, rgba(7, 26, 51, 0.78) 42%, rgba(7, 26, 51, 0.1) 100%),
    linear-gradient(0deg, rgba(7, 26, 51, 0.48), rgba(7, 26, 51, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--white);
  color: var(--navy-950);
  box-shadow: var(--shadow);
}

.button-primary:hover {
  background: #eef4fa;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--white);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.split-section,
.case-types-section,
.standards-section,
.firm-band,
.cta-section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 84px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(36px, 6vw, 92px);
  background: var(--white);
}

.section-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 210px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--cloud);
}

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.feature-grid p,
.standards-list p,
.case-type-grid span {
  margin-bottom: 0;
  color: var(--muted);
}

.case-types-section {
  background: var(--cloud);
}

.case-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.case-type-grid span {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 14px 16px;
  color: var(--navy-950);
  background: var(--white);
  border-left: 4px solid var(--gold);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.firm-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  color: var(--white);
  background: var(--navy-900);
}

.firm-band h2,
.firm-band p,
.firm-band span {
  color: var(--white);
}

.firm-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.firm-copy {
  display: grid;
  gap: 24px;
}

.firm-points {
  display: grid;
  gap: 10px;
}

.firm-points span {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
  font-weight: 800;
}

.standards-section {
  background: var(--white);
}

.standards-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.standards-list article {
  padding: 28px;
  background: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.08);
}

.cta-section {
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.cta-section h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.cta-section .button-primary {
  min-width: max-content;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: none;
}

.cta-section .button-primary:hover {
  background: var(--navy-800);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) max-content;
  gap: 28px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.68);
  background: #061529;
  font-size: 0.86rem;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 16px;
  text-align: right;
  white-space: nowrap;
}

.footer-links a,
.policy-shell a,
.cookie-actions a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 74, 0.72);
  text-underline-offset: 4px;
}

.legal-page {
  min-height: 100vh;
  padding: 132px clamp(20px, 6vw, 84px) 86px;
  background:
    linear-gradient(180deg, rgba(7, 26, 51, 0.08), rgba(7, 26, 51, 0)),
    var(--cloud);
}

.policy-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border-top: 5px solid var(--gold);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
}

.policy-shell h1 {
  max-width: none;
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.policy-shell h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.policy-shell section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.policy-shell p {
  color: var(--muted);
  font-size: 1rem;
}

.policy-shell p:last-child,
.policy-shell section:last-child {
  margin-bottom: 0;
}

.policy-shell a {
  color: var(--navy-950);
}

.policy-updated {
  margin-bottom: 0;
  color: var(--teal);
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  z-index: 20;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  display: grid;
  width: min(560px, calc(100vw - 28px));
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 20px;
  align-items: center;
  padding: 18px;
  color: var(--white);
  background: rgba(6, 21, 41, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 60px rgba(6, 21, 41, 0.32);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.92rem;
}

.cookie-banner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-actions button {
  min-height: 42px;
  min-width: 84px;
  padding: 10px 16px;
  border: 1px solid var(--white);
  color: var(--navy-950);
  background: var(--white);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

.cookie-actions button:hover {
  background: #eef4fa;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .split-section,
  .firm-band,
  .case-type-grid,
  .standards-list,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .firm-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .firm-band {
    align-items: start;
  }

  .footer-links {
    justify-content: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
    font-size: 0.9rem;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
  }

  .nav-call {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 18px 52px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 26, 51, 0.97) 0%, rgba(7, 26, 51, 0.88) 68%, rgba(7, 26, 51, 0.42) 100%);
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(2.75rem, 16vw, 4.2rem);
  }

  .button {
    width: 100%;
  }

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

  .case-type-grid,
  .standards-list {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .trust-row span {
    width: 100%;
  }

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

  .site-footer,
  .footer-links,
  .cookie-banner,
  .cookie-actions {
    align-items: stretch;
  }

  .footer-links,
  .cookie-banner,
  .cookie-actions {
    flex-direction: column;
  }

  .footer-links {
    display: flex;
    gap: 8px;
    white-space: normal;
  }

  .legal-page {
    padding: 108px 18px 52px;
  }

  .policy-shell {
    padding: 24px 18px;
  }

  .cookie-banner {
    display: flex;
    gap: 16px;
  }
}
