/* Hope & Love intake form + the paper-style pages it prints into the PDF. */
.hl-intake { --plum: #6A4A96; --plum-soft: #F3EEF9; --ink: #2A1F36; --line: #DED4EA; --err: #B3261E;
  width: 100%; max-width: 860px; margin-top: 2rem; }
.hl-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 44px); color: var(--ink);
  box-shadow: 0 24px 60px rgba(70, 40, 110, .08); font-family: Manrope, system-ui, sans-serif; }
.hl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.hl-kicker { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); font-weight: 600; }
.hl-title { margin: .2rem 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; }
.hl-lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--plum-soft); }
.hl-lang button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 600 14px Manrope, sans-serif; color: var(--plum); cursor: pointer; }
.hl-lang button.on { background: var(--plum); color: #fff; }
.hl-progress { height: 4px; background: var(--plum-soft); border-radius: 4px; margin: 22px 0 6px; overflow: hidden; }
.hl-progress span { display: block; height: 100%; background: var(--plum); transition: width .3s ease; }
.hl-pagetitle { margin: 18px 0 4px; font: 600 18px Manrope, sans-serif; }
.hl-pagedesc { margin: 0 0 8px; color: #6b5f78; font-size: 15px; }
.hl-sec { margin: 26px 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font: 600 12px Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.hl-field { margin: 16px 0 0; }
.hl-label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 15px; line-height: 1.4; }
.hl-req { color: var(--plum); }
.hl-hint { margin: -2px 0 6px; font-size: 13px; color: #7a6f86; }
.hl-field input[type=text], .hl-field input[type=tel], .hl-field input[type=email], .hl-field input[type=date], .hl-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 16px Manrope, sans-serif; color: var(--ink); background: #FCFAFE; }
.hl-field input:focus, .hl-field textarea:focus { outline: 2px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.hl-choices { display: flex; flex-direction: column; gap: 8px; }
.hl-inline { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 14px; }
.hl-choice { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.35; cursor: pointer; }
.hl-inline .hl-choice { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: #FCFAFE; align-items: center; }
.hl-inline .hl-choice:has(input:checked) { border-color: var(--plum); background: var(--plum-soft); }
.hl-choice input { accent-color: var(--plum); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.hl-ack { background: var(--plum-soft); border-radius: 14px; padding: 14px 16px; }
.hl-sig canvas { width: 100%; height: auto; aspect-ratio: 900 / 260; border: 1px dashed #b9a6d3; border-radius: 12px; background: #FCFAFE; touch-action: none; display: block; }
.hl-sig-foot { display: flex; justify-content: space-between; font-size: 13px; color: #7a6f86; margin-top: 6px; }
.hl-linkbtn { border: 0; background: none; color: var(--plum); font: 600 13px Manrope, sans-serif; cursor: pointer; text-decoration: underline; }
.hl-err { margin: 6px 0 0; color: var(--err); font-size: 13px; min-height: 0; }
.has-err input, .has-err textarea, .has-err .hl-sig canvas { border-color: var(--err) !important; }
.hl-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.hl-btn { border: 0; background: var(--plum); color: #fff; font: 600 16px Manrope, sans-serif; padding: 15px 28px; border-radius: 999px; cursor: pointer; }
.hl-btn.ghost { background: transparent; color: var(--plum); border: 1px solid var(--line); }
.hl-btn:disabled { opacity: .6; cursor: wait; }
.hl-status { margin: 14px 0 0; text-align: right; font-size: 14px; color: #6b5f78; }
.hl-status.err { color: var(--err); text-align: left; }
.hl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hl-done { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 44px; text-align: center; }
@media (max-width: 640px) { .hl-head { flex-direction: column; } .hl-btn { padding: 14px 22px; } .hl-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- PDF pages (drawn off-screen, 8.5 x 11 at 96 dpi) ---------- */
.hl-stage { position: fixed; left: -12000px; top: 0; width: 816px; }
.hl-sheet { width: 816px; min-height: 1056px; box-sizing: border-box; padding: 40px 48px 34px; background: #fff; color: #2A1F36;
  font-family: Manrope, Arial, sans-serif; position: relative; display: flex; flex-direction: column; border-top: 14px solid #6A4A96; }
.hl-sheet-head { display: flex; align-items: center; gap: 18px; padding-bottom: 14px; border-bottom: 2px solid #E6DDF1; }
.hl-sheet-head img { width: 70px; height: 70px; object-fit: contain; }
.hl-sheet-head .k { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6A4A96; font-weight: 600; }
.hl-sheet-head h1 { margin: 2px 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 34px; color: #4B2F78; letter-spacing: .02em; text-transform: uppercase; }
.hl-sheet-head .s { margin: 0; font-size: 12px; color: #7a6f86; letter-spacing: .08em; text-transform: uppercase; }
.hl-sheet-note { margin: 12px 0 0; padding: 8px 12px; background: #F3EEF9; border-radius: 8px; font-size: 11px; color: #4B2F78; }
.hl-sheet-sec { margin: 16px 0 8px; padding: 2px 12px 10px; line-height: 14px; background: #6A4A96; color: #fff; border-radius: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.hl-sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; }
.hl-sheet-grid .row { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid #E6DDF1; padding-bottom: 6px; }
.hl-sheet-grid .row.wide { grid-column: 1 / -1; }
.hl-sheet-grid .q { font-size: 10.5px; color: #7a6f86; letter-spacing: .02em; }
.hl-sheet-grid .a { font-size: 14px; font-weight: 600; white-space: pre-wrap; word-break: break-word; }
.hl-sheet-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px 14px; margin-top: 6px; }
.hl-sheet-checks div { display: block; position: relative; padding-left: 20px; font-size: 12px; line-height: 16px; color: #6b5f78; }
.hl-sheet-checks div.on { color: #2A1F36; font-weight: 700; }
.hl-sheet-checks i, .hl-sheet-grid .ack i { position: absolute; left: 0; top: 2px; width: 12px; height: 12px; box-sizing: border-box; border: 1.5px solid #6A4A96; border-radius: 3px; display: block; font-size: 0; }
.hl-sheet-checks div.on i, .hl-sheet-grid .ack i.on { background: #6A4A96; box-shadow: inset 0 0 0 2px #fff; }
.hl-sheet-grid .ack { display: block; position: relative; padding-left: 22px; font-size: 12px; line-height: 17px; }

.hl-sheet-grid .sig img { height: 70px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }
.hl-sheet-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #E6DDF1; display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #7a6f86; }
/* thank-you card: dark text on the white card (was inheriting the page's white text) */
.hl-done { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 5vw, 56px); text-align: center; }
.hl-done .hl-title { color: var(--ink); margin: 0 0 10px; }
.hl-done p { color: #4a3f57; margin: 0; font-size: 17px; line-height: 1.6; }

/* ---------- forms picker + extra form types (20 Oct) ---------- */
.hl-pick { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.hl-tile { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #FCFAFE; align-items: center; transition: border-color .2s, background .2s; }
.hl-tile:has(input:checked) { border-color: var(--plum); background: var(--plum-soft); }
.hl-formlist { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--plum-soft); }
.hl-formlist:empty { display: none; }
.hl-formlist ol { margin: 4px 0 8px; padding-left: 22px; font-size: 15px; line-height: 1.7; }
.hl-formlist .hl-hint { margin: 0; }
.hl-note { background: #FCFAFE; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.55; color: #3d3249; }
.hl-note p { margin: 0 0 8px; } .hl-note p:last-child { margin: 0; }
.hl-note ul { margin: 0 0 8px; padding-left: 20px; } .hl-note li { margin: 3px 0; }
.hl-field input.hl-initials { max-width: 140px; text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 640px) { .hl-pick { grid-template-columns: 1fr 1fr; } .hl-nav { flex-wrap: wrap; } }
.hl-sheet-grid .row.note { border-bottom: 0; }
.hl-sheet-notebody { font-size: 12px; line-height: 17px; color: #3d3249; }
.hl-sheet-notebody p { margin: 0 0 6px; } .hl-sheet-notebody ul { margin: 0 0 6px; padding-left: 18px; } .hl-sheet-notebody ul.two { columns: 2; column-gap: 26px; }
.hl-sheet-office-k { margin: 12px 0 0; font-size: 11px; letter-spacing: .14em; color: #6A4A96; font-weight: 700; }
.hl-sheet-sec.office { background: #F3EEF9; color: #4B2F78; }
.hl-sheet-office .lines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 6px 0 8px; }
.hl-sheet-office .ln { border-bottom: 1px solid #b9a6d3; min-height: 26px; display: flex; align-items: flex-end; }
.hl-sheet-office .ln span { font-size: 10.5px; color: #7a6f86; padding-bottom: 3px; }
.hl-sheet-office .stk { margin: 8px 0; height: 54px; border: 1.5px dashed #b9a6d3; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #7a6f86; }
.hl-sheet-office table { width: 100%; border-collapse: collapse; margin: 6px 0 8px; font-size: 10.5px; }
.hl-sheet-office th { background: #6A4A96; color: #fff; font-weight: 600; padding: 2px 6px 8px; line-height: 12px; text-align: left; }
.hl-sheet-office td { border: 1px solid #E6DDF1; height: 22px; }
.hl-sheet-office .hl-sheet-checks { margin: 6px 0 8px; }
