.lc-quote-page {
  --navy: #022a40;
  --yellow: #ffec00;
  --paper: #f8f8f9;
  --slate: #475764;
  --line: #c9d1d7;
  --white: #fff;
  font-family: Poppins, system-ui, sans-serif;
  line-height: 1.5;
  color: var(--navy);
  background: var(--paper);
}


.lc-quote-page [hidden] { display: none !important; }
.lc-intake a { color: inherit; text-underline-offset: 0.18em; }
.lc-intake :focus-visible, .lc-dialog :focus-visible { outline: 2px solid #17628b; outline-offset: 3px; }
.lc-intake h1, .lc-intake h2, .lc-dialog h2 { font-family: Inter, system-ui, sans-serif; line-height: 1.1; }
.lc-intake p, .lc-intake h1, .lc-intake h2, .lc-dialog p, .lc-dialog h2 { margin: 0; }

.lc-shell { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; }
.lc-site-header { background: var(--white); }
.lc-header-row {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.lc-header-row img { width: clamp(7rem, 24vw, 11.5rem); }
.lc-example {
  min-height: 2.75rem;
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lc-hero {
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(3.5rem, 6vw, 5rem);
  background: var(--navy);
  color: var(--white);
}
.lc-hero h1 { color: var(--white); font-size: clamp(2.1rem, 6.2vw, 4.4rem); letter-spacing: -0.045em; }
.lc-hero h1 span { color: var(--yellow); }
.lc-hero p { max-width: 32rem; margin-top: 0.85rem; color: #edf3f6; }

.lc-card {
  position: relative;
  margin-top: -1.65rem;
  margin-bottom: 2.75rem;
  padding: clamp(1rem, 3.5vw, 2rem);
  background: var(--white);
  border: 1px solid #dce2e6;
  border-radius: 1.1rem;
  box-shadow: 0 0.75rem 2.5rem #022a4010;
}
.lc-form-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1rem; margin-bottom: 1.15rem; }
.lc-form-heading h2 { font-size: 1.4rem; }
.lc-form-heading p, .lc-form-actions p, .lc-dialog-footer p { color: var(--slate); font-size: 0.875rem; }
.lc-intake-grid { display: grid; gap: 0.9rem 1rem; }
.lc-intake-grid > div { min-width: 0; }
.lc-intake label { display: block; margin-block-end: 0.3rem; font-size: 0.9rem; font-weight: 650; }
.lc-intake input, .lc-intake select, .lc-intake textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid #82919b;
  border-radius: 0.55rem;
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
}
.lc-intake input::placeholder, .lc-intake textarea::placeholder { color: #5c6973; opacity: 1; }
.lc-intake select {
  appearance: none;
  padding-inline-end: 2.25rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%) right 1.15rem center / 0.33rem 0.33rem no-repeat,
    linear-gradient(135deg, var(--navy) 50%, transparent 50%) right 0.82rem center / 0.33rem 0.33rem no-repeat,
    var(--white);
}
.lc-intake textarea { resize: vertical; }
.lc-intake small { display: block; color: var(--slate); font-size: 0.875rem; }
.lc-extra { margin-top: 1.2rem; border-block: 1px solid var(--line); }
.lc-extra summary { padding: 0.9rem 0.25rem; font-weight: 650; cursor: pointer; }
.lc-extra summary span { margin-left: 0.3rem; color: var(--slate); font-size: 0.875rem; font-weight: 400; }
.lc-extra .lc-intake-grid { padding-bottom: 1rem; }
.lc-form-actions { display: grid; gap: 0.7rem; margin-top: 1.15rem; }
.lc-primary {
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--navy);
  border-radius: 2rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 750;
}
.lc-primary:hover { background: #ffdf00; }
.lc-primary:disabled { background: var(--paper); cursor: default; }

.lc-dialog {
  width: min(calc(100% - 2rem), 34rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1rem;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 1rem 3rem #001d3450;
}
.lc-dialog::backdrop { background: #001d34a0; }
.lc-dialog-header, .lc-dialog-footer { padding: 1rem 1.2rem; }
.lc-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.lc-dialog-header h2 { font-size: clamp(1.2rem, 4vw, 1.45rem); }
.lc-close {
  flex: 0 0 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.5rem;
}
.lc-chat { padding: 1rem 1.2rem; background: #eef2ee; }
.lc-message {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem 0 0.8rem 0.8rem;
  background: #d9f4d9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.lc-dialog-footer { display: grid; gap: 0.65rem; }

@media (min-width: 42rem) {
  .lc-hero h1 { font-size: clamp(2.2rem, 5.1vw, 3.15rem); }
  .lc-hero h1 br { display: none; }
  .lc-intake-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-intake-wide { grid-column: 1 / -1; }
  .lc-form-actions, .lc-dialog-footer { justify-items: start; }
}

.lc-intake { background: var(--paper); padding-bottom: 2.75rem; }
.lc-intake .lc-back { margin: -1.25rem auto 0; }
.lc-intake button, .lc-dialog button, .lc-intake input, .lc-intake select, .lc-intake textarea { font-family: inherit; }
.lc-intake button, .lc-dialog button { cursor: pointer; }
