/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Helpers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Ультраширокие экраны (2K/QHD и выше): тот же «рельс», что и у .container (макет max-w-[1440px]) */
.about-block__layout,
.services-block__layout,
.projects-block__layout,
.advantages-block__layout,
.trusted-block__layout,
.testimonials-block__layout,
.contact-block__layout,
.team-section__layout,
.achievements-section__layout,
.split-section__layout,
.cases-filter__layout,
.cases-list__layout {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.section {
  padding: var(--space-15) 0;
}

.section--light {
  background: var(--color-surface-2);
  color: var(--color-text-dark);
}

.section--dark {
  background: var(--color-bg-3);
}

/* Full-width split rows: reference has no vertical band between sections */
.about-block.section,
.services-block.section,
.projects-block.section,
.advantages-block.section,
.trusted-block.section,
.testimonials-block.section,
.contact-block.section,
.team-section.section,
.achievements-section.section {
  padding-top: 0;
  padding-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xxs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-14);
}

.section-title__title {
  font-size: var(--text-4xl);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-title__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-title--left {
  text-align: left;
}

.section-title--left .section-title__lead {
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  font-size: var(--text-xxs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: all 0.2s ease;
}

.btn__meta {
  font-size: var(--text-xs);
}

.btn--text-sm {
  font-size: var(--text-sm);
}

.btn--xs {
  padding: 8px 24px;
}

.btn--sm {
  padding: 12px 24px;
}

.btn--md {
  padding: 12px 32px;
}

.btn--lg {
  padding: 16px 32px;
}

.btn--xl {
  padding: 16px 40px;
}

.btn--xxl {
  padding: 16px 48px;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
}

.btn--primary .fa-arrow-right {
  transition: transform 0.2s ease;
}

.btn--primary:hover .fa-arrow-right {
  transform: translateX(4px);
}

.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: #fff;
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--light-outline {
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000;
}

.btn--light-outline:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--color-accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--light:hover {
  background: #f3f4f6;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(11, 11, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-6);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-right: var(--space-8);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.site-header__logo {
  height: 30px;
  width: auto;
}

.site-header__nav {
  display: none;
  align-items: center;
  height: 100%;
}

.site-header__link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--space-6);
  font-size: var(--text-xxs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--color-text-muted);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header__link:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.site-header__link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-header__cta {
  display: none;
  align-items: center;
  padding-left: var(--space-8);
}

.site-header__cta button.btn {
  font: inherit;
  cursor: pointer;
  background: transparent;
}

/* Группа навигации + CTA: десктоп — в строку; узкий экран — выезжающая панель */
.site-header__drawer {
  display: none;
}

.site-header__toggle {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 65;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-header__scrim {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 58;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1023px) {
  .site-header--nav-open .site-header__scrim {
    display: block;
  }

  .site-header__toggle {
    margin-left: auto;
  }

  .site-header--nav-open .site-header__drawer {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    min-height: 12rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-4) var(--space-4) var(--space-10);
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(14px);
    z-index: 60;
  }

  .site-header--nav-open .site-header__nav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    width: 100%;
  }

  .site-header--nav-open .site-header__link {
    height: auto;
    min-height: 48px;
    padding: var(--space-4) var(--space-2);
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
  }

  .site-header--nav-open .site-header__nav .site-header__link:last-child {
    border-bottom: 0;
  }

  .site-header--nav-open .site-header__cta {
    display: flex !important;
    width: 100%;
    padding: var(--space-6) 0 0;
    margin-top: var(--space-2);
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header--nav-open .site-header__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .site-header__brand {
    padding-right: var(--space-3);
    border-right: 0;
  }

  .site-header__logo {
    height: 24px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: var(--text-xxs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gray-400);
}

.breadcrumbs a {
  color: var(--color-gray-400);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  padding-top: var(--header-height);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--tall {
  min-height: 900px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), transparent 60%, rgba(59, 130, 246, 0.2));
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(38, 38, 38, 1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(38, 38, 38, 1) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.15;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__title {
  font-size: var(--text-6xl);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__title span {
  color: var(--color-gray-400);
}

.hero__lead {
  font-size: var(--text-md);
  color: var(--color-gray-300);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-12) 0;
}

.hero__stat {
  background: rgba(0, 0, 0, 0.4);
  padding: var(--space-4) var(--space-8);
}

.hero__stat-value {
  font-size: var(--text-4xl);
  font-weight: 300;
  margin-bottom: var(--space-2);
}

.hero__stat-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

/* Cards */
.card {
  background: transparent;
}

.card--panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card--light {
  background: #fff;
  color: #000;
}

.service-card {
  text-align: center;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.service-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
}

.case-card {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.case-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.case-card:hover .case-card__media img {
  transform: scale(1.05);
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
}

.case-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 12px;
  white-space: nowrap;
}

.case-card__id {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-card__id--sm {
  width: 32px;
  height: 32px;
}

.case-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
}

.case-card__year {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.case-card__meta {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.case-card__title {
  font-size: var(--text-lg);
  margin: 0 0 12px;
  color: #fff;
}

.case-card__text {
  font-size: var(--text-xs);
  color: var(--color-gray-300);
  margin-bottom: 16px;
  line-height: 1.6;
}

.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xxs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 4px;
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-footer__wrap .site-footer__grid,
.site-footer__top .site-footer__grid {
  padding: 4rem 0;
}

.site-footer__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.site-footer__logo {
  height: 1.9rem;
  width: auto;
  margin-bottom: var(--space-6);
}

.site-footer__text {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  line-height: 1.625;
  margin-bottom: var(--space-6);
}

.site-footer__social {
  display: flex;
  gap: var(--space-4);
}

.site-footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.site-footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.site-footer__title {
  font-size: var(--text-xxs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: #fff;
}

.site-footer--lg .site-footer__title {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
}

.site-footer__list {
  display: grid;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-gray-400);
}

.site-footer__list--contacts {
  gap: var(--space-4);
}

.site-footer__list--contacts i {
  color: var(--color-accent);
  margin-top: 4px;
}

.site-footer__list--contacts strong {
  color: #fff;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.site-footer__list--contacts a {
  color: inherit;
}

.site-footer__list--contacts a:hover {
  color: #fff;
}

.site-footer__list--contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__list a:hover {
  color: var(--color-accent);
}

.site-footer__meta {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  text-align: center;
}

.site-footer__meta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Layout grids */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive */
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
  }

  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .site-footer__meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }

  .site-header__drawer {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: auto;
    min-width: 0;
  }

  .site-header__nav {
    display: flex;
  }

  .site-header__cta {
    display: flex;
  }

  .site-header__toggle {
    display: none;
  }

  .site-header__scrim {
    display: none !important;
  }

  .hero__title {
    font-size: var(--text-8xl);
  }

  .section-title__title {
    font-size: var(--text-4xl);
  }

  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: var(--text-8xl);
  }
}

/* Модальное окно после отправки формы (js/forms.js) */
.form-thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.form-thanks-modal[hidden] {
  display: none;
}

.form-thanks-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.form-thanks-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: var(--space-10);
  background: var(--color-bg-3, #141414);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-align: center;
}

.form-thanks-modal__title {
  margin: 0 0 var(--space-4);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
}

.form-thanks-modal__text {
  margin: 0 0 var(--space-8);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-gray-400);
}

