/* Laurette LeadGate — public form. Laurette brand palette, Poppins.
   Everything is namespaced .lcg- so a theme cannot collide with it. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.lcg-wrap{
  --cream:#F5EFE9; --cream-deep:#DFD3C8;
  --taupe:#897C6E; --taupe-mid:#9A8D7E; --taupe-dark:#6E6357;
  --gold:#B9975B; --ink:#2A241F; --muted:#9B9189; --white:#FDFCFA;
  --red:#A5493C; --amber:#B07C2E; --ok:#4A7A4E;
  --border:#E7DDD5; --radius:14px; --radius-sm:10px;
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink); font-size:14px; line-height:1.55;
  max-width:1080px; margin:0 auto; box-sizing:border-box;
}
.lcg-wrap *,.lcg-wrap *::before,.lcg-wrap *::after{box-sizing:border-box}
.lcg-card{display:flex;background:var(--white);border-radius:18px;overflow:hidden;
  box-shadow:0 30px 70px -22px rgba(90,78,66,.32)}
.lcg-pane-form{flex:1 1 56%;padding:42px 46px;min-width:0}
/* With the side panel switched off the form takes the whole card, and is
   capped so the fields do not stretch into an unreadable line length. */
.lcg-card.lcg-solo .lcg-pane-form{flex:1 1 100%;max-width:680px;margin:0 auto}
.lcg-pane-side{flex:1 1 44%;background:linear-gradient(172deg,#FBF7F3 0%,var(--cream) 100%);
  border-left:1px solid var(--border);padding:38px 34px;min-width:0}

.lcg-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}
.lcg-mark{width:40px;height:40px;border-radius:11px;flex:none;
  background:linear-gradient(135deg,var(--taupe),var(--taupe-dark));
  color:var(--cream);display:grid;place-items:center;font-size:19px;font-weight:600;
  box-shadow:0 5px 16px rgba(90,78,66,.34)}
.lcg-brand-txt{font-size:11.5px;color:var(--muted);line-height:1.3}
.lcg-brand-txt b{display:block;font-size:19px;color:var(--ink);font-weight:600;
  line-height:1.2;letter-spacing:-.01em}

.lcg-steps{display:flex;gap:6px;margin-bottom:28px}
.lcg-stp{flex:1;height:3px;border-radius:99px;background:var(--cream-deep);transition:background .45s}
.lcg-stp.on{background:linear-gradient(90deg,var(--taupe),var(--taupe-mid))}

.lcg-wrap .lcg-h1{font-size:29px;margin:0 0 8px;line-height:1.15;font-weight:600;
  letter-spacing:-.015em;color:var(--ink);font-family:inherit;padding:0;border:0}
.lcg-lede{color:var(--muted);font-size:13.5px;margin:0 0 26px;max-width:46ch}

.lcg-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lcg-fld{margin-bottom:15px;min-width:0}
.lcg-wrap label{display:block;font-size:11.5px;font-weight:600;letter-spacing:.05em;
  text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.lcg-req{color:var(--red);margin-left:2px}
.lcg-wrap input[type=text],.lcg-wrap input[type=email],.lcg-wrap input[type=tel],
.lcg-wrap select,.lcg-wrap textarea{
  width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);
  font-family:inherit;font-size:14px;color:var(--ink);background:#fff;line-height:1.4;
  transition:border-color .18s,box-shadow .18s;margin:0;height:auto}
.lcg-wrap textarea{resize:vertical;min-height:78px}
.lcg-wrap input:focus,.lcg-wrap select:focus,.lcg-wrap textarea:focus{
  outline:none;border-color:var(--taupe);box-shadow:0 0 0 4px rgba(137,124,110,.14)}
.lcg-input-err{border-color:var(--red)!important;box-shadow:0 0 0 4px rgba(165,73,60,.12)!important}
.lcg-hint{font-size:11.5px;color:var(--muted);margin-top:5px}
/* Advice, not an error — deliberately amber and not red, and it never
   carries the .lcg-err machinery that would block a submission. */
.lcg-hint-warn{color:var(--amber)}
.lcg-err{font-size:11.5px;color:var(--red);margin-top:5px;display:none}
.lcg-err.on{display:block}
.lcg-err-form{margin-top:14px}
.lcg-vatrow{display:grid;grid-template-columns:118px 1fr;gap:9px}

/* Hiding must be enforced by us. The UA stylesheet's [hidden]{display:none}
   carries almost no specificity, so a theme rule like `section{display:block}`
   silently beats it and the thank-you shows before anything is submitted. */
.lcg-wrap [hidden],
.lcg-wrap .lcg-hide{display:none!important}

/* ---------- step 1: subject cards ---------- */
.lcg-choices{display:grid;gap:10px;margin-bottom:6px}
.lcg-wrap .lcg-choice{display:block;position:relative;cursor:pointer;margin:0;
  border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px 18px 16px 48px;
  background:#fff;transition:border-color .16s,box-shadow .16s,background .16s;
  text-transform:none;letter-spacing:0;font-size:14px;color:var(--ink);font-weight:400}
