@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800;900&display=swap");

:root {
  --blue: #2674ed;
  --pink: #ed269c;
  --black: #09090b;
  --panel: #1a181b;
  --line: #3c3a3d;
  --muted: #8e8e8e;
  --white: #ffffff;
  --max-width: 1280px;
  --hero-available-height: 100vh;
}

@supports (height: 100svh) {
  :root {
    --hero-available-height: 100svh;
  }
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html {
  overflow: auto;
  scroll-behavior: smooth;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  user-select: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--muted);
  font-family: Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0;
  opacity: 1;
  touch-action: manipulation;
  transition: opacity 0.7s ease;
  visibility: visible;
}

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

h1,
h2,
h3 {
  color: var(--white);
  letter-spacing: 0;
}

h1,
h2 {
  font-weight: 900;
}

h3 {
  font-weight: 500;
}

p {
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: -0.01rem;
}

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

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

button {
  appearance: none;
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a,
[role="button"],
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: calc(100% - 28px);
  margin-inline: auto;
}

.section {
  padding: 30px 0;
}

.section:last-child {
  padding-bottom: 50px;
}

main > .section:not(.hero),
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

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

.section-muted {
  background-color: #0c0c0f;
}

.cookie-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

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

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-card {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: radial-gradient(circle at 16% 0%, rgba(38, 116, 237, 0.2), transparent 34%), radial-gradient(circle at 86% 100%, rgba(237, 38, 156, 0.17), transparent 30%), var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  padding: 20px;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 46px;
}

.cookie-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.cookie-card h2 {
  font-size: 1.2rem;
  line-height: 1.1;
}

.cookie-card p {
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.7;
  letter-spacing: 0;
}

.cookie-close {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cookie-close::before,
.cookie-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
  content: "";
}

.cookie-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cookie-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cookie-preferences {
  display: none;
  gap: 12px;
}

.cookie-consent.is-customizing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent.is-customizing .cookie-preferences {
  display: grid;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 11, 0.72);
  padding: 15px;
}

.cookie-option span {
  display: grid;
  gap: 4px;
}

.cookie-option strong {
  color: var(--white);
  font-size: 1.0625rem;
  line-height: 1.2;
}

.cookie-option small {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.35;
}

