/* The inner pages (sign-in, the app, admin, blog, terms), on top of styles.css's tokens, bar, buttons and footer. */
.page { padding: calc(var(--bar-h) + 48px) 0 96px; min-height: 80svh; }
.page-narrow { max-width: 760px; }
.page h1 { font-size: clamp(40px, 5vw, 72px); text-shadow: 0.05em 0.05em 0 var(--violet-lo); }
.page .sub { margin-top: 16px; color: var(--muted); font-size: 19px; max-width: 40em; }
.bar.solid { background: rgb(6 8 24 / 0.94); }
.bar .bar-link { padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: 15px; color: #fff; opacity: 0.86; }
.bar .bar-link:hover { opacity: 1; color: var(--gold); }
.card { background: var(--surface); box-shadow: 0 0 0 2px var(--line); padding: 24px; }
.card-gold { background: var(--gold); color: var(--ink-dark); box-shadow: 10px 12px 0 0 var(--gold-lo); }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field label { font-weight: 600; }
.field input { width: 100%; padding: 14px 16px; border: 0; border-radius: 0; background: var(--night); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); font: 500 18px/1.2 var(--ft); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.code-input { letter-spacing: 0.4em; font: 700 28px/1 var(--ft) !important; text-align: center; }
.msg { margin-top: 14px; min-height: 1.5em; color: var(--muted); }
.msg.err { color: #ff8c7a; }
.tick { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.tick input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--gold); }
.small { font-size: 14px; color: var(--muted); }
.small a { color: inherit; }

/* the checkout dialog */
.start-dialog { max-width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 3px var(--gold), 16px 18px 0 0 #000; }
.start-dialog::backdrop { background: rgb(4 5 16 / 0.78); }
.start-in { padding: 28px clamp(20px, 4vw, 36px) 30px; }
.start-in h2 { font-size: clamp(30px, 4vw, 42px); }
.start-sum { margin-top: 18px; display: grid; gap: 10px; }
.start-sum li { display: flex; gap: 12px; align-items: baseline; }
.start-sum li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gold); }
.start-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.start-x:hover { color: #fff; }
.start-form .btn { margin-top: 22px; }

/* the app */
.app-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.status { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 20px 24px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); }
.status b { color: var(--gold); }
.status.warn { box-shadow: 0 0 0 2px var(--coral); }
.pill { display: inline-block; padding: 4px 10px; font: 700 14px/1.2 var(--fd); background: var(--gold); color: var(--ink-dark); }
.pill.violet { background: var(--violet); color: #fff; }
.pill.coral { background: var(--coral); color: var(--ink-dark); }
.sec { margin-top: 64px; }
.sec h2 { font-size: clamp(30px, 3.4vw, 46px); }
.sec-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.tgroup { margin-top: 26px; }
.tgroup h3 { font-size: 22px; color: var(--muted); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.tool { display: grid; gap: 6px; align-content: start; padding: 16px 18px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); text-decoration: none; transition: box-shadow 160ms, transform 160ms; }
.tool:hover { box-shadow: 0 0 0 2px var(--gold); transform: translateY(-2px); }
.tool b { font-weight: 600; font-size: 17px; }
.tool span { color: var(--muted); font-size: 14px; }
.tool em { font-style: normal; font: 700 13px/1 var(--fd); color: var(--gold); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.filters input { flex: 1 1 260px; padding: 12px 14px; border: 0; background: var(--night); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); font: 500 16px var(--ft); }
.filters select { padding: 12px 14px; border: 0; background: var(--night); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); font: 500 16px var(--ft); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.pk { display: grid; background: var(--surface); box-shadow: 0 0 0 2px var(--line); }
.pk img { width: 100%; height: auto; aspect-ratio: 630 / 500; object-fit: cover; image-rendering: pixelated; background: #0b0b12; }
.pk div { display: grid; gap: 4px; padding: 12px 14px 14px; }
.pk b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.pk span { color: var(--muted); font-size: 13px; }
.pk a.btn { margin-top: 8px; padding: 9px 12px; font-size: 15px; }
.pk.locked a.btn { --b: var(--raised); --lo: #000; --fg: var(--muted); }
.empty { padding: 30px; text-align: center; color: var(--muted); }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 14px 20px; background: var(--gold); color: var(--ink-dark); font-weight: 600; box-shadow: 8px 10px 0 0 #000; }

/* admin */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 28px; }
.kpi { padding: 18px 20px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); }
.kpi p { color: var(--muted); font-size: 14px; }
.kpi b { display: block; margin-top: 6px; font: 600 32px/1 var(--ft); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi.gold { background: var(--gold); color: var(--ink-dark); box-shadow: none; }
.kpi.gold p { color: #4a3c0a; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 16px; margin-top: 16px; }
.chart { padding: 18px 20px 14px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); }
.chart h3 { font: 600 16px/1.2 var(--ft); color: var(--ink); }
.chart h3 small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.chart svg { display: block; width: 100%; height: 170px; margin-top: 12px; overflow: visible; }
.chart .bar-r { fill: var(--gold); }
.chart .bar-r.v { fill: var(--violet-hi); }
.chart .bar-r.c { fill: var(--coral); }
.chart .bar-r:hover { fill: #fff; }
.chart .axis { fill: var(--muted); font: 11px var(--ft); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.tip { position: fixed; z-index: 90; pointer-events: none; padding: 6px 10px; background: var(--night); box-shadow: 0 0 0 2px var(--gold); font: 500 13px/1.3 var(--ft); color: var(--ink); white-space: nowrap; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--muted); font-weight: 600; }
.tbl td.n { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 16px; }
.range { display: inline-flex; gap: 6px; }
.range button { padding: 8px 12px; border: 0; background: var(--raised); color: var(--ink); font: 600 14px var(--ft); cursor: pointer; }
.range button[aria-pressed="true"] { background: var(--gold); color: var(--ink-dark); }

/* blog and legal prose */
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; color: #e3e1ee; }
.prose h2 { margin: 48px 0 14px; font-size: clamp(28px, 3vw, 38px); color: var(--ink); text-shadow: 0.05em 0.05em 0 var(--violet-lo); }
.prose h3 { margin: 30px 0 10px; font: 600 21px/1.3 var(--ft); color: var(--ink); }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin: 6px 0; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose code { padding: 2px 6px; background: var(--raised); font-size: 0.9em; }
.prose blockquote { padding: 4px 0 4px 18px; box-shadow: inset 4px 0 0 0 var(--gold); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); }
.prose hr { border: 0; height: 2px; background: var(--line); margin: 36px 0; }
.post-meta { margin-top: 16px; color: var(--muted); font-size: 15px; }
.cta-box { display: grid; gap: 12px; justify-items: start; margin: 32px 0; padding: 24px 26px; background: var(--gold); color: var(--ink-dark); box-shadow: 10px 12px 0 0 var(--gold-lo); }
.cta-box p { margin: 0; color: var(--ink-dark); font-size: 17px; }
.cta-box strong { color: var(--ink-dark); font-family: var(--fd); font-size: 24px; font-weight: 700; }
.cta-box .btn { --b: var(--ink-dark); --lo: #000; --fg: var(--gold); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 36px; }
.post-card { display: grid; gap: 10px; align-content: start; padding: 22px 24px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); text-decoration: none; transition: box-shadow 160ms, transform 160ms; }
.post-card:hover { box-shadow: 0 0 0 2px var(--gold); transform: translateY(-3px); }
.post-card h2 { font-size: 24px; line-height: 1.1; }
.post-card p { color: var(--muted); font-size: 15px; }
.post-card span { font: 700 13px/1 var(--fd); color: var(--gold); }

/* tools, packs, pricing, licence: the site's own pages (pages.py) */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span:last-child { color: var(--ink); }
.tp-head { margin-top: 18px; }
.tp-head h1, .pp-copy h1 { margin-top: 6px; }
.tp-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.tp-act .small { max-width: 34em; }
.shot { margin-top: 36px; }
.shot img, .pp-hero img { display: block; width: 100%; height: auto; image-rendering: pixelated; background: #0b0b12; box-shadow: 0 0 0 3px var(--line), 12px 14px 0 0 #000; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; margin-top: 20px; }
.tp-side { position: sticky; top: calc(var(--bar-h) + 24px); margin-top: 48px; padding: 22px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); }
.tp-side p { color: var(--muted); font-size: 15px; }
.tp-side .btn { margin-top: 16px; }
.tp-label { font: 700 15px/1 var(--fd) !important; color: var(--gold) !important; margin-bottom: 10px; }
.prose ul.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.prose ul.chips li { margin: 0; padding: 6px 12px; background: var(--raised); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 40px; }
.gallery img { display: block; width: 100%; height: auto; image-rendering: pixelated; background: #0b0b12; box-shadow: 0 0 0 2px var(--line); }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 20px; }
.pk-card { display: grid; align-content: start; gap: 4px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); text-decoration: none; transition: box-shadow 160ms, transform 160ms; }
.pk-card:hover { box-shadow: 0 0 0 2px var(--gold); transform: translateY(-3px); }
.pk-card img { width: 100%; height: auto; aspect-ratio: 630 / 500; object-fit: cover; image-rendering: pixelated; background: #0b0b12; }
.pk-card b { padding: 10px 14px 0; font-weight: 600; font-size: 16px; line-height: 1.25; }
.pk-card span { padding: 0 14px 14px; color: var(--muted); font-size: 13.5px; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 20px; }
.tl-card { display: grid; align-content: start; gap: 6px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); text-decoration: none; transition: box-shadow 160ms, transform 160ms; }
.tl-card:hover { box-shadow: 0 0 0 2px var(--gold); transform: translateY(-3px); }
.tl-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; image-rendering: pixelated; background: #0b0b12; }
.tl-card b { padding: 10px 16px 0; font: 700 21px/1.1 var(--fd); }
.tl-card span { padding: 0 16px 16px; color: var(--muted); font-size: 14.5px; }
.sec h2 small { margin-left: 10px; font: 600 15px/1 var(--ft); color: var(--gold); vertical-align: middle; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cat-chips a { padding: 7px 12px; background: var(--raised); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.cat-chips a:hover { background: var(--gold); color: var(--ink-dark); }
.pp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 24px; }
.facts div { padding: 12px 14px; background: var(--surface); box-shadow: 0 0 0 2px var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin-top: 4px; font-weight: 600; font-size: 15px; }
.pack-text { margin-top: 44px; }
.pr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; }
.pr-top h1 .gold { color: var(--gold); }
.pr-box { padding: 26px 28px; background: var(--surface); box-shadow: 0 0 0 3px var(--gold), 12px 14px 0 0 #000; scroll-margin-top: calc(var(--bar-h) + 20px); }
.pr-price { font: 700 22px/1.1 var(--fd); }
.pr-price b { font-size: 56px; color: var(--gold); }
.pr-box .small { margin-top: 10px; }
.incl-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 28px; margin-top: 18px; }
.two-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; }
.two-tables h2 { font-size: clamp(26px, 2.6vw, 34px); }
.two-tables .else-table { margin-top: 18px; width: 100%; }
.nf { padding: 60px 0; }
@media (max-width: 900px) {
  .tp-grid, .pp-top, .pr-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tp-side { position: static; margin-top: 0; }
}
/* blog pictures */
.prose figure, .post-hero { margin: 30px 0; }
.prose figure img, .post-hero img { display: block; width: 100%; height: auto; image-rendering: pixelated; background: #0b0b12; box-shadow: 0 0 0 2px var(--line), 10px 12px 0 0 #000; }
.prose figure a { display: block; text-decoration: none; }
.prose figcaption, .post-hero figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.post-hero { max-width: 980px; margin-top: 34px; }
.post-card img { width: calc(100% + 48px); max-width: none; margin: -22px -24px 6px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; image-rendering: pixelated; background: #0b0b12; }
/* a tool inside the app */
.embed-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.embed-top a.back { color: var(--muted); text-decoration: none; font-size: 15px; }
.embed-top a.back:hover { color: var(--gold); }
.embed-frame { display: block; width: 100%; min-height: 70svh; margin-top: 20px; border: 0; background: #0b0b12; box-shadow: 0 0 0 2px var(--line); }

/* ---------- every inner page: a night sky over the top, blocks that rise, pictures that open ---------- */
.page { position: relative; isolation: isolate; }
.page::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: min(560px, 70svh); pointer-events: none;
  background: url("/img/scene/stars-b.png") 0 0 / 1920px auto repeat-x, url("/img/scene/stars-c.png") 320px 40px / 1920px auto repeat-x, linear-gradient(180deg, #0b0f33 0%, #0a0c24 46%, transparent 100%);
  image-rendering: pixelated; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.motion .page::before { animation: sky-drift 90s linear infinite; }
@keyframes sky-drift { to { background-position: -1920px 0, -1600px 40px, 0 0; } }
.page h1 { overflow-wrap: break-word; }
.page h1, .page .sub { text-wrap: balance; }
.frame > *, .pp-top > *, .tp-grid > *, .pr-top > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
.motion .page .frame > h1, .motion .page .tp-head h1, .motion .page .pp-copy h1, .motion .page .pr-top h1 { animation: h-in 700ms var(--ease) both; }
.motion .page .frame > .sub, .motion .page .tp-head .sub, .motion .page .pp-copy .sub, .motion .page .pr-top .sub, .motion .page .tp-act, .motion .page .crumbs { animation: h-in 700ms var(--ease) 90ms both; }
@keyframes h-in { from { opacity: 0; transform: translateY(22px); } }
.motion .rv { opacity: 0; transform: translateY(28px); transition: opacity 620ms var(--ease), transform 720ms var(--ease), box-shadow 160ms; transition-delay: calc(var(--i, 0) * 55ms), calc(var(--i, 0) * 55ms), 0ms; }
.motion .rv.in { opacity: 1; transform: none; }
.motion .rv.in:is(.pk-card, .tl-card, .post-card, .tool):hover { transform: translate(-3px, -3px); transition-delay: 0ms; transition-duration: 160ms; }
.pk-card:hover, .tl-card:hover, .post-card:hover { box-shadow: 0 0 0 2px var(--gold), 7px 7px 0 0 var(--gold-lo); }
.tl-card, .pk-card { overflow: hidden; }
.tl-card img, .pk-card img { transition: transform 500ms var(--ease); }
.tl-card:hover img { transform: scale(1.05); }
.shot img, .gallery img, .prose figure img, .pp-hero img, .post-hero img { cursor: zoom-in; }
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(12px, 3vw, 40px); border: 0; background: rgb(4 5 16 / 0.94); display: none; place-items: center; cursor: zoom-out; }
.zoom[open] { display: grid; }
.zoom::backdrop { background: rgb(4 5 16 / 0.9); }
.zoom img { max-width: 100%; max-height: 100%; width: auto; height: auto; image-rendering: pixelated; box-shadow: 0 0 0 3px var(--gold), 14px 16px 0 0 #000; }
.motion .zoom[open] img { animation: zoom-in 320ms var(--ease) both; }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.92); } }
.zoom button { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border: 0; background: var(--gold); color: var(--ink-dark); font: 700 26px/1 var(--ft); cursor: pointer; }
.facts dd[data-n] { font-variant-numeric: tabular-nums; }
.also { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; padding: 14px 18px; background: #0b0d22; box-shadow: 0 0 0 2px var(--line); font-size: 15px; color: var(--muted); }
.also b { color: var(--gold); font: 700 15px/1.4 var(--fd); }
.also span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--violet-hi); }
@media (max-width: 600px) {
  .page { padding-top: calc(var(--bar-h) + 28px); }
  .page h1 { font-size: clamp(32px, 9.4vw, 44px); }
  .page .sub { font-size: 17px; }
  .tp-act .btn, .pr-box .btn, .cta-box .btn { width: 100%; }
  .prose { font-size: 17px; }
  .tl-grid, .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tl-card b { font-size: 18px; padding: 8px 12px 0; }
  .tl-card span, .pk-card span { padding: 0 12px 12px; font-size: 13px; }
  .pk-card b { padding: 8px 12px 0; font-size: 15px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .page::before { animation: none; } }
.facts dd { margin-left: 0; }
.pr-price b { font-family: var(--fdd); }
.pack-text { margin-top: 44px; }
.pack-page .tp-side { margin-top: 44px; }
.side-list { margin-top: 14px; display: grid; gap: 8px; font-size: 15px; }
.side-list li { display: flex; gap: 10px; align-items: baseline; }
.side-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--gold); }
.side-tools { display: grid; gap: 8px; }
.side-tools a { display: grid; gap: 2px; padding: 10px 12px; background: #0b0d22; text-decoration: none; transition: box-shadow 140ms, transform 140ms var(--ease); }
.side-tools a:hover { box-shadow: 0 0 0 2px var(--gold); transform: translateX(3px); }
.side-tools b { font-size: 15px; }
.side-tools span { font-size: 13px; color: var(--muted); }
/* thumbs: links that stand alone get a taller touch area */
.crumbs a, .crumbs span { padding: 7px 0; }
@media (pointer: coarse) { .tcard-more, .link-down { display: inline-block; padding-top: 9px; padding-bottom: 9px; } .foot-cols a { padding: 7px 0; } }

/* the start dialog's two steps: the account, then the payment */
.start-steps { display: flex; gap: 8px; margin: 0 44px 20px 0; font: 600 13.5px/1 var(--ft); color: var(--dim); }
.start-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: #0b0d22; box-shadow: inset 0 0 0 2px var(--line); }
.start-steps b { display: grid; place-items: center; width: 22px; height: 22px; background: var(--raised); color: var(--muted); font-weight: 700; }
.start-steps li.on { color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold); }
.start-steps li.on b { background: var(--gold); color: var(--ink-dark); }
.start-steps li.done { color: var(--muted); }
.start-steps li.done b { background: #1f5c3a; color: #c9f5da; }
.start-lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
.start-lead b { color: var(--ink); overflow-wrap: anywhere; }
.start-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; padding: 10px 12px; background: #0b0d22; box-shadow: inset 0 0 0 2px var(--line); font-size: 15px; }
.start-who span { color: var(--muted); font-size: 13px; }
.start-who b { overflow-wrap: anywhere; }
.start-who b::after { content: " \2713"; color: #7fe3a6; }
.start-dialog .field { margin-top: 18px; }
.start-dialog .msg { min-height: 1.4em; margin-top: 12px; }
.start-dialog .small { margin-top: 14px; }
.linklike { padding: 6px 0; border: 0; background: none; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.motion .start-dialog[open] { animation: zoom-in 260ms var(--ease) both; }
.motion #sd-body > * { animation: h-in 380ms var(--ease) both; }
@media (max-width: 480px) { .start-in { padding: 22px 16px 24px; } .start-steps { margin-right: 40px; font-size: 12.5px; } .start-steps li { padding: 5px 9px 5px 5px; } }

/* the problem a tool ends, right under its name */
.page .pain { margin-top: 14px; max-width: 34em; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.32; color: var(--ink); text-wrap: balance; }
.page .pain b { display: block; color: var(--gold); font-weight: 600; }
/* what a pack does for the buyer's game, before what is in it */
.pitch { margin: 0 0 36px; padding: 22px 26px 24px; background: var(--surface); box-shadow: 0 0 0 2px var(--gold), 10px 12px 0 0 #000; }
.prose .pitch h2 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 32px); }
.prose .pitch ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.prose .pitch li { margin: 0; padding-left: 26px; position: relative; }
.prose .pitch li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: var(--gold); box-shadow: 3px 3px 0 0 var(--violet); }
.prose .pitch strong { color: var(--ink); }
/* the tools index: each card also says the problem it ends */
.tl-card i { padding: 0 16px 16px; margin-top: -8px; color: var(--gold); font-style: normal; font-size: 14.5px; line-height: 1.35; }

/* ---- the floating button (fab.js): a turning coin in reach on every page; it opens the $1 trial ---- */
.fab { position: fixed; z-index: 55; right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: stretch; height: 60px;
  background: var(--gold); color: var(--ink-dark); text-decoration: none; box-shadow: 0 0 0 3px var(--ink-dark), 7px 8px 0 3px rgb(0 0 0 / 0.55);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(26px) scale(0.9); transition: opacity 140ms steps(3), transform 380ms var(--bounce), box-shadow 140ms var(--ease), visibility 0s linear 160ms; }
.fab.on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity 140ms steps(3), transform 380ms var(--bounce), box-shadow 140ms var(--ease), visibility 0s; }
.fab.on:hover, .fab.on:focus-visible { transform: translate(-2px, -3px); box-shadow: 0 0 0 3px var(--ink-dark), 9px 11px 0 3px rgb(0 0 0 / 0.55); }
.fab.on:active { transform: translate(2px, 3px); box-shadow: 0 0 0 3px var(--ink-dark), 3px 4px 0 3px rgb(0 0 0 / 0.55); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.fab-slot { position: relative; display: grid; place-items: center; flex: none; width: 60px; background: var(--night); box-shadow: inset 0 0 0 3px var(--violet); }
.motion .fab.on .fab-slot .sprite { animation: fab-bob 1.5s steps(3) infinite; }
.motion .fab.on:hover .fab-slot .sprite > img { animation-duration: 0.4s; }
.motion .fab.hit .fab-slot .sprite { animation: fab-hit 480ms var(--bounce); }
@keyframes fab-bob { 50% { transform: translateY(-3px); } }
@keyframes fab-hit { 35% { transform: translateY(-18px) scale(1.2); } 100% { transform: none; } }
.fab-tag { position: absolute; right: -10px; top: -12px; padding: 3px 6px 4px; background: var(--coral); color: var(--ink-dark); font: 600 14px/1 var(--ft); font-style: normal; box-shadow: 0 0 0 2px var(--ink-dark); opacity: 0; transform: scale(0.6); transition: opacity 120ms steps(2), transform 260ms var(--bounce); }
.fab.mini .fab-tag { opacity: 1; transform: none; }
.fab-member .fab-tag { display: none; }
.fab-txt { display: grid; align-content: center; gap: 4px; max-width: 230px; padding: 0 18px 0 14px; overflow: hidden; white-space: nowrap; transition: max-width 280ms var(--ease), padding 280ms var(--ease); }
.fab-txt b { font: 700 19px/1 var(--fd); }
.fab-txt small { font: 500 12.5px/1 var(--ft); color: #4a3c0a; }
.fab.mini .fab-txt { max-width: 0; padding: 0; }
/* folded to the coin it wears the gold ring, so it shows on the dark sections too */
.fab.mini { box-shadow: 0 0 0 3px var(--gold), 6px 7px 0 3px rgb(0 0 0 / 0.55); }
.fab.mini .fab-slot { box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 5px var(--violet); }
/* the one line it says, in a speech box with a pixel tail */
.fab-say { position: fixed; z-index: 55; right: max(16px, env(safe-area-inset-right)); bottom: calc(100px + env(safe-area-inset-bottom)); width: min(310px, calc(100vw - 32px)); padding: 14px 42px 15px 16px;
  background: var(--paper, #f3f1ea); color: var(--ink-dark); font: 500 15.5px/1.38 var(--ft); box-shadow: 0 0 0 3px var(--ink-dark), 7px 8px 0 3px rgb(0 0 0 / 0.5);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(0.92); transform-origin: 100% 100%; transition: opacity 140ms steps(3), transform 340ms var(--bounce), visibility 0s linear 160ms; }
.fab-say.on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity 140ms steps(3), transform 340ms var(--bounce), visibility 0s; }
.fab-say::after { content: ""; position: absolute; right: 24px; bottom: -12px; width: 12px; height: 9px; background: var(--paper, #f3f1ea); box-shadow: -3px 0 0 0 var(--ink-dark), 3px 0 0 0 var(--ink-dark), 0 3px 0 0 var(--ink-dark); }
.fab-say a { display: block; color: inherit; text-decoration: none; }
.fab-say a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fab-x { position: absolute; top: 3px; right: 3px; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: var(--ink-dark); font: 600 22px/1 var(--ft); cursor: pointer; }
.fab-x:hover { color: #c7311d; }
/* out of the way under a dialog and the phone menu */
body:has(dialog[open]) .fab, body:has(dialog[open]) .fab-say, body:has(.burger[open]) .fab, body:has(.burger[open]) .fab-say { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 700px) { .fab { height: 56px; right: max(14px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); } .fab-slot { width: 56px; } .fab-txt b { font-size: 17.5px; } .fab-say { bottom: calc(92px + env(safe-area-inset-bottom)); } }
@media print { .fab, .fab-say { display: none; } }
