:root {
  --funnel-page: #f6f0e8;
  --funnel-paper: #fffaf3;
  --funnel-surface: #eadfd2;
  --funnel-ink: #2a211d;
  --funnel-muted: #6c5c53;
  --funnel-line: rgba(42, 33, 29, 0.18);
  --funnel-line-strong: rgba(42, 33, 29, 0.3);
  --funnel-ember: #b65336;
  --funnel-ember-hover: #8f3a27;
  --funnel-button-text: #fffaf3;
  --funnel-night: #261e1a;
  --funnel-night-raised: #332822;
  --funnel-night-text: #fff6eb;
  --funnel-night-muted: #d4c3b6;
  --funnel-focus: #176b63;
  --funnel-serif: "DM Serif Display", Georgia, serif;
  --funnel-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --funnel-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --funnel-shell: 1180px;
  --funnel-gutter: clamp(1.25rem, 5vw, 4rem);
}

:root[data-theme="dark"] {
  --funnel-page: #211a16;
  --funnel-paper: #2c231e;
  --funnel-surface: #392c25;
  --funnel-ink: #fff6eb;
  --funnel-muted: #c7b7ab;
  --funnel-line: rgba(255, 241, 228, 0.15);
  --funnel-line-strong: rgba(255, 241, 228, 0.28);
  --funnel-ember: #e88969;
  --funnel-ember-hover: #f2a184;
  --funnel-button-text: #241813;
  --funnel-night: #14110f;
  --funnel-night-raised: #211a16;
  --funnel-night-text: #fff6eb;
  --funnel-night-muted: #c7b7ab;
  --funnel-focus: #ffb492;
}

body.hws-funnel-page,
body.hws-thank-you-page {
  min-width: 0;
  margin: 0;
  background: var(--funnel-page) !important;
  color: var(--funnel-ink) !important;
  font-family: var(--funnel-sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.hws-funnel-page *,
body.hws-funnel-page *::before,
body.hws-funnel-page *::after,
body.hws-thank-you-page *,
body.hws-thank-you-page *::before,
body.hws-thank-you-page *::after {
  box-sizing: border-box;
}

body.hws-funnel-page img,
body.hws-thank-you-page img {
  display: block;
  max-width: 100%;
}

body.hws-funnel-page a,
body.hws-thank-you-page a {
  color: inherit;
}

body.hws-funnel-page a:focus-visible,
body.hws-funnel-page button:focus-visible,
body.hws-funnel-page input:focus-visible,
body.hws-funnel-page textarea:focus-visible,
body.hws-thank-you-page a:focus-visible,
body.hws-thank-you-page button:focus-visible {
  outline: 3px solid var(--funnel-focus);
  outline-offset: 4px;
}

.hws-funnel-shell {
  width: min(calc(100% - 2 * var(--funnel-gutter)), var(--funnel-shell));
  margin-inline: auto;
}

.hws-funnel-skip {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--funnel-ember);
  color: var(--funnel-button-text) !important;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

.hws-funnel-skip:focus-visible {
  transform: translateY(0);
}

.hws-funnel-header {
  border-bottom: 1px solid var(--funnel-line);
  background: var(--funnel-page);
}

.hws-funnel-header__inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hws-funnel-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--funnel-ink) !important;
  font-family: var(--funnel-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 0.8;
  text-decoration: none;
}

.hws-funnel-wordmark span {
  color: var(--funnel-ember);
}

.hws-funnel-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hws-funnel-back {
  color: var(--funnel-muted) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.hws-funnel-theme {
  display: inline-grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--funnel-line-strong);
  border-radius: 0.25rem;
  background: transparent;
  color: var(--funnel-ink);
  cursor: pointer;
}

.hws-funnel-hero {
  background: var(--funnel-night);
  color: var(--funnel-night-text);
}

.hws-funnel-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.58fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  min-height: 620px;
  padding-block: clamp(4rem, 6vw, 6rem);
}

.hws-funnel-hero__grid > *,
.hws-funnel-context__grid > *,
.hws-funnel-section-heading > *,
.hws-funnel-sample__artifact > *,
.hws-funnel-form-layout > *,
.hws-funnel-final__grid > * {
  min-width: 0;
}

