@charset "UTF-8";

:root {
  --legal-deep: var(--sr-color-brand-deep);
  --legal-deeper: var(--sr-color-brand-deeper);
  --legal-teal: var(--sr-color-teal);
  --legal-mint: var(--sr-color-surface-mint);
  --legal-soft: var(--sr-color-surface-soft);
  --legal-warm: var(--sr-color-surface-warm);
  --legal-gold: var(--sr-color-accent);
  --legal-line: var(--sr-color-line);
  --legal-text: var(--sr-color-text);
}

html {
  scroll-behavior: smooth;
}

body.legal-page {
  --sr-sticky-heading-top: calc(
    var(--sr-shell-header-offset) + var(--sr-section-nav-offset) + var(--sr-space-4)
  );
  min-width: 320px;
  padding-top: var(--sr-shell-header-offset);
  overflow-x: clip;
  background: var(--sr-color-surface);
  color: var(--sr-color-ink);
  font-family: var(--sr-font-sans);
}

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

.legal-page .navbar {
  margin-bottom: 0;
}

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

.legal-page main:focus {
  outline: 0;
}

.legal-page main :where(h1, h2, h3, h4, p, figure, ul, ol, dl, dd) {
  margin-top: 0;
}

.legal-page main :where(h1, h2, h3, h4) {
  color: var(--legal-deep);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.legal-page main :where(p, li, dd) {
  color: var(--legal-text);
}

.legal-page .material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.legal-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 26px;
  margin: 0 0 18px;
  color: var(--legal-teal) !important;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-eyebrow::before {
  width: 3px;
  height: 26px;
  flex: 0 0 3px;
  border-radius: 2px;
  background: var(--legal-gold);
  content: "";
}

.legal-section-heading h2 {
  max-width: 16ch;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.4vw, 4.35rem);
  line-height: 1.03;
}

.legal-section-heading > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  font-size: 1.04rem;
  line-height: 1.72;
}

/* Secondary-page hero */
.legal-hero {
  position: relative;
  min-height: 670px;
  padding: clamp(58px, 5.7vw, 88px) 0 48px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--legal-line);
  background: #fff;
}

.legal-hero::before {
  position: absolute;
  width: 440px;
  height: 440px;
  inset: -270px auto auto -165px;
  border: 1px solid rgba(0, 121, 107, 0.1);
  border-radius: 50%;
  content: "";
}

.legal-hero::after {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  top: -40px;
  right: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 246, 243, 0.75), rgba(255, 255, 255, 0) 68%);
  content: "";
}

.legal-hero-shell {
  position: relative;
  z-index: 1;
  min-height: 548px;
}

.legal-hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 55%);
  padding: 18px 0 38px;
}

.legal-hero h1 {
  max-width: 730px;
  margin: 0;
  color: var(--legal-deep);
  font-size: clamp(3.35rem, 4.65vw, 4.85rem);
  line-height: 1;
}

.legal-page .legal-hero-lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: #3f615c !important;
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
  line-height: 1.68;
}

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

.legal-page .legal-hero-note {
  display: flex;
  max-width: 665px;
  align-items: flex-start;
  gap: 10px;
  margin: 38px 0 0;
  color: #4d6d68 !important;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

.legal-hero-note .material-symbols-outlined {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--legal-teal);
  font-size: 20px;
}

.legal-hero-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(-125px, -5vw, -72px);
  width: min(1120px, 73vw);
  margin: 0;
  transform: translateY(-47%);
  pointer-events: none;
}

.legal-hero-visual picture,
.legal-hero-visual img {
  display: block;
  width: 100%;
}

.legal-hero-visual img {
  height: auto;
}

.legal-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.legal-hero-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--legal-line);
  border-radius: var(--sr-radius-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--legal-deep);
  font-size: 0.77rem;
  font-weight: 800;
}

.legal-hero-meta .material-symbols-outlined {
  color: var(--legal-teal);
  font-size: 17px;
}

/* Evidence strip */
.legal-proof {
  border-bottom: 1px solid var(--legal-line);
  background: #fff;
}

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

