/* Shared lead form + promo styles. Every selector is prefixed with .lc- to stay out of the Dash app. */
.lc-card {
    --lc-ink: #071b2c;
    --lc-gold: #bd9852;
    --lc-gold-dark: #8a6a2c;
    --lc-line: #d9d7d0;
    --lc-muted: #5d6770;
    box-sizing: border-box;
    width: 100%;
    max-width: 34rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--lc-line);
    border-radius: 6px;
    background: #fff;
    color: var(--lc-ink);
    box-shadow: 0 18px 40px rgba(7, 27, 44, 0.12);
    font-family: "DM Sans", sans-serif;
    text-align: left;
}
.lc-card *, .lc-card *::before, .lc-card *::after { box-sizing: border-box; }
.lc-title { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--lc-ink); }
.lc-intro { margin: 0 0 1.25rem; color: var(--lc-muted); font-size: 0.95rem; line-height: 1.6; }
.lc-form { display: grid; gap: 1rem; }
.lc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lc-field label { display: block; margin-bottom: 0.35rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; color: var(--lc-ink); }
.lc-field input {
    width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem;
    border: 1px solid #b9b6ad; border-radius: 4px; background: #fff;
    color: var(--lc-ink); font: inherit; font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lc-field input:focus-visible { outline: 3px solid rgba(189, 152, 82, 0.55); outline-offset: 1px; border-color: var(--lc-gold-dark); }
.lc-field input[aria-invalid="true"] { border-color: #b3261e; }
.lc-error { min-height: 0; margin: 0.3rem 0 0; color: #b3261e; font-size: 0.8rem; }
.lc-error:empty { display: none; }
.lc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lc-submit {
    min-height: 3rem; padding: 0.8rem 1.25rem; border: 0; border-radius: 4px;
    background: var(--lc-ink); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: background-color 0.15s ease;
}
.lc-submit:hover { background: #17344a; }
.lc-submit:focus-visible { outline: 3px solid var(--lc-gold); outline-offset: 2px; }
.lc-submit:disabled { cursor: not-allowed; opacity: 0.7; }
.lc-status { min-height: 1.2rem; margin: 0; color: var(--lc-muted); font-size: 0.85rem; }
.lc-status:empty { display: none; }
.lc-status-error { color: #b3261e; font-weight: 600; }
.lc-consent { margin: 0; color: var(--lc-muted); font-size: 0.75rem; line-height: 1.5; }

.lc-promo {
    display: flex; gap: 0.85rem; align-items: flex-start; margin: 0 0 1.25rem; padding: 0.9rem 1rem;
    border: 1px solid #e3d2a8; border-left: 4px solid var(--lc-gold); border-radius: 4px;
    background: #fbf6ea; color: #071b2c; font-family: "DM Sans", sans-serif; text-align: left;
}
.lc-promo[hidden] { display: none; }
.lc-promo-active { background: #eef6ee; border-color: #b7d6b9; border-left-color: #2e7d32; }
.lc-promo-badge {
    flex: none; padding: 0.2rem 0.55rem; border-radius: 999px; background: #071b2c; color: #fff;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.lc-promo-text strong { display: block; font-size: 0.95rem; line-height: 1.35; }
.lc-promo-text p { margin: 0.2rem 0 0; color: #3f4a53; font-size: 0.85rem; line-height: 1.5; }
.lc-terms { margin-top: 0.4rem; font-size: 0.78rem; color: #3f4a53; }
.lc-terms summary { cursor: pointer; text-decoration: underline; width: fit-content; }
.lc-terms summary:focus-visible { outline: 3px solid var(--lc-gold); outline-offset: 2px; }
.lc-terms p { margin: 0.4rem 0 0; font-size: 0.78rem; }

/* Standalone promo strip and lead section used on the tool pages */
.lc-section { width: min(80rem, 100%); margin: 0 auto; padding: 2rem clamp(1.25rem, 5vw, 4rem) 3rem; }
.lc-section[hidden] { display: none; }
.lc-section .lc-card { max-width: 40rem; margin: 0 auto; }

/* Landing contact section: copy on the left, form on the right */
.lc-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lc-hero-promo {
    display: inline-block; margin: 1.25rem 0 0; padding: 0.55rem 0.9rem; border-left: 3px solid #bd9852;
    background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.95rem; line-height: 1.5;
}
.lc-hero-promo a { color: #ead7aa; text-underline-offset: 3px; }

@media (max-width: 900px) {
    .lc-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .lc-row { grid-template-columns: 1fr; }
    .lc-promo { flex-direction: column; gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .lc-card *, .lc-submit { transition: none; }
}
