/* Dear Website, one stylesheet. Needs tokens.css first. No script: all motion is CSS, and all of it sits
   in one block near the end of this file, for visitors who have not asked for less of it. */

/* Fonts: four subsets from the site itself (scripts/subset-marketing-fonts.sh cuts them and writes the
   ?v= stamps, the first 8 hex characters of each file's SHA-256). */
@font-face { font-family: Archivo; src: url(/assets/fonts/archivo-400.woff2?v=1a383b32) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Archivo; src: url(/assets/fonts/archivo-700.woff2?v=3f57d661) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url(/assets/fonts/archivo-expanded-800.woff2?v=18f644db) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-500.woff2?v=15ea5e02) format("woff2"); font-weight: 400 700; font-display: swap; }
/* What shows until a cut arrives: Arial at the width and height of Archivo, Arial Black at those of
   Archivo Expanded 800, so that no line breaks anew and nothing moves when the font comes in. */
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400; size-adjust: 98.1%; ascent-override: 89.5%; descent-override: 21.4%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 97.8%; ascent-override: 89.8%; descent-override: 21.5%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Expanded Fallback"; src: local("Arial Black"), local("Arial-Black"); font-weight: 800; size-adjust: 111.7%; ascent-override: 78.6%; descent-override: 18.8%; line-gap-override: 0%; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding: 16px 0 96px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 var(--t-17)/1.5 var(--font-sans); }
h1, h2, h3, p, ul, ol, dl, dd, table { margin: 0; padding: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
ul, ol { list-style: none; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: .09em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1 { font: 800 var(--t-h1)/1 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.address, code { font-family: var(--font-mono); font-size: .875em; overflow-wrap: anywhere; }
.label { font: 700 .75rem/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -80px; z-index: 10; padding: 12px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 8px; }
/* The ring sits inside the dark box, so it shows on the red header as on a white one. */
.skip-link:focus-visible { outline-color: #fff; outline-offset: -6px; }
.airmail-rule { height: 12px; background: var(--airmail); }

/* Grounds. Where a band sets its own colours, the tokens are set with it, so that everything inside
   (links, focus rings, buttons, edges) follows. */
.hero, .masthead-hero { background: var(--red); color: #fff; --ground: var(--red); --text: #fff; --line: #fff; --link: #fff; --accent: #fff; --focus: #fff; --action: #fff; --action-text: var(--ink); --action-press: var(--sheet-mist); }
.section-blue { background: var(--blue); color: #fff; --ground: var(--blue); --text: #fff; --line: #fff; --rule: rgba(255, 255, 255, .4); --grey: #fff; --accent: #fff; --link: #fff; --focus: #fff; --action: #fff; --action-text: var(--ink); --action-press: var(--sheet-mist); }
.colophon { background: var(--ink); color: #fff; --ground: var(--ink); --link: #fff; --accent: #fff; --focus: #fff; }
.hero, .masthead-hero, .section-blue, .colophon { --edge-1: 1px solid var(--rule); --edge-2: 2px solid var(--line); --edge-3: 4px solid var(--line); }

/* Sections */
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section h2 { font: 800 var(--t-h2)/1.02 var(--font-display); letter-spacing: -.015em; text-wrap: balance; margin-bottom: var(--space-6); }
.section-lead { max-width: 56ch; margin: calc(var(--space-4) * -1) 0 var(--space-6); text-wrap: pretty; }
.section-lead:last-child { margin-bottom: 0; }
.live-examples { margin-top: var(--space-5); }
.live-examples h3 { font-size: var(--t-15); margin: 0 0 var(--space-2); }
.live-examples ul { margin: 0; padding-left: 1.2em; }
.live-examples .section-note { margin-top: var(--space-2); }
.section-note { max-width: 65ch; margin-top: var(--space-5); font-size: var(--t-15); color: var(--grey); text-wrap: pretty; }

/* Header */
.masthead { border-bottom: var(--edge-2); }
.masthead-hero { border-bottom: 0; }
.masthead-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-4); min-height: var(--masthead); }
.wordmark { font: 800 1.1875rem/1 var(--font-display); letter-spacing: -.01em; color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.wordmark:hover { color: inherit; }
.wordmark-comma { color: var(--accent); }
.masthead-hero .wordmark-comma { color: var(--ink); }
.colophon .wordmark-comma { color: #FF5548; }
.site-nav ul { display: flex; gap: var(--space-5); }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: var(--t-15); color: inherit; white-space: nowrap; }
.site-nav [aria-current="page"] { text-decoration-thickness: 2px; }
/* Beside the wordmark a phone has room for two entries; the others are the two sections right below. */
.site-nav .wide { display: none; }
@media (min-width: 700px) { .site-nav .wide { display: block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 2px solid var(--action); border-radius: var(--radius-1); background: var(--action); color: var(--action-text); font: 700 1rem/1.2 var(--font-sans); text-decoration: none; }
.btn:hover { background: var(--action-press); border-color: var(--action-press); color: var(--action-text); }
.btn:active { transform: translateY(2px); }
.btn-wide { display: flex; width: 100%; min-height: 60px; font-size: var(--t-17); }
.btn-mail { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 2px 12px; min-height: 60px; font-size: var(--t-17); }
.btn-address { font: 700 1rem/1.2 var(--font-mono); margin-right: auto; }
.btn-mail::after { content: "\2192"; content: "\2192" / ""; font: 800 1.25rem/1 var(--font-display); }
/* Narrow phones (360 and 375 px too): the wordmark and two entries on one line, the button's arrow beside
   the address. At full size the header line needs about 322 px, more than a 360 px screen has. */
@media (max-width: 374px) {
  .wordmark { font-size: 1rem; }
  .site-nav ul { gap: var(--space-3); }
  .site-nav a { font-size: var(--t-13); }
  .btn-mail { padding-inline: 12px; column-gap: 8px; }
}

/* Hero. On a phone the button comes before the object, so that it is on the first screen. */
.hero { overflow: hidden; overflow-x: clip; }
.hero-in { display: grid; grid-template-areas: "text" "action" "object"; row-gap: var(--space-5); padding-block: var(--space-3) var(--space-5); }
.hero-text { grid-area: text; }
.hero-text p { margin-top: var(--space-3); font-size: 1rem; line-height: 1.4; max-width: 44ch; text-wrap: pretty; }
.hero .object { grid-area: object; }
.hero-action { grid-area: action; }
.hero-note, .hero-help { margin-top: 10px; font-size: var(--t-13); text-align: center; text-wrap: pretty; }
.hero-note { font-weight: 700; }
@media (min-width: 900px) {
  .hero-in { min-height: calc(100vh - var(--masthead)); min-height: calc(100svh - var(--masthead)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". object" "text object" "action object" ". object"; gap: 0 var(--space-7); padding-block: var(--space-5) var(--space-7); }
  .hero-text { padding-bottom: var(--space-6); }
  .hero-text p { font-size: var(--t-21); }
  .hero-action { max-width: 440px; }
  .hero-note, .hero-help { text-align: left; }
}

/* Signature object. Sized in em: change font-size to scale it. Default state is the still. */
.object { font-size: 10px; position: relative; display: grid; place-items: center; min-height: 37em; }
.object-flip { position: relative; width: 25em; height: 32em; }
.sheet { position: absolute; inset: 0; z-index: 1; padding: .9em; background: var(--airmail); outline: .3em solid #fff; color: var(--sheet-text); transform: translate(-12%, -3%) rotate(-4deg); }
.sheet-in { height: 100%; padding: 1.6em; background: var(--sheet); }
.sheet-to { font: 400 1em/1.3 var(--font-mono); color: var(--sheet-grey); }
.sheet-dear { font: 800 3.1em/.95 var(--font-display); letter-spacing: -.01em; margin: .45em 0 .4em; }
.sheet-body { font: 400 1.25em/1.45 var(--font-sans); }
.sheet-body + .sheet-body { margin-top: .6em; }
.sheet .postmark { position: absolute; right: 1.4em; bottom: 1.6em; }
.object .phone { position: absolute; inset: 0; width: auto; height: auto; transform: translate(16%, 6%) rotate(5deg); }
.note { display: none; position: absolute; left: 0; bottom: .8em; width: 21.4em; padding: .6em; background: var(--airmail); outline: .2em solid #fff; color: var(--sheet-text); }
.note-undo { width: 15em; }
.note-in { position: relative; padding: .9em 1em; background: var(--sheet); }
.note-to { font: 400 .8em/1.3 var(--font-mono); color: var(--sheet-grey); white-space: nowrap; overflow: hidden; }
.note-text { font: 700 1.3em/1.2 var(--font-sans); margin-top: .25em; }
.note-undo .note-text { font: 800 2em/1.1 var(--font-display); }
.note .stamp { position: absolute; right: -.4em; top: -1.4em; background: #fff; color: var(--blue); font-size: 1em; }
.note-undo .stamp { color: var(--red); }
@media (max-height: 700px) and (max-width: 899px) { .object { font-size: 8px; } }
@media (min-width: 768px) { .object { font-size: 12px; } }
@media (min-width: 1280px) { .object { font-size: 14px; } }

/* A sheet on its own, outside the signature object (404) */
.sheet.sheet-still { position: relative; inset: auto; width: 25em; height: 30em; margin: var(--space-5) auto; font-size: 10px; transform: rotate(-4deg); }
.sheet-still .stamp { position: absolute; right: 1.6em; bottom: 2.4em; background: #fff; color: var(--red); }
@media (min-width: 768px) { .sheet.sheet-still { font-size: 12px; } }

/* Phone frame with a sample site inside */
.phone { font-size: 10px; width: 25em; height: 32em; border: .6em solid var(--frame); border-radius: var(--radius-phone); background: #fff; color: var(--sheet-text); overflow: hidden; }
.phone-bar { font: 400 .72em/1.3 var(--font-mono); padding: .9em 1.3em; background: var(--sheet-mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-photo { height: 9.6em; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #D5D9E0 0 6px, #E6E9EE 6px 12px); font: 400 .9em/1.3 var(--font-mono); color: #3A3E48; }
.phone-body { padding: 1.2em 1.4em; }
.phone-title { font: 800 1.9em/1.05 var(--font-display); }
.phone-sub { font: 400 1.2em/1.4 var(--font-sans); margin-top: .35em; color: #3A3E48; }
.phone-hours { margin-top: 1em; border-top: 2px solid var(--ink); padding-top: .7em; font: 700 1.2em/1.5 var(--font-sans); }
.phone-hours div { display: flex; justify-content: space-between; gap: 1em; }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap-new { display: none; color: var(--red); }

/* Postmarks and stamps */
.postmark { font-size: 10px; width: 8.8em; height: 8.8em; flex: none; display: grid; place-content: center; text-align: center; border: .3em solid currentColor; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 .3em #fff, inset 0 0 0 .45em currentColor; color: var(--blue); font-family: var(--font-mono); font-weight: 700; line-height: 1.1; transform: rotate(-12deg); }
.postmark b { font-size: .85em; letter-spacing: .06em; }
.postmark span { font-size: 1.7em; }
.postmark i { font-size: .7em; font-style: normal; letter-spacing: .08em; }
.postmark-red { color: var(--red); }
.stamp { display: inline-block; border: 3px solid currentColor; color: var(--accent); font: 800 1.375rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; padding: .3em .55em; transform: rotate(-6deg); }
.stamp-small { border-width: 2px; font: 700 .6875rem/1 var(--font-mono); letter-spacing: .08em; padding: .25em .5em; transform: rotate(-4deg); }
.stamp-blue { color: var(--link); }
/* Postage stamp: the price on white paper with a perforated edge. The holes are cut by a mask: a hole of
   radius --r every 3 --r, centred on the edges so half of each shows, and the middle (from 1.5 --r in) kept
   whole; where masks are not supported it is a plain white rectangle. Paper
   and inks are the same in both modes, like the letter. The frame is an inset line, as on the postmark.
   It sits still at its slight angle: nothing about it moves. */
.postage { --r: 5px; --focus: var(--blue); display: inline-grid; justify-items: center; gap: 6px; padding: 26px 26px 22px; background: var(--sheet); color: var(--blue); text-align: center; box-shadow: inset 0 0 0 12px var(--sheet), inset 0 0 0 14px var(--red); transform: rotate(-4deg); --perforation: radial-gradient(var(--r), #0000 98%, #000) calc(var(--r) * -1.5) calc(var(--r) * -1.5) / calc(var(--r) * 3) calc(var(--r) * 3) round, linear-gradient(#000 0 0) calc(var(--r) * 1.5) calc(var(--r) * 1.5) / calc(100% - var(--r) * 3) calc(100% - var(--r) * 3) no-repeat; -webkit-mask: var(--perforation); mask: var(--perforation); }
.postage-label { font: 700 .6875rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.postage-value { font: 800 clamp(3.25rem, 2.6rem + 3vw, 4.5rem)/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; padding-left: .3em; }
.postage-brand { font: 800 .8125rem/1 var(--font-display); color: var(--sheet-text); }
.postage-currencies { font: 500 .8125rem/1.2 var(--font-mono); letter-spacing: .06em; white-space: nowrap; }
.postage-comma { color: var(--red); }
/* The asterisk is the link to its note: 44 px to touch, drawn as a raised star in red. Its focus ring is drawn
   inside the box, clear of the stamp's red frame, and the 4 px padding keeps the star clear of the ring. */
.footnote-ref { display: inline-block; min-width: 44px; min-height: 44px; margin-right: -.4em; padding: 4px 0 0 4px; font-size: .5em; line-height: 1; vertical-align: top; text-align: left; color: var(--red); text-decoration: none; }
.footnote-ref:hover { color: var(--ink); }
.footnote-ref:focus-visible { outline-offset: -3px; }
.footnote { max-width: 48ch; font-size: var(--t-15); text-wrap: pretty; }
.footnote-mark { font-weight: 700; }

/* Steps, and the reply that comes back after the third */
.steps { display: grid; gap: var(--space-6); }
.step { border-top: var(--edge-3); padding-top: var(--space-4); }
.step .label { color: var(--accent); }
.step h3, .comes-back h3 { font: 800 var(--t-21)/1.1 var(--font-display); margin: var(--space-2) 0 var(--space-3); overflow-wrap: anywhere; }
.step p, .comes-back-text p { max-width: 44ch; text-wrap: pretty; }
.step p + p { margin-top: var(--space-3); }
.comes-back { display: grid; gap: var(--space-4); margin-top: var(--space-7); border-top: var(--edge-3); padding-top: var(--space-4); }
.comes-back-text p { font-size: var(--t-15); color: var(--grey); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comes-back { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6); }
  .comes-back .mail { max-width: 560px; }
}

/* Email card */
.mail { position: relative; background: var(--sheet); color: var(--sheet-text); border: 2px solid var(--ink); }
.mail-reply::before { content: ""; display: block; height: 10px; background: var(--airmail); border-bottom: 2px solid var(--ink); }
.mail-head { border-bottom: 2px solid var(--ink); }
.mail-head div { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); align-items: baseline; padding: 8px 12px; border-top: 1px solid var(--sheet-rule); }
.mail-head div:first-child { border-top: 0; }
.mail-head dt { font: 700 .6875rem/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sheet-grey); }
.mail-head dd { font: 400 .8125rem/1.4 var(--font-mono); overflow-wrap: anywhere; }
.mail-head .mail-subject { font: 700 var(--t-15)/1.3 var(--font-sans); }
.mail-body { padding: 14px 14px 16px; font-size: var(--t-15); }
.mail-body p + p { margin-top: .5em; }
.mail-body a { color: var(--blue); }
/* The example reply's addresses look like the links a mail app makes of them; they are text, not links. */
.mail-reply .mail-body code { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
/* A reply ends beside its postmark. */
.mail-reply .mail-body > :last-child { min-height: 84px; padding-right: 100px; }
.mail > .postmark { position: absolute; right: 10px; bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); padding: 4px 9px; font: 400 .75rem/1.4 var(--font-mono); }
.chip::before { content: ""; width: 10px; height: 10px; background: var(--blue); }

/* Demo: email in, site out. Default state is a plain list plus the finished site. */
#demo { overflow: hidden; overflow-x: clip; }
.demo { display: grid; gap: var(--space-6); align-items: start; }
.demo-mails { display: grid; gap: var(--space-5); }
.demo-who { margin-bottom: var(--space-2); color: var(--grey); }
.demo-site { position: relative; justify-self: center; padding: 0 2em 1em; font-size: 10px; }
.demo-site .postmark { position: absolute; right: -.4em; bottom: -1em; }
.demo-site .pm-updated, .demo-site .pm-undone { display: none; }
@media (min-width: 900px) {
  .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
  .demo-site { font-size: 13px; }
  .demo-site .phone { font-size: 1em; }
}

/* Examples carousel */
/* Its focus ring is drawn inside: on a phone the row runs to both edges of the screen. */
.carousel:focus-visible { outline-offset: -3px; }
.carousel { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) var(--space-4); margin-inline: calc(var(--gutter) * -1); }
.example { flex: 0 0 86%; max-width: 380px; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-3); }
.example-tag { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 32px; }
.example .mail { flex: 1; }
@media (min-width: 1024px) {
  .carousel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); overflow: visible; padding: 0; margin: 0; }
  .example { max-width: none; }
}

/* Prices: a table that stacks on a phone. Its rows are laid out as grids, which is why the cells carry
   their table roles in the markup. */
/* The stamp sits where it would on an envelope: top right on a wide screen, under the words on a phone. */
.prices-top { display: grid; gap: var(--space-6); margin-bottom: var(--space-7); }
.prices-top .section-lead { margin-bottom: 0; }
.postage-unit { display: grid; justify-items: start; gap: var(--space-5); }
.postage-unit .postage { margin-left: 8px; }
/* The Black Friday band (partials/offer.html): the price stamp, postmarked "price lock", and a padlock. The
   still shows the end of the loop: the postmark down, the waves drawn, the lock shut. Out by hand after 30 Nov. */
.offer-band { overflow: hidden; padding-block: var(--space-7); background: var(--ink); color: #fff; --ground: var(--ink); --text: #fff; --line: #fff; --link: #fff; --accent: #fff; --focus: #fff; }
.offer-in { display: grid; gap: var(--space-7); align-items: center; }
.offer-art { position: relative; justify-self: center; padding: 30px 70px 36px 26px; }
.offer-postage .postage-value { font-size: 3.75rem; padding-left: 0; }
.offer-mark { position: absolute; right: 0; bottom: 0; font-size: 11px; }
/* The cancellation bars beside the postmark, and a padlock drawn with boxes: no image, no inline SVG. */
.offer-bars { position: absolute; right: 34px; top: 40px; display: grid; gap: 6px; width: 96px; transform: rotate(-12deg); }
.offer-bars i { display: block; height: 3px; background: var(--red); transform-origin: 100% 50%; }
.offer-lock { position: absolute; left: -4px; top: -10px; width: 48px; height: 64px; transform-origin: 50% 100%; }
.offer-shackle { position: absolute; left: 9px; top: 8px; width: 30px; height: 34px; border: 7px solid #fff; border-bottom: 0; border-radius: 15px 15px 0 0; }
.offer-body { position: absolute; left: 0; bottom: 0; width: 48px; height: 32px; border-radius: 5px; background: #fff; }
.offer-body::before, .offer-body::after { content: ""; position: absolute; left: 50%; background: var(--ink); }
.offer-body::before { top: 7px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; }
.offer-body::after { top: 14px; width: 4px; height: 11px; margin-left: -2px; }
.offer-ticks { position: absolute; left: 0; top: -8px; width: 48px; height: 12px; opacity: 0; transform-origin: 50% 100%; }
.offer-ticks i { position: absolute; bottom: 0; width: 3px; height: 9px; border-radius: 2px; background: #fff; }
.offer-ticks i:nth-child(1) { left: 2px; transform: rotate(-42deg); }
.offer-ticks i:nth-child(2) { left: 22.5px; bottom: 4px; }
.offer-ticks i:nth-child(3) { right: 2px; transform: rotate(42deg); }
.offer-text { display: grid; gap: var(--space-4); max-width: 60ch; }
.offer-text h2 { font: 800 var(--t-h2)/1.02 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.offer-text p { text-wrap: pretty; }
.offer-text a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (min-width: 768px) {
  .offer-in { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-8); }
  .offer-art { margin: 28px 36px; transform: scale(1.22); }
}
.price-offer { max-width: 65ch; margin-bottom: var(--space-7); padding: var(--space-4) var(--space-5); border: var(--edge-2); font-size: var(--t-17); text-wrap: pretty; }
.prices { display: block; }
.prices caption { display: block; padding-bottom: var(--space-4); text-align: left; font-weight: 700; }
.prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.prices tbody { display: block; border-top: var(--edge-3); }
.prices tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--rule); }
.prices th, .prices td { display: block; text-align: left; font-weight: 400; }
.prices tbody th { font-weight: 700; }
.prices .price { max-width: 11.5rem; font: 800 var(--t-21)/1.1 var(--font-display); text-align: right; }
.prices .price .stamp { font-size: var(--t-17); }
.prices .price-note { grid-column: 1 / -1; font-size: var(--t-15); color: var(--grey); max-width: 60ch; text-wrap: pretty; }
.fine-print { display: grid; gap: var(--space-3); margin-top: var(--space-6); padding-left: 1.2em; list-style: square; font-size: var(--t-15); }
.fine-print li { max-width: 75ch; text-wrap: pretty; }
@media (min-width: 768px) {
  .prices tr { grid-template-columns: minmax(0, 1fr) 16rem minmax(0, 1.4fr); column-gap: var(--space-6); padding: var(--space-5) 0; }
  .prices tbody th { font-size: var(--t-21); }
  .prices .price { max-width: none; font-size: var(--t-28); text-align: left; }
  .prices .price .stamp { font-size: 1.375rem; }
  .prices .price-note { grid-column: auto; }
  .prices-top { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); column-gap: var(--space-8); align-items: start; }
  .postage { --r: 6px; gap: 8px; padding: 32px 34px 28px; box-shadow: inset 0 0 0 14px var(--sheet), inset 0 0 0 16px var(--red); }
  .postage-label { font-size: .75rem; }
  .postage-value { font-size: 5.25rem; }
  .postage-brand { font-size: var(--t-15); }
  .postage-currencies { font-size: var(--t-15); }
}

/* Questions */
.faq-grid { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: var(--edge-3); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 60px; padding: 12px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; flex: none; font: 800 1.5rem/1 var(--font-display); color: var(--accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq h3 { font: inherit; font-weight: 700; }
.faq details p { max-width: 60ch; padding-bottom: var(--space-3); text-wrap: pretty; }
.faq details p:last-child { padding-bottom: var(--space-5); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-7); align-items: start; }
}

/* News by email (partials/news.html): the one form of the site, a plain POST to /subscribe that needs no
   script. It comes after the questions on the same ground, so it keeps their two columns and, right after
   them, gives up its own top padding. The box and the field are flat, with the line of the steps and of
   the questions. */
#questions + #news { padding-top: 0; }
.signup-grid { display: grid; gap: 0; }
.signup-box { border-top: var(--edge-3); padding-top: var(--space-4); }
.signup-lead { max-width: 56ch; text-wrap: pretty; }
.signup { display: grid; gap: var(--space-2) var(--space-3); max-width: 36rem; margin-top: var(--space-5); }
.signup label { font-weight: 700; font-size: var(--t-15); }
.signup input, .signup button { margin: 0; }
.signup input { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: var(--edge-2); border-radius: var(--radius-1); background: var(--ground); color: var(--text); font: 500 1rem/1.2 var(--font-mono); }
.signup .btn { cursor: pointer; }
/* A field no person fills in: not drawn, so it is out of sight, out of the tab order and not read out.
   What arrives with something in it was sent by a program that reads the markup alone. */
.signup-trap { display: none; }
@media (min-width: 560px) {
  .signup { grid-template-columns: minmax(0, 1fr) auto; }
  .signup label { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .signup-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-7); align-items: start; }
}

/* Sticky mail bar: sticks to the bottom once the hero has scrolled away */
.mailbar { position: sticky; bottom: 0; z-index: 5; background: var(--ground); border-top: var(--edge-2); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); }
.mailbar .btn-mail { max-width: 480px; margin-inline: auto; }

/* Footer */
.colophon { padding-block: var(--space-7); }
.colophon-in { display: grid; gap: var(--space-4); }
.colophon .wordmark { font-size: var(--t-28); }
.colophon-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.colophon-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.colophon p { font-size: var(--t-15); }
.colophon .colophon-note { font-size: var(--t-13); }
/* The language switcher, "EN · DE": each language of the page, its own one marked and not underlined. */
.lang-switch ul { display: flex; flex-wrap: wrap; align-items: center; }
.lang-switch li + li::before { content: "·"; content: "·" / ""; padding-inline: var(--space-1); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font: 500 var(--t-15)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.lang-switch [aria-current="page"] { text-decoration: none; }
@media (min-width: 768px) {
  .colophon-in { grid-template-columns: 1fr auto; align-items: center; }
  .colophon p, .lang-switch { grid-column: 1 / -1; }
}

/* Notice banner */
.notice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding: 14px 16px; border: var(--edge-2); }
.notice .label { flex: none; padding: 4px 8px; background: var(--text); color: var(--ground); }
.notice p { flex: 1 1 14rem; font-size: var(--t-15); }
.notice-warn { border-color: var(--accent); }
.notice-warn .label { background: var(--accent); }

/* Long-form page: Terms, Privacy, Abuse. The text is Markdown, so its parts are styled by element. */
.doc { display: grid; gap: var(--space-6); padding-block: var(--space-5) var(--section); }
.doc-head h1 { margin: var(--space-6) 0 var(--space-3); }
.doc-meta { font-size: var(--t-15); color: var(--grey); }
.toc { border-top: var(--edge-3); }
.toc h2 { padding: var(--space-3) 0 var(--space-1); color: var(--grey); }
.toc a { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; font-weight: 700; font-size: var(--t-15); }
.toc a:hover { color: var(--accent); }
/* Inside the link: from 1024 px the list scrolls on its own, which would cut off a ring drawn outside. */
.toc a:focus-visible { outline-offset: -3px; }
.toc a span { flex: none; min-width: 1.6em; font: 400 var(--t-13)/1.3 var(--font-mono); color: var(--accent); }
.doc-body { min-width: 0; overflow-wrap: break-word; }
.doc-body > * + * { margin-top: var(--space-3); }
.doc-body h2 { font: 800 var(--t-21)/1.15 var(--font-display); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.doc-body h3 { font: 700 var(--t-17)/1.3 var(--font-sans); margin-top: var(--space-5); scroll-margin-top: 16px; }
.doc-body p, .doc-body li { max-width: 65ch; text-wrap: pretty; }
.doc-body blockquote { max-width: 65ch; margin: var(--space-4) 0; padding-left: var(--space-4); border-left: var(--edge-3); font-size: var(--t-21); line-height: 1.35; }
.doc-body ul, .doc-body ol { padding-left: 1.2em; }
/* A list of pictures (the press kit): each item is a tile with the picture, its name and the file to open. */
.doc-body ul:has(> li > a > img) { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-5) var(--space-4); padding-left: 0; list-style: none; }
.doc-body ul:has(> li > a > img) > li { margin-top: 0; font-size: var(--t-15); }
.doc-body li > a:has(> img) { display: block; aspect-ratio: 4 / 5; margin-bottom: var(--space-2); padding: var(--space-3); border: 1px solid var(--rule); background: var(--mist); }
.doc-body li > a > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.doc-body li > a:has(> img) ~ strong { display: block; }
/* The front page's demo on a text page (the press release): across both columns, on the mist ground. */
.doc-demo { min-width: 0; padding: var(--space-5) var(--space-4) var(--space-6); background: var(--mist); overflow: hidden; overflow-x: clip; }
.doc-demo > .label { margin-bottom: var(--space-4); color: var(--grey); }
.doc-body ul { list-style: square; }
.doc-body ol { list-style: decimal; }
.doc-body li + li, .doc-body li > ul, .doc-body li > ol { margin-top: 6px; }
.doc-body table { width: 100%; border-collapse: collapse; border-top: var(--edge-3); font-size: var(--t-15); }
.doc-body th, .doc-body td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.doc-body th:first-child, .doc-body td:first-child { width: 40%; }
.to-contents { position: sticky; bottom: 12px; display: flex; align-items: center; width: max-content; min-height: 44px; margin: var(--space-6) 0 0 auto; padding: 0 14px; border-radius: var(--radius-1); background: var(--text); color: var(--ground); font-weight: 700; font-size: var(--t-15); text-decoration: none; }
.to-contents:hover { background: var(--accent); color: var(--ground); }
@media (min-width: 1024px) {
  .doc { grid-template-columns: 280px minmax(0, 1fr); column-gap: var(--space-8); }
  .doc-demo { grid-column: 1 / -1; padding: var(--space-6); }
  .doc-head { grid-column: 1 / -1; }
  .toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; }
  .to-contents { display: none; }
}

/* About: a letter from Victor on an airmail sheet. The sheet stays white in both modes, so inside it the
   tokens are the sheet's. His photo is a perforated stamp: holes on a 12 px grid, centred on the edges, cut
   only from its 8 px margin (the photo's own box is kept whole), so the stamp's sizes are multiples of 12. */
.letter-page { padding-block: var(--space-5) var(--section); }
.letter { max-width: 46rem; margin-inline: auto; padding: 10px; background: var(--airmail); color: var(--sheet-text); --text: var(--sheet-text); --grey: var(--sheet-grey); --rule: var(--sheet-rule); --link: var(--blue); --accent: var(--red); --focus: var(--blue); }
.letter-in { padding: var(--space-5) var(--space-4) var(--space-6); background: var(--sheet); }
.letter-head { display: flex; flex-direction: column-reverse; gap: var(--space-4); }
.letter-from { font: 400 var(--t-13)/1.4 var(--font-mono); color: var(--sheet-grey); }
.letter-postage { display: flex; align-items: center; justify-content: flex-end; }
.letter-postmark { position: relative; z-index: 1; margin-right: -24px; font-size: 9px; }
.letter-stamp { flex: none; width: 132px; height: 168px; padding: 8px; background: var(--sheet-mist); transform: rotate(3deg); -webkit-mask: radial-gradient(circle at center, #0000 4px, #000 4.5px) -6px -6px / 12px 12px, linear-gradient(#000 0 0) content-box; mask: radial-gradient(circle at center, #0000 4px, #000 4.5px) -6px -6px / 12px 12px, linear-gradient(#000 0 0) content-box; }
.letter-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.letter-dear { margin: var(--space-5) 0 var(--space-4); font: 800 var(--t-h2)/1 var(--font-display); }
.letter-body > * + * { margin-top: var(--space-4); }
.letter-body p { max-width: 60ch; text-wrap: pretty; }
.letter-close { margin-top: var(--space-6); }
.letter-sign { margin-top: var(--space-1); font: 800 var(--t-28)/1.1 var(--font-display); }
.letter-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-5); margin-top: var(--space-5); border-top: 1px solid var(--sheet-rule); padding-top: var(--space-2); }
.letter-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) {
  .letter { padding: 14px; }
  .letter-in { padding: var(--space-6) var(--space-7) var(--space-7); }
  .letter-head { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .letter-stamp { width: 168px; height: 216px; }
  .letter-postmark { font-size: 10px; }
}

/* 404: a letter that came back */
.not-found { padding-block: var(--space-5) var(--section); }
.not-found .wrap { display: grid; gap: var(--space-4); max-width: 560px; }
.not-found h1 { font-size: var(--t-h2); line-height: 1.02; }
.not-found .btn { margin-top: var(--space-4); }

/* Motion. Everything below is polish; without it the page shows the stills above. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: transform var(--dur-1), background-color var(--dur-1), color var(--dur-1); }
  .faq summary::after { transition: transform var(--dur-2) var(--ease-out); }

  .offer-postage { animation: offer-jolt var(--loop-object) infinite; }
  .offer-mark { animation: offer-thump var(--loop-object) infinite; }
  .offer-bars i { animation: offer-bar var(--loop-object) infinite; }
  .offer-bars i:nth-child(2) { animation-delay: .07s; }
  .offer-bars i:nth-child(3) { animation-delay: .14s; }
  .offer-bars i:nth-child(4) { animation-delay: .21s; }
  .offer-shackle { animation: offer-shackle var(--loop-object) infinite; }
  .offer-lock { animation: offer-click var(--loop-object) infinite; }
  .offer-ticks { animation: offer-ticks var(--loop-object) infinite; }

  .object { perspective: 90em; }
  .object-flip { transform-style: preserve-3d; animation: obj-flip var(--loop-object) infinite; }
  .sheet, .object .phone { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .sheet { transform: none; }
  .object .phone { transform: rotateY(180deg); }
  .sheet .postmark { animation: obj-thump var(--loop-object) infinite; }
  .note { display: block; opacity: 0; }
  .note-update { animation: obj-note2 var(--loop-object) infinite; }
  .note-undo { animation: obj-note3 var(--loop-object) infinite; }
  .note-update .stamp { animation: obj-stamp2 var(--loop-object) infinite; }
  .note-undo .stamp { animation: obj-stamp3 var(--loop-object) infinite; }
  .swap-new { display: inline; opacity: 0; }
  .object .swap-new { animation: obj-new var(--loop-object) infinite; }
  .object .swap-old { animation: obj-old var(--loop-object) infinite; }

  .demo-mails > li { grid-area: 1 / 1; animation: demo-mail var(--loop-demo) infinite backwards; }
  .demo-mails > li:nth-child(2) { animation-delay: 6.5s; }
  .demo-mails > li:nth-child(3) { animation-name: demo-mail-short; animation-delay: 12.5s; }
  .demo-site .phone-page { animation: demo-site var(--loop-demo) infinite; }
  .demo-site .pm-updated, .demo-site .pm-undone { display: grid; }
  .demo-site .pm-published { animation: demo-pm1 var(--loop-demo) infinite; }
  .demo-site .pm-updated { animation: demo-pm2 var(--loop-demo) infinite; }
  .demo-site .pm-undone { animation: demo-pm3 var(--loop-demo) infinite; }
  .demo .swap-new { animation: demo-new var(--loop-demo) infinite; }
  .demo .swap-old { animation: demo-old var(--loop-demo) infinite; }
}

@keyframes offer-thump { 0%, 12% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 15% { opacity: 1; transform: rotate(-12deg) scale(.9); } 17%, 92% { opacity: 1; transform: rotate(-12deg) scale(1); } 97%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes offer-jolt { 0%, 14% { transform: rotate(-4deg); } 15.5% { transform: rotate(-5.5deg) translateY(4px); } 18%, 100% { transform: rotate(-4deg); } }
@keyframes offer-bar { 0%, 17% { opacity: 1; transform: scaleX(0); } 23%, 92% { opacity: 1; transform: scaleX(1); } 97%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes offer-shackle { 0%, 30% { transform: translateY(-11px); } 33% { transform: translateY(2px); } 35%, 93% { transform: none; } 98%, 100% { transform: translateY(-11px); } }
@keyframes offer-click { 0%, 32% { transform: none; } 33.5% { transform: translateY(3px) rotate(4deg); } 36%, 100% { transform: none; } }
@keyframes offer-ticks { 0%, 32% { opacity: 0; transform: scale(.7); } 34% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: scale(1.15); } }
@keyframes obj-flip { 0%, 20% { transform: rotateY(0) rotate(-3deg); } 28%, 90% { transform: rotateY(180deg) rotate(0deg); } 98%, 100% { transform: rotateY(360deg) rotate(-3deg); } }
@keyframes obj-thump { 0%, 9% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 12% { opacity: 1; transform: rotate(-12deg) scale(.9); } 14%, 88% { opacity: 1; transform: rotate(-12deg) scale(1); } 90%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes obj-note2 { 0%, 36% { opacity: 0; transform: translate(-120%, 30px) rotate(-14deg); } 43%, 58% { opacity: 1; transform: translate(0, 0) rotate(-5deg); } 64%, 100% { opacity: 0; transform: translate(120%, -20px) rotate(6deg); } }
@keyframes obj-note3 { 0%, 62% { opacity: 0; transform: translate(-120%, 30px) rotate(-14deg); } 69%, 82% { opacity: 1; transform: translate(0, 0) rotate(4deg); } 88%, 100% { opacity: 0; transform: translate(120%, -20px) rotate(6deg); } }
@keyframes obj-stamp2 { 0%, 45% { opacity: 0; transform: rotate(-10deg) scale(2.4); } 47%, 100% { opacity: 1; transform: rotate(-10deg) scale(1); } }
@keyframes obj-stamp3 { 0%, 71% { opacity: 0; transform: rotate(-10deg) scale(2.4); } 73%, 100% { opacity: 1; transform: rotate(-10deg) scale(1); } }
@keyframes obj-new { 0%, 48% { opacity: 0; } 50%, 74% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes obj-old { 0%, 48% { opacity: 1; } 50%, 74% { opacity: 0; } 76%, 100% { opacity: 1; } }

@keyframes demo-mail { 0% { opacity: 0; transform: translateY(16px); } 2%, 20% { opacity: 1; transform: none; } 23%, 100% { opacity: 0; transform: translate(24%, -30%) rotate(6deg); } }
@keyframes demo-mail-short { 0% { opacity: 0; transform: translateY(16px); } 2%, 12% { opacity: 1; transform: none; } 15%, 100% { opacity: 0; transform: translate(24%, -30%) rotate(6deg); } }
@keyframes demo-site { 0%, 22% { opacity: 0; } 25%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes demo-pm1 { 0%, 22% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 24% { opacity: 1; transform: rotate(-12deg) scale(.9); } 25.5%, 54% { opacity: 1; transform: rotate(-12deg) scale(1); } 56%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes demo-pm2 { 0%, 55.5% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 57.5% { opacity: 1; transform: rotate(-12deg) scale(.9); } 59%, 82% { opacity: 1; transform: rotate(-12deg) scale(1); } 84%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes demo-pm3 { 0%, 83% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 85% { opacity: 1; transform: rotate(-12deg) scale(.9); } 86.5%, 96% { opacity: 1; transform: rotate(-12deg) scale(1); } 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes demo-new { 0%, 56% { opacity: 0; } 58%, 84% { opacity: 1; } 86%, 100% { opacity: 0; } }
@keyframes demo-old { 0%, 56% { opacity: 1; } 58%, 84% { opacity: 0; } 86%, 100% { opacity: 1; } }

/* Paper: black on white, the stills, every answer open, nothing that only a screen can use. */
@media print {
  :root, .hero, .masthead-hero, .section-blue, .colophon { --ground: #fff; --text: #000; --mist: #fff; --grey: #333; --rule: #999; --line: #000; --accent: #000; --link: #000; --action: #fff; --action-text: #000; }
  body, .hero, .masthead-hero, .section-blue, .colophon { background: #fff; color: #000; }
  .skip-link, .site-nav, .airmail-rule, .object, .offer-art, .demo-site, #news, .mailbar, .toc, .to-contents { display: none; }
  .letter { padding: 0; background: none; }
  .hero-in { min-height: 0; }
  .section { padding-block: var(--space-5); }
  .demo-mails > li { grid-area: auto; animation: none; }
  .carousel { display: grid; overflow: visible; margin: 0; padding: 0; }
  .example { max-width: none; }
  .faq details::details-content { content-visibility: visible; }
}