.hws-funnel-kicker {
  margin: 0 0 1rem;
  color: var(--funnel-ember-hover) !important;
  font: 700 0.72rem/1.4 var(--funnel-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hws-funnel-hero .hws-funnel-kicker {
  color: #f2a184 !important;
}

.hws-funnel-hero h1,
.hws-thanks-card h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--funnel-sans);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.95;
  text-wrap: balance;
}

.hws-funnel-lead {
  max-width: 52ch;
  margin: 1.5rem 0 0;
  color: var(--funnel-night-muted) !important;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hws-funnel-promise {
  margin: 1rem 0 0;
  color: var(--funnel-night-muted) !important;
}

.hws-funnel-promise strong {
  color: var(--funnel-night-text) !important;
}

.hws-funnel-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--funnel-ember);
  border-radius: 0.25rem;
  background: var(--funnel-ember);
  color: var(--funnel-button-text) !important;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.hws-funnel-button:hover {
  border-color: var(--funnel-ember-hover);
  background: var(--funnel-ember-hover);
}

.hws-funnel-ticket {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-top: 4px solid #d66848;
  background: #fffaf3;
  color: #2a211d;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.hws-funnel-ticket__label {
  margin: 0;
  color: #6c5c53 !important;
  font: 700 0.7rem/1.4 var(--funnel-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hws-funnel-ticket ol {
  display: grid;
  gap: 0;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hws-funnel-ticket li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(42, 33, 29, 0.16);
  color: #2a211d !important;
}

.hws-funnel-ticket strong {
  color: #2a211d !important;
  font-size: 1rem;
}

.hws-funnel-ticket span {
  color: #6c5c53;
  font-size: 0.94rem;
}

.hws-funnel-context,
.hws-funnel-sample,
.hws-funnel-form-section,
.hws-funnel-final {
  padding-block: clamp(4.25rem, 7vw, 7rem);
}

.hws-funnel-context {
  background: var(--funnel-surface);
}

.hws-funnel-context__grid,
.hws-funnel-section-heading,
.hws-funnel-form-layout,
.hws-funnel-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.hws-funnel-context h2,
.hws-funnel-section-heading h2,
.hws-funnel-form-intro h2,
.hws-funnel-final h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--funnel-ink) !important;
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hws-funnel-context__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.hws-funnel-context__columns > div {
  border-top: 1px solid var(--funnel-line-strong);
  padding-top: 1.25rem;
}

.hws-funnel-context h3 {
  margin: 0 0 1rem;
  color: var(--funnel-ink) !important;
  font-size: 1.05rem;
}

.hws-funnel-context ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.2rem;
}

.hws-funnel-context li {
  color: var(--funnel-muted) !important;
}

.hws-funnel-sample {
  background: var(--funnel-paper);
}

.hws-funnel-section-heading > p {
  max-width: 44ch;
  margin: 0;
  color: var(--funnel-muted) !important;
}

