/* Saira: a squared grotesk in the line of Novarese's Eurostile (Turin, 1962),
   the same Italian industrial vocabulary as Solari's split-flap boards.
   One variable family; roles move along weight and width. */
@font-face {
  font-family: "Saira";
  src: url("fonts/saira-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}

:root {
  /* Jet Links: warm sand paper, near-black ink, Seafoam as fills and marks only. Text is never seafoam. */
  --paper: #F4EEE2;
  --paper-2: #EAE2D2;
  --white: #FFFCF6;
  --ink: #0B0D0C;
  --ink-2: #444947;
  --rule: #DCD3C1;
  --rule-2: #A99F8C;
  --surf: #2EC4A0;
  --surf-rgb: 46, 196, 160;
  --surf-lo: #26B08E;
  --on-surf: #0B0D0C;
  --on-surf-2: #163A30;
  --on-surf-rule: rgba(11, 13, 12, .28);
  --tint: #D3F4EA;
  --desk: #E5DCCB;
  --press: #C9F1E4;
  --heard: #7F857C;
  --strike: #D9472F;
  --ok: #2EC4A0;
  --voice: #2F5FDB;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --sans: "Saira", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--rule-2) var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--ink);
}
::selection { background: var(--surf); color: var(--on-surf); }
img, svg { display: block; }
/* Links are ink with a thick seafoam underline; the underline turns ink on hover. */
a { color: var(--ink); text-decoration-color: var(--surf); text-decoration-thickness: 3px; text-underline-offset: .22em; text-decoration-skip-ink: none; }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
kbd {
  font: inherit;
  font-weight: 600;
  font-size: .82em;
  font-stretch: 100%;
  padding: .08em .42em .12em;
  border: 1px solid var(--rule-2);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--white);
  white-space: nowrap;
}
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

html[data-dl="soon"] .ready-only { display: none !important; }
html[data-dl="ready"] .soon-only { display: none !important; }

/* ---------- seafoam enamel band: header and footer ---------- */
.band { background: var(--surf); color: var(--on-surf); }
.band :focus-visible { outline-color: var(--on-surf); }
/* The mark in the band: a near-black tile with the d in seafoam. */
.mark .m-sq { fill: var(--on-surf); }
.mark .m-d { fill: var(--surf); stroke: var(--surf); }
header.band { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(14, 17, 28, .25), 0 6px 18px -10px rgba(14, 17, 28, .5); }
.band-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-stretch: 112%; font-size: 21px; letter-spacing: -.005em; }
.lockup:hover { color: inherit; }
.mark { width: 30px; height: 30px; }
.band-in nav { display: flex; gap: 26px; margin-left: auto; }
.band-in nav a, .foot-nav a { color: var(--on-surf); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .01em; }
.band-in nav a:hover, .foot-nav a:hover { color: var(--on-surf); text-decoration: underline; text-decoration-color: var(--on-surf); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.band-gh { display: inline-flex; align-items: center; color: var(--on-surf); opacity: .9; }
.band-gh:hover { color: var(--on-surf); opacity: 1; }
.band-gh svg { width: 24px; height: 24px; fill: currentColor; }
/* Buy Me a Coffee, in its own yellow so it reads as their button, not ours. */
.band-bmc {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  background: #FFDD00; color: #0D0C22; border-radius: 7px;
  font-weight: 650; font-size: 15px; text-decoration: none;
  box-shadow: 0 2px 6px -2px rgba(14, 17, 28, .45);
  transition: background-color .2s var(--ease-out);
}
.band-bmc:hover { background: #FFE83D; color: #0D0C22; }
.band-bmc svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 760px) {
  .band-in nav { display: none; }
  .band-gh { margin-left: auto; }
}

/* ---------- plates (buttons) ---------- */
.plate {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 8px;
  font: 600 16px/1.1 var(--sans); font-stretch: 104%; letter-spacing: .01em;
  text-decoration: none; color: var(--ink); background: var(--white);
  border: 1px solid var(--rule-2);
  box-shadow: 0 1px 2px rgba(17, 19, 23, .08);
  transition: background-color .2s var(--ease-out), transform .12s var(--ease-out), box-shadow .2s var(--ease-out);
}
.plate:hover { color: var(--ink); background: #fff; box-shadow: 0 4px 12px -4px rgba(17, 19, 23, .2); }
.plate:active { transform: translateY(1px); }
.plate svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plate svg.os { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.plate.primary,
html[data-os="mac"] .acts .plate[data-dl="mac"],
html[data-os="win"] .acts .plate[data-dl="windows"] { background: var(--surf); border-color: transparent; color: var(--on-surf); box-shadow: 0 1px 1px rgba(14, 17, 28, .12), 0 8px 20px -10px rgba(var(--surf-rgb), .9); }
.plate.primary:hover,
html[data-os="mac"] .acts .plate[data-dl="mac"]:hover,
html[data-os="win"] .acts .plate[data-dl="windows"]:hover { background: var(--surf-lo); color: var(--on-surf); box-shadow: 0 1px 1px rgba(14, 17, 28, .12), 0 12px 26px -10px rgba(var(--surf-rgb), 1); }

/* ---------- hero: the pitch on the left, a small screen on the right ---------- */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(8px, 2vw, 24px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
h1 {
  font-weight: 700; font-stretch: 104%;
  font-size: clamp(42px, 4.9vw, 70px); line-height: .94; letter-spacing: -.02em;
}
h1 .l1 { white-space: nowrap; }
/* The shortcut is set as two keycaps inside the headline. They go down whenever the demo listens, and you can hold them. */
h1 .hk {
  display: inline-block; font-size: .8em; line-height: 1; padding: .06em .16em .1em; margin: 0 .02em;
  background: var(--white); color: var(--ink); border: .035em solid var(--rule-2); border-bottom-width: .1em; border-radius: .14em;
  box-shadow: 0 .06em .12em rgba(14, 17, 28, .12); vertical-align: .06em;
  cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: transform .1s ease-out, border-bottom-width .1s ease-out, background-color .15s, color .15s, box-shadow .15s;
}
h1 .hk.down { transform: translateY(.05em); border-bottom-width: .035em; background: var(--press); color: var(--ink); box-shadow: 0 0 0 .06em rgba(var(--surf-rgb), .45); }
h1 .hk-plus { display: inline-block; margin: 0 .06em; color: var(--ink-2); font-size: .7em; vertical-align: .14em; }
h1 .cur { display: inline-block; width: .075em; height: .74em; margin-left: .06em; vertical-align: -.02em; background: var(--ink); border-radius: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.lead strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
/* The three promises: one quiet line, set like the column heads of a timetable. */
.claims {
  list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; row-gap: 8px;
  border-top: 1px solid var(--rule); justify-self: stretch;
}
.claims li { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.claims li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 14px; border-radius: 50%; background: var(--surf); vertical-align: .22em; }
@media (max-width: 560px) {
  .claims { column-gap: 18px; }
  .claims li { font-size: 12px; letter-spacing: .08em; }
  .claims li + li::before { display: none; }
}
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.acts .plate svg { transition: transform .25s var(--ease-out); }
.acts .plate:hover svg { transform: translateX(3px); }
.acts .plate:hover svg.os { transform: none; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0 4px;
  color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none;
  border-bottom: 1.5px solid var(--rule-2); transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.textlink:hover { color: var(--ink); border-bottom-color: var(--surf); }
.textlink svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.textlink:hover svg { transform: translateY(2px); }
/* the detected OS gets the highlighted button, and comes first */
html[data-os="mac"] .acts [data-dl="mac"] { order: -1; }
.fine { font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { h1 .l1 { white-space: normal; } }

/* ---------- the demo: a small screen with one app window and the line at its foot ---------- */
.hero-demo { display: grid; gap: 14px; min-width: 0; }
.screen {
  position: relative; display: grid; justify-items: center;
  padding: clamp(22px, 3vw, 40px) clamp(16px, 3vw, 36px) 80px;
  background: var(--desk); border: 1px solid var(--rule-2); border-radius: 18px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 30px 60px -44px rgba(14, 17, 28, .55);
}
.app {
  width: 100%; max-width: 470px; overflow: hidden; font-size: 18px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(14, 17, 28, .06), 0 18px 36px -22px rgba(14, 17, 28, .45);
}
.app-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.app-hd span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-hd svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-hd .ctx { font-weight: 500; }
.app-hd .av { width: 16px; height: 16px; border-radius: 50%; background: var(--tint); }
.app-body { display: flex; flex-direction: column; gap: 12px; min-height: 9.6em; padding: 16px 18px 20px; }
.app .swap { transition: opacity .35s var(--ease-out); }
.app.out .swap { opacity: 0; }
.ph { display: block; flex: none; height: 8px; border-radius: 4px; background: var(--paper-2); }
.bub { flex: none; align-self: flex-start; width: 58%; height: 26px; border-radius: 12px; background: var(--paper-2); }
.say { line-height: 1.5; }
.say.me { align-self: flex-end; max-width: 90%; padding: .35em .7em; border-radius: 1em 1em .25em 1em; background: var(--tint); }
.say.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8em; }
/* A word as said: grey while it is heard, struck out if it is filler, Cobalt Ink for a moment if the cleanup rewrote it. */
.wd {
  display: inline-block; position: relative; vertical-align: bottom; white-space: nowrap; max-width: 12em; margin-right: .26em;
  color: var(--heard); opacity: 0; transform: translateY(.25em);
  transition: opacity .25s, transform .3s var(--ease-out), max-width .45s ease, margin .45s ease, color .4s, background-color .4s;
}
.wd.in { opacity: 1; transform: none; }
.wd::after { content: ""; position: absolute; left: -.08em; right: -.08em; top: 55%; height: 2px; background: var(--strike); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.wd.strike { color: var(--strike); }
.wd.strike::after { transform: scaleX(1); }
.wd.drop { max-width: 0; margin-right: 0; opacity: 0; }
.say.clean .wd { color: var(--ink); }
.say.code.clean .wd { color: var(--ink-2); }
.say .wd.fix { color: var(--ink); background-color: var(--tint); border-radius: .15em; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: var(--ink); animation: blink 1.1s steps(1) infinite; }
/* The line, where it sits on your screen: drawn on a canvas in the app's own pixels and scaled up. */
.dock { position: absolute; left: 50%; bottom: 16px; width: 210px; transform: translateX(-50%); }
.dock canvas { display: block; width: 100%; aspect-ratio: 170 / 36; }
.hint { font-size: 14px; color: var(--ink-2); text-align: center; }
.hint kbd { font-size: .86em; }
/* Once the demo stacks under the copy, the headline can be out of view, so the keys come back under the screen. */
.hold {
  display: none; justify-self: center; align-items: center; gap: 8px; padding: 6px; margin: -6px;
  background: transparent; border: 0; border-radius: 12px; color: var(--ink); font: inherit; cursor: pointer;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.hold kbd {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  font-size: 15px; color: var(--ink-2); border-bottom-width: 4px; border-radius: 9px;
  transition: transform .1s ease-out, border-bottom-width .1s ease-out, background-color .12s, color .12s;
}
.hold kbd.space { min-width: 130px; }
.hold kbd i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); transition: background-color .12s, box-shadow .12s; }
.hold kbd.down { transform: translateY(3px); border-bottom-width: 1px; background: var(--press); color: var(--ink); }
.hold kbd.down i { background: var(--voice); box-shadow: 0 0 0 4px rgba(47, 95, 219, .18); }
.hold .plus { color: var(--ink-2); font-weight: 600; }
.hold-l { margin-left: 8px; font-size: 15px; font-weight: 600; }
@media (max-width: 960px) {
  .hint { display: none; }
  .hold { display: inline-flex; }
}
@media (max-width: 560px) {
  .app { font-size: 16px; }
  .hold-l { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  h1 .cur, .caret { animation: none; }
  h1 .hk, .wd, .wd::after, .app .swap, .hold kbd { transition: none; }
}

/* ---------- sections on timetable paper ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0 0; scroll-margin-top: 62px; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.grid > * { grid-column: 1 / -1; }
.sec-head { grid-column: 1 / span 4; display: grid; gap: 20px; align-content: start; justify-items: start; }
/* Section titles: a platform number over a plain ink headline. */
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: -6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.plat {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
  background: var(--surf); color: var(--on-surf); letter-spacing: 0;
  font-weight: 700; font-stretch: 100%; font-size: 16px; line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1.5px rgba(11, 13, 12, .55), inset 0 0 0 3px var(--surf);
}
.sign {
  color: var(--ink);
  font-weight: 700; font-stretch: 100%; font-size: clamp(34px, 3.6vw, 50px); line-height: .98; letter-spacing: -.02em;
}
.h-sub { font-weight: 700; font-stretch: 100%; font-size: clamp(27px, 2.6vw, 34px); line-height: 1; letter-spacing: -.015em; }
.sec-head.sub { border-top: 3px solid var(--ink); padding-top: 22px; justify-items: stretch; }
.sec-head p { color: var(--ink-2); max-width: 34ch; }
.sec-head.sub { margin-top: clamp(56px, 6vw, 88px); }
.grid > .note { grid-column: 5 / -1; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) {
  .sec-head, .grid > .note { grid-column: 1 / -1; }
}

.timetable, .keys, .things { list-style: none; margin: 0; padding: 0; }
.timetable { grid-column: 5 / -1; border-top: 3px solid var(--ink); counter-reset: none; }
.timetable li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.when { font-weight: 700; font-stretch: 100%; font-size: 26px; line-height: 1; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums;
  text-decoration: underline; text-decoration-color: var(--surf); text-decoration-thickness: 4px; text-underline-offset: .2em; text-decoration-skip-ink: none; }
.timetable h3, .keys h3, .things h3 { font-weight: 650; font-stretch: 100%; font-size: 20px; line-height: 1.25; margin-bottom: 6px; }
.timetable p, .keys p, .things p { color: var(--ink-2); max-width: 62ch; }
@media (max-width: 960px) {
  .timetable, .keys, .things { grid-column: 1 / -1; margin-top: 28px; }
}
@media (max-width: 560px) {
  .timetable li { grid-template-columns: 1fr; gap: 10px; }
}

/* route map */
.routes { grid-column: 5 / -1; border-top: 3px solid var(--ink); padding-top: 22px; }
.route-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.route-pick button {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px;
  background: var(--white); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px;
  font: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.route-pick button:hover { border-color: var(--rule-2); box-shadow: 0 4px 12px -6px rgba(17, 19, 23, .25); }
.route-pick b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 2px solid var(--ink); font-weight: 700; font-stretch: 100%; font-size: 20px; }
.route-pick span { display: grid; font-weight: 600; font-stretch: 100%; font-size: 17px; line-height: 1.2; }
.route-pick small { font-weight: 400; font-stretch: 100%; font-size: 13px; color: var(--ink-2); }
.route-pick button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.route-pick button[aria-pressed="true"] b { background: var(--surf); border-color: var(--ink); color: var(--on-surf); }
.map { position: relative; margin-top: 26px; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.map .zone-cloud { fill: url(#hatch); }
.map .zone-line { stroke: var(--rule); stroke-width: 1; }
.map .ln { fill: none; stroke: var(--rule); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s var(--ease-out), stroke-width .4s var(--ease-out); }
.map .ln.on { stroke: var(--surf); stroke-width: 9; }
.map .ln.fb { stroke-dasharray: 2 12; stroke-width: 5; }
.map .ln.fb.on { stroke: var(--surf-lo); stroke-width: 5; }
.map .st { fill: var(--white); stroke: var(--rule-2); stroke-width: 3; transition: stroke .4s var(--ease-out); }
.map .st.on { stroke: var(--ink); stroke-width: 4; }
.map .zl { position: absolute; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.map .lab { position: absolute; width: 22%; transition: opacity .4s var(--ease-out); }
.map .lab b { display: block; font-weight: 650; font-stretch: 100%; font-size: 16px; line-height: 1.2; }
.map .lab span { display: block; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.map .lab.off { opacity: .45; }
.route-say { margin-top: 22px; display: grid; gap: 12px; }
.route-say p { max-width: 62ch; color: var(--ink-2); }
.route-say p:first-child, .route-say p[data-for]:not([hidden]) { color: var(--ink); font-size: 18px; }
.route-say .note { font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .routes { grid-column: 1 / -1; margin-top: 28px; } }

/* enamel privacy notice */
.notice-sec { padding: clamp(72px, 9vw, 128px) 0 0; scroll-margin-top: 62px; }
.enamel {
  background: var(--surf); color: var(--on-surf); border-radius: 22px; padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .18), 0 30px 60px -36px rgba(14, 17, 28, .45), 0 8px 18px -10px rgba(14, 17, 28, .3);
}
.enamel-in { border: 2px solid rgba(11, 13, 12, .8); border-radius: 14px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 36px; }
.enamel h2 { grid-column: 1 / span 5; font-weight: 700; font-stretch: 100%; font-size: clamp(36px, 4.2vw, 60px); line-height: .96; letter-spacing: -.02em; }
.facts { grid-column: 7 / -1; list-style: none; margin: 0; padding: 0; }
.facts li { padding: 14px 0 16px; border-top: 1px solid var(--on-surf-rule); color: var(--on-surf-2); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts strong { color: var(--on-surf); font-weight: 600; }
.enamel-link { grid-column: 7 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--on-surf); font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(11, 13, 12, .45); padding-bottom: 3px; }
.enamel-link:hover { color: var(--on-surf); border-bottom-color: var(--on-surf); }
.enamel-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.enamel-link:hover svg { transform: translateX(3px); }
.enamel :focus-visible { outline-color: var(--on-surf); }
@media (max-width: 960px) {
  .enamel h2, .facts, .enamel-link { grid-column: 1 / -1; }
  .enamel { border-radius: 16px; padding: 8px; }
  .enamel-in { border-radius: 10px; }
}

/* keys and things */
.keys { grid-column: 5 / -1; border-top: 3px solid var(--ink); }
.keys li { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.combo { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.combo kbd { font-size: 15px; padding: 5px 11px 6px; border-bottom-width: 3px; border-radius: 7px; }
@media (max-width: 960px) { .keys { grid-column: 1 / -1; margin-top: 28px; } }
@media (max-width: 560px) { .keys li { grid-template-columns: 1fr; gap: 12px; } }
.things { grid-column: 5 / -1; border-top: 3px solid var(--ink); }
.things li { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.things h3 { font-weight: 700; font-stretch: 100%; font-size: 23px; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
@media (min-width: 961px) { .things { margin-top: clamp(56px, 6vw, 88px); } }
@media (max-width: 960px) { .sec-head.sub { margin-top: 64px; } .things { grid-column: 1 / -1; margin-top: 28px; } }
@media (max-width: 560px) { .things li { grid-template-columns: 1fr; gap: 8px; } }

/* platforms */
.platforms { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); border-top: 3px solid var(--ink); padding-top: 24px; }
html[data-os="mac"] [data-os-card="mac"] { order: -1; }
.platform { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; }
.psign {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px;
  padding: 18px 22px 20px; border-radius: 10px; background: var(--surf); color: var(--on-surf);
}
.psign h3 { font-weight: 700; font-stretch: 100%; font-size: clamp(27px, 2.6vw, 34px); line-height: 1; letter-spacing: -.015em; }
.yours { display: none; flex: none; padding: 5px 9px; border-radius: 4px; background: var(--on-surf); color: var(--surf); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html[data-os="win"] [data-os-card="win"] .yours, html[data-os="mac"] [data-os-card="mac"] .yours { display: inline-block; }
.pspec { margin: 4px 24px 0; }
.pspec > div { padding: 14px 0 15px; border-bottom: 1px solid var(--rule); }
.pspec > div:last-child { border-bottom: 0; }
.pspec dt { font-weight: 650; font-stretch: 100%; font-size: 17px; line-height: 1.3; margin-bottom: 3px; }
.pspec dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.pspec dd strong { display: block; color: var(--ink); font-weight: 600; }
.pspec .key dt { color: var(--ink); }
.pspec kbd { font-size: .82em; }
.pact { margin-top: auto; padding: 8px 24px 24px; }
.pact .plate { width: 100%; }
@media (max-width: 960px) { .platforms { grid-column: 1 / -1; margin-top: 28px; } }
@media (max-width: 700px) { .platforms { grid-template-columns: 1fr; } }

/* faq */
.faq { grid-column: 5 / -1; border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-weight: 600; font-stretch: 100%; font-size: 20px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--surf); text-decoration-thickness: 3px; text-underline-offset: .22em; text-decoration-skip-ink: none; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 960px) { .faq { grid-column: 1 / -1; margin-top: 28px; } }

/* support: a ticket with a tear-off stub */
.ticket {
  --notch: 14px;
  grid-column: 5 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 220px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 30px 60px -40px rgba(14, 17, 28, .4), 0 6px 14px -10px rgba(14, 17, 28, .25);
  position: relative;
}
.ticket-main { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 14px; align-content: start; }
.ticket-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ticket h3 { font-weight: 700; font-stretch: 100%; font-size: clamp(25px, 2.4vw, 31px); line-height: 1.02; letter-spacing: -.015em; }
.ticket-main > p:not(.ticket-k) { color: var(--ink-2); max-width: 58ch; }
.ticket-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 10px; }
/* Buy Me a Coffee's own yellow, as in the header. */
.plate.bmc { background: #FFDD00; color: #0D0C22; border-color: transparent; box-shadow: 0 1px 1px rgba(14, 17, 28, .12), 0 8px 20px -10px rgba(160, 130, 0, .7); }
.plate.bmc:hover { background: #FFE83D; color: #0D0C22; }
.plate.bmc svg { transition: transform .3s var(--ease-out); }
.plate.bmc:hover svg { transform: rotate(-8deg); }
.ticket-acts .textlink svg { transition: transform .25s var(--ease-out); }
.ticket-acts .textlink:hover svg { transform: translateX(3px); }
.ticket-stub {
  position: relative; display: flex; flex-direction: column; gap: 8px; justify-content: center;
  padding: 28px 26px; margin: 10px 10px 10px 0; border-radius: 0 9px 9px 0;
  background: var(--surf); color: var(--on-surf);
}
.ticket-stub .ticket-k { color: var(--on-surf-2); }
.ticket-stub strong { font-weight: 700; font-stretch: 100%; font-size: 38px; line-height: .98; letter-spacing: -.02em; margin-bottom: 8px; }
.ticket-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; border-top: 1px solid var(--on-surf-rule); font-size: 13px; }
.ticket-row span { color: var(--on-surf-2); letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; font-weight: 560; }
.ticket-row b { font-weight: 600; }
/* Perforation between the ticket and its stub, with a notch bitten out top and bottom. */
.ticket::before {
  content: ""; position: absolute; top: 18px; bottom: 18px; right: 230px;
  border-left: 2px dashed var(--rule-2);
}
.ticket-main::before, .ticket-main::after {
  content: ""; position: absolute; right: calc(230px - var(--notch)); width: calc(var(--notch) * 2); height: var(--notch);
  background: var(--paper); border: 1px solid var(--rule);
}
.ticket-main::before { top: -1px; border-top: 0; border-radius: 0 0 var(--notch) var(--notch); }
.ticket-main::after { bottom: -1px; border-bottom: 0; border-radius: var(--notch) var(--notch) 0 0; }
@media (max-width: 960px) { .ticket { grid-column: 1 / -1; margin-top: 28px; } }
@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket-main::before, .ticket-main::after { display: none; }
  .ticket-main { border-bottom: 2px dashed var(--rule-2); }
  .ticket-stub { margin: 10px; border-radius: 9px; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 18px; }
  .ticket-stub strong { font-size: 30px; margin: 0 auto 0 0; }
  .ticket-stub .ticket-k { width: 100%; }
  .ticket-row { width: 100%; }
}

/* footer */
.foot { margin-top: clamp(88px, 10vw, 144px); }
.foot-in { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; min-height: 92px; padding-top: 18px; padding-bottom: 18px; }
.foot-say { color: var(--on-surf-2); font-size: 15px; }
.foot-nav { display: flex; gap: 24px; margin-left: auto; }
@media (max-width: 640px) { .foot-nav { margin-left: 0; width: 100%; } }

/* ---------- reading page (privacy) ---------- */
.doc { padding: clamp(48px, 7vw, 96px) 0 0; }
.doc .grid > header { grid-column: 1 / span 4; display: grid; gap: 18px; align-content: start; justify-items: start; }
.doc h1.sign { font-size: clamp(38px, 4.4vw, 58px); }
.doc header p { color: var(--ink-2); max-width: 34ch; }
.doc article { grid-column: 5 / -1; border-top: 3px solid var(--ink); padding-top: 22px; max-width: 760px; }
.doc article h2 { font-weight: 700; font-stretch: 100%; font-size: 28px; line-height: 1.05; letter-spacing: -.015em; margin: 48px 0 14px; }
.doc article h2:first-child { margin-top: 6px; }
.doc article p, .doc article li { color: var(--ink-2); }
.doc article p + p { margin-top: 14px; }
.doc article strong { color: var(--ink); font-weight: 600; }
.doc article ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.doc article ul + p { margin-top: 16px; }
.doc article code { font: 500 .88em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--paper-2); padding: .15em .35em; border-radius: 4px; color: var(--ink); }
.doc .tt { width: 100%; border-collapse: collapse; margin: 18px 0 18px; font-size: 15.5px; }
.doc .tt th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: 0 16px 10px 0; border-bottom: 2px solid var(--ink); }
.doc .tt td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.doc .tt td:first-child { color: var(--ink); font-weight: 600; width: 34%; }
.doc .back { display: inline-flex; margin-top: 8px; }
@media (max-width: 960px) {
  .doc .grid > header, .doc article { grid-column: 1 / -1; }
  .doc article { margin-top: 32px; }
}
@media (max-width: 560px) {
  .doc .tt, .doc .tt tbody, .doc .tt tr, .doc .tt td { display: block; width: 100%; }
  .doc .tt thead { display: none; }
  .doc .tt tr { border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .doc .tt td { border: 0; padding: 2px 0; }
  .doc .tt td:first-child { width: 100%; }
}
