/* ISHIR newsletter unsubscribe (redesign) - scoped under .inl and body.inl-page. Header/footer untouched.
   Fonts, colours, buttons and form fields match the Insights listing (insights-listing.css): Mulish, #111 ink, #f5b318 yellow. */

/* The old page banner (duplicate "Newsletter" title) is not used by this layout. */
body.inl-page #banner { display: none !important; }

.inl {
    --inl-ink: #111111;
    --inl-ink-2: #2b2b2b;
    --inl-muted: #5f5f5f;
    --inl-yellow: #f5b318;
    --inl-yellow-deep: #9a6a00;
    --inl-cream: #faf8f2;
    --inl-sand: #ebe3d1;
    --inl-line: #d9d4c7;
    --inl-white: #ffffff;
    --inl-error: #b42318;
    --inl-ok: #1a6b3a;
    font-family: 'Mulish', sans-serif;
    color: var(--inl-ink);
    background: var(--inl-white);
    padding: 28px 0 56px;
    -webkit-font-smoothing: antialiased;
}
.inl *, .inl *::before, .inl *::after { box-sizing: border-box; }
.inl h1, .inl h2, .inl p, .inl legend, .inl label, .inl button, .inl input, .inl textarea, .inl a, .inl li, .inl th, .inl td { font-family: 'Mulish', sans-serif; letter-spacing: normal; text-transform: none; }
.inl a:focus-visible, .inl button:focus-visible, .inl input:focus-visible, .inl textarea:focus-visible { outline: 3px solid var(--inl-yellow); outline-offset: 2px; }

.inl-wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }
.inl-card { background: var(--inl-white); border: 1px solid var(--inl-line); border-radius: 2px; padding: 28px 22px; }

.inl-eyebrow {
    font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase !important;
    color: var(--inl-yellow-deep); margin: 0 0 14px !important;
}
.inl-title { font-size: 26px; line-height: 1.2; font-weight: 800; color: var(--inl-ink) !important; margin: 0 0 12px !important; text-align: left; }
.inl-h2 { font-size: 24px; font-weight: 800; color: var(--inl-ink) !important; margin: 28px 0 12px !important; }
.inl-lead { font-size: 15px; line-height: 1.6; color: var(--inl-ink-2); margin: 0 0 20px !important; text-align: left; font-weight: 400; }
.inl-lead strong { color: var(--inl-ink); font-weight: 800; word-break: break-all; }
.inl-note { font-size: 13px; line-height: 1.55; color: var(--inl-muted); margin: 0 0 16px !important; text-align: left; font-weight: 400; }

/* Steps */
.inl-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 22px; padding: 0; }
.inl-steps__item { flex: 1 1 0; min-width: 0; }
.inl-steps__bar { display: block; height: 4px; background: var(--inl-sand); border-radius: 2px; margin-bottom: 8px; }
.inl-steps__label { display: block; font-size: 12px; font-weight: 700; color: var(--inl-muted); line-height: 1.3; }
.inl-steps__item.is-done .inl-steps__bar, .inl-steps__item.is-current .inl-steps__bar { background: var(--inl-yellow); }
.inl-steps__item.is-current .inl-steps__label { color: var(--inl-ink); }

