.ec-page {
  --ec-ink:    #0b0906;
  --ec-gold:   #d9b378;
  --ec-line:   rgba(217, 179, 120, .16);
  background: #000;
}

.ec-page > section {
  position: relative;
  z-index: 6;
  background: #000;
}

.ec-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ec-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0 0 2.4rem;
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.2rem, 13.5px);
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ec-gold);
}

.ec-eyebrow i {
  width: 4.4rem;
  height: var(--hair);
  flex: none;
  background: linear-gradient(90deg, rgba(224, 189, 111, 0), #e0bd6f);
}
.ec-eyebrow i:last-child { background: linear-gradient(90deg, #e0bd6f, rgba(224, 189, 111, 0)); }

.ec-eyebrow--c { justify-content: center; }

.ec-eyebrow span,
.ec-card-k span { display: inline-block; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ec-eyebrow span,
  .ec-card-k span {
    background-image: var(--gold-metal);
    background-repeat: no-repeat;
    background-size: 100% 640%;
    background-position: 50% 24%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--gold-small-cast);
  }

  .ec-title em {
    font-style: normal;
    background-image: var(--gold-metal);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ec-gold);
    filter: var(--gold-cast);
  }

  .ec-title.is-split em {
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
  }

  .ec-title.is-split em .ec-w-i {
    padding: .2em .08em .18em;
    margin: -.2em -.08em -.18em;
    background-image: var(--gold-metal);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: var(--gold-cast);
  }
}

.ec-open {
  padding: calc(var(--header-h) + 10rem) 0 9rem;
  overflow: hidden;
  text-align: center;
}

.ec-open::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(64rem 36rem at 50% 46%, rgba(201, 160, 99, .11), transparent 70%);
}

.ec-open-in { position: relative; }

.ec-open-in > * { grid-column: content; justify-self: center; }

.ec-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(45px, 8.2rem, 91px);
  line-height: 1.13;
  letter-spacing: -.022em;
  color: var(--paper);
}

.ec-w {
  display: inline-block;
  vertical-align: top;
  padding: .2em .1em .2em;
  margin: -.2em -.1em -.2em;
}

.ec-title.is-arriving .ec-w { overflow: clip; }

.ec-w-i { display: inline-block; will-change: transform; }

.ec-lede {
  margin: 1.8rem 0 0;
  width: 100%;
  max-width: 100%;
  font-size: clamp(15px, 1.85rem, 20.5px);
  line-height: 1.62;
  color: rgba(251, 250, 247, .68);
}

.ec-page > .ec-calc { padding: 0 0 12rem; }

.ec-calc-in > * { grid-column: 3 / span 14; }

.ec-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: var(--hair) solid transparent;
  border-radius: 2.8rem;
  background:
    linear-gradient(#0a0805, #0a0805) padding-box,
    linear-gradient(180deg, rgba(240, 209, 142, .55), rgba(201, 160, 99, .12) 40%, rgba(201, 160, 99, .3)) border-box;
  box-shadow:
    0 4rem 10rem -3rem rgba(0, 0, 0, .9),
    0 0 12rem -4rem rgba(201, 160, 99, .22);
  overflow: hidden;
  isolation: isolate;
}

.ec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50rem 30rem at 12% 0%, rgba(201, 160, 99, .08), transparent 70%),
    radial-gradient(56rem 40rem at 88% 8%, rgba(201, 160, 99, .14), transparent 70%);
}

.ec-card-k {
  margin: 0 0 2.6rem;
  font-size: clamp(11px, 1.15rem, 13px);
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ec-gold);
}

.ec-inputs { padding: 4.2rem 4.8rem 3.8rem; }

.ec-field + .ec-field { margin-top: 2.6rem; }

.ec-field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.ec-label-wrap { min-width: 0; }
.ec-label-wrap .ec-label { display: block; }

.ec-label {
  font-size: clamp(14px, 1.75rem, 19.5px);
  font-weight: 400;
  color: var(--paper);
}

.ec-label em {
  font-style: normal;
  font-size: clamp(13px, 1.4rem, 15.5px);
  color: rgba(251, 250, 247, .45);
}

