:root {
  --etrn-blue: #0b5fff;
  --etrn-blue-dark: #0648c9;
  --etrn-navy: #0f172a;
  --etrn-ink: #172033;
  --etrn-muted: #64748b;
  --etrn-orange: #f97316;
  --etrn-bg: #f6f8fc;
  --etrn-line: #e5eaf2;
  --etrn-white: #fff;
  --etrn-radius-lg: 24px;
  --etrn-radius-md: 18px;
  --etrn-shadow: 0 18px 50px rgb(15 23 42 / 8%);
}

.etrn-page,
.etrn-page * {
  box-sizing: border-box;
}

.etrn-page {
  width: 100%;
  overflow-x: clip;
  color: var(--etrn-ink);
  background: var(--etrn-bg);
}

/* Apply this class to the base template's <main> on the public homepage. */
.etrn-home-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.etrn-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.etrn-site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(229 234 242 / 85%);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(18px);
}

.etrn-site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 24px;
}

.etrn-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.etrn-logo img {
  display: block;
  width: 178px;
  height: 40px;
}

.etrn-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 22px;
}

.etrn-nav a,
.etrn-text-link {
  color: #445066;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.etrn-nav a:hover,
.etrn-text-link:hover {
  color: var(--etrn-blue);
}

.etrn-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 0 22px;
  background: var(--etrn-blue);
  box-shadow: 0 10px 24px rgb(11 95 255 / 20%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.etrn-button:hover {
  transform: translateY(-1px);
  background: var(--etrn-blue-dark);
  box-shadow: 0 14px 30px rgb(11 95 255 / 26%);
}

.etrn-button--secondary {
  border-color: var(--etrn-line);
  background: #fff;
  box-shadow: none;
  color: var(--etrn-ink);
}

.etrn-button--secondary:hover {
  background: #f8fafc;
  box-shadow: none;
}

.etrn-button--orange {
  background: var(--etrn-orange);
  box-shadow: 0 10px 24px rgb(249 115 22 / 22%);
}

.etrn-button--orange:hover {
  background: #ea580c;
  box-shadow: 0 14px 30px rgb(249 115 22 / 27%);
}

.etrn-button:focus-visible,
.etrn-nav a:focus-visible,
.etrn-role-card:focus-visible,
.etrn-text-link:focus-visible {
  outline: 3px solid rgb(11 95 255 / 28%);
  outline-offset: 3px;
}

.etrn-hero {
  display: grid;
  min-height: 650px;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr);
  gap: 32px;
  padding-block: 72px 82px;
}

.etrn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 7px 13px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 13px;
  font-weight: 750;
}

.etrn-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--etrn-orange);
  content: "";
}

.etrn-hero h1 {
  max-width: 720px;
  margin: 24px 0 20px;
  color: var(--etrn-navy);
  font-size: clamp(42px, 5.3vw, 68px);
  font-weight: 820;
  letter-spacing: -.048em;
  line-height: 1.02;
}

.etrn-hero__lead {
  max-width: 620px;
  margin: 0;
  color: var(--etrn-muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}

.etrn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.etrn-hero__note {
  margin: 18px 0 0;
  color: #7b8799;
  font-size: 13px;
}

.etrn-hero__visual {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
}

.etrn-hero__visual::before {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(219 234 254 / 90%), rgb(239 246 255 / 8%) 68%, transparent 72%);
  content: "";
  filter: blur(4px);
}

.etrn-hero__visual img {
  position: relative;
  display: block;
  width: min(700px, 128%);
  max-width: none;
  height: auto;
  transform: translateX(-7%);
}

.etrn-section {
  padding-block: 76px;
}

.etrn-section--white {
  background: #fff;
}

.etrn-section__eyebrow {
  margin: 0 0 10px;
  color: var(--etrn-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.etrn-section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--etrn-navy);
  font-size: clamp(30px, 3.5vw, 44px);
  letter-spacing: -.035em;
  line-height: 1.12;
}

.etrn-section__lead {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--etrn-muted);
  font-size: 17px;
  line-height: 1.6;
}

.etrn-role-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.etrn-role-card {
  position: relative;
  min-width: 0;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--etrn-line);
  border-radius: var(--etrn-radius-md);
  padding: 22px 20px 20px;
  background: #fff;
  color: var(--etrn-ink);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.etrn-role-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--role-color, var(--etrn-blue));
  content: "";
}

