/* AI-svepet, November 2026: the same light grey page, white cards, Inter headings and IBM Plex Mono labels and buttons as the home page. Shared by the newsletter pages, the agent guide, the privacy page and the 404 page. Accent colours appear only as small squares. */
*{box-sizing:border-box}
:root{color-scheme:light;--ink:#0345c9;--body:#202124;--text:var(--body);--muted:#555c67;--line:#d9dde5;--control:#8b94a3;--page:#f3f4f6;--paper:#fff;--tint:#f2f5fc;--teal:#00c3b4;--coral:#ff775f;--lime:#d7ed00}
html{background:var(--page)}
body{margin:0;background:var(--page);color:var(--body);font:1rem/1.7 var(--font-text);-webkit-font-smoothing:antialiased;font-feature-settings:'liga' 1,'calt' 1}
main{width:min(100% - 5rem,46rem);margin:0 auto;padding-bottom:2.5rem;overflow-wrap:anywhere}
:where(body>main:first-child){padding-top:3rem}
p{margin:0 0 1.2rem}
strong{font-weight:600}
h1,h2,h3{margin:0;color:var(--ink);font-family:var(--font-text);font-weight:450;letter-spacing:-.035em;line-height:1.2}
h1{margin:0 0 1rem;font-size:clamp(2.25rem,5vw,3.25rem);letter-spacing:-.045em;line-height:1.05;text-wrap:balance}
h2{font-size:1.375rem;letter-spacing:-.03em;line-height:1.25}
a{color:var(--body);font-family:var(--font-meta);text-decoration-color:currentColor;text-decoration-thickness:1px;text-underline-offset:4px}
@media(hover:hover){a:hover{color:var(--ink)}}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* The name on the left leads home, as on the rest of the site. */
.masthead{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 2rem;width:min(100% - 5rem,46rem);margin:0 auto;padding:2rem 0 0;font-family:var(--font-meta);overflow-wrap:anywhere}
.masthead .name{font-size:1.125rem;line-height:1.4;text-decoration:none}
.masthead nav{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.8125rem}
.masthead nav a{text-decoration:none}
.masthead nav a[aria-current=page]{text-decoration:underline}
.brand-bar{align-items:center}
.brand{display:inline-flex;align-items:center;gap:.6rem;color:var(--ink);font:700 1rem/1.4 var(--font-meta);letter-spacing:-.01em;text-decoration:none;white-space:nowrap}
.brand-mark{width:22px;height:22px;flex:0 0 22px}
main>nav{font-family:var(--font-meta);font-size:.8125rem}
main>nav a{text-decoration:none}

.page-intro{display:flex;flex-direction:column;gap:1rem;padding:clamp(2.75rem,7vw,4.5rem) 0 clamp(1.75rem,4vw,2.5rem)}.page-intro>*{margin:0}.page-intro:has(>:last-child[hidden]){padding-bottom:0}
.page-intro p{max-width:36rem}

.eyebrow{margin:0 0 1rem;font-family:var(--font-meta);font-size:.8125rem;line-height:1.6;color:var(--muted)}
.newsletter-subtitle{margin:0 0 1rem;font-size:1.375rem;font-weight:450;letter-spacing:-.025em;line-height:1.35}
.lead{font-size:1.0625rem;line-height:1.65}
#signup-intro{color:var(--muted)}
.account-line{font-size:.9375rem}
.account-line strong{font-weight:500}

/* Each question is a white card, like the steps on the home page. */
.card,.latest-offer,.confirmation-help,.suggestion form{padding:2rem;border:1px solid var(--line);background:var(--paper)}
.latest-offer{margin-top:1.5rem}.card+.card,.card+.latest-offer,.latest-offer+.latest-offer,.card+.confirmation-help{margin-top:1rem}
.step-number{margin:0 0 1rem;font-family:var(--font-meta);font-size:.8125rem;line-height:1;color:var(--ink)}
fieldset{min-inline-size:0;margin:0;padding:0;border:0}
.card>fieldset>legend{display:block;width:100%;padding:0;margin:0 0 .35rem;color:var(--ink);font:450 1.375rem/1.25 var(--font-text);letter-spacing:-.03em}
.card>fieldset>legend+*{margin-top:0}
.card-note,.card>fieldset>.note{margin:0 0 1.25rem}
.note{font-size:.875rem;line-height:1.6;color:var(--muted)}
.is-invalid{padding-left:.75rem;border-left:3px solid var(--coral);color:var(--body)}

/* Apps: tiles in a grid, grouped by category. The whole tile is the label, so it is easy to hit on a phone. */
.topics-tools{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.25rem 1.5rem;margin:0 0 1.5rem}
.topics-tools .note{margin:0}
.topic-count{white-space:nowrap}
#select-all{display:inline;margin:0}
.topic-group{margin-top:1.75rem}
.topic-group:first-child{margin-top:0}
.topic-group-title{display:flex;align-items:center;gap:.6rem;padding:0;margin:0 0 .75rem;color:var(--body);font:400 .8125rem/1.5 var(--font-meta);letter-spacing:0}
.category-swatch{display:inline-block;width:12px;height:12px;flex:0 0 12px}
.topic-group-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.topic{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer}
.topic>span{min-width:0}.topic strong{font-weight:450;overflow-wrap:break-word;text-wrap:balance}
.topic-group-options .topic,.content-choice,.frequency-options label{border:1px solid var(--line);background:var(--paper);transition:border-color .15s,background-color .15s}
.topic-group-options .topic{align-items:center;min-height:3rem;padding:.6rem .85rem;font-size:.9375rem;line-height:1.35}
.topic-group-options .topic:has(input:checked),.content-choice:has(input:checked),.frequency-options label:has(input:checked){border-color:var(--ink);background:var(--tint)}
.topic-product{display:block;margin-top:.1rem;font:400 .75rem/1.3 var(--font-meta);color:var(--muted)}
.choice-news{flex:0 0 auto;margin-left:auto;padding-left:.35rem;font:400 .75rem/1.35 var(--font-meta);color:var(--muted);font-variant-numeric:tabular-nums}
.choice-news:empty{display:none}
.topic:has(input:checked) .choice-news{color:var(--ink)}
.topic.has-no-news .choice-news{opacity:.55}
.content-choice .choice-news{padding-top:.15rem}
@media(hover:hover){.topic-group-options .topic:hover,.content-choice:hover,.frequency-options label:hover{border-color:var(--ink)}}

/* Square checkboxes and round radio buttons in the site's blue. Forced colours get the system's own controls. */
input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;flex:0 0 auto;width:18px;height:18px;margin:0;border:1.5px solid var(--control);border-radius:0;background:var(--paper);cursor:pointer}
input[type=checkbox]:checked{border-color:var(--ink);background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3 5 8.8 9.7 3.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat}
input[type=radio]{border-radius:50%}input[type=radio]:checked{border-color:var(--ink);background:var(--ink);box-shadow:inset 0 0 0 3.5px var(--paper)}
input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(forced-colors:active){input[type=checkbox],input[type=radio]{appearance:auto;-webkit-appearance:auto}}