.hws-funnel-sample__artifact {
  display: grid;
  grid-template-columns: minmax(19rem, 0.65fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

.hws-funnel-video {
  position: relative;
  min-height: 370px;
  padding: 1.25rem;
  overflow: clip;
  background: var(--funnel-night);
  color: var(--funnel-night-text);
  box-shadow: 0 24px 70px rgba(35, 25, 20, 0.18);
}

.hws-funnel-video > span {
  position: relative;
  z-index: 2;
  color: #f2a184;
  font: 700 0.7rem/1 var(--funnel-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hws-funnel-video__page {
  position: absolute;
  inset: 4rem 2rem 3.25rem;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.4rem;
  background: #fff8ee;
  color: #2a211d;
  transform: rotate(-1.4deg);
}

.hws-funnel-video__page i {
  width: 3.5rem;
  height: 0.35rem;
  background: #b65336;
}

.hws-funnel-video__page strong {
  max-width: 12ch;
  color: #2a211d !important;
  font-size: clamp(1.4rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.hws-funnel-video__page b {
  width: 84%;
  height: 0.4rem;
  background: #d7c9bc;
}

.hws-funnel-video__page b:last-child {
  width: 62%;
}

.hws-funnel-video__time {
  position: absolute !important;
  right: 1.25rem;
  bottom: 1.15rem;
  color: var(--funnel-night-muted) !important;
}

.hws-funnel-diagnostic {
  border-block: 1px solid var(--funnel-line-strong);
}

.hws-funnel-diagnostic article {
  display: grid;
  grid-template-columns: minmax(8rem, 0.34fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--funnel-line);
}

.hws-funnel-diagnostic article > span,
.hws-funnel-priorities > span {
  color: var(--funnel-ember-hover);
  font: 700 0.7rem/1.4 var(--funnel-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hws-funnel-diagnostic article > strong {
  color: var(--funnel-ink) !important;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.35;
}

.hws-funnel-priorities {
  display: grid;
  grid-template-columns: minmax(8rem, 0.34fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--funnel-line-strong);
  background: var(--funnel-surface);
}

.hws-funnel-priorities ol {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding-left: 1.2rem;
}

.hws-funnel-priorities li {
  color: var(--funnel-muted) !important;
}

.hws-funnel-form-section {
  background: var(--funnel-page);
}

.hws-funnel-form-intro {
  position: sticky;
  top: 2rem;
}

.hws-funnel-form-intro > p:not(.hws-funnel-kicker) {
  max-width: 45ch;
  color: var(--funnel-muted) !important;
}

.hws-funnel-privacy {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.hws-funnel-privacy a {
  color: var(--funnel-ember-hover) !important;
}

.hws-review-form {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 4px solid var(--funnel-ember);
  background: var(--funnel-paper);
  box-shadow: 0 24px 70px rgba(35, 25, 20, 0.12);
}

.hws-review-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hws-review-field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.hws-review-field--full,
.hws-review-form__status,
.hws-review-form__submit,
.hws-review-form__note {
  grid-column: 1 / -1;
}

.hws-review-field label {
  color: var(--funnel-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.hws-review-field input,
.hws-review-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--funnel-line-strong);
  border-radius: 0.2rem;
  background: var(--funnel-page);
  color: var(--funnel-ink);
  font: inherit;
}

.hws-review-field input {
  padding: 0.75rem 0.85rem;
}

.hws-review-field textarea {
  min-height: 7.5rem;
  padding: 0.8rem 0.85rem;
  resize: vertical;
}

.hws-review-field input:user-invalid,
.hws-review-field textarea:user-invalid {
  border-color: #a33d31;
  box-shadow: 0 0 0 1px #a33d31;
}

.hws-review-field small,
.hws-review-form__status,
.hws-review-form__note {
  color: var(--funnel-muted) !important;
  font-size: 0.83rem;
}

.hws-review-form__status {
  margin: 0.25rem 0 0;
}

.hws-review-form__submit {
  width: max-content;
  margin-top: 0.25rem;
  font: 700 0.96rem/1 var(--funnel-sans);
}

.hws-review-form__note {
  max-width: 64ch;
  margin: 0;
}

.hws-funnel-final {
  background: var(--funnel-surface);
}

.hws-funnel-final p:not(.hws-funnel-kicker) {
  max-width: 46ch;
  color: var(--funnel-muted) !important;
}

.hws-funnel-text-link {
  align-self: end;
  justify-self: start;
  color: var(--funnel-ember-hover) !important;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.hws-funnel-footer {
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
  background: var(--funnel-night);
  color: var(--funnel-night-text);
}

.hws-funnel-wordmark--footer {
  color: var(--funnel-night-text) !important;
  font-size: clamp(5rem, 16vw, 11rem);
}

.hws-funnel-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 246, 235, 0.16);
  color: var(--funnel-night-muted);
  font-size: 0.88rem;
}

.hws-funnel-footer__links span {
  margin-right: auto;
}

.hws-funnel-footer__links a {
  color: var(--funnel-night-muted) !important;
}

.hws-thanks-main {
  display: grid;
  min-height: calc(100vh - 96px);
  place-items: center;
  padding: clamp(4rem, 8vw, 7rem) var(--funnel-gutter);
  background: var(--funnel-page);
}

.hws-thanks-card {
  width: min(980px, 100%);
}

.hws-thanks-card h1 {
  max-width: 14ch;
  color: var(--funnel-ink) !important;
}

.hws-thanks-card .hws-funnel-lead {
  max-width: 62ch;
  color: var(--funnel-muted) !important;
}

.hws-thanks-confirmation-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 62ch;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--funnel-line-strong);
  border-left: 3px solid var(--funnel-ember);
  background: var(--funnel-surface);
}

.hws-thanks-confirmation-bar__mark {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--funnel-ember);
  color: var(--funnel-button-text);
  font-weight: 800;
}

.hws-thanks-confirmation-bar div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
}

.hws-thanks-confirmation-bar strong {
  color: var(--funnel-ink) !important;
}

.hws-thanks-confirmation-bar div span {
  color: var(--funnel-muted);
}

.hws-thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.75rem;
  border-block: 1px solid var(--funnel-line-strong);
}

.hws-thanks-steps article {
  min-width: 0;
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-right: 1px solid var(--funnel-line);
}

.hws-thanks-steps article:not(:first-child) {
  padding-left: 1.5rem;
}

.hws-thanks-steps article:last-child {
  border-right: 0;
}

.hws-thanks-steps span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--funnel-ember);
  font: 700 0.72rem/1 var(--funnel-mono);
}

.hws-thanks-steps strong {
  display: block;
  color: var(--funnel-ink) !important;
}

.hws-thanks-steps p {
  margin-bottom: 0;
  color: var(--funnel-muted) !important;
}

.hws-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.hws-thanks-actions .hws-funnel-button {
  margin-top: 0;
}

.hws-funnel-footer--compact {
  padding-block: 1.5rem;
}

.hws-funnel-footer--compact .hws-funnel-footer__links {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

html[data-theme] body.hws-funnel-page .hws-funnel-hero,
html[data-theme] body.hws-funnel-page .hws-funnel-hero h1 {
  color: var(--funnel-night-text) !important;
  background-color: var(--funnel-night);
}

html[data-theme] body.hws-funnel-page main a.hws-funnel-button,
html[data-theme] body.hws-thank-you-page main a.hws-funnel-button {
  color: var(--funnel-button-text) !important;
}

html[data-theme] body.hws-funnel-page .hws-funnel-ticket,
html[data-theme] body.hws-funnel-page .hws-funnel-ticket li,
html[data-theme] body.hws-funnel-page .hws-funnel-ticket strong,
html[data-theme] body.hws-funnel-page .hws-funnel-video__page,
html[data-theme] body.hws-funnel-page .hws-funnel-video__page strong {
  color: #2a211d !important;
}

html[data-theme] body.hws-funnel-page .hws-funnel-ticket__label {
  color: #6c5c53 !important;
}

@media (max-width: 820px) {
  .hws-funnel-hero__grid,
  .hws-funnel-context__grid,
  .hws-funnel-section-heading,
  .hws-funnel-sample__artifact,
  .hws-funnel-form-layout,
  .hws-funnel-final__grid {
    grid-template-columns: 1fr;
  }

  .hws-funnel-hero__grid {
    min-height: 0;
    padding-block: 4.5rem;
  }

  .hws-funnel-form-intro {
    position: static;
  }

  .hws-funnel-video {
    max-width: 560px;
  }

  .hws-thanks-steps {
    grid-template-columns: 1fr;
  }

  .hws-thanks-steps article,
  .hws-thanks-steps article:not(:first-child) {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--funnel-line);
  }

  .hws-thanks-steps article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .hws-funnel-header__inner {
    min-height: 80px;
  }

  .hws-funnel-wordmark {
    font-size: 2.8rem;
  }

  .hws-funnel-back {
    display: none;
  }

  .hws-funnel-hero h1,
  .hws-thanks-card h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hws-funnel-context h2,
  .hws-funnel-section-heading h2,
  .hws-funnel-form-intro h2,
  .hws-funnel-final h2 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .hws-funnel-context__columns,
  .hws-review-form {
    grid-template-columns: 1fr;
  }

  .hws-funnel-diagnostic article,
  .hws-funnel-priorities {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hws-funnel-video {
    min-height: 330px;
    padding: 1rem;
  }

  .hws-funnel-video__page {
    inset: 3.5rem 1.25rem 3.1rem;
    padding: 1.15rem;
  }

  .hws-review-form__submit {
    width: 100%;
  }

  .hws-funnel-footer__links {
    display: grid;
    justify-items: start;
  }

  .hws-funnel-footer__links span {
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