.etrn-role-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--role-color, var(--etrn-blue)) 38%, white);
  box-shadow: var(--etrn-shadow);
}

.etrn-role-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--role-color, var(--etrn-blue)) 10%, white);
  color: var(--role-color, var(--etrn-blue));
  place-items: center;
}

.etrn-role-card__icon svg {
  width: 30px;
  height: 30px;
}

.etrn-role-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.2;
}

.etrn-role-card p {
  margin: 0;
  color: var(--etrn-muted);
  font-size: 13px;
  line-height: 1.5;
}

.etrn-role-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--role-color, var(--etrn-blue));
  font-size: 21px;
  font-weight: 800;
}

.etrn-feature-grid {
  display: grid;
  margin-top: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.etrn-feature-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--etrn-line);
  border-radius: var(--etrn-radius-lg);
  padding: 26px;
  background: #fff;
}

.etrn-feature-card__art {
  display: grid;
  min-height: 230px;
  margin: -12px -10px 2px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 55%, #edf5ff 0, #f8fbff 58%, transparent 72%);
  place-items: center;
}

.etrn-feature-card__art img {
  display: block;
  width: min(250px, 86%);
  height: auto;
}

.etrn-feature-card h3 {
  margin: 8px 0 8px;
  color: var(--etrn-navy);
  font-size: 19px;
}

.etrn-feature-card p {
  margin: 0;
  color: var(--etrn-muted);
  font-size: 14px;
  line-height: 1.6;
}

.etrn-steps {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.etrn-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
}

.etrn-step__number {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf2ff;
  color: var(--etrn-blue);
  font-size: 16px;
  font-weight: 800;
  place-items: center;
}

.etrn-step h3 {
  margin: 2px 0 5px;
  font-size: 16px;
}

.etrn-step p {
  margin: 0;
  color: var(--etrn-muted);
  font-size: 14px;
  line-height: 1.55;
}

.etrn-cta {
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  padding: 52px;
  background:
    radial-gradient(circle at 90% 0, rgb(11 95 255 / 42%), transparent 36%),
    var(--etrn-navy);
  color: #fff;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.etrn-cta h2 {
  color: #fff;
}

.etrn-cta p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #aebbd0;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .etrn-hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  }

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

@media (max-width: 800px) {
  .etrn-container {
    width: min(100% - 32px, 680px);
  }

  .etrn-site-header__inner {
    min-height: 64px;
  }

  .etrn-nav a:not(.etrn-button) {
    display: none;
  }

  .etrn-nav {
    gap: 8px;
  }

  .etrn-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 52px 64px;
  }

  .etrn-hero__copy {
    text-align: center;
  }

  .etrn-hero__lead {
    margin-inline: auto;
  }

  .etrn-hero__actions {
    justify-content: center;
  }

  .etrn-hero__visual img {
    width: min(700px, 112%);
    transform: none;
  }

  .etrn-feature-grid,
  .etrn-steps {
    grid-template-columns: 1fr;
  }

  .etrn-feature-card {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
    gap: 14px;
  }

  .etrn-feature-card__art {
    min-height: 190px;
    margin: -10px;
  }

  .etrn-cta {
    padding: 40px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .etrn-container {
    width: min(100% - 24px, 480px);
  }

  .etrn-logo img {
    width: 146px;
    height: auto;
  }

  .etrn-nav .etrn-button {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .etrn-hero {
    padding-block: 40px 52px;
  }

  .etrn-hero h1 {
    margin-top: 20px;
    font-size: clamp(36px, 11vw, 48px);
  }

  .etrn-hero__actions .etrn-button {
    width: 100%;
  }

  .etrn-section {
    padding-block: 58px;
  }

  .etrn-role-grid {
    grid-template-columns: 1fr;
  }

  .etrn-role-card {
    min-height: 132px;
    padding: 20px 58px 18px 88px;
  }

  .etrn-role-card__icon {
    position: absolute;
    top: 22px;
    left: 18px;
    margin: 0;
  }

  .etrn-feature-card {
    display: block;
  }

  .etrn-feature-card__art {
    min-height: 210px;
    margin: -10px -10px 4px;
  }

  .etrn-cta {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .etrn-button,
  .etrn-role-card {
    scroll-behavior: auto;
    transition: none;
  }
}