.legal-proof-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
  min-height: 128px;
  align-items: center;
  padding: 24px 22px;
  border-inline-start: 1px solid var(--legal-line);
}

.legal-proof-item:last-child {
  border-inline-end: 1px solid var(--legal-line);
}

.legal-proof-item > .material-symbols-outlined {
  color: var(--legal-teal);
  font-size: 28px;
}

.legal-proof-item small,
.legal-proof-item strong,
.legal-proof-item span {
  display: block;
}

.legal-proof-item small {
  margin-bottom: 4px;
  color: var(--sr-color-accent-text);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.legal-proof-item strong {
  color: var(--legal-deep);
  font-size: 0.94rem;
  line-height: 1.35;
}

.legal-proof-item span {
  margin-top: 4px;
  color: var(--legal-text);
  font-size: 0.77rem;
  line-height: 1.45;
}

/* Orientation and direct answer */
.legal-orientation {
  padding: clamp(72px, 7vw, 105px) 0;
  background: var(--legal-soft);
}

.legal-orientation-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.legal-orientation-copy h2 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.25vw, 4.15rem);
  line-height: 1.03;
}

.legal-orientation-copy > p:not(.legal-eyebrow) {
  max-width: 570px;
  margin-bottom: 0;
  font-size: 1.04rem;
  line-height: 1.72;
}

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

.legal-orientation-card {
  min-height: 205px;
  padding: 25px;
  border: 1px solid var(--legal-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--sr-shadow-sm);
}

.legal-orientation-card .material-symbols-outlined {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 10px;
  background: var(--legal-mint);
  color: var(--legal-teal);
}

.legal-orientation-card h3 {
  margin-bottom: 9px;
  font-size: 1.12rem;
}

.legal-orientation-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.62;
}

/* Operative document */
.legal-document {
  padding: clamp(74px, 7vw, 110px) 0;
  background: #fff;
}

.legal-document-header {
  max-width: 840px;
  margin-bottom: 54px;
}

.legal-document-header h2 {
  max-width: 16ch;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 1.02;
}

.legal-document-header > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.72;
}

.legal-document-layout {
  display: grid;
  grid-template-columns: minmax(235px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(36px, 5.5vw, 78px);
  align-items: start;
}

.legal-document-aside {
  position: sticky;
  top: var(--sr-sticky-heading-top);
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--legal-line);
  border-radius: 14px;
  background: var(--legal-soft);
  box-shadow: var(--sr-shadow-sm);
}

