.has-insight-form {
  --insight-blue: #1148df;
  --insight-ink: #10213a;
  --insight-muted: #495a6d;
  --insight-rule: #d3dbe5;
  --insight-rail: clamp(316px, 25vw, 380px);
}
.has-insight-form .bu-cta,
.has-insight-form .bu-cta-spacer,
.insight-sheet:not([open]),
.insight-dock,
.insight-panel [hidden] { display: none; }
.insight-panel, .insight-dock, .insight-sheet {
  color: var(--insight-ink);
  font-family: var(--font-sans, Pretendard, sans-serif);
  font-size: 15px;
  line-height: 1.45;
  box-sizing: border-box;
}
.insight-panel {
  background: white;
  padding: 22px;
  word-break: keep-all;
  text-align: start;
}
.insight-heading { position: relative; background: #132d4c; color: #fff; margin: -22px -22px 0; padding: 17px 20px; }
.insight-program { color: #d8e9fb; font-size: 13px; font-weight: 600; }
.insight-cover { display: grid; grid-template-columns: minmax(0, 1fr) 53px; align-items: center; gap: 12px; margin: 11px 0 9px; }
.insight-heading h2 { margin: 3px 0 0; font-size: 23px; line-height: 1.22; font-weight: 700; letter-spacing: -.035em; color: white; }
.insight-format { display: block; font-size: 12px; color: #c3e5ff; }
.insight-sample { width: 53px; height: auto; border: 1px solid #9daebe; border-radius: 2px; }
.insight-subject, .insight-status, .insight-done p { margin: 0; color: var(--insight-muted); font-size: 14px; }
.insight-heading .insight-subject { color: #e4eef8; font-size: 13px; line-height: 1.45; }
.insight-consult-only .insight-cover { display: block; }
.insight-consult-only :is(.insight-format,.insight-sample) { display: none; }
.insight-close { display: none; }
.insight-form { margin: 16px 0 0; }
.insight-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.insight-fields label, .insight-email-label { display: block; min-width: 0; font-size: 13px; font-weight: 600; }
.insight-wide { grid-column: 1 / -1; }
.insight-fields input, .insight-delivery input[type=email] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 4px 0 0;
  padding: 8px 12px;
  border: 1px solid #a9b7c7;
  border-radius: 8px;
  background: #fff;
  color: var(--insight-ink);
  font: inherit;
  font-size: 16px;
}
.insight-delivery { margin-top: 12px; padding: 10px 12px; background: #edf3f9; border-radius: 9px; }
.insight-delivery small { font: inherit; color: #49627a; }
.insight-email-label { margin-top: 5px; }
.insight-delivery input[type=email]:disabled { color: #526379; background: #f7f9fc; border-color: #c9d3df; opacity: 1; }
.insight-panel :is(input, button, summary, a):focus-visible,
.insight-dock button:focus-visible { outline: 3px solid var(--insight-blue); outline-offset: 2px; }
.insight-notice { margin: 12px 0 8px; font-size: 13px; line-height: 1.5; color: var(--insight-muted); }
.insight-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.insight-check input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; appearance: auto; accent-color: var(--insight-blue); }
.insight-terms { margin: 4px 0 10px 25px; font-size: 13px; color: var(--insight-muted); }
.insight-terms summary { width: fit-content; padding-block: 3px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; list-style: revert; }
.insight-terms p { margin: 4px 0 0; line-height: 1.55; }
.insight-status:not(:empty) { margin: 10px 0; }
.insight-actions { display: grid; gap: 7px; }
.insight-primary, .insight-secondary, .insight-close {
  box-sizing: border-box;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.insight-primary, .insight-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  text-decoration: none;
}
.insight-primary { background: var(--insight-blue); color: white; }
.insight-secondary { border-color: #bbc7d5; background: white; color: var(--insight-ink); }
.insight-primary:disabled, .insight-secondary:disabled { opacity: .65; cursor: wait; }
.insight-done { padding-top: 22px; }
.insight-done h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.025em; }
.insight-done .insight-primary { margin-top: 16px; }
@media (hover:hover) {
  .insight-primary:hover { background: #0a39b8; color: white; }
  .insight-secondary:hover { background: #f1f5fa; }
}
@media screen and (min-width:1024px) {
  .has-insight-form { background: #f1f4f8; }
  .has-insight-form > main, .has-insight-form > .lp-footer {
    margin-inline-end: var(--insight-rail);
    overflow-x: clip;
  }
  .has-insight-form > main { background: white; }
  .has-insight-form > .insight-panel {
    position: fixed;
    z-index: 230;
    inset: 84px 12px auto auto;
    width: calc(var(--insight-rail) - 24px);
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--insight-rule);
    border-radius: 16px;
    scrollbar-width: thin;
  }
  .has-insight-form .lp-rail { margin-right: 0; }
  .insight-actions { position: sticky; bottom: -22px; grid-template-columns: 1.15fr 1fr; background: #fff; padding-block: 8px 12px; margin-bottom: -10px; }
  .insight-actions button { padding-inline: 4px; font-size: 14px; }
}
@media screen and (min-width:1024px) and (max-width:1439px) {
  .has-insight-form .lp-hero__in { gap: 28px; }
  .has-insight-form .px-hero h1 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.26; }
  .has-insight-form .lp-feat { grid-template-columns: 1fr; }
}
@media screen and (min-width:1024px) and (max-width:1199px) {
  .has-insight-form .lp-hero__in { grid-template-columns: 1fr; }
}
@media screen and (max-width:1023px) {
  .has-insight-form { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .insight-dock-title { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
  .insight-dock {
    position: fixed;
    z-index: 240;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left));
    background: white;
    border-top: 1px solid var(--insight-rule);
  }
  .insight-sheet[open] {
    position: fixed;
    inset: auto 0 0;
    width: min(100%, 540px);
    max-width: 100%;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    margin: 0 auto;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 20px 20px 0 0;
    background: white;
    box-shadow: 0 -8px 36px #12213a1a;
  }
  .insight-sheet::backdrop { background: rgb(13 26 43 / .5); }
  html:has(.insight-sheet[open]) { overflow: hidden; }
  .insight-panel { padding: 20px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .insight-sheet .insight-actions .insight-secondary { background: var(--insight-blue); color: white; border-color: transparent; }
  .insight-heading { margin: -20px -20px 0; }
  .insight-program { padding-inline-end: 48px; }
  .insight-close { display: block; position: absolute; top: 1px; right: 7px; min-height: 44px; min-width: 44px; padding: 6px; border: 0; background: transparent; color: white; font-size: 14px; }
}
@media print {
  .insight-panel, .insight-dock, .insight-sheet { display: none !important; }
}
