:root {
  --erp-navy: #081526;
  --erp-navy-soft: #102641;
  --erp-ink: #122946;
  --erp-muted: #647e9f;
  --erp-orange: #ff6a00;
  --erp-ice: #f3f6fa;
  --erp-sand: #f4eee7;
}

.erp-page {
  overflow-x: clip;
  color: var(--erp-ink);
  background: #fff;
}

.erp-page .site-header {
  position: absolute;
  z-index: 20;
}

.erp-page .site-header.site-header--scrolled {
  position: fixed;
  background: rgb(255 255 255 / 98%);
}

.erp-container {
  width: min(100% - 3rem, 82rem);
  margin-inline: auto;
}

.erp-hero {
  position: relative;
  display: grid;
  min-height: max(45rem, 100svh);
  overflow: hidden;
  background: var(--erp-navy);
}

.erp-hero__image,
.erp-hero__veil {
  position: absolute;
  inset: 0;
}

.erp-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.erp-hero__veil {
  background: linear-gradient(
    90deg,
    rgb(8 21 38 / 100%) 0%,
    rgb(8 21 38 / 96%) 31%,
    rgb(8 21 38 / 73%) 55%,
    rgb(8 21 38 / 20%) 79%,
    rgb(8 21 38 / 12%) 100%
  );
}

.erp-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  padding-block: 10.5rem 5.5rem;
}

.erp-hero h1,
.erp-map h2,
.erp-story-section h2,
.erp-contact h2 {
  margin: 0;
  letter-spacing: -0.055em;
}

.erp-hero h1 {
  max-width: 48rem;
  color: #fff;
  font-size: clamp(3.25rem, 6.4vw, 6.1rem);
  font-weight: 800;
  line-height: 0.98;
}

.erp-hero p {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 1.17rem;
  line-height: 1.72;
}

.erp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.erp-hero .button {
  min-height: 3.45rem;
  padding: 0.85rem 1.45rem;
  box-shadow: none;
}

.erp-hero .button:hover {
  box-shadow: none;
}

.erp-page .button--ghost-light {
  border: 1px solid rgb(255 255 255 / 48%);
  color: #fff;
  background: rgb(255 255 255 / 5%);
}

.erp-page .button--ghost-light:hover,
.erp-page .button--ghost-light:focus-visible {
  border-color: #fff;
  background: rgb(255 255 255 / 12%);
}

.erp-map,
.erp-story-section,
.erp-contact {
  scroll-margin-top: 5rem;
}

.erp-map {
  padding-block: clamp(6rem, 11vw, 10rem);
  background: #fff;
}

.erp-map__intro {
  display: grid;
  justify-items: end;
  text-align: right;
}

.erp-label {
  margin: 0 0 1rem;
  color: var(--erp-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.erp-map h2,
.erp-story-section h2,
.erp-contact h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.85rem);
  font-weight: 800;
  line-height: 1.01;
}

.erp-map h2 {
  max-width: 44rem;
}

.erp-map__copy {
  display: grid;
  justify-items: end;
  max-width: 42rem;
  margin-top: 2rem;
}