.legal-document-aside h2 {
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.legal-document-aside dl {
  display: grid;
  gap: 0;
  margin-bottom: 22px;
}

.legal-document-aside dl > div {
  padding: 14px 0;
  border-top: 1px solid var(--legal-line);
}

.legal-document-aside dt {
  margin-bottom: 4px;
  color: var(--sr-color-accent-text);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.legal-document-aside dd {
  margin: 0;
  color: var(--legal-deep) !important;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
}

.legal-document-aside p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.legal-document-aside a {
  color: var(--legal-teal);
  font-weight: 800;
  text-decoration: none;
}

.legal-document-aside a:hover {
  text-decoration: underline;
}

.legal-article {
  min-width: 0;
  max-width: 900px;
}

.legal-clause {
  position: relative;
  padding: 0 0 50px 74px;
  scroll-margin-top: 0;
}

.legal-clause + .legal-clause {
  padding-top: 48px;
  border-top: 1px solid var(--legal-line);
}

.legal-clause__number {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--legal-deep);
  color: var(--legal-gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.legal-clause + .legal-clause .legal-clause__number {
  top: 48px;
}

.legal-clause h2 {
  max-width: 28ch;
  margin-bottom: 17px;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.18;
}

.legal-clause h3 {
  margin: 27px 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.legal-clause p,
.legal-clause li {
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-clause p {
  margin-bottom: 16px;
}

.legal-clause ul,
.legal-clause ol {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding-left: 1.2rem;
}

.legal-clause li::marker {
  color: var(--legal-teal);
  font-weight: 800;
}

.legal-clause a {
  color: var(--legal-teal);
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin: 24px 0;
  padding: 20px 22px;
  border-inline-start: 4px solid var(--legal-gold);
  background: var(--legal-warm);
}

.legal-callout--mint {
  border-inline-start-color: var(--legal-teal);
  background: var(--legal-mint);
}

.legal-callout--dark {
  border-inline-start-color: var(--legal-gold);
  background: var(--legal-deep);
}

.legal-callout > .material-symbols-outlined {
  color: var(--legal-teal);
}

.legal-callout--dark > .material-symbols-outlined {
  color: var(--legal-gold);
}

.legal-callout strong {
  display: block;
  margin-bottom: 5px;
  color: var(--legal-deep);
}

.legal-callout p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
}

.legal-callout--dark strong,
.legal-callout--dark p {
  color: #fff !important;
}

.legal-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.legal-definition-grid > div {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--legal-line);
  border-radius: 10px;
  background: var(--legal-soft);
}

.legal-definition-grid dt {
  margin-bottom: 8px;
  color: var(--legal-deep);
  font-size: 0.92rem;
  font-weight: 900;
}

.legal-definition-grid dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.legal-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--legal-line);
  border-radius: 10px;
}

.legal-table {
  width: 100%;
  min-width: 660px;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.legal-table th,
.legal-table td {
  padding: 16px;
  border-bottom: 1px solid var(--legal-line);
  color: var(--legal-text);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--legal-soft);
  color: var(--legal-deep);
  font-weight: 900;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-highlight {
  margin: 26px 0;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 14px;
  background: var(--legal-deep);
  color: #fff;
  box-shadow: var(--sr-shadow-md);
}

.legal-highlight .legal-eyebrow {
  color: var(--legal-gold) !important;
}

.legal-highlight h3 {
  max-width: 22ch;
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

.legal-highlight p,
.legal-highlight li {
  color: var(--sr-color-on-dark-muted) !important;
}

/* FAQ */
.legal-faq {
  padding: clamp(76px, 8vw, 112px) 0;
  background: var(--legal-soft);
}

.legal-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(44px, 7vw, 105px);
  align-items: start;
}

.legal-faq-heading {
  position: sticky;
  top: var(--sr-sticky-heading-top);
  align-self: start;
}

.legal-faq-heading h2 {
  max-width: 10ch;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  line-height: 1.02;
}

.legal-faq-heading > p:last-child {
  max-width: 430px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.68;
}

.legal-faq .sr-faq-list {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--legal-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sr-shadow-sm);
}

.legal-faq .sr-faq-item {
  background: #fff;
}

.legal-faq .sr-faq-item:last-child {
  border-bottom: 0;
}

.legal-faq .sr-faq-item > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 20px;
  min-height: 82px;
  align-items: center;
  padding: 20px 24px;
  color: var(--legal-deep);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.42;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.legal-faq .sr-faq-item > summary:hover {
  background: var(--legal-mint);
  color: var(--legal-teal);
}

.legal-faq .sr-faq-item > summary:focus-visible {
  position: relative;
  z-index: 1;
  outline: var(--sr-focus-outline);
  outline-offset: -4px;
}

.legal-faq .sr-faq-item > summary .material-symbols-outlined {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--legal-line);
  border-radius: 50%;
  color: var(--legal-teal);
  font-size: 20px;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.legal-faq .sr-faq-item[open] > summary {
  color: var(--legal-teal);
}

.legal-faq .sr-faq-item[open] > summary .material-symbols-outlined {
  border-color: var(--legal-teal);
  background: var(--legal-teal);
  color: #fff;
}

.legal-faq .sr-faq-answer {
  padding-block: 0 24px;
  padding-inline: 24px 82px;
}

.legal-faq .sr-faq-answer > :last-child {
  margin-bottom: 0;
}

.legal-faq .sr-faq-answer p {
  max-width: 800px;
  margin: 0;
  color: var(--legal-text);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Final contact panel */
.legal-contact {
  padding: clamp(72px, 7vw, 104px) 0;
  background: var(--legal-deep);
}

.legal-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.legal-contact-copy .legal-eyebrow {
  color: var(--legal-gold) !important;
}

.legal-contact-copy h2 {
  max-width: 18ch;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.2rem, 3.8vw, 3.75rem);
  line-height: 1.05;
}

.legal-contact-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--sr-color-on-dark-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.legal-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

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

.legal-contact .sr-button--secondary:hover,
.legal-contact .sr-button--secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Print */
@media print {
  body.legal-page {
    padding-top: 0;
    color: #000;
  }

  .legal-page .navbar,
  .legal-page .sr-section-nav,
  .legal-page .legal-hero-visual,
  .legal-page .legal-proof,
  .legal-page .legal-orientation,
  .legal-page .legal-faq,
  .legal-page .legal-contact,
  .legal-page footer,
  .legal-page #zsiqscript {
    display: none !important;
  }

  .legal-hero {
    min-height: 0;
    padding: 20px 0 32px;
  }

  .legal-hero-copy {
    width: 100%;
    padding: 0;
  }

  .legal-hero h1 {
    font-size: 28pt;
  }

  .legal-document {
    padding: 20px 0;
  }

  .legal-document-layout {
    display: block;
  }

  .legal-document-aside {
    position: static;
    margin-bottom: 28px;
    box-shadow: none;
  }

  .legal-clause {
    break-inside: avoid;
  }
}