.ec-box {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-content: center;
  align-items: baseline;
  justify-content: flex-end;
  column-gap: .6rem;
  min-width: 9rem;
  height: 4.8rem;
  padding: 0 1.6rem;
  border: var(--hair) solid rgba(217, 179, 120, .24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .03);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}

.ec-box:hover { border-color: rgba(217, 179, 120, .45); }

.ec-box:focus-within {
  border-color: #e0bd6f;
  background: rgba(201, 160, 99, .06);
  box-shadow: 0 0 0 .4rem rgba(201, 160, 99, .14), 0 0 2.4rem -.4rem rgba(224, 189, 111, .35);
}

.ec-box.is-bad {
  border-color: #e0655a;
  box-shadow: 0 0 0 .4rem rgba(224, 101, 90, .12);
}

.ec-num {
  flex: none;
  width: 8ch;
  min-width: 0;
  height: auto;
  padding: .2em 0;
  border: 0;
  background: none;
  outline: none;
  text-align: right;
  font: 600 clamp(16px, 2rem, 22px)/1 var(--font-year);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--paper);
  caret-color: #e0bd6f;
}

.ec-num.is-fit { transition: width .45s var(--ease-out); }

.ec-unit {
  flex: none;
  font-size: clamp(13px, 1.5rem, 16.5px);
  color: rgba(251, 250, 247, .5);
}

.ec-unit--pre { font: 600 clamp(16px, 2rem, 22px)/1 var(--font-year); color: var(--ec-gold); }

.ec-range {
  --fill: 50%;
  display: block;
  width: 100%;
  height: 2.8rem;
  margin: 0;
  background:
    radial-gradient(5.6rem .5rem at var(--fill) 50%, rgba(255, 244, 214, .55), rgba(255, 226, 160, .18) 45%, rgba(255, 226, 160, 0) 75%),
    radial-gradient(2.8rem 1.4rem at var(--fill) 50%, rgba(255, 222, 150, .32), rgba(240, 190, 100, .12) 45%, rgba(240, 190, 100, 0) 72%);
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}

.ec-range:focus { outline: none; }

