/* Pages on privacy.<outreach domain>: the privacy notice and the unsubscribe page, in the landing page's look
   (the same fonts, a thin frame split into cells, small mono labels, serif headlines, one blue, a white card on a fine
   dot grid). No Sparclip logo: these pages belong to the outreach domain and are about the client who emailed.
   Everything is served from this server; nothing loads from another company, and no page needs a script to be read. */
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Serif"; src: url("/fonts/noto-serif-latin-wght-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mono"; src: url("/fonts/source-code-pro-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mono"; src: url("/fonts/source-code-pro-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --blue: #1d4dff; --text: #111215; --grey: #5f636b; --soft: #6b707a; --bg: #ffffff; --panel: #f4f4f6; --hair: #e3e3e7; --frame: #b9bbc3;
  --sans: "Schibsted Grotesk", system-ui, sans-serif; --serif: "Serif", Georgia, serif; --mono: "Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3vw, 48px); --wide: 1240px; --pad: clamp(22px, 3vw, 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
a { color: inherit; text-decoration-color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.cap { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); line-height: 1.6; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; text-wrap: balance; }
.lead { color: var(--grey); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; text-wrap: pretty; }

/* the bar: the outreach domain on the left, one link on the right */
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px;
  padding: 0 max(var(--gutter), calc((100% - var(--wide)) / 2)); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--hair); }
.mark { display: inline-flex; align-items: center; gap: .7em; min-width: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.mark i { flex: none; width: .7em; height: .7em; background: var(--blue); }
.mark b { min-width: 0; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar a.cap { flex: none; text-decoration: none; white-space: nowrap; }
.bar a.cap:hover { color: var(--blue); }

/* the frame: cells with thin lines between them, as on the landing page */
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(28px, 6vh, 72px) var(--gutter) 0; }
.frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--frame); }
.cell { min-width: 0; padding: var(--pad); }
.frame > .cell:nth-child(even) { border-left: 1px solid var(--frame); }
.frame > .cell:nth-child(n+3) { border-top: 1px solid var(--frame); }
.head h1 { margin-top: 18px; font-size: clamp(40px, 4.4vw, 68px); }
.head .lead { margin-top: 20px; max-width: 34em; }
.chip { display: inline-flex; align-items: center; gap: .6em; padding: .45em .8em; border: 1px solid var(--text); background: #fff; font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); line-height: 1.3; }
.chip i { flex: none; width: .65em; height: .65em; background: var(--blue); }
.head .chip { margin-top: 26px; }

/* the card: who emailed, in the rows of an email header, a white card on a light dot grid */
.dots { display: flex; flex-direction: column; justify-content: center; background-color: var(--panel);
  background-image: radial-gradient(circle, #d4d4da 0 .7px, transparent 1.2px); background-size: 9px 9px; }
.card { border: 1px solid var(--hair); background: #fff; }
.card .top { padding: 14px 20px 12px; border-bottom: 1px solid var(--hair); }
.kv { display: grid; grid-template-columns: 8.4em minmax(0, 1fr); align-items: baseline; gap: 4px 14px; padding: 11px 20px; border-bottom: 1px solid var(--hair);
  font-size: 15.5px; line-height: 1.45; }
.kv .cap { font-size: 10.5px; letter-spacing: .16em; }
.kv:last-child { border-bottom: 0; }
.kv span:last-child { overflow-wrap: anywhere; }

/* the privacy notice */
.cols { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); padding: 56px 0 96px; }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc ol { list-style: none; margin-top: 14px; border-top: 1px solid var(--hair); }
.toc li a { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 14px; line-height: 1.35; color: var(--grey); text-decoration: none; }
.toc li a:hover { color: var(--text); }
.toc .num { flex: none; width: 2.2em; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--blue); padding-top: 2px; }

.notice > p:first-child { font-size: 19px; line-height: 1.55; }
.notice > p:first-child + p { color: var(--soft); font-size: 15px; }
.notice p { margin: 0 0 16px; }
.notice strong { font-weight: 600; }
.notice h2 { display: flex; align-items: baseline; gap: 16px; margin: 64px 0 20px; padding-top: 20px; border-top: 1px solid var(--frame); scroll-margin-top: 88px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.01em; }
.notice h2 .num { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--blue); transform: translateY(-.3em); }
.notice ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.notice li { position: relative; margin: 0 0 10px; padding-left: 24px; }
.notice li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--blue); }
.notice h2#short { margin-top: 40px; }
.notice h2#short + ul { padding: 26px 28px 18px; border: 1px solid var(--frame); background: var(--panel); }
.tablewrap { margin: 8px 0 22px; overflow-x: auto; border: 1px solid var(--frame); }
.notice table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.notice th { padding: 12px 14px; text-align: left; vertical-align: bottom; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--soft); border-bottom: 1px solid var(--frame); background: var(--panel); }
.notice td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--hair); }
.notice tr:last-child td { border-bottom: 0; }

