/* Artisan Solutions — tokens from Figma Artisan 2026 (226:1584 / 226:1699) */

:root {
  --color-white: #ffffff;
  --color-off-white: #f3f3f3;
  --color-gray: #142131;
  --color-dark-gray: #080f19;
  --color-red: #ed1c24;
  --color-light-gray: #dce2e7;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-footer: "Work Sans", system-ui, sans-serif;

  --text-h1-mobile: 40px;
  --text-h1-desktop: 60px;
  --text-h2: 40px;
  --text-h3: 32px;
  --text-body: 16px;
  --text-menu: 18px;
  --text-paso: 14px;
  --text-footer: 14px;

  --lh-tight: 1.2;
  --lh-body: 1.6;

  --space-gutter-mobile: 24px;
  --space-gutter-desktop: 96px;
  --radius-pill: 16px;
  --radius-cta-group: 20px;
  --radius-btn: 16px;
  --radius-sm: 8px;

  --container-max: 1248px;
  --bp-desktop: 768px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--color-gray);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  opacity: 0.92;
}

:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 500;
}

.skip-link:focus {
  left: var(--space-gutter-mobile);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------- */
/* Layout */
/* -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-gutter-desktop);
  }
}

.section-pad {
  padding-block: 48px;
}

@media (min-width: 768px) {
  .section-pad {
    padding-block: 56px;
  }
}

/* -------------------------------------------------------------------------- */
/* Header */
/* -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space-gutter-mobile);
  max-width: calc(var(--container-max) + 2 * var(--space-gutter-desktop));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 24px var(--space-gutter-desktop);
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-dark-gray);
  height: 50px;
}

@media (min-width: 768px) {
  .logo {
    height: 80px;
  }
}

.logo__img {
  display: block;
  height: 100%;
  width: auto;
  max-width: min(240px, 55vw);
  object-fit: contain;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-red);
  cursor: pointer;
  font-size: 24px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.site-nav {
  display: none;
}

.site-nav__close {
  display: none;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
  }
}

.site-nav--open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 0;
  padding: 5rem var(--space-gutter-mobile) 2rem;
  background: var(--color-white);
  z-index: 90;
  gap: 1.5rem;
  align-items: stretch;
}

.site-nav--open .site-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-red);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-nav--open .site-nav__links {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

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

@media (min-width: 768px) {
  .site-nav.site-nav--open {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    align-items: center;
    gap: 36px;
  }

  .site-nav.site-nav--open .site-nav__links {
    flex-direction: row;
    align-items: center;
  }
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  font-weight: 500;
  font-size: var(--text-menu);
  line-height: var(--lh-tight);
  color: var(--color-gray);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-red);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-menu);
  line-height: var(--lh-tight);
  cursor: pointer;
  text-decoration: none;
}

.btn-outline i {
  font-size: 24px;
}

/* -------------------------------------------------------------------------- */
/* Hero */
/* -------------------------------------------------------------------------- */

.hero {
  background: var(--color-off-white);
  padding: 48px var(--space-gutter-mobile);
}

@media (min-width: 768px) {
  .hero {
    padding: 80px var(--space-gutter-desktop);
  }
}

.hero__inner {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  text-align: left;
}

@media (min-width: 768px) {
  .hero__inner {
    align-items: center;
    text-align: center;
  }
}

.hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-h1-mobile);
  line-height: var(--lh-tight);
  color: var(--color-gray);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-h1-desktop);
  }
}

.hero__title em,
.hero__title .text-red {
  font-style: normal;
  color: var(--color-red);
}

.hero__lead {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-gray);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: stretch;
  width: 100%;
  background: var(--color-gray);
  padding: 8px;
  border-radius: var(--radius-cta-group);
}

@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
    align-items: center;
  }
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-menu);
  line-height: var(--lh-tight);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-hero-ghost i {
  font-size: 24px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-btn);
  background: var(--color-red);
  border: 1px solid var(--color-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-menu);
  line-height: var(--lh-tight);
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}

@media (min-width: 768px) {
  .btn-hero-primary {
    width: auto;
  }
}

.btn-hero-primary i {
  font-size: 24px;
}

/* -------------------------------------------------------------------------- */
/* Trust / logos */
/* -------------------------------------------------------------------------- */

.trust {
  background: var(--color-off-white);
  padding: 0 var(--space-gutter-mobile) 56px;
}