#content-types{display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem}
.content-choice{padding:.85rem 1rem}
.content-choice input{margin-top:.2rem}
.content-choice strong{display:block;font-size:1rem;line-height:1.45}
.content-description{display:block;margin-top:.2rem;color:var(--muted);font-size:.875rem;line-height:1.55}

.frequency-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0 0 1rem}
.frequency-options label{display:flex;align-items:center;gap:.65rem;min-height:3rem;padding:.6rem .85rem;cursor:pointer;font-size:.9375rem;line-height:1.35}
.frequency>.note:last-child{margin:0}

label{display:block}
label[for]{margin:0 0 .4rem;font-family:var(--font-meta);font-size:.8125rem;line-height:1.5}
input[type=text],input[type=email],input[type=url],textarea{display:block;width:100%;min-height:3rem;margin:0 0 1.25rem;padding:.7rem .85rem;border:1px solid var(--control);border-radius:0;background:var(--paper);color:var(--body);font:inherit;font-size:1rem}
textarea{min-height:6rem;resize:vertical}
input[type=text]+.note,input[type=email]+.note{margin:-.75rem 0 1.25rem}
.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.privacy-note{margin:.25rem 0 0}

/* Buttons as on the home page: mono, square, with a teal offset shadow on hover. */
:where(button){display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:2.75rem;padding:.6rem 1.25rem;border:1px solid var(--ink);border-radius:0;background:var(--ink);color:#fff;font:700 .875rem/1.4 var(--font-meta);text-decoration:none;cursor:pointer;transition:transform 160ms ease,box-shadow 160ms ease}
:where(button):disabled{opacity:.45;cursor:default}
@media(hover:hover) and (pointer:fine){:where(main:not(.agent-page) button:not(:disabled)):hover{transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--teal)}}
.secondary-button{background:var(--paper);color:var(--ink)}
.agent-page .agent-open{font:700 .875rem/1.4 var(--font-meta);letter-spacing:0}.agent-connect-link{display:inline-flex;align-items:center;gap:.6rem;min-height:3rem;padding:.6rem 1.25rem;border:1px solid var(--ink);background:var(--paper);color:var(--ink);font-size:.875rem;font-weight:700;line-height:1.4;text-decoration:none;transition:transform 160ms ease,box-shadow 160ms ease}
@media(hover:hover) and (pointer:fine){.agent-connect-link:hover{color:var(--ink);transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--teal)}}
.agent-connect-link:focus-visible{box-shadow:4px 4px 0 var(--teal)}
.text-button{display:inline;min-height:0;padding:0;border:0;background:none;color:var(--body);font:400 .8125rem/1.6 var(--font-meta);text-align:left;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;transition:none}
@media(hover:hover){.text-button:hover{color:var(--ink);transform:none;box-shadow:none}}
.submit-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin:1.5rem 0 1rem}
.submit-row button{min-height:3rem}
.card>.submit-row:last-child{margin-bottom:0}
.card>.note:last-child{margin-bottom:0}
button.is-loading:disabled{white-space:nowrap;opacity:1;cursor:wait}
.loading-pixels{display:inline-flex;align-items:center;gap:4px}.loading-pixels span{width:4px;height:4px;background:currentColor;animation:loading-pixel 1.2s ease-in-out infinite}.loading-pixels span:nth-child(2){animation-delay:.15s}.loading-pixels span:nth-child(3){animation-delay:.3s}
@keyframes loading-pixel{0%,80%,100%{opacity:.35}40%{opacity:1}}

