
.est-hero {
  --est-end: 0px;
  --e-line: color-mix(in srgb, var(--ink) 16%, transparent);
  --e-soft: color-mix(in srgb, var(--ink) 55%, transparent);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  block-size: 100svh;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
  box-shadow: 200px 0 0 var(--paper);
}
@media (min-width: 992px) {
  .est-hero { --est-end: var(--rail); inline-size: calc(100% + var(--rail)); }
}
@media (max-width: 991.98px) {
  .est-hero { block-size: auto; min-block-size: 100svh; }
}

.est-hero__stage {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  display: grid;
  align-items: center;
  padding: var(--space-2) calc(var(--gutter) + var(--est-end)) var(--space-1) var(--prod-start);
  container-type: size;
}
.est-hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--prod-gap); }
.est-hero :where(p) { margin: 0; }

.est-hero__title { display: grid; font-family: var(--font-heading); font-weight: 700; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.est-hero__title { font-size: min(6.4cqi, 17cqb); }
.est-hero__row { display: block; overflow: clip; overflow-clip-margin: .2em; padding-block-end: .06em; }
.est-hero__row > span { display: block; transition: translate 1.3s var(--prod-ease); transition-delay: calc(.25s + var(--i) * 120ms); }

.est-hero__panel { min-inline-size: 0; transition: opacity 1.1s var(--prod-ease) .5s, translate 1.3s var(--prod-ease) .5s; }
.est-hero__step { display: flex; align-items: baseline; gap: .8rem; font-size: var(--text-xs); line-height: 1.4; }
.est-hero__num { display: inline-block; overflow: clip; font-family: var(--font-heading); font-size: var(--text-h3); font-weight: 700; font-variant-numeric: tabular-nums; }
.est-hero__step > span:nth-child(2) { color: var(--e-soft); font-family: var(--font-heading); font-weight: 600; }
.est-hero__name { display: inline-block; margin-inline-start: .8rem; padding-inline-start: 1.2rem; overflow: clip; overflow-clip-margin: .3em; border-inline-start: 1px solid var(--e-line); color: var(--e-soft); letter-spacing: .1em; }
.est-hero__name > span { display: block; }
.est-hero__progress { position: relative; display: block; block-size: 1px; margin-block-start: 1.2rem; background-color: var(--e-line); }
.est-hero__progress > span { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 100%; background-color: var(--ink); transform-origin: 0 50%; scale: var(--p, .143) 1; transition: scale .9s var(--prod-ease); }
.est-hero__q { margin-block-start: 2.4rem; overflow: clip; overflow-clip-margin: .3em; font-family: var(--font-heading); font-size: var(--text-h3); font-weight: 700; line-height: 1.5; }
.est-hero__q > span { display: block; }
.est-hero__scenes { margin-block-start: 2rem; min-block-size: 16rem; }
.est-hero__scenes > [hidden] { display: none; }
.est-hero__scenes ul { margin: 0; padding: 0; list-style: none; }

.est-hero__goals li { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; align-items: center; column-gap: 1.2rem; padding: 1.2rem 1.4rem; border-block-start: 1px solid var(--e-line); overflow: hidden; isolation: isolate; transition: color .5s var(--prod-ease); }
.est-hero__goals li:last-child { border-block-end: 1px solid var(--e-line); }
.est-hero__goals li::before { content: ""; position: absolute; inset: 0; z-index: -1; background-color: var(--ink); transform-origin: 0 50%; scale: 0 1; transition: scale .6s var(--prod-ease-io); }
.est-hero__goals li[data-on] { color: var(--paper); }
.est-hero__goals li[data-on]::before { scale: 1 1; }
.est-hero__gn { font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; }
.est-hero__gl { display: grid; row-gap: .2rem; font-size: var(--text-xs); line-height: 1.5; }
.est-hero__gl b { font-size: var(--text-sm); }
.est-hero__gl span { opacity: .7; }
.est-hero__radio { position: relative; inline-size: 1.6rem; block-size: 1.6rem; border: 1px solid currentColor; border-radius: 50%; opacity: .6; }
.est-hero__goals li[data-on] .est-hero__radio { opacity: 1; }
.est-hero__radio::after { content: ""; position: absolute; inset: .35rem; border-radius: 50%; background-color: currentColor; scale: 0; transition: scale .4s var(--prod-ease); }
.est-hero__goals li[data-on] .est-hero__radio::after { scale: 1; }

.est-hero__places { display: grid; grid-template-columns: minmax(0, 1fr); border-block-start: 1px solid var(--e-line); }
.est-hero__places li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-block-size: 4.8rem; padding: 1rem 1.4rem; border-block-end: 1px solid var(--e-line); font-size: var(--text-xs); font-weight: 600; line-height: 1.5; overflow: hidden; isolation: isolate; transition: color .5s var(--prod-ease); }
.est-hero__places li::before { content: ""; position: absolute; inset: 0; z-index: -1; background-color: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--prod-ease-io); }
.est-hero__places li[data-on] { color: var(--paper); }
.est-hero__places li[data-on]::before { clip-path: inset(0 0 0 0); }
.est-hero__check { display: grid; place-items: center; flex: none; inline-size: 1.6rem; block-size: 1.6rem; border: 1px solid currentColor; border-radius: 3px; }
.est-hero__check svg { inline-size: 1.2rem; block-size: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .45s var(--prod-ease) .15s; }
.est-hero__places li[data-on] .est-hero__check svg { stroke-dashoffset: 0; }