.erp-map__copy > p:last-child,
.erp-story-section__heading > p:last-child,
.erp-story-section__body p,
.erp-contact__intro > p:last-child {
  margin: 0;
  color: var(--erp-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.erp-map__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4.5rem;
}

.erp-module-card {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  min-height: 9rem;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--erp-ice);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.erp-module-card__icon {
  display: grid;
  place-items: center;
  color: var(--erp-orange);
  background: #fff4ec;
}

.erp-module-card__icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.erp-module-card > div {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding: 1.25rem;
}

.erp-module-card strong {
  color: var(--erp-ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.erp-module-card span {
  color: var(--erp-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.erp-story-section {
  padding-block: clamp(6rem, 11vw, 10rem);
}

.erp-story-section--compact-proof {
  padding-block: clamp(4.5rem, 7vw, 6.75rem);
}

.erp-story-section--ink,
.erp-story-section--deep,
.erp-story-section--cortex {
  color: #fff;
}

.erp-story-section--ink {
  background: var(--erp-ink);
}

.erp-story-section--light {
  background: #fff;
}

.erp-story-section--sand {
  background: var(--erp-sand);
}

.erp-story-section--deep {
  background: var(--erp-navy-soft);
}

.erp-story-section--cortex {
  background: var(--erp-navy);
}

.erp-story-section__heading {
  max-width: 52rem;
}

.erp-story-section__heading > p:last-child {
  max-width: 42rem;
  margin-top: 1.5rem;
}

.erp-story-section--ink .erp-story-section__heading > p:last-child,
.erp-story-section--deep .erp-story-section__heading > p:last-child,
.erp-story-section--cortex .erp-story-section__heading > p:last-child {
  color: rgb(255 255 255 / 72%);
}

.erp-story-section__split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.72fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
}

.erp-story-section__body {
  display: grid;
  gap: 1.8rem;
}

.erp-text-link {
  width: fit-content;
  color: var(--erp-ink);
  font-weight: 800;
  text-decoration-color: var(--erp-orange);
  text-underline-offset: 0.35rem;
}

.erp-text-link:hover,
.erp-text-link:focus-visible {
  color: var(--erp-orange);
}

.erp-story-section__showcase {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
}

.erp-story-section--compact-proof .erp-story-section__showcase {
  gap: clamp(2rem, 4vw, 3.5rem);
}

.erp-screen-pair {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.erp-screen-pair--quotation {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
}

.erp-screen-pair--xml,
.erp-screen-pair--finance {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.erp-screen {
  margin: 0;
}

.erp-screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(18 41 70 / 14%);
  box-shadow: 0 1.4rem 3.8rem rgb(18 41 70 / 14%);
}

.erp-screen figcaption {
  margin-top: 0.8rem;
  color: var(--erp-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.erp-story-section--ink .erp-screen img,
.erp-story-section--deep .erp-screen img,
.erp-story-section--cortex .erp-screen img {
  border-color: rgb(255 255 255 / 13%);
  box-shadow: 0 1.4rem 4rem rgb(0 0 0 / 32%);
}

.erp-story-section--ink .erp-screen figcaption,
.erp-story-section--deep .erp-screen figcaption,
.erp-story-section--cortex .erp-screen figcaption {
  color: rgb(255 255 255 / 68%);
}

.erp-screen--wide {
  width: 100%;
}

.erp-screen--import {
  width: min(100%, 60rem);
  margin-inline: auto;
}

.erp-screen--accounting {
  width: min(100%, 56rem);
  margin-inline: auto;
}

.erp-demo-notice {
  display: inline-flex;
  width: fit-content;
  margin: 1.5rem 0 0;
  padding: 0.42rem 0.8rem;
  color: #b94c00;
  border: 1px solid #ffb47d;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.erp-story-section--ink .erp-demo-notice,
.erp-story-section--deep .erp-demo-notice,
.erp-story-section--cortex .erp-demo-notice {
  color: #ffc69f;
  border-color: rgb(255 180 125 / 70%);
}

.erp-contact {
  padding: clamp(5.5rem, 11vw, 10rem) 0;
  background: var(--erp-ice);
}

.erp-contact__layout {
  display: grid;
  gap: 3rem;
}

.erp-contact__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.68fr);
  gap: 2rem;
  align-items: end;
}

.erp-contact__intro h2 {
  max-width: 50rem;
}

.erp-contact__intro > p:last-child {
  max-width: 27rem;
}

.erp-contact__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1.6rem 3.8rem rgb(8 21 38 / 11%);
}

.erp-contact__form {
  display: grid;
  gap: 1rem;
  padding: clamp(2rem, 4.5vw, 3.4rem);
}

.erp-contact .prospect-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--erp-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-contact .prospect-form em {
  color: var(--erp-muted);
  font-style: normal;
  font-weight: 500;
}

.erp-contact .prospect-form__label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  width: fit-content;
}

.erp-contact .prospect-form__label .is-required {
  color: var(--erp-orange);
  font-weight: 800;
}

.erp-contact .prospect-form input,
.erp-contact .prospect-form textarea {
  width: 100%;
  border: 1px solid #cbd8e7;
  border-radius: 0.72rem;
  color: var(--erp-ink);
  font: inherit;
}

.erp-contact .prospect-form input {
  min-height: 3.45rem;
  padding: 0 0.9rem;
}

.erp-contact .prospect-form textarea {
  min-height: 7rem;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.erp-contact .prospect-form input:focus-visible,
.erp-contact .prospect-form textarea:focus-visible {
  outline: 3px solid rgb(255 106 0 / 25%);
  outline-offset: 1px;
  border-color: var(--erp-orange);
}

.erp-contact__help {
  margin: -0.5rem 0 0;
  color: var(--erp-muted);
  font-size: 0.78rem;
}

.erp-contact .prospect-form__consent {
  display: grid;
  grid-template-columns: 1rem 1fr;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.erp-contact .prospect-form__consent input {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.1rem;
  accent-color: var(--erp-orange);
}

.erp-contact .prospect-form__submit {
  width: 100%;
  border: 0;
  color: #06162a;
  cursor: pointer;
}

.erp-contact .prospect-form__feedback {
  min-height: 1.25rem;
  margin: 0;
  color: #b3261e;
  font-size: 0.82rem;
}

.erp-contact .prospect-form__feedback.is-success {
  color: #15733a;
}

.erp-contact__visual {
  min-height: 100%;
  margin: 0;
  background: var(--erp-navy);
}

.erp-contact__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.has-erp-motion [data-erp-reveal],
.has-erp-motion [data-erp-proof] {
  opacity: 0;
  transform: translateY(1.25rem);
}

.has-erp-motion [data-erp-entrance] {
  opacity: 0;
}

.has-erp-motion [data-erp-reveal].is-visible,
.has-erp-motion [data-erp-proof].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 560ms ease,
    transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 900px) {
  .erp-contact__intro,
  .erp-contact__card,
  .erp-story-section__split {
    grid-template-columns: 1fr;
  }

  .erp-contact__visual {
    min-height: 24rem;
    order: -1;
  }
}

@media (max-width: 720px) {
  .erp-container {
    width: min(100% - 2rem, 82rem);
  }

  .erp-hero {
    min-height: 44rem;
  }

  .erp-hero__image {
    object-position: 62% center;
  }

  .erp-hero__veil {
    background: linear-gradient(
      180deg,
      rgb(8 21 38 / 14%) 0%,
      rgb(8 21 38 / 34%) 38%,
      rgb(8 21 38 / 88%) 72%,
      rgb(8 21 38 / 98%) 100%
    );
  }

  .erp-hero__content {
    align-content: end;
    padding-block: 11rem 3rem;
  }

  .erp-hero h1 {
    max-width: 28rem;
    font-size: clamp(2rem, 9.2vw, 2.65rem);
  }

  .erp-hero p {
    font-size: 0.98rem;
  }

  .erp-map__intro,
  .erp-map__links,
  .erp-screen-pair,
  .erp-screen-pair--quotation,
  .erp-screen-pair--xml,
  .erp-screen-pair--finance {
    grid-template-columns: 1fr;
  }

  .erp-map__links {
    margin-top: 2.6rem;
  }

  .erp-map__intro,
  .erp-map__copy {
    justify-items: start;
    text-align: left;
  }

  .erp-map__copy {
    margin-top: 1.5rem;
  }

  .erp-module-card {
    grid-template-columns: 5rem minmax(0, 1fr);
    min-height: 8rem;
  }

  .erp-contact__form {
    padding: 1.5rem;
  }

  .erp-contact__visual {
    min-height: 21rem;
  }
}

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

  .has-erp-motion [data-erp-reveal],
  .has-erp-motion [data-erp-proof],
  .has-erp-motion [data-erp-entrance] {
    opacity: 1;
    transform: none;
  }
}