.message{margin:1.25rem 0 0;font-size:1.0625rem;line-height:1.65}.message:empty{margin:0}.message:not(:empty){margin-bottom:1.5rem}
.error{padding:.75rem 1rem;border-left:3px solid var(--coral);background:var(--paper);font-size:1rem}
#loading{margin:0 0 1.25rem}

/* After signup: what happens next, where the email went and what was chosen. */
.signup-receipt{padding-top:2.5rem}
.receipt-check{display:block;width:64px;height:64px;margin:0 0 1.5rem;color:var(--ink);overflow:visible}
.signup-receipt h2{margin:0 0 .75rem;font-size:clamp(1.75rem,4vw,2.25rem);letter-spacing:-.04em;line-height:1.1}
.signup-receipt h2:focus{outline:none}
.signup-receipt p{max-width:34rem;margin:0}
.envelope{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.35rem 1.5rem;margin:1.5rem 0 0;padding:1.25rem 0 0;border-top:1px solid var(--line)}
.envelope dt{font-family:var(--font-meta);font-size:.8125rem;line-height:1.75;color:var(--muted)}
.envelope dd{margin:0;font-size:.9375rem;line-height:1.6;text-wrap:pretty}
.receipt-check-field{transform-origin:center;animation:receipt-appear .35s ease-out both}.receipt-check-mark{stroke-dasharray:1;stroke-dashoffset:0;animation:receipt-tick .45s .15s ease-out both}.receipt-check-pixel-lime{fill:var(--lime)}.receipt-check-pixel-teal{fill:var(--teal)}.receipt-check-pixel{animation:receipt-appear .3s .35s ease-out both;transform-box:fill-box;transform-origin:center}
@keyframes receipt-appear{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes receipt-tick{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.selection-summary{margin-top:1rem}
.selection-summary h2{margin:0 0 1rem;font-size:1.125rem}
.selection-summary dl{display:grid;grid-template-columns:6rem minmax(0,1fr);gap:.5rem 1.5rem;margin:0}
.selection-summary dt{font:.8125rem/1.75 var(--font-meta);color:var(--muted)}
.selection-summary dd{margin:0;font-size:.9375rem;line-height:1.6}
.confirmation-help{padding-block:1.25rem}
.confirmation-help summary,.suggestion summary{width:fit-content;cursor:pointer;font-family:var(--font-meta);font-size:.875rem;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.confirmation-help summary::marker,.suggestion summary::marker{color:var(--ink)}
.confirmation-help p{max-width:36rem;font-size:.9375rem}
.confirmation-help summary+p{margin-top:1rem}
.confirmation-help .text-button{margin:0}

.latest-offer h2{margin:0 0 .75rem}
.latest-offer h2:focus{outline:none}
.latest-offer p{max-width:36rem}
.latest-offer>:last-child{margin-bottom:0}
.latest-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0 0}
.latest-actions button{min-height:3rem}
#latest-status{margin-top:1.25rem}
#latest-status:empty{display:none}
.after-note{margin-top:1.5rem}

.suggestion{margin-top:2.5rem}
.suggestion form{margin-top:1.25rem}
.suggestion form>.note:first-child{margin-top:0}
#suggestion-message:not(:empty){margin-top:1.25rem}

footer{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line);font-family:var(--font-meta);font-size:.8125rem;color:var(--muted)}

/* Privacy and help pages: long text on the grey page. */
.privacy h1{margin-top:clamp(2.75rem,7vw,4.5rem)}
.privacy>nav+h1{margin-top:clamp(2rem,5vw,3rem)}
.privacy h2{margin:2.75rem 0 1rem;font-size:1.5rem}
.privacy h3{margin:1.75rem 0 .5rem;font-size:1.0625rem;font-weight:500;letter-spacing:-.02em}
.privacy p,.privacy li,.privacy dd{max-width:40rem}
.privacy ul{list-style:none;padding:0}
.privacy li{position:relative;margin-bottom:.6rem;padding-left:1.1rem}
.privacy li::before{content:'';position:absolute;left:0;top:.65em;width:.35rem;height:.35rem;background:var(--ink)}
.privacy .draft-note{padding-left:1rem;border-left:2px solid var(--coral)}
.privacy dt{margin-top:1rem;font-weight:500}
.privacy dd{margin:.2rem 0 0}

/* Preview of the latest issue with the visitor's choices. It sits beside the form on wide screens and opens as a sheet from a bar at the bottom on small ones. Sender, subject and date sit above the letter, as in an inbox. */
.letter-preview .eyebrow{margin:0}
.preview-status{margin:0;font-size:.9375rem;line-height:1.5;text-wrap:pretty}
.preview-status:empty{display:none}
.preview-mail{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.2rem 1rem;padding:.85rem 1.25rem;border-bottom:1px solid var(--line);background:var(--paper)}
.preview-avatar{display:grid;place-items:center;width:2.5rem;height:2.5rem;background:var(--ink);color:#fff;font:700 .8125rem/1 var(--font-meta)}
.preview-envelope{min-width:0}
.preview-envelope p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-from{font-size:.9375rem;line-height:1.4}.preview-from span{color:var(--muted);font-size:.8125rem}
.preview-subject{color:var(--ink);font-size:1.0625rem;font-weight:500;line-height:1.4;letter-spacing:-.015em}
.preview-date{margin:0;font:400 .75rem/1.4 var(--font-meta);color:var(--muted);white-space:nowrap}
.preview-paper{position:relative;background:var(--page)}
.preview-paper iframe{display:block;width:100%;border:0;background:var(--page);transition:opacity .18s ease}
.letter-preview.is-loading iframe{opacity:.4}
.preview-empty{padding:3rem 2rem;max-width:30rem}
.preview-empty p:last-child{margin-bottom:0}
.preview-launch{position:fixed;inset:auto 0 0;z-index:10;display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:.35rem 1rem;padding:.75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper)}
.preview-launch button{background:var(--paper);color:var(--ink)}
.preview-launch .note{margin:0;min-width:0}.preview-launch button{flex:0 0 auto}
body.has-preview>main{padding-bottom:7rem}
body.has-preview>.letter-preview{display:none;flex-direction:column;background:var(--paper)}
body.has-preview>.letter-preview.is-open{position:fixed;inset:0;z-index:20;display:flex}
body.preview-open{overflow:hidden}
.preview-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid var(--line)}
.preview-bar>div{display:grid;gap:.2rem;min-width:0}
.preview-close{flex:0 0 auto;margin:0;padding:.35rem 0;font-size:.875rem}
body.has-preview>.letter-preview .preview-paper{flex:1;min-height:0}
body.has-preview>.letter-preview iframe{height:100%}
@media(min-width:1100px){
body.has-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,46vw);grid-template-rows:auto 1fr}
body.has-preview>.masthead,body.has-preview>main{grid-column:1;width:min(100% - 5rem,40rem)}
body.has-preview>main{padding-bottom:2.5rem}
body.has-preview>.letter-preview,body.has-preview>.letter-preview.is-open{position:sticky;inset:0 auto auto;z-index:auto;grid-column:2;grid-row:1/-1;display:flex;height:100vh;height:100dvh;border-left:1px solid var(--line)}
.preview-bar{padding:1.5rem 1.75rem 1.25rem}
.preview-mail{padding:.9rem 1.75rem}
.preview-launch,.preview-close{display:none}
}