@media (min-width: 768px) {
  .trust {
    padding: 0 var(--space-gutter-desktop) 56px;
  }
}

.trust__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .trust__inner {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }
}

.trust__text {
  margin: 0;
  max-width: 300px;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-gray);
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .trust__logos {
    justify-content: center;
  }
}

.trust__logo {
  flex: 0 0 auto;
  width: clamp(110px, 12vw, 140px);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trust__logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* -------------------------------------------------------------------------- */
/* Badge pill */
/* -------------------------------------------------------------------------- */

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--color-off-white);
  border-radius: var(--radius-pill);
  background: var(--color-white);
}

.badge-pill__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
}

.badge-pill__dot--lg {
  width: 16px;
  height: 16px;
}

.badge-pill__label {
  margin: 0;
  font-weight: 500;
  font-size: var(--text-menu);
  line-height: var(--lh-tight);
  color: var(--color-gray);
}

.badge-pill--on-tint {
  border-color: var(--color-white);
}

/* -------------------------------------------------------------------------- */
/* Services */
/* -------------------------------------------------------------------------- */

.services {
  background: var(--color-white);
}

.services__header {
  margin-bottom: 24px;
}

.services__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .services__grid {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }
}

.service-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding-left: 40px;
}

.service-divider {
  display: none;
}

@media (min-width: 1024px) {
  .service-divider {
    display: block;
    width: 1px;
    background: var(--color-off-white);
    align-self: stretch;
    flex-shrink: 0;
  }
}

@media (max-width: 1023px) {
  .service-col {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-off-white);
  }

  .services__grid .service-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.service-col__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  color: var(--color-gray);
}

.service-col__body {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-gray);
}

.service-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-col__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-gray);
}

.service-col__list i {
  color: var(--color-red);
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.service-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.service-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Projects */
/* -------------------------------------------------------------------------- */

.projects {
  background: var(--color-off-white);
}

.projects__header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .projects__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }
}

.projects__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 100%;
  flex: 1;
  min-width: 0;
}

.projects__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  color: var(--color-gray);
}

.projects__lead {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-gray);
  max-width: 40rem;
}

.projects__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--color-gray);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-btn);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-menu);
  line-height: var(--lh-tight);
  text-transform: capitalize;
  cursor: pointer;
  flex-shrink: 0;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .projects__toggle {
    align-self: auto;
  }
}

.projects__toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.projects__toggle-icon i {
  font-size: 24px;
  line-height: 1;
}

.projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (min-width: 1200px) {
  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Collapsed: first row only — 1 col: 1 card; 2 col: 2 cards; 3 col: 3 cards */
.projects--collapsed .projects__grid .project-card:nth-child(n + 2) {
  display: none;
}

@media (min-width: 768px) {
  .projects--collapsed .projects__grid .project-card:nth-child(n + 2) {
    display: flex;
  }

  .projects--collapsed .projects__grid .project-card:nth-child(n + 3) {
    display: none;
  }
}

@media (min-width: 1200px) {
  .projects--collapsed .projects__grid .project-card:nth-child(n + 3) {
    display: flex;
  }

  .projects--collapsed .projects__grid .project-card:nth-child(n + 4) {
    display: none;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-pill);
  overflow: hidden;
  height: 100%;
}

.project-card__thumb {
  position: relative;
  height: 184px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--color-light-gray);
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  overflow: hidden;
  background: var(--color-off-white);
}

.project-card__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.project-card__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px 25px;
  min-width: 0;
  height: 100%;
}

.project-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
  color: var(--color-gray);
}

.project-card__text {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-gray);
  flex: 1;
  overflow: hidden;
  max-height: 9.6em;
}

.project-card__text p {
  margin: 0;
}

.project-card__text p + p {
  margin-top: 1em;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.project-card__link {
  font-weight: 500;
  font-size: var(--text-menu);
  line-height: var(--lh-tight);
  color: var(--color-red);
  text-transform: capitalize;
}

.project-card__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--color-red);
  border: 1px solid var(--color-red);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  cursor: pointer;
}

.project-card--collapsed .project-card__text {
  display: none;
}

.project-card--collapsed .project-card__inner {
  gap: 0;
}

.project-card--collapsed .project-card__footer {
  margin-top: 16px;
}

.project-card__icon-btn[role="button"] {
  outline: none;
}

.project-card__icon-btn[role="button"]:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/* Process */
/* -------------------------------------------------------------------------- */

