/* DROPS high-intent contact flow — isolated from the scroll-snap funnel. */
.template-contact,
.template-contact-success {
  background: #fff;
  color: #0b0b0b;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

.contact-page {
  --contact-accent: #cf351f;
  --contact-ink: #0b0b0b;
  --contact-muted: #625f59;
  --contact-line: #d9d7d1;
  --contact-paper: #f6f5f2;
  min-height: 100vh;
  min-height: 100svh;
  background: #fff;
  color: var(--contact-ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.5;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-page .wrap {
  width: min(100% - 32px, 1180px);
  max-width: 1180px;
  padding-inline: 0;
}

.contact-shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.contact-main h1,
.contact-main h2,
.contact-main h3,
.contact-success h1,
.contact-success h2 {
  margin: 0;
  color: var(--contact-ink);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.contact-main p,
.contact-success p {
  margin: 0;
}

.contact-eyebrow {
  margin-bottom: 14px !important;
  color: var(--contact-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-brand {
  display: inline-flex;
  width: 150px;
  margin-bottom: clamp(34px, 7vw, 72px);
}

.contact-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-hero {
  padding: max(96px, calc(env(safe-area-inset-top, 0px) + 78px)) 0 clamp(58px, 9vw, 108px);
  border-bottom: 1px solid var(--contact-line);
  background:
    radial-gradient(circle at 92% 12%, rgba(229, 71, 42, .13), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, .7fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
}

.contact-hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 7.4vw, 92px);
}

.contact-deck {
  max-width: 760px;
  margin-top: 26px !important;
  color: #2c2a27;
  font-size: clamp(18px, 2.25vw, 24px);
  line-height: 1.38;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 2px solid var(--contact-ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
}

.contact-button--primary {
  border-color: var(--contact-accent);
  background: var(--contact-accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(229, 71, 42, .2);
}

.contact-button--secondary {
  background: #fff;
  color: var(--contact-ink);
}

.contact-button--dark {
  border-color: #fff;
  background: #fff;
  color: var(--contact-ink);
}

.contact-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--contact-ink);
}

.contact-button--small {
  min-height: 48px;
  padding: 11px 16px;
  font-size: 14px;
}

.contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-trust li {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--contact-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #403e3a;
  font-size: 13px;
  font-weight: 750;
}

.contact-trust li::before {
  margin-right: 7px;
  color: var(--contact-accent);
  content: '✓';
  font-weight: 900;
}

.contact-founder {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--contact-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 60px rgba(11, 11, 11, .08);
}

.contact-founder__mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--contact-ink);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.contact-founder h2 {
  font-size: 21px;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.contact-founder p {
  margin-top: 8px !important;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.45;
}

.contact-form-section {
  scroll-margin-top: 72px;
  padding: clamp(58px, 9vw, 104px) 0;
  background: var(--contact-paper);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.contact-form-panel {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--contact-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(11, 11, 11, .07);
}

.contact-form-panel > h2,
.contact-proof > h2 {
  font-size: clamp(32px, 4.6vw, 52px);
}

.contact-form-intro {
  margin-top: 12px !important;
  color: var(--contact-muted);
  font-size: 16px;
}

.contact-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.contact-progress--two {
  grid-template-columns: repeat(2, 1fr);
}

.contact-progress li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  padding-top: 10px;
  border-top: 3px solid #ddd;
  color: #6b6862;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.contact-progress li span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 50%;
  background: #eceae5;
  color: #5d5a54;
  font-size: 11px;
}

.contact-progress li.is-current,
.contact-progress li.is-complete {
  border-color: var(--contact-accent);
  color: var(--contact-ink);
}

.contact-progress li.is-current span,
.contact-progress li.is-complete span {
  background: var(--contact-accent);
  color: #fff;
}

.contact-form-host .form-wrapper,
.contact-form-host form {
  width: 100%;
}

.contact-form-host .form-field {
  margin: 0 0 20px;
}

.contact-form-host .contact-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form-host .contact-step > legend {
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  color: var(--contact-ink);
  font-size: clamp(23px, 3.4vw, 31px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.12;
  scroll-margin-top: 88px;
}

.contact-form-host .form-label {
  margin: 0 0 8px;
  color: #262421;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.contact-form-host .required {
  color: var(--contact-accent);
}

.contact-form-host input[type='text'],
.contact-form-host input[type='email'],
.contact-form-host textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #bdbab3;
  border-radius: 10px;
  background: #fff;
  color: var(--contact-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.contact-form-host textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form-host input[type='text']:focus,
.contact-form-host input[type='email']:focus,
.contact-form-host textarea:focus {
  border-color: var(--contact-accent);
  box-shadow: 0 0 0 3px rgba(229, 71, 42, .16);
}

.contact-form-host .form-description {
  display: block;
  margin-top: 7px;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.4;
}

.contact-form-host .radio.contact-choice {
  position: relative;
  margin-bottom: 10px;
}

.contact-form-host .contact-choice__input,
.contact-form-host .contact-priority__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-host .radio.contact-choice > label {
  display: flex !important;
  min-height: 66px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 44px 14px 16px;
  border: 1px solid #c9c6bf;
  border-radius: 12px;
  background: #fff;
  color: var(--contact-ink);
  cursor: pointer;
  line-height: 1.25;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.contact-form-host .radio.contact-choice > label::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  border: 2px solid #aaa69f;
  border-radius: 50%;
  content: '';
  transform: translateY(-50%);
}

.contact-form-host .radio.contact-choice > label strong {
  display: block;
  font-size: 16px;
  font-weight: 850;
}

.contact-form-host .radio.contact-choice > label span {
  display: block;
  margin-top: 4px;
  color: var(--contact-muted);
  font-size: 13px;
  font-weight: 600;
}

.contact-form-host .radio.contact-choice > input:checked + label {
  border-color: var(--contact-accent);
  box-shadow: 0 0 0 2px var(--contact-accent);
}

.contact-form-host .radio.contact-choice > input:checked + label::after {
  border: 6px solid var(--contact-accent);
}

.contact-form-host .radio.contact-choice > input:focus-visible + label,
.contact-form-host .contact-priority__input:focus-visible + label {
  outline: 3px solid #155eef;
  outline-offset: 2px;
}

.contact-form-host .contact-choice--compact > label,
.contact-form-host .contact-choice--timeline > label {
  min-height: 52px !important;
  font-size: 14px;
  font-weight: 750;
}

.contact-form-host .checkboxes.contact-priorities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.contact-form-host .checkboxes.contact-priorities > label {
  display: flex !important;
  min-height: 56px;
  align-items: center;
  padding: 11px 12px 11px 42px;
  border: 1px solid #c9c6bf;
  border-radius: 10px;
  background: #fff;
  color: var(--contact-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  position: relative;
}

.contact-form-host .checkboxes.contact-priorities > label::before {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  border: 2px solid #aaa69f;
  border-radius: 4px;
  content: '';
}

.contact-form-host .checkboxes.contact-priorities > input:checked + label {
  border-color: var(--contact-accent);
  background: #fff7f4;
  box-shadow: 0 0 0 1px var(--contact-accent);
}

.contact-form-host .checkboxes.contact-priorities > input:checked + label::before {
  border-color: var(--contact-accent);
  background: var(--contact-accent);
  box-shadow: inset 0 0 0 3px #fff;
}

.contact-form-host .checkboxes.contact-priorities > input:disabled + label {
  cursor: not-allowed;
  opacity: .46;
}

.contact-form-host .form-errors,
.contact-form-host .alert {
  margin-top: 8px;
  color: #a21919;
  font-size: 13px;
  font-weight: 700;
}

.contact-form-host .has-errors input,
.contact-form-host .has-errors textarea {
  border-color: #b42318;
}

.contact-form-host .buttons {
  margin-top: 12px;
}

.contact-form-host .contact-submit,
.contact-step-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 2px solid var(--contact-ink);
  border-radius: 999px;
  background: var(--contact-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
}

.contact-form-host .contact-submit {
  width: 100%;
  border-color: var(--contact-accent);
  background: var(--contact-accent);
}

.contact-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
}

.contact-step-button--back {
  border-color: #c9c6bf;
  background: #fff;
  color: var(--contact-ink);
}

.contact-step-button--next {
  margin-left: auto;
}

.contact-form--enhanced .contact-step[hidden] {
  display: none;
}

.contact-form--enhanced > .buttons {
  display: none;
}

.contact-form--enhanced.is-last-step > .buttons {
  display: block;
}

.contact-privacy {
  margin-top: 18px !important;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.45;
}

.contact-privacy a,
.contact-utility a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--contact-line);
  font-size: 14px;
  font-weight: 750;
}

.contact-proof {
  padding-top: 10px;
}

.contact-proof > p:not(.contact-eyebrow) {
  margin-top: 18px !important;
  color: var(--contact-muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--contact-line);
  background: var(--contact-line);
}

.contact-proof__grid article {
  min-height: 210px;
  padding: 20px;
  background: #fff;
}

.contact-proof__grid article > span {
  color: var(--contact-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
}

.contact-proof__grid h3 {
  margin-top: 36px;
  font-size: 20px;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.contact-proof__grid p {
  margin-top: 10px !important;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.48;
}

.contact-control {
  margin-top: 22px;
  padding: 20px;
  border-radius: 14px;
  background: var(--contact-ink);
  color: #fff;
}

.contact-control strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.contact-control p {
  margin-top: 9px !important;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.contact-demo-band {
  padding: clamp(46px, 7vw, 78px) 0;
  background: var(--contact-accent);
  color: #fff;
}

.contact-demo-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-demo-band h2 {
  color: #fff;
  font-size: clamp(31px, 4.6vw, 52px);
}

.contact-demo-band p {
  max-width: 650px;
  margin-top: 12px !important;
  color: #fff;
  font-size: 16px;
}

.contact-faq {
  padding: clamp(58px, 9vw, 104px) 0;
  background: #fff;
}

.contact-faq__layout {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 7vw, 96px);
}

.contact-faq__intro h2 {
  font-size: clamp(32px, 4.6vw, 52px);
}

.contact-faq__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-faq__badges li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--contact-line);
  border-radius: 999px;
  background: var(--contact-paper);
  color: #403e3a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}

.contact-faq__badges li::before {
  margin-right: 7px;
  color: var(--contact-accent);
  content: '✓';
  font-weight: 900;
}

.contact-faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.contact-faq__list {
  border-top: 1px solid var(--contact-line);
}

.contact-faq details {
  border-bottom: 1px solid var(--contact-line);
}

.contact-faq summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
}

.contact-faq summary::-webkit-details-marker {
  display: none;
}

.contact-faq summary span {
  flex: 0 0 auto;
  color: var(--contact-accent);
  font-size: 26px;
  transition: transform .18s ease;
}

.contact-faq details[open] summary span {
  transform: rotate(45deg);
}

.contact-faq details p {
  max-width: 680px;
  padding: 0 0 20px;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.58;
}

.contact-final {
  padding: clamp(64px, 10vw, 118px) 0;
  background: var(--contact-ink);
  color: #fff;
  text-align: center;
}

.contact-final h2 {
  color: #fff;
  font-size: clamp(40px, 7vw, 82px);
}

.contact-final p {
  margin: 18px auto 0 !important;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
}

.contact-final .contact-button {
  margin-top: 28px;
}

.contact-success {
  display: grid;
  min-height: calc(100svh - 64px);
  place-items: center;
  padding: max(96px, calc(env(safe-area-inset-top, 0px) + 78px)) 0 72px;
  background:
    radial-gradient(circle at 50% 10%, rgba(229, 71, 42, .13), transparent 34%),
    var(--contact-paper);
}

.contact-success__card {
  max-width: 840px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--contact-line);
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 22px 70px rgba(11, 11, 11, .08);
}

.contact-success__card .contact-brand {
  margin-bottom: 36px;
}

.contact-success__check {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--contact-accent);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.contact-success__check--neutral {
  background: var(--contact-ink);
}

.contact-success__card > .contact-actions {
  justify-content: center;
}

.contact-form-host .contact-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.contact-success h1 {
  font-size: clamp(46px, 9vw, 88px);
}

.contact-success__lead {
  max-width: 650px;
  margin: 18px auto 0 !important;
  color: var(--contact-muted);
  font-size: clamp(18px, 2.5vw, 23px);
}

.contact-success .contact-trust {
  justify-content: center;
}

.contact-success__next {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--contact-line);
}

.contact-success__next h2 {
  font-size: clamp(25px, 4vw, 36px);
}

.contact-success__next p {
  max-width: 630px;
  margin: 12px auto 0 !important;
  color: var(--contact-muted);
}

.contact-success__next .contact-actions {
  justify-content: center;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible,
.contact-page summary:focus-visible {
  outline: 3px solid #155eef;
  outline-offset: 3px;
}

@media (max-width: 880px) {
  .contact-hero__grid,
  .contact-form-layout,
  .contact-faq__layout {
    grid-template-columns: 1fr;
  }

  .contact-founder {
    max-width: 520px;
  }

  .contact-form-layout {
    gap: 58px;
  }

  .contact-demo-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .contact-shell,
  .contact-page .wrap {
    width: min(100% - 24px, 1180px);
  }

  .contact-hero {
    padding-top: max(84px, calc(env(safe-area-inset-top, 0px) + 70px));
  }

  .contact-brand {
    width: 126px;
    margin-bottom: 34px;
  }

  .contact-hero h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .contact-deck {
    font-size: 17px;
  }

  .contact-actions,
  .contact-actions .contact-button {
    width: 100%;
  }

  .contact-faq__actions,
  .contact-faq__actions .contact-button {
    width: 100%;
  }

  .contact-trust {
    gap: 6px;
  }

  .contact-trust li {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .contact-form-panel {
    padding: 22px 16px;
    border-radius: 15px;
  }

  .contact-progress li {
    font-size: 14px;
  }

  .contact-form-host .checkboxes.contact-priorities,
  .contact-proof__grid {
    grid-template-columns: 1fr;
  }

  .contact-proof__grid article {
    min-height: 0;
  }

  .contact-proof__grid h3 {
    margin-top: 20px;
  }

  .contact-step-button {
    min-width: 0;
    flex: 1 1 auto;
  }

  .contact-success__card {
    padding: 28px 18px;
    border-radius: 16px;
  }
}

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