body.page-legal_document_index {
      background: #ffffff;
    }

    body.page-legal_document_index main {
      width: 100%;
      max-width: 1420px;
      padding: 38px 48px 48px;
    }

    .legal-index {
      --legal-green: #008a45;
      --legal-green-dark: #006d39;
      --legal-green-soft: #edf8f2;
      --legal-green-wash: #f7fcf9;
      --legal-ink: #061b45;
      --legal-muted: #3f516f;
      --legal-border: #c9ddd2;
      --legal-shadow: 0 20px 44px rgba(6, 27, 69, 0.08);
      color: var(--legal-ink);
      display: grid;
      gap: 30px;
    }

    .legal-index svg {
      width: 1em;
      height: 1em;
      flex: 0 0 auto;
    }

    .legal-breadcrumb {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--legal-muted);
      font-size: 14px;
      font-weight: 700;
    }

    .legal-breadcrumb a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--legal-ink);
      text-decoration: none;
    }

    .legal-breadcrumb-separator {
      color: #95a4b6;
    }

    .legal-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
      align-items: center;
      gap: 56px;
      padding: 10px 0 20px;
    }

    .legal-hero-copy {
      display: grid;
      gap: 22px;
      max-width: 850px;
    }

    .legal-kicker,
    .legal-section-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: fit-content;
      color: var(--legal-green-dark);
      background: var(--legal-green-soft);
      border: 1px solid rgba(0, 138, 69, 0.12);
      border-radius: 8px;
      padding: 10px 14px;
      font-weight: 800;
    }

    .legal-kicker svg,
    .legal-section-label svg {
      color: var(--legal-green);
      font-size: 22px;
    }

    .legal-hero h1 {
      margin: 0;
      color: var(--legal-ink);
      font-family: "Manrope", "Segoe UI", sans-serif;
      font-size: clamp(44px, 5vw, 72px);
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1.04;
    }

    .legal-hero h1 span {
      color: var(--legal-green);
    }

    .legal-hero p {
      margin: 0;
      color: var(--legal-muted);
      font-size: clamp(16px, 1.35vw, 20px);
      font-weight: 600;
      line-height: 1.75;
      max-width: 870px;
    }

    .legal-hero .legal-owner {
      color: var(--legal-ink);
      font-size: 15px;
      font-weight: 700;
    }

    .legal-hero-visual {
      margin: 0;
      justify-self: center;
      width: min(100%, 390px);
    }

    .legal-hero-visual img {
      width: 100%;
      height: auto;
      filter: drop-shadow(0 18px 34px rgba(6, 27, 69, 0.12));
    }

    .legal-essentials {
      display: grid;
      gap: 26px;
      padding: 30px 30px 36px;
      border: 1px solid var(--legal-border);
      border-radius: 8px;
      background: linear-gradient(180deg, #ffffff 0%, var(--legal-green-wash) 100%);
      box-shadow: 0 14px 32px rgba(0, 138, 69, 0.05);
    }

    .legal-section-label {
      background: transparent;
      border: 0;
      padding: 0;
      color: var(--legal-green-dark);
      font-size: 20px;
    }

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

    .legal-essential-item {
      display: grid;
      justify-items: center;
      align-content: start;
      gap: 14px;
      min-height: 190px;
      padding: 4px 22px;
      text-align: center;
    }

    .legal-essential-item + .legal-essential-item {
      border-left: 1px solid var(--legal-border);
    }

    .legal-essential-icon,
    .legal-card-icon,
    .legal-help-icon {
      display: inline-grid;
      place-items: center;
    }

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

    .legal-essential-icon img,
    .legal-card-icon img,
    .legal-help-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .legal-essential-item p {
      margin: 0;
      color: var(--legal-ink);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.65;
    }

    .legal-documents {
      display: grid;
      gap: 24px;
    }

    .legal-documents-header {
      display: grid;
      gap: 10px;
    }

    .legal-documents-header h2 {
      margin: 0;
      color: var(--legal-ink);
      font-family: "Manrope", "Segoe UI", sans-serif;
      font-size: clamp(30px, 3vw, 42px);
      font-weight: 800;
      line-height: 1.12;
    }

    .legal-documents-header p {
      margin: 0;
      color: var(--legal-muted);
      font-size: 17px;
      font-weight: 600;
      line-height: 1.6;
    }

    .legal-doc-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px;
    }

    .legal-document-card {
      display: grid;
      grid-template-rows: auto auto 1fr auto auto;
      gap: 20px;
      min-height: 520px;
      padding: 28px;
      border: 1px solid #d5e0ea;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: var(--legal-shadow);
      text-align: left;
    }

    .legal-card-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 18px;
    }

    .legal-card-icon {
      width: 72px;
      height: 72px;
    }

    .legal-card-meta {
      display: grid;
      justify-items: end;
      gap: 10px;
      color: var(--legal-muted);
      font-size: 14px;
      font-weight: 700;
      text-align: right;
    }

    .legal-card-version {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--legal-green-soft);
      color: var(--legal-green-dark);
      font-weight: 800;
    }

    .legal-card-title-row {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: start;
      gap: 20px;
      padding-top: 2px;
    }

    .legal-card-number {
      color: var(--legal-ink);
      font-size: 25px;
      font-weight: 800;
      line-height: 1.1;
    }

    .legal-document-card h3 {
      margin: 0;
      color: var(--legal-ink);
      font-size: clamp(22px, 2vw, 30px);
      font-weight: 800;
      line-height: 1.18;
    }

    .legal-document-card p {
      margin: 0;
      padding-top: 22px;
      border-top: 1px solid #d9e3ec;
      color: var(--legal-muted);
      font-size: 15px;
      font-weight: 600;
      line-height: 1.65;
    }

    .legal-document-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      width: 100%;
      padding: 12px 18px;
      border: 1px solid var(--legal-green);
      border-radius: 8px;
      background: var(--legal-green);
      color: #ffffff;
      font-weight: 800;
      text-decoration: none;
      box-shadow: none;
      transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    }

    .legal-document-action:hover {
      background: var(--legal-green-dark);
      border-color: var(--legal-green-dark);
      transform: translateY(-1px);
    }

    .legal-card-acceptance {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 42px;
      padding: 10px 14px;
      border-radius: 8px;
      background: var(--legal-green-soft);
      color: var(--legal-green-dark);
      font-size: 14px;
      font-weight: 800;
      text-align: center;
    }

    .legal-help {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 28px;
      padding: 28px 34px;
      border: 1px solid var(--legal-border);
      border-radius: 8px;
      background: #ffffff;
    }

    .legal-help-icon {
      width: 86px;
      height: 86px;
    }

    .legal-help-copy {
      display: grid;
      gap: 8px;
    }

    .legal-help-copy h2 {
      margin: 0;
      color: #0d3f3c;
      font-family: "Manrope", "Segoe UI", sans-serif;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.25;
    }

    .legal-help-copy p {
      margin: 0;
      color: var(--legal-muted);
      font-weight: 600;
      line-height: 1.6;
    }

    .legal-help-actions {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .legal-help-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 54px;
      min-width: 240px;
      padding: 14px 20px;
      border-radius: 8px;
      border: 1px solid var(--legal-green);
      color: var(--legal-green-dark);
      background: #ffffff;
      font-weight: 800;
      text-decoration: none;
      box-shadow: none;
    }

    .legal-help-button.primary {
      color: #ffffff;
      background: var(--legal-green);
    }

    .legal-help-button.primary:hover,
    .legal-help-button:hover {
      transform: translateY(-1px);
      box-shadow: none;
    }

    @media (max-width: 1180px) {
      .legal-hero {
        grid-template-columns: 1fr;
        gap: 26px;
      }

      .legal-hero-visual {
        width: min(100%, 330px);
      }

      .legal-essential-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 0;
      }

      .legal-essential-item:nth-child(4) {
        border-left: 0;
      }

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

      .legal-document-card {
        min-height: 0;
      }

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

      .legal-help-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
      }

      .legal-help-button {
        flex: 1 1 0;
      }
    }

    @media (max-width: 760px) {
      body.page-legal_document_index main {
        padding: 28px 22px 40px;
      }

      .legal-index {
        gap: 24px;
      }

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

      .legal-hero-copy {
        gap: 18px;
      }

      .legal-hero p {
        font-size: 16px;
      }

      .legal-essentials {
        padding: 24px 20px;
      }

      .legal-essential-grid {
        grid-template-columns: 1fr;
        gap: 22px;
      }

      .legal-essential-item,
      .legal-essential-item + .legal-essential-item,
      .legal-essential-item:nth-child(4) {
        min-height: 0;
        padding: 0;
        border-left: 0;
      }

      .legal-document-card {
        padding: 24px 20px;
      }

      .legal-card-head,
      .legal-help {
        grid-template-columns: 1fr;
      }

      .legal-card-meta {
        justify-items: start;
        text-align: left;
      }

      .legal-card-title-row {
        gap: 14px;
      }

      .legal-help {
        padding: 24px 20px;
      }

      .legal-help-icon {
        width: 68px;
        height: 68px;
      }

      .legal-help-actions {
        display: grid;
        gap: 12px;
      }

      .legal-help-button {
        min-width: 0;
        width: 100%;
      }
    }