.cookie-option input {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.cookie-button {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

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

.cookie-button-primary {
  background: linear-gradient(90deg, var(--blue), var(--pink));
}

.cookie-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #26242a;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  color: var(--white);
  font-family: Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.brand-text strong {
  color: #08aaa9;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  padding: 15px 32px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: var(--hero-available-height);
  overflow: hidden;
  align-content: center;
  place-items: start center;
}

.hero-grid {
  position: absolute;
  inset: 0 0 auto;
  height: 100vh;
  height: var(--hero-available-height);
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 25px 25px;
}

.hero-visual {
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: min(920px, 90vw);
  aspect-ratio: 2.1;
  opacity: 0.62;
  --hero-scroll-x: 0px;
  --hero-reveal-y: 0px;
  transform: translate(calc(-50% + var(--hero-scroll-x)), var(--hero-reveal-y));
}

.pulse-ring {
  position: absolute;
  border: 1px solid rgba(38, 116, 237, 0.55);
  border-radius: 999px;
}

.ring-one {
  inset: 18% 8%;
}

.ring-two {
  inset: 0 22%;
  border-color: rgba(237, 38, 156, 0.35);
}

.pulse-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(38, 116, 237, 0.8);
}

.dot-one {
  top: 22%;
  left: 22%;
}

.dot-two {
  right: 20%;
  bottom: 28%;
  background: var(--pink);
  box-shadow: 0 0 24px rgba(237, 38, 156, 0.8);
}

.pulse-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.line-one {
  top: 48%;
  left: 12%;
  width: 76%;
}

.line-two {
  top: 42%;
  left: 34%;
  width: 32%;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  transform: rotate(54deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 760px;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  margin: 18px 0 32px;
  font-size: 2rem;
  line-height: 1.4;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: var(--blue);
  font-weight: 600;
}

.hero-brand {
  gap: 8px;
}

.hero-brand-mark {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 24px rgba(8, 170, 169, 0.28));
}

.hero-brand-text {
  font-size: 2rem;
  font-weight: 900;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.section-heading.centered {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.eyebrow {
  width: fit-content;
  background: linear-gradient(90deg, var(--blue), #f2295b);
  background-clip: text;
  color: transparent;
  font-size: 1.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.case-copy h2 {
  font-size: 1.75rem;
  line-height: 1.2;
}

.about-layout {
  display: grid;
  gap: 30px;
  margin-top: 35px;
}

.feature-list {
  display: grid;
  gap: 30px;
  margin-bottom: 20px;
}

.feature-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 16px;
}

.feature-row h3,
.service-card h3,
.progress-card h3,
.question-band h3 {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.3;
}

.feature-row p {
  margin-top: 12px;
}

.sprite-icon {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.sprite-icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-image: url("../images/sprites.png");
  background-repeat: no-repeat;
  background-size: 716.0858% 100%;
  background-position: var(--sprite-position) 0;
}

.sprite-icon-03 {
  --sprite-position: 0%;
}

.sprite-icon-05 {
  --sprite-position: 16.6667%;
}

.sprite-icon-06 {
  --sprite-position: 33.3333%;
}

.sprite-icon-09 {
  --sprite-position: 50%;
}

.sprite-icon-10 {
  --sprite-position: 66.6667%;
}

.sprite-icon-17 {
  --sprite-position: 83.3333%;
}

.sprite-icon-19 {
  --sprite-position: 100%;
}

.image-slider-panel {
  display: grid;
  align-content: start;
  gap: 24px;
  margin: -15px 0 5px;
}

.image-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 7 / 5;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, rgba(38, 116, 237, 0.45), transparent 28%), radial-gradient(circle at 70% 62%, rgba(237, 38, 156, 0.35), transparent 30%), linear-gradient(140deg, #17171d, #0a0a0d);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.image-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 0.75s ease,
    transform 3.8s ease;
}

.image-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slider-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.image-slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.image-slider-dots span.is-active {
  width: 24px;
  background: var(--white);
}

.image-slider-toggle {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(9, 9, 11, 0.72);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.image-slider-toggle:hover {
  background: rgba(9, 9, 11, 0.9);
  transform: translateY(-2px);
}

.image-slider-toggle:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.image-slider-toggle::before,
.image-slider-toggle::after {
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: var(--white);
  content: "";
}

.image-slider-toggle::before {
  transform: translateX(-4px);
}

.image-slider-toggle::after {
  position: absolute;
  transform: translateX(4px);
}

.image-slider.is-paused .image-slider-toggle::before {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--white);
  border-radius: 0;
  background: transparent;
  transform: translateX(2px);
}

.image-slider.is-paused .image-slider-toggle::after {
  display: none;
}

.stats-grid {
  display: grid;
  gap: 1px;
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats-grid div {
  padding: 32px;
  border-bottom: 1px solid var(--line);
  background: var(--black);
  text-align: center;
}

.stats-grid div:last-child {
  border-bottom: 0;
}

.stats-grid strong,
.stats-grid span {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.services-grid,
.solution-matrix {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.services-grid {
  gap: 15px;
}

.solution-matrix {
  gap: 15px;
}

.service-card,
.list-card,
.progress-card,
.question-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-card {
  display: grid;
  min-height: 175px;
  padding: 10px 20px;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.list-card {
  padding: 30px;
}

.list-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

.list-card ul {
  display: grid;
  gap: 5px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.list-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.list-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  content: "";
  transform: translateY(-50%);
}

.case-grid {
  display: grid;
  gap: 30px;
}

.case-copy,
.faq-heading {
  padding: 0 10px;
}

.case-copy {
  align-content: center;
}

.case-copy p {
  margin: 0;
}

.case-copy h2 {
  margin: 20px 0;
}

.progress-card {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 48px 24px;
}

.progress-item {
  display: grid;
  gap: 10px;
}

.progress-bar {
  overflow: hidden;
  height: 32px;
  border-radius: 8px;
  background: var(--black);
}

.progress-bar b {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.has-js .progress-bar b {
  max-width: 0;
  overflow: hidden;
}

.has-js .progress-card.is-visible .progress-bar b {
  animation: progress-fill 1.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.has-js .progress-card.is-visible .progress-item:nth-child(3) .progress-bar b {
  animation-delay: 0.18s;
}

@keyframes progress-fill {
  from {
    max-width: 0;
  }

  to {
    max-width: 100%;
  }
}

.has-js .reveal-block {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease var(--reveal-delay, 0ms),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-js .reveal-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-js .hero-visual.reveal-block {
  --hero-reveal-y: 32px;
  transform: translate(calc(-50% + var(--hero-scroll-x)), var(--hero-reveal-y));
}

.has-js .hero-visual.reveal-block.is-visible {
  --hero-reveal-y: 0px;
  transform: translate(calc(-50% + var(--hero-scroll-x)), var(--hero-reveal-y));
}

.faq-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
}

.faq-heading {
  margin-bottom: 28px;
  justify-content: center;
}

.faq-heading .eyebrow {
  text-transform: none;
}

.accordion {
  display: grid;
  align-self: stretch;
  gap: 12px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.accordion-item button {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 20px 54px 20px 20px;
  text-align: left;
}

.accordion-item button::after {
  position: absolute;
  right: 20px;
  content: "+";
}

.accordion-item.is-open button::after {
  content: "x";
}

.accordion-item p {
  display: none;
  padding: 0 20px 20px;
}

.accordion-item.is-open p {
  display: block;
}

.question-band {
  display: grid;
  gap: 32px;
  color: var(--muted);
  padding: 34px 24px;
}

.faq-contact-layout .question-band {
  align-self: stretch;
  height: 100%;
  margin-top: 0;
}

.contact-copy {
  display: grid;
  align-items: center;
  gap: 16px;
}

.contact-copy h3,
.faq-contact-layout .contact-copy h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.12;
}

.contact-form {
  display: grid;
  gap: 30px;
  width: 100%;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-field {
  display: grid;
  gap: 10px;
}

.contact-field > span:first-child {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.contact-form input:not([type="radio"]),
.contact-form textarea,
.custom-select-button {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 11, 0.72);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  outline: 0;
  padding: 14px 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  height: 58px;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.custom-select {
  position: relative;
  user-select: none;
}

.custom-select-button {
  position: relative;
  cursor: pointer;
  padding-right: 48px;
  text-align: left;
}

.custom-select-button::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select.has-error .custom-select-button {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(237, 38, 156, 0.2);
}

.custom-select.is-open .custom-select-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 5;
  display: none;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121114;
}

.custom-select.is-open .custom-select-menu {
  display: grid;
}

.custom-select-option {
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
  padding: 14px 16px;
}

.custom-select-option + .custom-select-option {
  border-top: 1px solid var(--line);
}

.custom-select-option:hover {
  background: var(--white);
  color: var(--black);
}

.contact-submit {
  width: 100%;
  min-height: 50px;
  min-width: 150px;
  justify-self: end;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  color: var(--white);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  transition:
    opacity 0.35s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-submit.is-sent {
  background: linear-gradient(90deg, #16a34a, #63e6be);
  opacity: 1;
}

.contact-submit.is-fading-out,
.contact-submit.is-fading-out:hover {
  opacity: 0;
  transform: translateY(-4px);
}

.contact-submit:hover {
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 65px 0;
  text-align: center;
}

.site-footer .brand {
  color: var(--white);
  text-decoration: none;
}

.site-footer .brand-mark {
  width: 44px;
  height: 44px;
}

.site-footer .brand-text {
  color: var(--white);
  font-size: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links a,
.footer-links button {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links button:hover,
.footer-links button:focus-visible {
  color: var(--white);
}

.footer-links button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.copyright {
  color: var(--white);
  text-align: center;
}

@media (max-width: 499px) {
  .site-footer .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-footer .brand-text {
    font-size: 1.5rem;
  }
}

.legal-main {
  min-height: 100vh;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 15px;
}

.legal-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.58) 1px, transparent 1px);
  background-size: 25px 25px;
  content: "";
}

.legal-hero-inner {
  position: relative;
  display: grid;
  gap: 8px;
}

.legal-hero-inner .brand {
  margin-bottom: 20px;
}

.legal-hero h1 {
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.08;
}

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

.legal-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.legal-section {
  padding-top: 18px;
}

.legal-shell {
  max-width: 960px;
}

.legal-content {
  display: grid;
  gap: 0;
}

.legal-content section {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.legal-content h2 {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: -0.01rem;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

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

.legal-contact h2 {
  line-height: 2;
}

.legal-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  aspect-ratio: 16 / 10;
}

.legal-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 12;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--pink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.back-to-top::before {
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--white);
  border-left: 3px solid var(--white);
  content: "";
  transform: translateY(4px) rotate(45deg);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top.is-visible:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  body,
  .cookie-consent,
  .cookie-card,
  .cookie-button,
  .image-slider-dots span,
  .image-slider-toggle,
  .back-to-top {
    transition: none;
  }

  .has-js .reveal-block {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .has-js .hero-visual.reveal-block,
  .has-js .hero-visual.reveal-block.is-visible {
    --hero-scroll-x: 0px;
    --hero-reveal-y: 0px;
    transform: translateX(-50%);
  }

  .has-js .progress-bar b {
    max-width: 100%;
  }

  .has-js .progress-card.is-visible .progress-bar b {
    animation: none;
  }

  .image-slide {
    transform: none;
    transition: none;
  }
}

@media (min-width: 501px) {
  p {
    letter-spacing: 0.02rem;
  }

  .image-slider-panel {
    margin: 25px 0 5px;
  }

  .services-grid {
    gap: 24px;
  }

  .solution-matrix {
    gap: 20px;
  }

  .service-card {
    min-height: 200px;
    padding: 20px;
  }

  .contact-form textarea {
    height: 200px;
  }
}

@media (min-width: 721px) {
  body {
    font-size: 1.1rem;
  }

  p {
    font-size: inherit;
    line-height: inherit;
    letter-spacing: 0;
  }

  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }

  .container {
    width: min(100% - 96px, 1024px);
  }

  .cookie-consent {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: min(360px, calc(100% - 48px));
  }

  .cookie-header {
    gap: 24px;
    padding-right: 44px;
  }

  .cookie-logo {
    width: 36px;
    height: 36px;
  }

  .cookie-close {
    right: 24px;
    width: 32px;
    height: 32px;
  }

  .cookie-close::before,
  .cookie-close::after {
    width: 28px;
  }

  .cookie-button {
    font-size: 1.0625rem;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    font-size: 2rem;
  }

  .hero-actions {
    width: auto;
  }

  .hero h1 {
    margin: 30px 0 60px;
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-brand {
    gap: 16px;
  }

  .hero-brand-mark {
    width: 64px;
    height: 64px;
  }

  .hero-brand-text {
    font-size: 3.25rem;
  }

  .section-heading h2,
  .case-copy h2 {
    margin: 0;
    font-size: 2rem;
  }

  .about-layout,
  .faq-contact-layout {
    gap: 30px;
  }

  .feature-row {
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }

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

  .stats-grid div {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .stats-grid div:nth-child(2n) {
    border-right: 0;
  }

  .services-grid,
  .solution-matrix,
  .case-grid,
  .contact-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-submit {
    width: auto;
  }

  .case-copy,
  .faq-heading {
    padding: 0;
  }

  .legal-hero {
    padding: 54px 0 34px;
  }

  .legal-hero h1 {
    font-size: 2.3rem;
  }

  .legal-contact {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 28px;
  }

  .case-copy p {
    margin: 20px 0;
  }

  .contact-field > span:first-child {
    margin-bottom: 0;
    font-size: 1.3rem;
  }

  .back-to-top {
    right: 24px;
    bottom: 24px;
  }
}

@media (min-width: 1025px) {
  .container {
    width: min(var(--max-width), calc(100% - 48px));
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-brand-mark {
    width: 72px;
    height: 72px;
  }

  .hero-brand-text {
    font-size: 3.5rem;
  }

  .section-heading h2,
  .case-copy h2 {
    font-size: 3rem;
  }

  .about-layout {
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
  }

  .feature-list {
    gap: 50px;
    margin-bottom: 0;
    align-content: center;
  }

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

  .stats-grid div,
  .stats-grid div:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .stats-grid div:last-child {
    border-right: 0;
  }

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

  .services-grid-expanded .service-card {
    min-height: 230px;
  }

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

  .case-copy {
    margin-right: 100px;
  }

  .faq-heading {
    justify-content: flex-start;
  }

  .faq-contact-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 36px;
  }

  .faq-contact-layout .question-band {
    gap: 28px;
    padding: 24px;
    height: 650px;
  }

  .faq-contact-layout .contact-copy h3 {
    font-size: 2rem;
  }

  .faq-contact-layout .contact-form {
    gap: 22px;
  }

  .custom-select-menu {
    position: absolute;
    top: calc(100% + 1px);
  }
}