@media (max-width: 1199.98px) {
  .legal-hero {
    min-height: 650px;
  }

  .legal-hero-copy {
    width: 58%;
  }

  .legal-hero h1 {
    font-size: clamp(3.05rem, 5.4vw, 4.25rem);
  }

  .legal-hero-visual {
    right: -165px;
    width: 78vw;
  }
}

@media (max-width: 991.98px) {
  body.legal-page {
    --sr-sticky-heading-top: 84px;
  }

  .legal-hero {
    min-height: auto;
    padding: 60px 0 0;
  }

  .legal-hero-shell {
    min-height: 0;
  }

  .legal-hero-copy {
    width: 100%;
    max-width: 760px;
    padding: 0;
  }

  .legal-hero h1 {
    max-width: 750px;
  }

  .legal-hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: min(1080px, 125%);
    margin: -10px -12.5% -18px;
    transform: none;
  }

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

  .legal-proof-item:nth-child(3),
  .legal-proof-item:nth-child(4) {
    border-top: 1px solid var(--legal-line);
  }

  .legal-orientation-layout,
  .legal-faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .legal-document-layout {
    grid-template-columns: 1fr;
  }

  .legal-document-aside,
  .legal-faq-heading {
    position: static;
  }

  .legal-contact-panel {
    grid-template-columns: 1fr;
  }

  .legal-contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .legal-hero {
    padding-top: 44px;
  }

  .legal-hero h1 {
    font-size: clamp(2.65rem, 11vw, 3.55rem);
  }

  .legal-hero-lead {
    font-size: 1rem;
  }

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

  .legal-hero-actions .sr-button {
    width: 100%;
  }

  .legal-hero-visual {
    width: 140%;
    margin: 4px -20% -12px;
  }

  .legal-proof-grid,
  .legal-orientation-grid,
  .legal-definition-grid {
    grid-template-columns: 1fr;
  }

  .legal-proof-item {
    min-height: 112px;
    border-top: 1px solid var(--legal-line);
    border-inline-end: 1px solid var(--legal-line);
  }

  .legal-proof-item:first-child {
    border-top: 0;
  }

  .legal-clause {
    padding: 0 0 42px 0;
  }

  .legal-clause + .legal-clause {
    padding-top: 42px;
  }

  .legal-clause__number,
  .legal-clause + .legal-clause .legal-clause__number {
    position: static;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }

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

  .legal-contact-actions .sr-button {
    width: 100%;
  }

  .legal-faq .sr-faq-item > summary {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 14px;
    min-height: 74px;
    padding: 18px;
    font-size: 0.92rem;
  }

  .legal-faq .sr-faq-item > summary .material-symbols-outlined {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .legal-faq .sr-faq-answer {
    padding-block: 0 22px;
    padding-inline: 18px;
  }

  .legal-faq .sr-faq-answer p {
    font-size: 0.88rem;
    line-height: 1.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-page *,
  .legal-page *::before,
  .legal-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