.process {
  background: var(--color-gray);
  color: var(--color-white);
}

.process__intro {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.process__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  color: var(--color-white);
}

.process__lead {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-white);
  opacity: 0.95;
}

.process__illustration {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.process__illustration img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Pre-footer CTA */
/* -------------------------------------------------------------------------- */

.prefooter {
  background: var(--color-dark-gray);
  color: var(--color-white);
  padding-block: 56px;
}

.prefooter__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .prefooter__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

.prefooter__copy {
  flex: 1;
}

.prefooter__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  color: var(--color-white);
}

.prefooter__text {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-white);
  opacity: 0.95;
}

.prefooter__action {
  flex-shrink: 0;
}

.prefooter__action .btn-hero-primary {
  width: 100%;
}

@media (min-width: 768px) {
  .prefooter__action .btn-hero-primary {
    width: auto;
  }
}

.prefooter__action-inner {
  display: inline-flex;
  padding: 8px;
  background: transparent;
  border-radius: var(--radius-cta-group);
}

/* -------------------------------------------------------------------------- */
/* Site footer */
/* -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-dark-gray);
  color: var(--color-white);
  padding-bottom: 40px;
}

.site-footer__rule {
  height: 1px;
  background: var(--color-off-white);
  opacity: 0.35;
  margin-bottom: 24px;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__legal {
  margin: 0;
  max-width: 36rem;
  font-family: var(--font-footer);
  font-weight: 500;
  font-size: var(--text-footer);
  line-height: 20px;
  letter-spacing: 0.1px;
  color: var(--color-white);
}

.site-footer__legal a {
  color: var(--color-red);
  text-decoration: none;
}

.site-footer__legal a:hover {
  opacity: 0.88;
}

.site-footer__legal a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.site-footer__legal-sep {
  margin: 0 0.35em;
  opacity: 0.65;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-dark-gray);
  overflow: hidden;
}

.site-footer__social i {
  color: var(--color-white);
  font-size: 28px;
  line-height: 1;
}

/* -------------------------------------------------------------------------- */
/* Cookie banner */
/* -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--color-dark-gray);
  color: var(--color-white);
  border-top: 1px solid rgba(220, 226, 231, 0.35);
  box-shadow: 0 -8px 24px rgba(8, 15, 25, 0.2);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0));
}

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

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

.cookie-banner__text {
  margin: 0;
  font-size: var(--text-footer);
  line-height: 1.5;
  color: var(--color-white);
  max-width: 52rem;
}

.cookie-banner__text a {
  color: var(--color-red);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  opacity: 0.92;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-footer);
  line-height: var(--lh-tight);
  cursor: pointer;
  border: 1px solid transparent;
}

.cookie-banner__btn--primary {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.cookie-banner__btn--primary:hover {
  opacity: 0.95;
}

.cookie-banner__btn--ghost {
  background: transparent;
  border-color: var(--color-light-gray);
  color: var(--color-white);
}

.cookie-banner__btn--ghost:hover {
  opacity: 0.92;
}

body.cookie-banner-visible {
  padding-bottom: calc(7rem + env(safe-area-inset-bottom, 0));
}

@media (min-width: 768px) {
  body.cookie-banner-visible {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0));
  }
}

/* -------------------------------------------------------------------------- */
/* Legal pages */
/* -------------------------------------------------------------------------- */

.legal-page {
  padding-block: 40px 56px;
  background: var(--color-white);
  color: var(--color-gray);
}

.legal-page__article {
  max-width: 42rem;
  margin-inline: auto;
}

.legal-page__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-h2);
  line-height: var(--lh-tight);
  color: var(--color-gray);
}

.legal-page__meta {
  margin: 0 0 32px;
  font-size: var(--text-footer);
  color: var(--color-gray);
  opacity: 0.85;
}

.legal-page__section {
  margin-bottom: 24px;
}

.legal-page__section h2 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body);
  line-height: var(--lh-tight);
  color: var(--color-gray);
}

.legal-page__section p {
  margin: 0 0 12px;
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.legal-page__section p:last-child {
  margin-bottom: 0;
}

.legal-page__list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.legal-page__list li + li {
  margin-top: 8px;
}

.legal-page__section a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__back {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-light-gray);
  font-size: var(--text-body);
}

.legal-page__back a {
  color: var(--color-red);
  text-decoration: none;
}

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

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