/* How it works — landing-continuous layer (hero split, stepper, calculator) */

/* ---------- Hero ---------- */
.hiw-hero { padding: calc(96px + 4vw) 0 clamp(48px, 6vw, 88px); }
.hiw-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hiw-hero__art {
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}
.hiw-hero__art image-slot { width: 100%; height: 100%; }
.hiw-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 900px) {
  .hiw-hero .wrap { grid-template-columns: 1fr; }
  .hiw-hero__art { justify-self: center; max-width: 400px; }
}

/* ---------- Steps ----------
   An editorial three-row list: oversized numeral, statement, supporting facts.
   Replaces the old tab/panel stepper — three short steps don't warrant an
   interaction, and the empty media wells read as clutter. */
.hiwx-head__title {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 0;
  max-width: 18ch;
  text-wrap: balance;
}
.hiwx-steps {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.hiwx-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(32px, 3.4vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
}
.hiwx-step__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink-40);
  margin: 0;
}
.hiwx-step__title {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.hiwx-step__copy {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-70);
  max-width: 46ch;
  text-wrap: pretty;
}
.hiwx-meta { margin: 6px 0 0; display: grid; gap: 12px; }
.hiwx-meta__row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
}
.hiwx-meta dt {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.hiwx-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-70);
}
@media (max-width: 900px) {
  .hiwx-step { grid-template-columns: 56px minmax(0, 1fr); }
  .hiwx-meta { grid-column: 2; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .hiwx-meta__row { grid-template-columns: 1fr; gap: 3px; }
}

/* ---------- FAQ / CTA rhythm ---------- */
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq__head { margin: 0; }
@media (max-width: 900px) { .faq .wrap { grid-template-columns: 1fr; } }

.hiw-cta { text-align: left; }
.hiw-cta .wrap {
  max-width: 1000px;
  width: auto;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: clamp(44px, 5.5vw, 80px);
}
.hiw-cta__title { color: var(--paper); margin: 0 0 8px; }
.hiw-cta__form { max-width: 400px; margin-top: 28px; }
.hiw-cta__note { color: rgba(242, 238, 232, 0.6); margin-top: 20px; }

/* Step 1 sits on one line — title left, email pill right — so the panel needs
   far less height and can hold a narrower measure. Steps 2 and 3 stay stacked. */
#wl-step-1 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
#wl-step-1 .hiw-cta__title { grid-column: 1; grid-row: 1; margin: 0; }
#wl-step-1 .hiw-cta__form { grid-column: 2; grid-row: 1; margin-top: 0; width: min(400px, 38vw); }
#wl-step-1 .hiw-wl__error { grid-column: 2; grid-row: 2; }
#wl-step-1 .hiw-cta__note { grid-column: 1; grid-row: 2; margin-top: 18px; }
@media (max-width: 860px) {
  #wl-step-1 { grid-template-columns: 1fr; }
  #wl-step-1 :is(.hiw-cta__title, .hiw-cta__form, .hiw-wl__error, .hiw-cta__note) { grid-column: 1; grid-row: auto; }
  #wl-step-1 .hiw-cta__form { width: 100%; max-width: 460px; margin-top: 28px; }
}

/* ---------- CTA waitlist: email → suburb + consent → confirmation ---------- */
.hiw-wl { transition: opacity 300ms var(--ease-out); }
.hiw-wl.is-fading { opacity: 0; }
.hiw-wl__error {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
}
.hiw-wl__body {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(242, 238, 232, 0.62);
  max-width: 42ch;
  text-wrap: pretty;
}
.hiw-wl__field { margin: 28px 0 0; }
.hiw-wl__label {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.hiw-wl__select-pill {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--paper);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  max-width: 380px;
}
.hiw-wl__select-pill select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 30px 12px 12px;
  cursor: pointer;
  border-radius: 999px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231A1714' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.hiw-wl__consent {
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(242, 238, 232, 0.18);
}
.hiw-wl__check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.hiw-wl__check input { position: absolute; width: 20px; height: 20px; margin: 0; opacity: 0; }
.hiw-wl__check-box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--paper);
  border-radius: 3px;
  background: transparent;
  position: relative;
}
.hiw-wl__check-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 8px;
  height: 4px;
  border-left: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: rotate(-45deg);
  opacity: 0;
}
.hiw-wl__check input:checked + .hiw-wl__check-box { background: var(--paper); }
.hiw-wl__check input:checked + .hiw-wl__check-box::after { opacity: 1; }
.hiw-wl__check-text { font-size: 15px; line-height: 1.5; color: var(--paper); }
.hiw-wl__fine {
  margin: 10px 0 0 32px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(242, 238, 232, 0.62);
}
.hiw-wl__fine a { color: rgba(242, 238, 232, 0.62); text-decoration: underline; text-underline-offset: 2px; }
.hiw-wl__fine a:hover { color: var(--paper); }
.hiw-wl__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 28px 0 0; }
/* Full pill treatment — this button sits outside .hiw-cta__form, so it can't
   inherit the form's .waitlist__submit shaping. */
.hiw-wl__done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  border-radius: 999px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.hiw-wl__done:hover { background: transparent; color: var(--paper); }
.hiw-wl__done[disabled] { opacity: 0.6; cursor: default; }
.hiw-wl__skip {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(242, 238, 232, 0.62);
  cursor: pointer;
}
.hiw-wl__skip:hover { color: var(--paper); }
.hiw-wl :is(input, select, button, a):focus-visible,
.hiw-wl__check input:focus-visible + .hiw-wl__check-box {
  outline: 2px solid #C4B2A4;
  outline-offset: 3px;
  border-radius: 4px;
}
.hiw-wl__select-pill:focus-within { box-shadow: 0 0 0 2px #C4B2A4; }
@media (max-width: 420px) {
  .hiw-wl__select-pill { max-width: none; }
  .hiw-wl__done { width: 100%; justify-content: center; }
  .hiw-wl__skip { width: 100%; text-align: center; padding: 6px 0; }
}

/* Production image replacing the design canvas image slot. */
.hiw-hero__art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hiw-hero__art--lineart { background: transparent; }
.hiw-hero__art--lineart > img { object-fit: contain; background: transparent; }