.lcg-wrap .lcg-choice:hover{border-color:var(--taupe-mid);background:#FDFBF8}
.lcg-choice input{position:absolute;left:18px;top:50%;transform:translateY(-50%);margin:0;
  width:17px;height:17px;accent-color:var(--taupe)}
.lcg-wrap .lcg-choice-body{text-transform:none;letter-spacing:0}
.lcg-wrap .lcg-choice-body b{display:block;font-weight:600;font-size:14.5px;color:var(--ink);
  line-height:1.35;text-transform:none;letter-spacing:0}
.lcg-wrap .lcg-choice-body em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);
  margin-top:3px;text-transform:none;letter-spacing:0;font-weight:400}
.lcg-wrap .lcg-choice.sel{border-color:var(--taupe);background:var(--cream);
  box-shadow:0 0 0 3px rgba(137,124,110,.12)}

.lcg-opt{font-size:11px;color:var(--muted);font-weight:400;text-transform:none;letter-spacing:0}

/* ---------- VAT notice ---------- */
.lcg-vatnotice{margin-top:12px;padding:13px 15px;background:var(--cream);
  border-left:3px solid var(--taupe);border-radius:var(--radius-sm);
  font-size:12.5px;line-height:1.6;color:#5A5149}
.lcg-vatnotice b{display:block;color:var(--ink);margin-bottom:3px}

/* ---------- FAQ suggestions ---------- */
.lcg-faq{margin:-4px 0 16px;padding:15px 17px;background:#fff;border:1px solid var(--border);
  border-radius:var(--radius-sm);line-height:1.6}
.lcg-faq-h{font-weight:600;color:var(--ink);font-size:13px;margin-bottom:9px}
.lcg-faq-item{border-top:1px solid var(--border)}
.lcg-faq-item:first-child{border-top:none}
.lcg-wrap .lcg-faq-q{display:block;width:100%;text-align:left;background:none;border:0;
  padding:9px 20px 9px 0;font:inherit;font-size:13px;color:var(--taupe-dark);cursor:pointer;
  position:relative;font-weight:500}
.lcg-wrap .lcg-faq-q::after{content:'+';position:absolute;right:2px;top:50%;transform:translateY(-50%);
  color:var(--muted);font-size:15px}
.lcg-wrap .lcg-faq-item.open .lcg-faq-q::after{content:'−'}
.lcg-wrap .lcg-faq-q:hover{color:var(--taupe)}
.lcg-faq-a{padding:0 0 12px;font-size:12.5px;color:#5A5149}
.lcg-faq-foot{margin:10px 0 0;padding-top:10px;border-top:1px solid var(--border);
  font-size:12px;color:var(--muted)}
.lcg-faq-foot a{color:var(--taupe-dark);margin-left:4px}

/* ---------- misrouted-subject nudge ---------- */
.lcg-nudge{margin:-4px 0 16px;padding:15px 17px;background:var(--cream);
  border-left:3px solid var(--gold);border-radius:var(--radius-sm);line-height:1.6}
.lcg-nudge-h{font-weight:600;color:var(--ink);font-size:13.5px;margin-bottom:4px}
.lcg-nudge p{margin:0 0 12px;font-size:12.5px;color:#5A5149}
.lcg-wrap .lcg-nudge .lcg-btn{padding:9px 18px;font-size:13px}
.lcg-wrap .lcg-nudge-keep{display:flex;gap:9px;align-items:flex-start;margin:12px 0 0;
  cursor:pointer;font-size:12.5px;color:#5A5149;text-transform:none;letter-spacing:0;font-weight:400}
.lcg-wrap .lcg-nudge-keep input{margin:1px 0 0;flex:none;width:15px;height:15px;accent-color:var(--taupe)}
.lcg-nudge .lcg-err{margin-top:8px}

/* ---------- step 3: questionnaire ---------- */
.lcg-q{padding:20px 0;border-bottom:1px solid var(--border)}
.lcg-q:first-of-type{padding-top:4px}
.lcg-q:last-of-type{border-bottom:none}
.lcg-q-head{display:flex;gap:11px;align-items:flex-start;margin-bottom:12px}
.lcg-q-n{flex:none;width:23px;height:23px;border-radius:50%;background:var(--cream-deep);
  color:var(--taupe-dark);display:grid;place-items:center;font-size:11.5px;font-weight:700;margin-top:1px}
.lcg-q-t{font-size:14px;font-weight:600;color:var(--ink);line-height:1.45}
.lcg-q-opts{display:grid;gap:7px;padding-left:34px}
.lcg-wrap .lcg-opt-row{display:flex;gap:10px;align-items:flex-start;cursor:pointer;margin:0;
  padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;
  transition:border-color .16s,background .16s;
  font-size:13.5px;font-weight:400;text-transform:none;letter-spacing:0;color:var(--ink)}
.lcg-wrap .lcg-opt-row:hover{border-color:var(--taupe-mid);background:#FDFBF8}
.lcg-opt-row input{margin:2px 0 0;flex:none;width:16px;height:16px;accent-color:var(--taupe)}
.lcg-wrap .lcg-opt-row span{line-height:1.45;text-transform:none;letter-spacing:0;
  font-size:13.5px;font-weight:400;color:var(--ink)}
.lcg-opt-row:has(input:checked){border-color:var(--taupe);background:var(--cream)}
.lcg-wrap .lcg-q-extra{margin:7px 0 2px 34px;width:calc(100% - 34px)}
.lcg-wrap .lcg-q-text{margin-left:34px;width:calc(100% - 34px)}
.lcg-q .lcg-err{padding-left:34px}

/* honeypot: off-screen, never focusable */
.lcg-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.lcg-btnrow{display:flex;gap:10px;align-items:center;margin-top:24px;flex-wrap:wrap}
.lcg-wrap .lcg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 26px;border:none;border-radius:var(--radius-sm);cursor:pointer;
  font-family:inherit;font-size:14px;font-weight:600;color:#fff;
  background:linear-gradient(135deg,var(--taupe),var(--taupe-dark));
  box-shadow:0 6px 18px -4px rgba(90,78,66,.55);
  transition:transform .16s,box-shadow .16s,opacity .16s;text-transform:none;letter-spacing:0}
.lcg-wrap .lcg-btn:hover:not(:disabled){transform:translateY(-1px);
  box-shadow:0 9px 22px -4px rgba(90,78,66,.62)}
.lcg-wrap .lcg-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.lcg-spin{width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;
  border-radius:50%;animation:lcgsp .7s linear infinite;display:none}
.lcg-btn.busy .lcg-spin{display:block}
@keyframes lcgsp{to{transform:rotate(360deg)}}

.lcg-check{width:62px;height:62px;border-radius:50%;background:#E7F0E8;color:var(--ok);
  display:grid;place-items:center;font-size:30px;margin-bottom:22px}
.lcg-notice{background:var(--cream);border-radius:var(--radius-sm);padding:15px 17px;
  font-size:12.5px;color:#5A5149;border-left:3px solid var(--taupe);line-height:1.6}
.lcg-notice b{color:var(--ink)}
/* The confirmation is admin-written and can run to several paragraphs, so the
   lede is a block with real paragraphs in it rather than a single <p>. */
.lcg-wrap .lcg-lede p{margin:0 0 10px}
.lcg-wrap .lcg-lede p:last-child{margin-bottom:0}
.lcg-notice-body{margin-top:6px}
.lcg-notice-body p{margin:0 0 8px}
.lcg-notice-body p:last-child{margin-bottom:0}

.lcg-side-h{font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:var(--muted);
  font-weight:600;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.lcg-idle-mark{width:58px;height:58px;margin:14px auto 22px;border-radius:16px;
  background:linear-gradient(135deg,var(--cream-deep),var(--cream));display:grid;place-items:center;
  font-size:26px;color:var(--taupe)}
.lcg-wrap .lcg-idle h3{font-size:18px;color:var(--ink);margin:0 0 10px;text-align:center;
  font-weight:600;font-family:inherit}
.lcg-idle p{font-size:12.5px;color:var(--muted);margin:0 auto 20px;max-width:34ch;
  line-height:1.65;text-align:center}
.lcg-why{list-style:none;padding:0;margin:0}
.lcg-why li{display:flex;gap:11px;align-items:flex-start;font-size:12.5px;padding:11px 0;
  border-bottom:1px solid rgba(223,211,200,.75);color:var(--muted);line-height:1.55}
.lcg-why li:last-child{border-bottom:none}
.lcg-why b{display:block;color:var(--ink);font-weight:600;font-size:12.5px;margin-bottom:1px}
.lcg-why i{font-style:normal;flex:none;width:22px;height:22px;border-radius:50%;
  background:var(--cream-deep);color:var(--taupe-dark);display:grid;place-items:center;
  font-size:11px;font-weight:700;margin-top:1px}
.lcg-privacy{margin-top:20px;padding:13px 15px;background:rgba(255,255,255,.68);
  border-radius:var(--radius-sm);font-size:11.5px;color:var(--muted);line-height:1.6;
  border:1px solid var(--border)}

@media(max-width:900px){
  .lcg-card{flex-direction:column}
  .lcg-pane-form{padding:32px 26px}
  .lcg-pane-side{border-left:none;border-top:1px solid var(--border);padding:30px 26px}
  .lcg-grid2{grid-template-columns:1fr}
  .lcg-wrap .lcg-h1{font-size:24px}
}
