
:root {
  --page: #F4F2ED;
  --ink: #20232B;
  --muted: #585B63;
  --line: rgba(32, 35, 43, 0.34);
  --dark: #242832;
  --danger: #B64D3E;
  --success: #267355;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
body.is-success-body { overflow: auto; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.app { min-height: 100vh; min-height: 100dvh; position: relative; background: var(--page); }
.progress-track {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(32, 35, 43, 0.28);
  transition: opacity 220ms ease;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.app.is-intro .progress-track { opacity: 0; }
.brand-mark {
  position: fixed;
  z-index: 25;
  top: 28px;
  left: 36px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}
.app:not(.is-intro) .brand-mark { color: rgba(32, 35, 43, 0.68); }
.slides { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }
.slide {
  position: absolute;
  inset: 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(68px);
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1), transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.slide[data-position="before"] { transform: translateY(-68px); }
.slide[data-position="active"] { opacity: 1; pointer-events: auto; transform: translateY(0); }
.intro-layout {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
}
.intro-visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #232932;
}
.intro-visual::before {
  display: none;
}
.intro-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(18, 20, 26, 0.08), rgba(18, 20, 26, 0.26));
  pointer-events: none;
}
.portrait-arch {
  position: absolute;
  z-index: 2;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}
.portrait-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/inviting-cta.jpg") 52% 50% / cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
}
.letter-pane {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--page);
  padding: clamp(44px, 6vh, 66px) clamp(30px, 5vw, 66px);
}
.letter { max-width: 610px; margin: 0 auto; }
.intro-slide .letter { padding-bottom: 158px; }
.letter h1 {
  margin: 0 0 16px;
  color: #000;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.letter p { margin: 0 0 16px; color: #2D2F36; font-size: 18px; }
.letter strong { color: #111; font-weight: 850; }
.letter-list { display: grid; gap: 7px; margin: 16px 0 18px; padding: 0; list-style: none; }
.letter-list li { color: #252830; font-size: 18px; }
.letter-note { color: #555861 !important; font-size: 15px !important; }
.main-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 0;
  color: #626772;
  font-size: 14px;
}
.main-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #252830;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.main-links svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.main-links a:focus-visible {
  outline: 3px solid rgba(35, 38, 46, 0.28);
  outline-offset: 4px;
  border-radius: 2px;
}
.question { min-height: 100vh; min-height: 100dvh; padding: clamp(80px, 14vh, 132px) 24px 118px; }
.question-inner { width: min(100%, 720px); margin-left: clamp(32px, 18vw, 280px); }
.question-heading { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 24px; }
.question-number {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 10px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.question-title {
  margin: 0;
  color: #111;
  font-size: clamp(25px, 3.5vw, 35px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.question-subtitle { max-width: 640px; margin: -8px 0 28px 30px; color: var(--muted); font-size: 18px; }
.fields { display: grid; gap: 26px; margin-left: 30px; }
.field { display: grid; gap: 8px; }
.field label, .choice-legend { color: var(--ink); font-size: 19px; font-weight: 500; }
.field-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.field-note strong { color: var(--ink); font-weight: 850; }
.field-warning { color: var(--danger); font-weight: 800; }
.optional { color: #777A82; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #30333B;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field input, .field select { min-height: 54px; padding: 4px 0 10px; font-size: 28px; }
.field textarea { min-height: 154px; resize: vertical; padding: 10px 0 12px; font-size: 25px; line-height: 1.34; }
.field input::placeholder, .field textarea::placeholder { color: rgba(48, 51, 59, 0.38); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .choice-group.is-invalid .choice-card, .choice-group.is-invalid .interest-pill { border-color: var(--danger); }
.field.is-invalid .search-select-button { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: 13px; font-weight: 700; }
.field.is-invalid .field-error, .choice-group.is-invalid .field-error { display: block; }
.birthdate-widget { display: grid; grid-template-columns: 1.1fr 1fr 0.9fr; gap: 18px; max-width: 640px; }
.birthdate-widget select { min-width: 0; }
.native-select {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.search-select {
  position: relative;
  width: 100%;
}
.search-select-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #30333B;
  padding: 4px 0 10px;
  text-align: left;
  font-size: 28px;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.search-select-button::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  opacity: 0.78;
}
.search-select-button.placeholder { color: rgba(48, 51, 59, 0.38); }
.search-select-button:focus { outline: 0; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.search-select-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(340px, 50vh);
  border: 1px solid rgba(32, 35, 43, 0.18);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 18px 42px rgba(24, 27, 35, 0.18);
  overflow: hidden;
}
.search-select-input {
  width: 100%;
  min-height: 48px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(32, 35, 43, 0.12) !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  background: #fff;
}
.search-select-options {
  max-height: calc(min(340px, 50vh) - 49px);
  overflow: auto;
  padding: 6px;
}
.search-select-option {
  display: flex;
  width: 100%;
  min-height: 42px;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #262932;
  padding: 9px 10px;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}
.search-select-option-main {
  font-weight: 650;
}
.search-select-option-helper {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}
.search-select-option:hover,
.search-select-option.is-active {
  background: rgba(32, 35, 43, 0.08);
}
.search-select-empty {
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}
.choice-group { border: 0; margin: 0 0 0 30px; padding: 0; }
.choice-list { display: grid; gap: 10px; max-width: 640px; margin-top: 16px; }
.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #22252D;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.choice-card:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-key {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(32, 35, 43, 0.42);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.44);
  font-size: 13px;
  font-weight: 800;
}
.choice-text { font-size: 17px; }
.choice-card:has(input:checked) { border-color: var(--ink); background: rgba(32, 35, 43, 0.08); box-shadow: 0 0 0 1px var(--ink); }
.choice-card:has(input:checked) .choice-key { background: var(--ink); color: #fff; }
.choice-group.is-final-fit {
  margin-top: 4px;
}
.choice-group.is-final-fit .choice-list {
  max-width: 760px;
}
.choice-group.is-final-fit .choice-card {
  align-items: start;
  min-height: 62px;
  padding: 14px;
}
.choice-group.is-final-fit .choice-key {
  margin-top: 1px;
}
.choice-group.is-final-fit .choice-text {
  font-size: 18px;
  line-height: 1.36;
}
.choice-group.is-final-fit + .choice-group {
  margin-top: 34px;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; max-width: 680px; margin-top: 16px; }
.interest-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: #22252D;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.interest-pill:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.interest-pill input { position: absolute; opacity: 0; pointer-events: none; }
.interest-pill:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink); }
.action-row { display: flex; align-items: center; gap: 12px; margin: 30px 0 0 30px; }
.intro-sticky-footer {
  position: fixed;
  z-index: 35;
  left: 50%;
  right: 0;
  bottom: 0;
  margin: 0 !important;
  border-top: 1px solid rgba(32, 35, 43, 0.10);
  padding: 16px clamp(30px, 5vw, 66px) calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(244, 242, 237, 0.86), var(--page) 28%, var(--page) 100%);
  box-shadow: 0 -18px 38px rgba(244, 242, 237, 0.82);
}
.intro-footer-inner {
  display: flex;
  width: min(100%, 720px);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin: 0 auto;
}
.intro-sticky-footer .ok-button {
  order: 2;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  box-shadow: 0 10px 26px rgba(32, 35, 43, 0.16);
}
.intro-sticky-footer .main-links {
  order: 1;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 9px 16px;
  font-size: 13px;
}
.intro-sticky-footer .main-links a {
  white-space: nowrap;
}
.ok-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}
.ok-button:hover { transform: translateY(-1px); background: #000; }
.ok-button[disabled] { cursor: not-allowed; opacity: 0.58; transform: none; }
.enter-hint { color: #686B72; font-size: 13px; font-weight: 500; }
.keycap { color: var(--ink); font-weight: 800; }
.nav-controls {
  position: fixed;
  z-index: 30;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 220ms ease;
}
.app.is-intro .nav-controls { opacity: 0; pointer-events: none; }
.nav-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}
.nav-button:hover { transform: translateY(-1px); }
.nav-button[disabled] { cursor: not-allowed; opacity: 0.34; transform: none; }
.brand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-left: 4px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.app.is-success .nav-controls { opacity: 0; pointer-events: none; }
.app.is-success .brand-mark { color: rgba(32, 35, 43, 0.68); }
.success-view {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 84px 24px;
  background: var(--page);
}
.success-card { width: min(100%, 660px); }
.success-card:focus { outline: 0; }
.success-view.is-direct-booking {
  min-height: 100vh;
  min-height: 100dvh;
  place-items: start center;
  padding: 56px 24px;
  overflow: visible;
}
.success-view.is-direct-booking .success-card {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(620px, 860px);
  gap: clamp(22px, 3vw, 42px);
  width: min(100%, 1340px);
  height: auto;
  align-items: start;
  justify-content: center;
}
.success-view.is-direct-booking .success-copy-wrap {
  position: sticky;
  top: 56px;
  align-self: start;
  max-width: none;
  max-height: none;
  overflow: visible;
  padding-right: 2px;
}
.success-view.is-direct-booking .success-card h1 {
  font-size: clamp(36px, 4vw, 56px);
}
.success-view.is-whatsapp-next-step {
  place-items: center;
  padding: 64px 24px;
  background:
    linear-gradient(180deg, rgba(37, 211, 102, 0.06), rgba(37, 211, 102, 0) 38%),
    var(--page);
}
.success-view.is-whatsapp-next-step .success-card {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(360px, 460px);
  gap: clamp(30px, 5vw, 64px);
  width: min(100%, 1080px);
  align-items: center;
}
.success-view.is-whatsapp-next-step .success-copy-wrap {
  display: flex;
  flex-direction: column;
  max-width: 560px;
}
.success-view.is-whatsapp-next-step .success-kicker { order: 1; align-self: flex-start; }
.success-view.is-whatsapp-next-step .success-card h1 { order: 2; }
.success-view.is-whatsapp-next-step [data-success-copy] { order: 3; }
.success-view.is-whatsapp-next-step .success-actions {
  order: 4;
  margin-top: 12px;
  margin-bottom: 24px;
}
.success-view.is-whatsapp-next-step .success-id-box {
  order: 5;
  margin-top: 0;
}
.success-view.is-whatsapp-next-step [data-success-followup] { order: 6; }
.success-view.is-whatsapp-next-step .success-kicker {
  background: rgba(37, 211, 102, 0.14);
  color: #075E54;
}
.success-view.is-whatsapp-next-step .success-card h1 {
  max-width: 560px;
  font-size: clamp(42px, 5vw, 70px);
}
.success-view.is-whatsapp-next-step .success-id-box {
  border-color: rgba(7, 94, 84, 0.18);
  background: #FFFFFF;
}
.success-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(38, 115, 85, 0.11);
  color: var(--success);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.success-view.is-low-cost .success-kicker {
  background: rgba(182, 77, 62, 0.11);
  color: var(--danger);
}
.success-view.is-needs-details .success-kicker {
  background: rgba(238, 167, 39, 0.15);
  color: #7B560B;
}
.success-card h1 {
  margin: 0 0 16px;
  color: #000;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.success-card p {
  margin: 0 0 18px;
  color: #30333B;
  font-size: 18px;
}
.success-id-box {
  margin: 26px 0;
  border: 1px solid rgba(32, 35, 43, 0.16);
  border-radius: 8px;
  background: #FBFAF6;
  padding: 16px 18px;
}
.success-id-box[hidden] {
  display: none;
}
.success-id-label {
  margin-bottom: 6px;
  color: #666961;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.success-id-value {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.success-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 850;
}
.success-action-icon {
  display: none;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.success-view.is-whatsapp-next-step .success-button {
  width: min(100%, 340px);
  min-height: 54px;
  background: #25D366;
  color: #0B2B1E;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.28);
}
.success-view.is-whatsapp-next-step .success-button:hover {
  transform: translateY(-1px);
  background: #20C15C;
}
.success-view.is-whatsapp-next-step .success-action-icon {
  display: block;
}
.whatsapp-send-panel {
  border: 1px solid rgba(7, 94, 84, 0.18);
  border-radius: 8px;
  background: #F7FAF7;
  box-shadow: 0 18px 54px rgba(32, 35, 43, 0.11);
  overflow: hidden;
}
.whatsapp-send-panel[hidden] {
  display: none;
}
.whatsapp-panel-top {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #075E54;
  color: #FFFFFF;
}
.whatsapp-panel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #25D366;
  color: #FFFFFF;
}
.whatsapp-panel-icon svg {
  width: 24px;
  height: 24px;
}
.whatsapp-panel-title {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 900;
}
.whatsapp-panel-status {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 750;
}
.whatsapp-chat-preview {
  position: relative;
  padding: 18px 18px 24px;
  display: flex;
  justify-content: flex-end;
  background:
    linear-gradient(45deg, rgba(7, 94, 84, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(7, 94, 84, 0.035) 25%, transparent 25%),
    #ECE5DD;
  background-size: 18px 18px;
}
.whatsapp-bubble {
  position: relative;
  width: fit-content;
  max-width: 340px;
  border-radius: 8px;
  background: #DCF8C6;
  padding: 15px 16px 18px;
  color: #15221B;
  font-size: 17px;
  line-height: 1.42;
  text-align: left;
  white-space: normal;
  box-shadow: 0 3px 12px rgba(32, 35, 43, 0.10);
}
.whatsapp-bubble [data-whatsapp-preview-text] {
  display: block;
  white-space: pre-wrap;
}
.whatsapp-bubble::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 12px;
  border: 8px solid transparent;
  border-left-color: #DCF8C6;
  border-right: 0;
}
.whatsapp-bubble-time {
  display: block;
  margin-top: 8px;
  color: rgba(21, 34, 27, 0.48);
  font-size: 11px;
  text-align: right;
}
.whatsapp-panel-actions {
  padding: 16px 18px 18px;
  background: #FFFFFF;
}
.whatsapp-panel-send {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  background: #25D366;
  color: #082D1D;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.25);
}
.whatsapp-panel-send:hover {
  transform: translateY(-1px);
  background: #20C15C;
}
.whatsapp-panel-send svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.whatsapp-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid rgba(7, 94, 84, 0.13);
  background: #FFFFFF;
  color: #56615A;
  font-size: 13px;
  font-weight: 750;
}
.whatsapp-panel-foot strong {
  color: #075E54;
}
.calendly-embed {
  width: 100%;
  max-width: 860px;
  height: auto;
  min-height: 0;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.calendly-embed[hidden] { display: none; }
.calendly-embed iframe {
  display: block;
  width: 100%;
  height: 900px;
  min-height: 900px;
  border: 0;
  background: transparent;
}
.calendly-embed.is-details iframe {
  height: 1320px;
  min-height: 1320px;
}
.calendly-embed.is-scheduled iframe {
  height: 900px;
  min-height: 900px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { display: none; max-width: 640px; margin: 18px 0 0 30px; border-radius: 6px; padding: 13px 14px; font-size: 15px; font-weight: 700; }
.form-status.visible { display: block; }
.form-status.error { border: 1px solid rgba(182, 77, 62, 0.36); background: rgba(182, 77, 62, 0.10); color: var(--danger); }
.form-status.success { border: 1px solid rgba(38, 115, 85, 0.32); background: rgba(38, 115, 85, 0.10); color: var(--success); }
.submit-note { max-width: 620px; margin: 16px 0 0 30px; color: var(--muted); font-size: 14px; }
.submit-note a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  body { overflow: auto; }
  .app.is-intro .slides {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }
  .app.is-intro .intro-slide {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    transform: none;
  }
  .intro-layout {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    grid-template-columns: 1fr;
  }
  .intro-visual { min-height: 258px; height: 32vh; max-height: 310px; }
  .intro-visual::before {
    display: none;
  }
  .portrait-arch {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .portrait-arch::after {
    background-size: cover;
    background-position: 52% 45%;
  }
  .letter-pane {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 34px 24px 96px;
  }
  .intro-slide .letter { padding-bottom: 184px; }
  .intro-sticky-footer {
    left: 0;
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  }
  .intro-footer-inner {
    display: grid;
    justify-items: center;
    gap: 12px;
  }
  .intro-sticky-footer .ok-button {
    order: 1;
    width: min(100%, 420px);
  }
  .intro-sticky-footer .main-links {
    order: 2;
    justify-content: center;
    text-align: center;
  }
  .question-inner { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .brand-mark { top: 18px; left: 20px; font-size: 12px; }
  .app.is-intro .brand-mark { display: none; }
  .app:not(.is-intro) .brand-mark { display: none; }
  .intro-visual { min-height: 258px; height: 30vh; max-height: 288px; }
  .intro-visual::before {
    display: none;
  }
  .portrait-arch {
    width: 100%;
    border-radius: 0;
  }
  .portrait-arch::after {
    background-size: cover;
    background-position: 52% 45%;
  }
  .question { padding: 74px 18px 112px; }
  .question-inner { padding-top: 58px; }
  .question-heading { gap: 10px; }
  .question-number { margin-top: 6px; }
  .question-title { font-size: 25px; }
  .question-subtitle, .fields, .choice-group, .action-row, .form-status, .submit-note { margin-left: 0; }
  .intro-sticky-footer { padding-left: 18px; padding-right: 18px; }
  .intro-sticky-footer .main-links { font-size: 12px; gap: 8px 12px; }
  .field label, .choice-legend { font-size: 16px; }
  .field input, .field select, .search-select-button { min-height: 50px; font-size: 21px; }
  .field textarea { font-size: 20px; }
  .birthdate-widget { grid-template-columns: 1fr; gap: 14px; }
  .choice-card { grid-template-columns: 30px 1fr; }
  .choice-text { font-size: 15px; }
  .success-view { align-items: start; padding: 62px 22px; }
  .success-view.is-direct-booking { height: auto; min-height: 100dvh; overflow: visible; padding: 58px 14px 22px; }
  .success-view.is-direct-booking .success-card { display: block; height: auto; }
  .success-view.is-direct-booking .success-copy-wrap { position: static; padding: 0 8px; }
  .success-view.is-whatsapp-next-step { padding: 24px 18px 26px; }
  .success-view.is-whatsapp-next-step .success-card { display: block; width: min(100%, 560px); }
  .success-view.is-whatsapp-next-step .success-copy-wrap { max-width: none; }
  .success-view.is-whatsapp-next-step .success-card h1 { font-size: clamp(31px, 9.4vw, 40px); }
  .whatsapp-send-panel { margin-top: 14px; }
  .whatsapp-panel-top { grid-template-columns: 34px 1fr; padding: 12px; }
  .whatsapp-panel-icon { width: 34px; height: 34px; }
  .whatsapp-panel-icon svg { width: 21px; height: 21px; }
  .whatsapp-panel-title { font-size: 15px; }
  .whatsapp-panel-status { font-size: 12px; }
  .whatsapp-chat-preview { padding: 12px 12px 10px; }
  .whatsapp-bubble { max-width: calc(100% - 8px); padding: 13px 13px 15px; font-size: 16px; line-height: 1.36; }
  .whatsapp-bubble-time { margin-top: 5px; }
  .whatsapp-panel-actions { padding: 10px 18px 14px; }
  .whatsapp-panel-send { min-height: 50px; }
  .success-card p { font-size: 16px; }
  .success-actions { display: grid; }
  .success-button { width: 100%; }
  .success-view.is-whatsapp-next-step .success-button { width: 100%; }
  .calendly-embed { height: auto; min-height: 0; margin-top: 22px; border-left: 0; border-right: 0; border-radius: 0; }
  .calendly-embed iframe { height: 980px; min-height: 980px; }
  .calendly-embed.is-details iframe { height: 1540px; min-height: 1540px; }
  .calendly-embed.is-scheduled iframe { height: 980px; min-height: 980px; }
  .nav-controls { right: 14px; bottom: 14px; }
  .brand-pill { display: none; }
}

/* Short intake: retain the original portrait/letter and question-screen design. */
.question-inner { max-width: calc(100% - clamp(32px, 18vw, 280px)); }
.field { min-width: 0; }
.field select { min-width: 0; text-overflow: ellipsis; padding-right: 24px; }
.field-error:not(:empty) { display: block; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.error-summary { max-width: 690px; margin: 0 0 22px 30px; border: 1px solid rgba(182,77,62,.36); border-radius: 6px; padding: 13px 14px; background: rgba(182,77,62,.08); color: var(--danger); font-size: 15px; line-height: 1.5; }
.question-title:focus, .success-view:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(32,35,43,.48); outline-offset: 4px; }
.step-count { margin-right: 5px; color: var(--muted); font-size: 13px; font-weight: 650; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consent { max-width: 620px; margin: 25px 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.6; }
#submit-actions .ok-button { min-height: 48px; padding: 11px 20px; }
#submit-actions .submit-note { line-height: 1.5; }
.international { border: 0; min-width: 0; padding: 0; margin: 0 0 0 30px; }
.international > legend { padding: 0; font-size: 19px; font-weight: 500; }
.international > p { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 12px 0 25px; }
.international .field { margin-bottom: 28px; }
.schedule-options { border: 0; min-width: 0; margin: 0; padding: 0; }
.schedule-options > legend { font-size: 19px; font-weight: 500; padding: 0; }
.schedule-options .hint { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 10px 0 16px; }
.check-option { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 11px 12px; margin: 10px 0; border: 1px solid var(--line); border-radius: 4px; color: #22252D; cursor: pointer; line-height: 1.45; }
.check-option:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.check-option:has(input:checked) { border-color: var(--ink); background: rgba(32,35,43,.08); box-shadow: 0 0 0 1px var(--ink); }
.check-option input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--ink); }
.check-option small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
#schedule_groups[aria-invalid="true"] .check-option { border-color: var(--danger); }
.success-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: white; border-radius: 5px; font-size: 25px; margin-bottom: 20px; }
.success-card .eyebrow { font-size: 12px; letter-spacing: 1px; color: var(--muted); font-weight: 750; }
.success-card .next-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.success-card .next-note h3 { font-size: 21px; margin: 0 0 12px; }
.success-card .quiet-note, .success-card .hint { font-size: 14px; line-height: 1.6; color: var(--muted); }
.success-card .success-button { min-height: 50px; padding: 12px 18px; }
#resources-next { margin-top: 26px; }
.no-script-message { position: fixed; bottom: 0; z-index: 40; width: 100%; padding: 20px; background: var(--page); color: var(--ink); border-top: 1px solid var(--line); }
@media (max-width: 960px) { .question-inner { max-width: 720px; } }
@media (max-width: 640px) {
  .error-summary, .international, .consent { margin-left: 0; }
  .field .hint, .consent { font-size: 12px; }
  .international > legend, .schedule-options > legend { font-size: 16px; }
  .international > p { font-size: 14px; }
  .check-option { font-size: 15px; }
  .check-option small { font-size: 12px; }
  .success-card .success-button { text-align: center; }
  .nav-controls { padding: 5px; background: var(--page); border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* One scrollable intake page, using the original colors and underlined fields. */
body.is-form-body { overflow: auto; }
.app.is-form .slides { height: auto; overflow: visible; }
.app.is-form .brand-mark { position: absolute; }
.single-form { width: min(100% - 48px, 720px); margin: 0 auto; padding: 88px 0 80px; }
.back-to-intro { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px; padding: 4px 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }
.back-to-intro:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.back-to-intro:disabled { opacity: .55; cursor: wait; }
.single-form .question-title { margin-bottom: 16px; }
.single-form .question-subtitle { max-width: 640px; margin: 0 0 34px; font-size: 17px; line-height: 1.6; }
.single-form .fields { margin: 0; gap: 28px; }
.single-form .field input, .single-form .field select { min-height: 50px; font-size: 23px; }
.single-form .field textarea { min-height: 92px; font-size: 22px; }
.single-form .error-summary { margin-left: 0; max-width: none; }
.single-form .international { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.single-form .international > legend { float: left; width: 100%; margin-bottom: 12px; }
.single-form .international > p { clear: both; margin-top: 0; }
.single-form .consent, .single-form .action-row, .single-form .submit-note { margin-left: 0; }
.single-form .consent { margin-top: 32px; }
@media (max-width: 640px) {
  .single-form { width: calc(100% - 40px); padding: 74px 0 48px; }
  .single-form .question-subtitle { font-size: 16px; margin-bottom: 28px; }
  .single-form .fields { gap: 24px; }
  .single-form .field input, .single-form .field select { font-size: 20px; }
  .single-form .field textarea { font-size: 20px; }
  .single-form #submit-button { width: 100%; font-size: 15px; }
}

/* Contact-first capture in the same one-page design. */
.single-form .capture-notice { margin: -12px 0 28px; max-width: 680px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.single-form .capture-status { margin: -10px 0 0; color: var(--success); font-size: 13px; line-height: 1.5; }
.single-form .capture-status:empty { display: none; }
.single-form .capture-status[data-state="error"] { color: var(--danger); }
.phone-input-row { display: flex; align-items: stretch; gap: 14px; min-width: 0; }
.single-form .phone-input-row select { width: 105px; flex: 0 0 105px; padding-right: 10px; font-size: 16px; }
.single-form .phone-input-row input { flex: 1; min-width: 0; }
@media (max-width: 640px) { .single-form .capture-notice { font-size: 12px; } .phone-input-row { gap: 10px; } .single-form .phone-input-row select { width: 88px; flex-basis: 88px; font-size: 15px; } }