.est-hero__amount { display: flex; align-items: baseline; gap: .4rem; font-family: var(--font-heading); }
.est-hero__amount b { font-size: var(--text-display); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.est-hero__amount span { font-size: var(--text-xs); font-weight: 600; }
.est-hero__slider { position: relative; display: block; block-size: 2px; margin-block: 2.4rem 2rem; background-color: var(--e-line); }
.est-hero__fill { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: calc(var(--p, 0) * 100%); background-color: var(--ink); }
.est-hero__knob { position: absolute; inset-block-start: 50%; inset-inline-start: calc(var(--p, 0) * 100%); inline-size: 1.6rem; block-size: 1.6rem; margin: -.8rem 0 0 -.8rem; border-radius: 50%; background-color: var(--ink); }
.est-hero__chips { display: flex; flex-wrap: wrap; gap: .8rem; }
.est-hero__chips li { padding: .5rem 1.2rem; border: 1px solid var(--e-line); border-radius: 999px; font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 600; line-height: 1.4; transition: background-color .4s var(--prod-ease), color .4s var(--prod-ease), border-color .4s var(--prod-ease); }
.est-hero__chips li[data-on] { border-color: var(--ink); background-color: var(--ink); color: var(--paper); }

.est-hero__plan-name { display: flex; align-items: baseline; gap: 1rem; font-family: var(--font-heading); font-size: var(--text-h3); font-weight: 700; line-height: 1.3; }
.est-hero__plan-name b { font-size: var(--text-display); line-height: 1; }
.est-hero__plan ul { margin-block-start: 1.6rem; border-block-start: 1px solid var(--ink); }
.est-hero__plan li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.6rem; padding-block: 1.2rem; border-block-end: 1px solid var(--e-line); font-size: var(--text-sm); font-weight: 700; line-height: 1.5; }
.est-hero__plan li > span:last-child { display: grid; justify-items: end; font-family: var(--font-heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-hero__plan small { color: var(--e-soft); font-family: var(--font); font-size: var(--text-xs); font-weight: 400; }

:is(.est-hero__q, .est-hero__gl, .est-hero__places li, .est-hero__plan li > span:first-child) { word-break: keep-all; overflow-wrap: normal; line-break: strict; }
.est-hero__name { white-space: nowrap; }

.est-hero__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem 4rem;
  padding: 0 calc(var(--gutter) + var(--est-end)) var(--space-2) var(--prod-start);
}
.est-hero__text { min-inline-size: 0; }
.est-hero__lines { display: grid; row-gap: .3em; max-inline-size: 32em; font-size: var(--text-base); line-height: 1.8; }
.est-hero__line { display: block; overflow: clip; overflow-clip-margin: .3em; }
.est-hero__line > span { display: block; transition: translate 1.1s var(--prod-ease); transition-delay: calc(.6s + var(--i) * 90ms); }
.est-hero__line:first-child { font-weight: 700; letter-spacing: .02em; }
.est-hero__line:last-child { font-size: var(--text-sm); letter-spacing: .04em; opacity: .75; }
.est-hero__cta { flex-shrink: 0; transition: opacity 1s var(--prod-ease) 1s, translate 1.2s var(--prod-ease) 1s; }
@media (min-width: 1200px) {
  .est-hero__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

[data-motion="on"] .est-hero:not([data-in]) :is(.est-hero__row, .est-hero__line) > span { translate: 0 110%; }
[data-motion="on"] .est-hero:not([data-in]) :is(.est-hero__cta, .est-hero__panel) { opacity: 0; translate: 0 1.6rem; }

@media (max-width: 991.98px) {
  .est-hero__stage { padding: 3rem var(--gutter) 2.5rem; container-type: inline-size; }
  .est-hero__stage { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .est-hero__title { font-size: 13cqi; }
  .est-hero__bottom { align-items: stretch; padding: 0 var(--gutter) var(--space-2); }
}

@media (prefers-reduced-motion: reduce) {
  .est-hero *, .est-hero *::before, .est-hero *::after { transition: none !important; }
}