@media(prefers-reduced-motion:reduce){.preview-paper iframe{transition:none}}

@media(max-width:780px){main,.masthead{width:calc(100% - 3rem)}}
@media(max-width:520px){main,.masthead{width:calc(100% - 2.5rem)}.masthead{padding-top:1.5rem}.card,.latest-offer,.suggestion form{padding:1.5rem 1.25rem}.confirmation-help{padding:1rem 1.25rem}.topic-group-options{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-group-options .topic{gap:.6rem;padding:.55rem .7rem}.frequency-options{grid-template-columns:minmax(0,1fr)}.selection-summary dl{grid-template-columns:minmax(0,1fr);gap:0}.selection-summary dd{margin-bottom:.6rem}.latest-actions{flex-direction:column;align-items:stretch}.latest-actions button{justify-content:flex-start;text-align:left}.envelope{gap:.3rem 1rem}}
@media(max-width:520px){.preview-mail{padding:.75rem 1.25rem}.preview-date{display:none}}
@media(max-width:359px){.topic-group-options{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){:where(button),.agent-connect-link,.topic-group-options .topic,.content-choice,.frequency-options label{transition:none}:where(main:not(.agent-page) button:not(:disabled)):hover,.agent-connect-link:hover{transform:none}.receipt-check-field,.receipt-check-mark,.receipt-check-pixel,.loading-pixels span{animation:none}}
