/* Newsletter signup — preview design (test page) */

.nl-preview-bar {
    background: #12263f;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 9px 14px;
}

.nl-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 34px 15px 46px;
}

.nl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.nl-kicker {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-size: 44px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #0878bd;
    margin-bottom: 12px;
}

.nl-title {
    margin: 0 0 18px;
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    color: #12263f;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nl-standfirst {
    margin: 0 0 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: #4b5563;
    max-width: 620px;
}

.nl-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    color: #5b6470;
}

.nl-proof strong { color: #12263f; }

.nl-card {
    background: #ffffff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.04);
}

.nl-section {
    margin: 0 0 26px;
    padding: 0;
    border: 0;
}

.nl-section:last-of-type { margin-bottom: 18px; }

.nl-legend {
    display: block;
    width: 100%;
    padding: 0 0 4px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a9099;
}

.nl-hint {
    margin: 0 0 12px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #5b6470;
}

.nl-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.nl-field { display: block; }
.nl-field--wide { grid-column: 1 / -1; }

.nl-label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #12263f;
}

.nl-req { color: #ca0186; }

.nl-input,
.nl-select {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d9dde2;
    border-radius: 4px;
    background: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    color: #12263f;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.nl-select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6470' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.nl-input:focus,
.nl-select:focus {
    outline: none;
    border-color: #0878bd;
    box-shadow: 0 0 0 3px rgba(8, 120, 189, 0.15);
}

.nl-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nl-choice { position: relative; display: block; }

.nl-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.nl-choice span {
    display: block;
    height: 100%;
    padding: 12px 13px;
    border: 1px solid #d9dde2;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
}

.nl-choice strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #12263f;
}

.nl-choice em {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
    color: #5b6470;
}

.nl-choice input:checked + span {
    border-color: #0878bd;
    background: #f3f8fd;
    box-shadow: inset 0 0 0 1px #0878bd;
}

.nl-choice input:focus + span {
    outline: 2px solid #0878bd;
    outline-offset: 2px;
}

.nl-options {
    border: 1px solid #d9dde2;
    border-radius: 6px;
    overflow: hidden;
}

.nl-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-bottom: 1px solid #eef0f2;
    background: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    color: #3f4954;
    cursor: pointer;
}

.nl-option:last-child { border-bottom: 0; }
.nl-option:hover { background: #f7f9fb; }

.nl-option input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #0878bd;
}

.nl-option em {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-style: normal;
    color: #8a9099;
}

.nl-option--all {
    background: #f3f8fd;
    font-weight: 700;
    color: #12263f;
}

.nl-option--all:hover { background: #eaf2fa; }

.nl-choices--single { grid-template-columns: 1fr; }

.nl-section--accent {
    border-top: 1px solid #e3e6ea;
    padding-top: 18px;
}

.nl-legend--accent { color: #0878bd; }

.nl-chipset {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nl-chip { position: relative; display: inline-block; }

.nl-chip input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.nl-chip span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #d9dde2;
    border-radius: 999px;
    background: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    color: #3f4954;
    cursor: pointer;
}

.nl-chip input:checked + span {
    border-color: #0878bd;
    background: #eaf2fa;
    color: #0878bd;
    font-weight: 600;
}

.nl-chip input:focus + span {
    outline: 2px solid #0878bd;
    outline-offset: 2px;
}

.nl-selectall {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0878bd;
    text-decoration: underline;
    cursor: pointer;
}

.nl-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: #4b5563;
}

.nl-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 18px;
    accent-color: #0878bd;
}

.nl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: #0878bd;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.nl-btn:hover { background: #065f96; }
.nl-btn:focus { outline: 3px solid rgba(8, 120, 189, 0.35); outline-offset: 2px; }

.nl-micro {
    margin: 10px 0 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #8a9099;
    text-align: center;
}

.nl-error {
    display: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-left: 3px solid #ca0186;
    background: #fdf2f8;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #7a0149;
}

.nl-error.is-visible { display: block; }

.nl-success {
    padding: 8px 4px 12px;
    text-align: center;
}

.nl-success h2 {
    margin: 0 0 10px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 26px;
    line-height: 1.2;
    color: #12263f;
}

.nl-success p {
    margin: 0 auto 8px;
    max-width: 480px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

.nl-success .nl-btn { width: auto; margin-top: 14px; }

/* sidebar */
.nl-side { display: grid; gap: 18px; }

.nl-side-card {
    background: #f7f8fa;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 20px;
}

.nl-side-card h3 {
    margin: 0 0 12px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0878bd;
}

.nl-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #3f4954;
}

.nl-side-list li {
    position: relative;
    padding: 0 0 10px 22px;
}

.nl-side-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0878bd;
}

.nl-quote {
    margin: 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.5;
    color: #12263f;
}

.nl-quote footer {
    margin-top: 8px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    color: #5b6470;
}

.nl-side-link {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0878bd;
    text-decoration: none;
}

.nl-side-link:hover { text-decoration: underline; }

.nl-sample {
    display: block;
    padding: 14px;
    border: 1px solid #e3e6ea;
    border-radius: 6px;
    background: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    text-decoration: none;
}

.nl-sample strong {
    display: block;
    font-size: 14px;
    color: #12263f;
    margin-bottom: 4px;
}

.nl-sample span {
    font-size: 12px;
    color: #5b6470;
}

.nl-manage {
    margin: 20px 0 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    color: #5b6470;
}

@media (max-width: 991px) {
    .nl-grid { grid-template-columns: 1fr; }
    .nl-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .nl-title { font-size: 26px; white-space: normal; }
    .nl-kicker { font-size: 34px; }
    .nl-standfirst { font-size: 16px; }
    .nl-card { padding: 20px; }
    .nl-fields { grid-template-columns: 1fr; }
    .nl-choices { grid-template-columns: 1fr; }
    .nl-side { grid-template-columns: 1fr; }
    .nl-chip span { padding: 10px 13px; }
}