/* the notice while it is being written: what is already true, in two cells */
.steps { list-style: none; margin-top: 18px; border-top: 1px solid var(--hair); }
.steps li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.steps .cap { padding-top: 4px; }
.steps p { color: var(--text); }
.soon { list-style: none; margin-top: 18px; }
.soon li { break-inside: avoid; position: relative; padding: 0 0 10px 20px; color: var(--grey); font-size: 15.5px; line-height: 1.45; }
.soon li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 6px; height: 6px; border: 1px solid var(--frame); }
.cell h2 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.01em; }
.cell > .cap + p, .cell h2 + p { margin-top: 14px; color: var(--grey); }
.steps + p { margin-top: 16px; }

.foot { width: calc(100% - 2 * var(--gutter)); max-width: var(--wide); margin: 56px auto 0; padding: 24px 0 40px; display: flex; flex-wrap: wrap;
  gap: 8px 24px; justify-content: space-between; border-top: 1px solid var(--hair); color: var(--soft); font-size: 14px; line-height: 1.5; }
.foot a { color: var(--grey); white-space: nowrap; }
.cols + .foot, .doc .foot { margin-top: 0; }

/* the unsubscribe page */
.single { display: flex; align-items: center; min-height: calc(100svh - 64px - 89px); padding-bottom: clamp(28px, 6vh, 72px); }
.single .frame { width: 100%; }
.cell.why { grid-column: 1 / -1; max-width: none; }
.why > p:not(.cap), .why > div > p { max-width: 46em; margin-top: 12px; text-wrap: pretty; }
.why .cap + div > p:first-child, .why .cap + p { margin-top: 10px; }
.fine { color: var(--soft); font-size: 15px; }
.say h1 { margin-top: 18px; font-size: clamp(40px, 4.6vw, 72px); }
.say h1:focus { outline: none; }
.say .lead { margin-top: 20px; max-width: 30em; }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px 20px; border-top: 1px solid var(--hair); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 2px solid var(--blue); border-radius: 0;
  background: var(--blue); color: #fff; font: 500 17px var(--sans); cursor: pointer; transition: background-color .2s, border-color .2s; }
.btn:hover { background: #3a63ff; border-color: #3a63ff; }
.btn:disabled { opacity: .6; cursor: progress; }
.act .note { color: var(--soft); font-size: 14px; line-height: 1.45; }
.act noscript { display: block; color: var(--text); font-size: 15.5px; line-height: 1.5; }
.stamp { opacity: 0; transform: scale(1.12); transition: opacity .18s ease-out, transform .24s cubic-bezier(.2, .8, .2, 1); }
.stamp.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .stamp { transition: none; transform: none; } }

@media (min-width: 2200px) { :root { --wide: 1440px; } body { font-size: 18px; } .kv { font-size: 16.5px; } }
@media (max-width: 900px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  .frame > .cell:nth-child(even) { border-left: 0; }
  .frame > .cell + .cell { border-top: 1px solid var(--frame); }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; }
  .toc { position: static; max-height: none; }
  .notice h2 { margin-top: 48px; }
  .notice h2#short + ul { padding: 20px 18px 10px; }
  .single { align-items: flex-start; min-height: 0; }
}
@media (max-width: 520px) {
  :root { --pad: 20px; }
  .wrap { padding-top: 20px; }
  .bar { gap: 14px; }
  .mark { font-size: 11px; letter-spacing: .12em; }
  .bar a.cap { font-size: 10px; letter-spacing: .14em; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 16px; }
  .card .top { padding: 12px 16px 10px; }
  .act { padding: 16px; }
  .act .btn { width: 100%; }
  .dots { padding: 14px; }
  .steps li { grid-template-columns: minmax(0, 1fr); }
  .foot { flex-direction: column; }
}
