@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #111210;
  --panel: #191a17;
  --panel-light: #20211d;
  --text: #f4f1e9;
  --muted: #a6a59d;
  --subtle: #74756e;
  --line: #34352f;
  --orange: #F77517;
  --orange-bright: #ff8b3b;
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 48% 0%, rgb(247 117 23 / 7%), transparent 37rem),
    var(--bg);
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(100% - 40px, 1030px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  stroke: var(--orange);
  stroke-width: 1.65;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy > span,
.header-note,
.eyebrow,
.step-kicker,
.step-count,
.form-progress,
.site-footer {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.brand-copy > span {
  color: var(--subtle);
  font-size: 8px;
}

.header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c5c3ba;
}

.live-dot,
.eyebrow > span {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgb(247 117 23 / 50%);
}

main {
  width: min(100%, 650px);
  margin: 0 auto;
  padding: 43px 0 54px;
}

.intro {
  position: relative;
  padding: 0 0 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--orange);
}

.intro h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(58px, 10vw, 84px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 0.9;
  text-transform: uppercase;
}

.intro h1 span {
  color: var(--orange);
}

.offer {
  margin: 17px 0 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(21px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: normal;
}

.offer > span {
  color: var(--orange);
  font-size: 0.68em;
}

.subhead {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.orange-rule {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 64px;
  height: 3px;
  background: var(--orange);
}

.steps {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 1.4%);
}

.steps-heading {
  min-height: 37px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.step-kicker {
  color: var(--text);
}

.step-count {
  color: var(--subtle);
  font-size: 8px;
}

.step-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.step-list li {
  min-height: 79px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.step-list li + li {
  border-left: 1px solid var(--line);
}

.step-number {
  color: var(--orange);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.step-list li > span:last-child {
  max-width: 175px;
  color: #d5d3cb;
  font-size: 11px;
  line-height: 1.45;
}

.form-section {
  margin-top: 24px;
  padding: 22px 25px 19px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgb(255 255 255 / 3%), transparent 52%), var(--panel);
  box-shadow: 0 18px 55px rgb(0 0 0 / 22%);
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.form-eyebrow {
  margin-bottom: 5px;
  font-size: 8px;
}

.form-heading h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
}

.form-progress {
  padding: 8px 10px;
  flex: 0 0 auto;
  border: 1px solid rgb(247 117 23 / 37%);
  color: #cac7be;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.form-progress b {
  color: var(--orange);
}

#lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#lead-form[hidden],
.embed-card #embed-lead-form[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 6px;
}

.field:first-child,
.field:nth-child(2) {
  grid-column: 1 / -1;
}

.field label {
  color: #d9d7cf;
  font-size: 10px;
  font-weight: 500;
}

.field input {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #3a3b35;
  border-radius: 2px;
  outline: none;
  color: var(--text);
  background: #121310;
  font-size: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input::placeholder {
  color: #6e6f68;
}

.field input:focus {
  border-color: var(--orange);
  background: #151612;
  box-shadow: 0 0 0 3px rgb(247 117 23 / 10%);
}

.field input[aria-invalid="true"] {
  border-color: #ff7b6b;
}

.field-error {
  min-height: 0;
  color: #ff9386;
  font-size: 10px;
}

.field-error:empty {
  display: none;
}

.submit-button {
  min-height: 49px;
  margin-top: 4px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 2px;
  color: #19120e;
  background: var(--orange);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.submit-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submit-button:hover {
  transform: translateY(-1px);
  background: var(--orange-bright);
  box-shadow: 0 7px 20px rgb(247 117 23 / 20%);
}

.submit-button:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.privacy-note {
  margin: 0;
  grid-column: 1 / -1;
  color: #93938c;
  font-size: 10px;
  text-align: center;
}

.form-status {
  margin: 0;
  grid-column: 1 / -1;
  color: #ff9386;
  font-size: 11px;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.success-panel {
  padding: 14px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  row-gap: 8px;
  border: 1px solid rgb(247 117 23 / 45%);
  background: rgb(247 117 23 / 7%);
}

.success-panel[hidden] {
  display: none;
}

.success-check {
  width: 25px;
  height: 25px;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bg);
  background: var(--orange);
  font-size: 14px;
  font-weight: 800;
}

.success-title {
  grid-column: 2;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.1;
}

.success-next-step {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.success-book-button {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
}

.success-reset-link {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 2px 4px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.success-reset-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.site-footer {
  min-height: 54px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgb(255 255 255 / 9%);
  color: var(--subtle);
  font-size: 8px;
}

@media (max-width: 600px) {
  .site-shell {
    width: min(100% - 32px, 480px);
  }

  .site-header {
    min-height: 70px;
  }

  .header-note {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  main {
    padding: 38px 0 34px;
  }

  .intro {
    padding-bottom: 21px;
  }

  .intro h1 {
    font-size: clamp(57px, 16vw, 76px);
  }

  .orange-rule {
    right: 1px;
    bottom: 24px;
    width: 35px;
  }

  .step-list li {
    min-height: 91px;
    padding: 11px 9px;
  }

  .step-list li > span:last-child {
    font-size: 10px;
  }

  .form-section {
    margin-top: 18px;
    padding: 19px 16px 16px;
  }
}

@media (max-width: 390px) {
  .site-shell {
    width: calc(100% - 24px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-note {
    gap: 5px;
    font-size: 6.5px;
  }

  .steps-heading {
    padding: 0 11px;
  }

  .step-list li {
    padding-inline: 7px;
  }

  .step-list li > span:last-child {
    font-size: 9px;
  }

  #lead-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field:first-child,
  .submit-button,
  .privacy-note,
  .form-status {
    grid-column: auto;
  }

  .success-book-button {
    grid-column: 1 / -1;
  }

  .field input {
    min-height: 45px;
  }

  .site-footer {
    font-size: 6px;
  }
}

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