/* Preview only. Replaced in Phase B by the theme-integration block:
   .la-invest { --la-font-heading: var(--font-stack-header); --la-font-body: var(--font-stack-body);
                --la-sticky-top: <theme header height>; } */

/* Stand-in fonts (Google Fonts). Phase B uses the theme's licensed fonts. */
.la-invest {
  --la-font-heading: 'League Gothic', 'Oswald', sans-serif;
  --la-font-body: 'Prompt', sans-serif;
  /* League Gothic ships one weight (400). Never fake a bold. */
  --la-heading-weight: 400;
  --la-sticky-top: 44px; /* under the draft banner */
  font-synthesis-weight: none;
}

html { scroll-padding-top: 64px; }

body.la-preview {
  margin: 0;
  background: oklch(0.985 0.008 345);
}

/* ---------- Draft banner ---------- */

.la-preview__banner {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 3px 10px;
  background: oklch(0.20 0.015 350);
  color: oklch(0.985 0.008 345);
  font-family: 'Prompt', sans-serif;
  font-size: 11px;
  line-height: 1.3;
}

.la-preview__banner-text { margin: 0; font-weight: 700; }
.la-preview__controls { display: flex; gap: 8px; }

.la-preview__notes-toggle,
.la-preview__terms-toggle,
.la-preview__clean-toggle {
  min-height: 28px;
  padding: 2px 10px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.la-preview__terms-toggle[aria-pressed="false"] { background: oklch(0.73 0.14 90); color: oklch(0.20 0.015 350); border-color: oklch(0.73 0.14 90); }
.la-preview__clean-toggle[aria-pressed="true"] { background: oklch(0.985 0.008 345); color: oklch(0.20 0.015 350); }
.la-preview__notes-toggle:disabled { opacity: 0.45; cursor: not-allowed; }
.la-preview__notes-toggle:not(:disabled):hover,
.la-preview__terms-toggle:hover,
.la-preview__clean-toggle:hover { background: oklch(0.985 0.008 345); color: oklch(0.20 0.015 350); }
.la-preview__notes-toggle:focus-visible,
.la-preview__terms-toggle:focus-visible,
.la-preview__clean-toggle:focus-visible { outline: 3px solid oklch(0.985 0.008 345); outline-offset: 2px; }

@media (min-width: 750px) {
  .la-preview__banner { padding: 6px 16px; font-size: 14px; }
  .la-preview__notes-toggle, .la-preview__terms-toggle, .la-preview__clean-toggle { min-height: 34px; }
}

@media (min-width: 990px) {
  .la-invest { --la-sticky-top: 46px; }
}

/* ---------- Campaign masthead (preview only; the theme header replaces it) ---------- */

.la-preview__masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: oklch(0.985 0.008 345);
  border-bottom: 1px solid oklch(0.20 0.015 350 / 0.12);
}

.la-preview__logo,
.la-preview__logo img { display: block; height: 32px; width: auto; }

@media (min-width: 750px) {
  .la-preview__masthead { height: 72px; }
  .la-preview__logo, .la-preview__logo img { height: 54px; }
}

/* ---------- Placeholders: open questions, never live copy ---------- */

.la-invest__tbd {
  padding: 0 4px;
  border: 1px dashed oklch(0.20 0.015 350);
  background: #FFF3B0;
  color: oklch(0.20 0.015 350);
  font-family: 'Prompt', sans-serif;
  font-size: 0.8em;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.la-invest__tbd::before {
  content: "[" attr(data-tag) "] ";
  font-weight: 700;
}

/* ---------- Badge (preview only) ---------- */

.la-invest__badge {
  padding: 4px 10px;
  border: 1px dashed currentColor;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Review notes ---------- */

.la-invest__note {
  margin: 20px auto 0;
  max-width: min(52em, calc(100% - 32px));
  padding: 10px 14px;
  border: 1px dashed #000000;
  background: #FFF3B0;
  color: #000000;
  font-family: 'Prompt', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  transform: none;
}

.la-invest__inner .la-invest__note,
.la-invest__hero-card .la-invest__note { margin-inline: 0; max-width: 52em; }
.la-invest__note[hidden] { display: none; }
.la-invest__note strong { font-weight: 700; margin-right: 4px; }
.la-invest__note code { font-size: 13px; }

/* ---------- "Clean preview" (banner toggle): no review marks, for stakeholder screenshots ---------- */

.la-preview--clean .la-invest__note { display: none !important; }

.la-preview--clean .la-invest__tbd {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.la-preview--clean .la-invest__tbd::before { content: none; }

/* Standalone lead capture and Vicinity handoff. */
.la-popup-trigger{display:block;padding:0;margin:20px 0 0;border:0;border-bottom:1px solid currentColor;background:none;color:inherit;font:700 14px 'Prompt',sans-serif;cursor:pointer;text-align:left}
.la-dialog{box-sizing:border-box;width:min(600px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:38px;border:2px solid #242023;border-radius:0;background:#fff9fc;color:#242023;box-shadow:9px 9px 0 #e50093;font:400 15px/1.65 'Prompt',Arial,sans-serif}
.la-dialog::backdrop{background:rgba(25,15,25,.7)}.la-dialog h2{font:400 clamp(38px,5vw,58px)/1 'League Gothic','Arial Narrow',sans-serif;text-transform:uppercase;letter-spacing:.01em;margin:12px 0 18px;color:#b40080}.la-dialog p{margin:0 0 16px}.la-dialog-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;padding-right:22px}.la-dialog-close{position:absolute;top:8px;right:12px;background:none;border:0;color:#242023;font:32px Arial,sans-serif;width:40px;height:40px;cursor:pointer}.la-dialog-button{box-sizing:border-box;display:block;width:100%;margin:18px 0 0;padding:15px 20px;background:#242023;color:#fff9fc;border:2px solid #242023;font:700 14px/1.5 'Prompt',sans-serif;text-align:center;text-decoration:none;cursor:pointer}.la-dialog-button:hover{background:#b40080;border-color:#b40080}.la-dialog-button:disabled{opacity:.65;cursor:wait}.la-dialog-text-button{display:block;margin:18px auto 0;padding:4px 0;background:none;border:0;border-bottom:1px solid;color:inherit;font:400 12px 'Prompt',sans-serif;cursor:pointer}.la-dialog-fine{font-size:10px;line-height:1.6;margin-top:18px!important}.la-dialog-reassurance{font-weight:700}#investor-interest-form>label{display:block;font-size:12px;font-weight:700;margin:12px 0 5px}#investor-interest-form>input:not([type=hidden]){box-sizing:border-box;display:block;width:100%;padding:10px;border:1px solid #5e4f59;background:white;font:inherit;border-radius:0;min-height:44px}.la-form-consent{display:flex!important;align-items:flex-start;gap:8px;font-size:10px!important;font-weight:400!important;line-height:1.6}.la-form-consent input{margin-top:3px;min-width:16px;min-height:16px}.la-form-trap{display:none}.la-form-status{font-size:12px;margin-top:12px!important}.la-dialog :focus-visible,.la-popup-trigger:focus-visible{outline:3px solid #005fcc;outline-offset:4px}body.la-has-dialog{overflow:hidden}@media(max-width:600px){.la-dialog{padding:30px 22px}.la-dialog h2{font-size:42px}}

.la-dialog-success{text-align:center;padding-top:54px;padding-bottom:42px}.la-dialog-success h2{margin:12px 0 24px}.la-dialog-success #interest-description{max-width:440px;margin:0 auto 28px}.la-dialog [hidden]{display:none!important}

.la-invest{--la-sticky-top:0px}html{scroll-padding-top:20px}