.form-thanks-modal__btn {
  min-width: 160px;
}

/* Модалка обратной связи (footer.php + js/forms.js) */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  box-sizing: border-box;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: min(92vh, 880px);
  margin: auto;
  overflow-y: auto;
  padding: var(--space-10) var(--space-8);
  padding-top: calc(var(--space-10) + var(--space-2));
  background: var(--color-bg-3, #141414);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  -webkit-overflow-scrolling: touch;
}

.contact-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: color 0.2s ease;
}

.contact-modal__close:hover {
  color: #fff;
}

.contact-modal__heading {
  margin: 0 0 var(--space-3);
  padding-right: var(--space-10);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
}

.contact-modal__lead {
  margin: 0 0 var(--space-8);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-gray-400);
}

.contact-modal__form {
  margin: 0;
}

.contact-modal .contact-form-grid {
  gap: var(--space-4);
}

.contact-modal .contact-form-field {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
}

.contact-modal .contact-form-field input,
.contact-modal .contact-form-field textarea,
.contact-modal .contact-form-field select {
  color: #111;
}

.contact-modal .contact-form-field select {
  cursor: pointer;
}

.contact-modal__note {
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-gray-400);
}

.contact-modal__note a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-modal__note a:hover {
  color: var(--color-accent-hover);
}

@media (min-width: 480px) {
  .contact-modal__panel {
    max-width: 32rem;
    padding: var(--space-10);
    padding-top: calc(var(--space-10) + var(--space-2));
  }
}

/* Появление секций при прокрутке (js/reveal-on-scroll.js) */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

/* Юридические страницы (privacy / terms): читаемость и переносы на узких экранах */
.legal-doc {
  padding-block: var(--space-10) var(--space-15);
}

.legal-doc__inner {
  max-width: 42rem;
}

.legal-doc__title {
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  line-height: 1.15;
  margin-bottom: var(--space-4);
  word-wrap: break-word;
}

.legal-doc__updated {
  font-size: var(--text-sm);
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: var(--space-10);
}

.legal-doc__section {
  margin-bottom: var(--space-10);
}

.legal-doc__section h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}

.legal-doc__section:first-of-type h2 {
  margin-top: 0;
}

.legal-doc__section p,
.legal-doc__section li {
  font-size: var(--text-md);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.82);
  margin-bottom: var(--space-4);
}

.legal-doc__section ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: var(--space-4) 0 var(--space-6);
}

.legal-doc__section li {
  margin-bottom: var(--space-2);
}

.legal-doc__section a {
  word-break: break-word;
}
