:root {
  --page-bg: #f6f6f6;
  --site-text: #565656;
  --heading: #555555;
  --muted: #8d8d8d;
  --line: #e3e3e3;
  --orange: #ff5a1f;
  --gold: #d3a22a;
  --gold-dark: #b17a08;
  --cyan: #08b9dd;
  --cyan-dark: #009fc3;
  --blue-word: #24a7d8;
  --note-bg: #fffdf7;
  --note-border: #e6c16b;
  --control-bg: #202020;
  --control-text: #ffffff;
  --stage-height: 760px;
  --site-width: 720px;
  --form-width: 520px;
  --site-shift-x: -155px;
  --camera-scale: 1;
  --camera-x: 0px;
  --content-scroll: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1120px;
  color: var(--site-text);
  background: #e9e9e9;
  font-family: Lato, Helvetica, Arial, sans-serif;
}

button {
  font: inherit;
}

.walkthrough {
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.site-stage {
  position: relative;
  width: 100%;
  height: calc(100vh - 116px);
  min-height: 640px;
  overflow: hidden;
  background: var(--page-bg);
}

.site-page {
  width: 100%;
  min-height: 1700px;
  background: var(--page-bg);
  transform: translateX(var(--camera-x)) scale(var(--camera-scale));
  transform-origin: 50% 0;
  transition: transform 860ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.site-width {
  width: var(--site-width);
  margin-left: max(56px, calc((100% - var(--site-width)) / 2 + var(--site-shift-x)));
  margin-right: auto;
}

.top-strip {
  position: relative;
  z-index: 20;
  height: 31px;
  color: #888888;
  background: #ffffff;
  border-top: 4px solid #222222;
  font-size: 11px;
}

.top-strip .site-width {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials {
  color: #9b9b9b;
  word-spacing: 13px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #dcdcdc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.nav-row {
  height: 82px;
  display: grid;
  grid-template-columns: 165px 1fr 24px;
  align-items: center;
  gap: 30px;
}

.zion-logo {
  width: 156px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  color: #686868;
  font: 700 11px/1 Lato, Helvetica, Arial, sans-serif;
}

.nav-links span {
  white-space: nowrap;
}

.nav-links .active {
  color: #a67b1e;
}

.search-dot {
  width: 15px;
  height: 15px;
  border: 2px solid #d2d2d2;
  border-radius: 50%;
  position: relative;
}

.search-dot::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  background: #d2d2d2;
  transform: rotate(45deg);
}

.title-band {
  display: none;
  height: 58px;
  align-items: center;
  background: #fafafa;
  border-bottom: 1px solid #e6e6e6;
}

.result-context .title-band {
  display: flex;
  transform: translateY(var(--content-scroll));
  transition: transform 860ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.title-band .site-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-band h1 {
  margin: 0;
  color: #777777;
  font: 400 17px/1.1 Lato, Helvetica, Arial, sans-serif;
}

.title-band p {
  margin: 0;
  color: #9c9c9c;
  font: 400 11px/1 Lato, Helvetica, Arial, sans-serif;
}

.content-band {
  position: relative;
  z-index: 1;
  padding: 28px 0 110px;
  transform: translateY(var(--content-scroll));
  transition: transform 860ms cubic-bezier(0.2, 0.8, 0.18, 1);
}

.site-stage.camera-snap .site-page,
.site-stage.camera-snap .title-band,
.site-stage.camera-snap .content-band {
  transition: none !important;
}

.result-context .content-band {
  padding-top: 34px;
}

.form-card {
  width: var(--form-width);
  min-height: 900px;
  margin-left: max(56px, calc((100% - var(--form-width)) / 2 + var(--site-shift-x)));
  margin-right: auto;
  padding: 28px 15px 44px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.privacy-note {
  margin: -8px 0 22px;
  padding: 13px 16px;
  color: #8a97a0;
  background: #f2f4f5;
  border-radius: 2px;
  font: 700 12px/1.55 Lato, Helvetica, Arial, sans-serif;
  text-align: center;
}

.form-title {
  margin: 0 0 24px;
  color: var(--heading);
  font: 400 25px/1.25 Lato, Helvetica, Arial, sans-serif;
  text-align: center;
}

.form-title.secondary {
  margin-top: 28px;
  margin-bottom: 18px;
  font-size: 24px;
}

.section-heading {
  margin: 26px 0 16px;
  color: #4b4b4b;
  font: 700 16px/1.25 Lato, Helvetica, Arial, sans-serif;
}

.intro-copy,
.page-copy {
  margin: 0 0 18px;
  color: #59646d;
  font: 400 14px/1.62 Lato, Helvetica, Arial, sans-serif;
}

.intro-copy p,
.page-copy p {
  margin: 0 0 13px;
}

.page-copy.compact {
  margin-bottom: 10px;
}

.note-copy {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.intro-copy strong,
.page-copy strong {
  color: #3e4850;
  font-weight: 700;
}

.blue-word {
  color: var(--blue-word);
  font-weight: 700;
}

.form-bullets {
  margin: 14px 0 0;
  padding-left: 19px;
  color: #59646d;
}

.form-bullets li {
  margin: 0 0 9px;
  padding-left: 3px;
  font: 400 14px/1.45 Lato, Helvetica, Arial, sans-serif;
}

.form-rule {
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: var(--line);
}

.fs-form {
  margin-top: 0;
}

.fs-field {
  display: block;
  margin: 0 0 15px;
}

.fs-label {
  display: block;
  margin: 0 0 8px;
  color: #454545;
  font: 700 13px/1.25 Lato, Helvetica, Arial, sans-serif;
}

.req {
  color: #d5371c;
  margin-left: 1px;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-shell.has-prefix .fs-input {
  flex: 1 1 auto;
}

.input-prefix {
  color: #565656;
  font: 700 12px/1 Lato, Helvetica, Arial, sans-serif;
}

.fs-input,
.fs-select {
  width: 100%;
  min-height: 30px;
  padding: 6px 8px;
  color: #5b5b5b;
  background: #ffffff;
  border: 1px solid #d3d3d3;
  border-radius: 0;
  font: 400 13px/1.2 Helvetica, Arial, sans-serif;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.fs-select {
  display: block;
  position: relative;
  max-width: 220px;
  padding-right: 25px;
}

.fs-select::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 11px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #666666;
}

.fs-input.read-only {
  color: #777777;
  background: #fafafa;
}

.fs-input.masked {
  color: #777777;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  -webkit-text-security: disc;
}

.hint {
  display: block;
  margin-top: 6px;
  color: var(--orange);
  font: 700 11px/1.35 "Open Sans", Helvetica, Arial, sans-serif;
}

.hint.block {
  margin: 16px 0 13px;
}

.field-error {
  margin: -4px 0 16px;
  color: var(--orange);
  font: 700 12px/1.45 "Open Sans", Helvetica, Arial, sans-serif;
}

.radio-group,
.check-group {
  margin: 5px 0 18px;
}

.radio-line,
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 27px;
  color: #3f3f3f;
  font: 700 13px/1.45 Lato, Helvetica, Arial, sans-serif;
}

.radio-dot,
.check-box {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border: 1px solid #c8c8c8;
  background: #ffffff;
}

.radio-dot {
  border-radius: 50%;
}

.radio-line.selected .radio-dot {
  border-color: #647783;
}

.radio-line.selected .radio-dot::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 1.5px;
  border-radius: 50%;
  background: #455f6d;
}

.check-line.selected .check-box {
  position: relative;
  border-color: #7d8f99;
  background: #f9f9f9;
}

.check-line.selected .check-box::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  width: 7px;
  height: 4px;
  border-left: 2px solid #3a5967;
  border-bottom: 2px solid #3a5967;
  transform: rotate(-45deg);
}

.will-check.just-checked .check-box {
  animation: check-pop 420ms ease;
}

@keyframes check-pop {
  0% {
    transform: scale(1);
    box-shadow: none;
  }
  55% {
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(8, 185, 221, 0.16);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

.address-example-card {
  position: relative;
  overflow: hidden;
  margin: 6px 0 16px;
  padding: 12px 14px 14px;
  color: #555d64;
  background: #ffffff;
  border: 10px solid #e36b1e;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.sample-watermark {
  position: absolute;
  z-index: 0;
  left: 118px;
  top: 24px;
  color: rgba(227, 107, 30, 0.18);
  font: 700 92px/1 Lato, Helvetica, Arial, sans-serif;
  letter-spacing: 5px;
  transform: rotate(15deg);
  pointer-events: none;
}

.address-example-row,
.address-example-grid {
  position: relative;
  z-index: 1;
}

.address-example-row {
  margin-bottom: 11px;
}

.address-example-grid {
  display: grid;
  grid-template-columns: 1fr 0.46fr 0.22fr;
  gap: 10px 12px;
}

.example-input {
  display: block;
  min-height: 31px;
  padding: 6px 8px;
  color: #59616a;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #c9d0d4;
  font: 400 15px/1.2 Helvetica, Arial, sans-serif;
}

.example-input.select-like {
  position: relative;
  padding-right: 28px;
}

.example-input.select-like::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 12px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #697179;
}

.example-label,
.address-bottom-label {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font: 700 11px/1.25 "Open Sans", Helvetica, Arial, sans-serif;
}

.address-field {
  display: block;
  margin: 0 0 9px;
}

.address-field .fs-input,
.address-field .fs-select {
  margin: 0;
}

.address-select {
  max-width: 220px;
}

.summary-fields {
  margin: 8px 0 22px;
}

.summary-fields .fs-field {
  margin-bottom: 17px;
}

.auth-block {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.legal-copy {
  margin: 14px 0 18px;
  color: #5a646a;
  font: italic 400 13px/1.6 Lato, Helvetica, Arial, sans-serif;
}

.bank-check-image {
  margin: 10px 0 17px;
}

.bank-check-image img {
  display: block;
  width: 334px;
  height: auto;
}

.wait-copy {
  margin: 28px 0 24px;
  padding-top: 2px;
}

.wait-copy h3 {
  margin: 0 0 28px;
  color: #666666;
  font: 400 24px/1.15 Lato, Helvetica, Arial, sans-serif;
}

.wait-copy p {
  margin: 0;
  color: #536068;
  font: 400 13px/1.6 Lato, Helvetica, Arial, sans-serif;
}

.wait-copy.revealable {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 500ms ease,
    margin 500ms ease,
    padding-top 500ms ease,
    opacity 320ms ease,
    visibility 320ms ease;
}

.wait-copy.revealable.revealed {
  max-height: 180px;
  margin: 28px 0 24px;
  padding-top: 2px;
  opacity: 1;
  visibility: visible;
}

.now-what {
  margin: 32px 0 20px;
}

.now-what h3 {
  margin: 0 0 18px;
  color: #686868;
  font: 700 35px/1 Lato, Helvetica, Arial, sans-serif;
}

.save-link {
  display: block;
  width: 100%;
  height: 31px;
  margin: 26px 0 28px;
  color: #6f8d99;
  background: #dedede;
  border: 0;
  font: 700 11px/31px Lato, Helvetica, Arial, sans-serif;
  text-align: center;
  text-decoration: underline;
}

.page-nav {
  display: grid;
  grid-template-columns: 96px 1fr 96px;
  align-items: center;
  gap: 18px;
  margin-top: 0;
}

.page-count {
  color: #72a9bb;
  font: 700 11px/1 Lato, Helvetica, Arial, sans-serif;
  text-align: center;
}

.page-count::before,
.page-count::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  margin: 0 10px 3px;
  background: #c9c9c9;
}

.fs-button {
  min-width: 86px;
  min-height: 55px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--cyan);
  border: 1px solid #c8b42b;
  border-radius: 0;
  font: 700 11px/1 Lato, Helvetica, Arial, sans-serif;
  text-align: center;
  box-shadow: none;
}

.fs-button.previous {
  background: var(--cyan);
}

.fs-button.submit {
  min-width: 100px;
  font-size: 11px;
}

.fs-button:focus-visible,
.round-button:focus-visible,
.play-button:focus-visible,
.step-dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.formstack-lock {
  display: block;
  width: max-content;
  margin: 24px auto 0;
  padding: 5px 10px;
  color: #777777;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  font-size: 11px;
}

.mini-lock {
  display: inline-block;
  width: 9px;
  height: 8px;
  margin-right: 3px;
  position: relative;
  border-radius: 1px;
  background: #f6c95c;
  vertical-align: -1px;
}

.mini-lock::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -6px;
  width: 5px;
  height: 6px;
  border: 1px solid #9c8a4e;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.form-card.result-mode {
  width: var(--site-width);
  min-height: 900px;
  margin-left: max(56px, calc((100% - var(--site-width)) / 2 + var(--site-shift-x)));
  margin-right: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.result-page {
  width: var(--site-width);
  margin: 0 auto;
  padding: 0 0 90px;
  color: #666666;
  background: transparent;
}

.result-page h2 {
  margin: 0 0 18px;
  color: #666666;
  font: 400 22px/1.25 Lato, Helvetica, Arial, sans-serif;
}

.result-page p {
  margin: 0 0 17px;
  font: 400 14px/1.6 Lato, Helvetica, Arial, sans-serif;
}

.result-focus-block {
  max-width: 620px;
}

.result-record {
  margin-top: 18px;
  padding: 0;
  color: #656565;
  background: transparent;
  border: 0;
}

.result-record p {
  margin-bottom: 13px;
}

.result-record small {
  font-size: 12px;
}

.underline {
  text-decoration: underline;
}

.spotlight {
  position: absolute;
  z-index: 5;
  display: none;
  visibility: hidden;
  left: 0;
  top: 0;
  width: 100px;
  height: 70px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  box-shadow:
    0 0 0 4px rgba(211, 162, 42, 0.16),
    0 20px 38px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  transition:
    left 420ms ease,
    top 420ms ease,
    width 420ms ease,
    height 420ms ease;
}

.spotlight.visible {
  display: block;
  visibility: visible;
}

.overlay-transitioning .spotlight {
  display: none;
  visibility: hidden;
}

.arrow-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#arrowPath {
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  marker-end: url(#arrowHead);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
}

.site-stage:not(.overlay-transitioning) #arrowPath {
  opacity: 1;
  visibility: visible;
}

#arrowHead path {
  fill: var(--gold-dark);
}

.guide-note {
  position: absolute;
  z-index: 7;
  width: 300px;
  padding: 13px 15px;
  color: #51402a;
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: 3px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
  font: 700 15px/1.35 Lato, Helvetica, Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease;
}

.site-stage:not(.overlay-transitioning) .guide-note {
  opacity: 1;
  visibility: visible;
}

.guide-note small {
  display: block;
  margin-top: 7px;
  color: #80643f;
  font: 400 12px/1.35 "Open Sans", Helvetica, Arial, sans-serif;
}

.control-deck {
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto minmax(440px, 1fr);
  gap: 26px;
  align-items: center;
  padding: 18px 28px;
  color: var(--control-text);
  background: var(--control-bg);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.step-label {
  margin: 0 0 5px;
  color: #d4a44d;
  font: 700 12px/1.2 Lato, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}

.control-deck h2 {
  margin: 0 0 5px;
  color: #ffffff;
  font: 700 22px/1.2 Lato, Helvetica, Arial, sans-serif;
}

.control-deck p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font: 400 14px/1.45 "Open Sans", Helvetica, Arial, sans-serif;
}

.transport {
  display: flex;
  align-items: center;
  gap: 13px;
}

.round-button,
.play-button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.round-button {
  width: 44px;
  height: 44px;
}

.play-button {
  width: 62px;
  height: 62px;
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
}

.round-button svg,
.play-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-button svg path {
  fill: none;
}

.progress-wrap {
  min-width: 0;
}

.progress-bar {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  cursor: pointer;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 100%);
  border-radius: inherit;
}

.step-dots {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.step-dot {
  flex: 1 1 0;
  height: 9px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.24);
}

.step-dot.active {
  background: var(--gold);
}

.typing {
  border-color: #9dc9d7;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.06),
    0 0 0 2px rgba(8, 185, 221, 0.16);
}

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