/* Icons */
.inl-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff8e6; color: var(--inl-ink); margin: 0 0 16px; }
.inl-icon--ok { background: #e8f5ec; color: var(--inl-ok); }

/* Form */
.inl-form { margin: 0; }
.inl-fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.inl-legend { font-size: 14px; font-weight: 800; padding: 0; margin: 0 0 12px; color: var(--inl-ink); }
.inl-opt { display: block; position: relative; margin: 0 0 10px; cursor: pointer; font-weight: 400; }
.inl-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.inl-opt__text {
    display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 16px;
    border: 1px solid var(--inl-line); border-radius: 2px; background: var(--inl-white);
    font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--inl-ink);
    transition: border-color .15s, background-color .15s;
}
.inl-opt__text::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid #8c8572; border-radius: 50%; background: var(--inl-white); }
.inl-opt:hover .inl-opt__text { border-color: var(--inl-ink); }
.inl-opt input:checked + .inl-opt__text { border-color: var(--inl-ink); background: #fff8e6; }
.inl-opt input:checked + .inl-opt__text::before { border-color: var(--inl-ink); background: radial-gradient(circle, var(--inl-ink) 0 4px, var(--inl-white) 5px); }
.inl-opt input:focus-visible + .inl-opt__text { outline: 3px solid var(--inl-yellow); outline-offset: 2px; }

.inl-label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 8px; color: var(--inl-ink); }
.inl-optional { font-weight: 400; color: var(--inl-muted); }
.inl-textarea, .inl-input {
    display: block; width: 100%; border: 1px solid var(--inl-ink); border-radius: 0; background: var(--inl-white);
    font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--inl-ink); padding: 10px 14px; margin: 0 0 20px;
}
.inl-input { min-height: 46px; padding-top: 0; padding-bottom: 0; }
.inl-textarea { resize: vertical; min-height: 96px; }
.inl-input::placeholder, .inl-textarea::placeholder { color: #767676; opacity: 1; }
.inl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons (same as .ins-btn) */
.inl-actions { display: flex; flex-direction: column; gap: 12px; margin: 0 0 4px; }
.inl-actions form { margin: 0; display: contents; }
.inl-btn {
    display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px;
    width: 100%; min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 2px;
    font-family: 'Mulish', sans-serif; font-size: 14px; font-weight: 800; line-height: 1.2;
    text-decoration: none !important; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.inl-btn--yellow { background: var(--inl-yellow); color: var(--inl-ink) !important; }
.inl-btn--yellow:hover { background: #ffc43d; }
.inl-btn--dark { background: var(--inl-ink); color: var(--inl-white) !important; }
.inl-btn--dark:hover { background: var(--inl-ink-2); }
.inl-btn--outline { background: var(--inl-white); border-color: var(--inl-ink); color: var(--inl-ink) !important; }
.inl-btn--outline:hover { background: var(--inl-ink); color: var(--inl-white) !important; }
.inl-btn[disabled] { opacity: .55; cursor: not-allowed; }
.inl-form--inline { margin: 0 0 8px; }

/* Dark panel (different email) */
.inl-panel { margin-top: 28px; background: var(--inl-ink); color: var(--inl-white); border-radius: 2px; padding: 20px; }
.inl-panel__text { margin: 0 0 10px !important; font-size: 14px; line-height: 1.55; color: var(--inl-white); text-align: left; font-weight: 400; }
.inl-panel__text strong { font-weight: 800; }
.inl-panel__link { color: var(--inl-yellow) !important; font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.inl-panel__link:hover { color: #ffc43d !important; }

/* Notices */
.inl-notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 2px; border: 1px solid var(--inl-line); border-left-width: 4px; font-size: 14px; line-height: 1.5; background: var(--inl-cream); }
.inl-notice--error { border-color: var(--inl-error); background: #fff5f3; color: var(--inl-error); }
.inl-notice--success { border-color: var(--inl-ok); background: #effaf2; color: var(--inl-ok); }

.inl-links { margin: 22px 0 0 !important; font-size: 13px; color: var(--inl-muted); text-align: left; font-weight: 400; }
.inl-links a { color: var(--inl-yellow-deep) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.inl-links a:hover { color: var(--inl-ink) !important; }

/* Plugin output (default state) */
.inl-plugin { font-size: 15px; line-height: 1.6; color: var(--inl-ink-2); }
.inl-plugin p { text-align: left; font-size: 15px !important; font-weight: 400 !important; }
.inl-plugin input[type="email"], .inl-plugin input[type="text"] { width: 100%; min-height: 46px; border: 1px solid var(--inl-ink); border-radius: 0; padding: 0 14px; margin-bottom: 12px; font-size: 15px; }
.inl-plugin input[type="submit"], .inl-plugin button { min-height: 46px; padding: 12px 22px; border: 0; border-radius: 2px; background: var(--inl-ink); color: var(--inl-white); font-size: 14px; font-weight: 800; cursor: pointer; }

/* Admin report */
.inl-tablewrap { overflow-x: auto; margin: 0 0 8px; }
.inl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inl-table th, .inl-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--inl-line); vertical-align: top; }
.inl-table thead th { font-weight: 800; background: var(--inl-cream); }

@media (min-width: 768px) {
    .inl { padding: 56px 0 88px; }
    .inl-card { padding: 40px 44px; }
    .inl-title { font-size: 32px; }
    .inl-lead { font-size: 16px; }
    .inl-actions { flex-direction: row; flex-wrap: wrap; }
    .inl-btn { width: auto; }
    .inl-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; }
    .inl-panel__text { margin: 0 !important; }
    .inl-panel__link { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    .inl * { transition: none !important; }
}