.ec-range::-webkit-slider-runnable-track {
  height: .4rem;
  border-radius: .4rem;
  background:
    linear-gradient(90deg, #8a5c15, #d9a94c 45%, #f7e3ad 80%, #fffdf4) 0 0 / var(--fill) 100% no-repeat,
    rgba(255, 255, 255, .1);
}

.ec-range::-moz-range-track {
  height: .4rem;
  border-radius: .4rem;
  background: rgba(255, 255, 255, .1);
}

.ec-range::-moz-range-progress {
  height: .4rem;
  border-radius: .4rem;
  background: linear-gradient(90deg, #8a5c15, #d9a94c 45%, #f7e3ad 80%, #fffdf4);
}

.ec-range::-webkit-slider-thumb {
  box-sizing: border-box;
  width: 2rem;
  height: 2rem;
  margin-top: -.8rem;
  border: .15rem solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 26%, #fff 0, rgba(255, 255, 255, .95) 7%, rgba(255, 255, 255, 0) 15%) padding-box,
    radial-gradient(ellipse 78% 50% at 50% 16%, rgba(255, 252, 238, .92) 0, rgba(255, 246, 216, .6) 58%, rgba(255, 240, 200, 0) 64%) padding-box,
    radial-gradient(ellipse 60% 30% at 58% 88%, rgba(255, 222, 150, .75), rgba(255, 222, 150, 0) 70%) padding-box,
    radial-gradient(circle at 50% 30%, #f6d98f 0, #d9a33c 40%, #9a6612 72%, #4a2d05 100%) padding-box,
    linear-gradient(160deg, #fff6d6 0%, #e6b95c 30%, #8a5a10 62%, #f0cf86 100%) border-box;
  box-shadow:
    inset 0 .1rem .05rem rgba(255, 252, 240, .8),
    inset 0 -.3rem .5rem rgba(60, 34, 2, .55),
    0 0 0 .1rem rgba(30, 18, 3, .9),
    0 0 .6rem rgba(255, 214, 130, .45),
    0 .15rem .2rem rgba(0, 0, 0, .75),
    0 .6rem 1.4rem rgba(0, 0, 0, .55);
  transition: transform .35s var(--ease-out), filter .35s var(--ease-out);
  -webkit-appearance: none;
          appearance: none;
}

.ec-range::-moz-range-thumb {
  box-sizing: border-box;
  width: 2rem;
  height: 2rem;
  border: .15rem solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 26%, #fff 0, rgba(255, 255, 255, .95) 7%, rgba(255, 255, 255, 0) 15%) padding-box,
    radial-gradient(ellipse 78% 50% at 50% 16%, rgba(255, 252, 238, .92) 0, rgba(255, 246, 216, .6) 58%, rgba(255, 240, 200, 0) 64%) padding-box,
    radial-gradient(ellipse 60% 30% at 58% 88%, rgba(255, 222, 150, .75), rgba(255, 222, 150, 0) 70%) padding-box,
    radial-gradient(circle at 50% 30%, #f6d98f 0, #d9a33c 40%, #9a6612 72%, #4a2d05 100%) padding-box,
    linear-gradient(160deg, #fff6d6 0%, #e6b95c 30%, #8a5a10 62%, #f0cf86 100%) border-box;
  box-shadow:
    inset 0 .1rem .05rem rgba(255, 252, 240, .8),
    inset 0 -.3rem .5rem rgba(60, 34, 2, .55),
    0 0 0 .1rem rgba(30, 18, 3, .9),
    0 0 .6rem rgba(255, 214, 130, .45),
    0 .15rem .2rem rgba(0, 0, 0, .75),
    0 .6rem 1.4rem rgba(0, 0, 0, .55);
}

.ec-range:hover::-webkit-slider-thumb,
.ec-range:active::-webkit-slider-thumb { transform: scale(1.06); filter: brightness(1.08); }

.ec-range:focus-visible::-webkit-slider-thumb { outline: .2rem solid rgba(224, 189, 111, .7); outline-offset: .2rem; }
.ec-range:focus-visible::-moz-range-thumb { outline: .2rem solid rgba(224, 189, 111, .7); outline-offset: .2rem; }

.ec-scale {
  position: relative;
  height: 1.8rem;
  margin: .6rem 1.2rem 0;
  font-size: clamp(11px, 1.2rem, 13.5px);
  font-weight: 400;
  color: rgba(251, 250, 247, .4);
}

.ec-scale span {
  position: absolute;
  top: 0;
  left: var(--at, 0%);
  transform: translateX(-50%);
  white-space: nowrap;
}

.ec-scale span:first-child { transform: translateX(-30%); }
.ec-scale span:last-child  { transform: translateX(-70%); }

.ec-words {
  margin: .4rem 0 0;
  font-size: clamp(13px, 1.35rem, 15px);
  font-weight: 400;
  color: var(--ec-gold);
}

.ec-words.is-bad { color: #f08a7f; }

.ec-fine {
  margin: 2.8rem 0 0;
  padding-top: 1.8rem;
  border-top: var(--hair) solid var(--ec-line);
  font-size: clamp(13px, 1.35rem, 15px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(251, 250, 247, .45);
}

.ec-result {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 4.2rem 4.4rem 3.8rem;
  background: linear-gradient(180deg, rgba(201, 160, 99, .05), rgba(201, 160, 99, 0) 60%);
}

.ec-result::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: var(--hair);
  background: linear-gradient(180deg, rgba(224, 189, 111, 0), rgba(224, 189, 111, .45) 30%, rgba(224, 189, 111, .45) 70%, rgba(224, 189, 111, 0));
}

.ec-result .ec-card-k { margin-bottom: 1.4rem; }

.ec-emi {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin: 0;
  font-family: var(--font-year);
  font-weight: 600;
  font-size: clamp(36px, 6rem, 66.5px);
  line-height: 1.05;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.ec-emi-cur { font-size: .55em; color: var(--ec-gold); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ec-emi [data-out="emi"] {
    background-image: var(--gold-metal);
    background-size: 100% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ec-gold);
    filter: var(--gold-cast);
    padding: .1em .06em .12em;
    margin: -.1em -.06em -.12em;
  }
}

.ec-emi-note {
  margin: 1.2rem 0 0;
  font-size: clamp(13px, 1.5rem, 16.5px);
  color: rgba(251, 250, 247, .55);
}

.ec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.8rem;
}

.ec-head-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.ec-sum { margin: 0; }

.ec-sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  border-top: var(--hair) solid rgba(251, 250, 247, .1);
}

.ec-sum dt {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: clamp(13px, 1.55rem, 17px);
  color: rgba(251, 250, 247, .66);
}

.ec-sum dd {
  margin: 0;
  font: 600 clamp(16px, 2rem, 22px)/1.2 var(--font-year);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--paper);
  white-space: nowrap;
}

.ec-sum-row--total { border-top-color: rgba(217, 179, 120, .35); }
.ec-sum-row--total dt { color: var(--paper); font-weight: 500; }
.ec-sum-row--total dd { font-size: clamp(16px, 2.4rem, 26.5px); color: #ebc486; }

.ec-key {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  flex: none;
}

.ec-key--gold { background: linear-gradient(135deg, #f7e3ad, #e0bd6f 50%, #b8893a); }
.ec-key--track { background: rgba(251, 250, 247, .16); }

.ec-cta {
  align-self: stretch;
  justify-content: space-between;
  margin-top: auto;
}

.ec-sum { margin-bottom: 2.6rem; }

html.has-js .ec-open [data-in],
html.has-js .ec-open .ec-title {
  opacity: 0;
  animation: ec-failsafe .6s var(--ease-out) 5s forwards;
}

html.ec-run .ec-open [data-in],
html.ec-run .ec-open .ec-title { animation: none; }

@keyframes ec-failsafe { to { opacity: 1; } }

@media (max-width: 1200px) {
  .ec-calc-in > * { grid-column: content; }
  .ec-inputs { padding: 4rem 3.6rem 3.6rem; }
  .ec-result { padding: 4rem 3.6rem 3.6rem; }
  .ec-emi { font-size: clamp(36px, 5.4rem, 60px); }
}

@media (max-width: 991px) {
  .ec-open { padding: calc(var(--header-h) + 8rem) 0 8rem; }
  .ec-title { font-size: clamp(34px, 6rem, 66.5px); }
  .ec-lede br { display: none; }

  .ec-card { grid-template-columns: minmax(0, 1fr); }
  .ec-result::before {
    left: 8%; right: 8%; top: 0; bottom: auto;
    width: auto; height: var(--hair);
    background: linear-gradient(90deg, rgba(224, 189, 111, 0), rgba(224, 189, 111, .45) 30%, rgba(224, 189, 111, .45) 70%, rgba(224, 189, 111, 0));
  }
}

@media (max-width: 767px) {
  .ec-open { padding: calc(var(--header-h) + 5rem) 0 6rem; }
  .ec-title { font-size: clamp(26px, 3.2rem, 34px); line-height: 1.28; }
  .ec-title br { display: none; }
  .ec-lede { margin-top: 1.4rem; font-size: clamp(14px, 1.65rem, 18.5px); }

  .ec-page > .ec-calc { padding-bottom: 9rem; }
  .ec-card { border-radius: 2rem; }
  .ec-inputs { padding: 3.2rem 2.2rem 3rem; }
  .ec-card-k { margin-bottom: 3rem; }

  .ec-field + .ec-field { margin-top: 3.6rem; }
  .ec-field-top { flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.6rem; }
  .ec-label { font-size: clamp(14px, 1.6rem, 18px); }
  .ec-box { height: 5rem; }

  .ec-fine { margin-top: 3.6rem; }

  .ec-result { padding: 3.6rem 2.2rem 3rem; }
  .ec-emi { font-size: clamp(31px, 4.8rem, 53.5px); }
  .ec-sum dt { font-size: clamp(13px, 1.4rem, 15.5px); }
  .ec-sum dd { font-size: clamp(14px, 1.7rem, 19px); }
  .ec-sum-row--total dd { font-size: clamp(16px, 2rem, 22px); }
  .ec-cta { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html.has-js .ec-open [data-in],
  html.has-js .ec-open .ec-title { opacity: 1; animation: none; }
}
