:root {
  --line: 2rem;
  --paper: #fcfbf6;
  --paper-past: #f4efe2;
  --rule: #d9e4f0;
  --margin: #eba5a1;
  --ink: #2e2e33;
  --ink-soft: #5c5b63;
  --pen: #2160d6;
  --pen-dark: #184db3;
  --hairline: #e6dfcd;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --gutter: 4.5rem;
  --left: max(var(--gutter), calc((100vw - 64rem) / 2));
  color-scheme: light;
}
/* Japanese and Korean: a serif with the glyphs, no tightened headings, and line breaks between phrases (ja) or
   words (ko) rather than inside them. */
:lang(ja) { --serif: ui-serif, "New York", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; line-break: strict; }
:lang(ko) { --serif: ui-serif, "New York", AppleMyungjo, "Nanum Myeongjo", Batang, serif; word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
:lang(ja) h1, :lang(ko) h1 { letter-spacing: 0; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1.25rem/var(--line) var(--serif); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--pen-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 4px; }
p, ul, ol, dl, h1, h2, h3, table, figure { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 2; }

/* A sheet is a ruled page with the red margin line. Every line box inside is a multiple of --line, so the
   text sits on the ruling. */
.sheet {
  position: relative;
  padding: calc(var(--line) * 2) 1.5rem calc(var(--line) * 2) var(--left);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--line) - 1px),
                    var(--rule) calc(var(--line) - 1px), var(--rule) var(--line));
}
.sheet::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--left) - 1.25rem);
  border-left: 1px solid var(--margin); z-index: 1; pointer-events: none;
}
.sheet > * { max-width: 64rem; }
.sheet > h1 { max-width: none; }
.sheet + .sheet { padding-top: 0; }
.sheet p + p, .sheet p + .actions, .sheet .actions + p { margin-top: var(--line); }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); text-wrap: balance; }
/* Big writing takes two lines of the page: the h1 covers the ruling with its own, twice as wide, so no rule
   runs through the middle of the letters. */
h1 {
  font-size: clamp(2.375rem, 6vw, 3.75rem); line-height: calc(var(--line) * 2); font-weight: 600;
  letter-spacing: -.015em; margin-bottom: var(--line); position: relative;
  background: var(--paper) repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--line) * 2 - 1px),
              var(--rule) calc(var(--line) * 2 - 1px), var(--rule) calc(var(--line) * 2));
  max-width: none; margin-left: calc(-1 * var(--left)); margin-right: -1.5rem;
  padding-left: var(--left); padding-right: 1.5rem;
}
h2 { font-size: 1.75rem; line-height: var(--line); font-weight: 600; margin-bottom: var(--line); }
h3 { font-size: 1.375rem; line-height: var(--line); font-weight: 600; }
.lead { font-size: 1.375rem; }
.soft { color: var(--ink-soft); }
kbd {
  font: 600 .95rem/1 var(--sans); display: inline-block; min-width: 1.6em; padding: .2em .4em; margin: 0 .08em;
  text-align: center; color: var(--ink); background: #fff; border: 1px solid #d3d0c6; border-bottom-width: 2px;
  border-radius: 6px; vertical-align: .08em;
}
.combo { white-space: nowrap; }

/* Header and footer sit outside the ruling, like the top and bottom of a page. */
.site-header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem 1rem calc(var(--left) - 2.75rem);
  font-family: var(--sans); font-size: 1.0625rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none;
  font: 600 1.375rem/1 var(--serif); }
.logo img { width: 32px; height: 32px; }
.site-header nav { margin-left: auto; display: flex; gap: 1.25rem; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); text-decoration: underline; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem; height: calc(var(--line) * 1.75); padding: 0 1.4rem;
  margin: calc(var(--line) * .125) 0; border-radius: 999px; background: var(--pen); color: #fff;
  font: 600 1.125rem/1 var(--sans); text-decoration: none; box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.btn:hover { background: var(--pen-dark); color: #fff; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }

/* The bands for the video and the pictures: past-page paper, no ruling. */
.shot, .closeups { background: var(--paper-past); padding: calc(var(--line) * 2) 1rem; border-block: 1px solid var(--hairline); }
.shot picture, .shot .film { display: block; max-width: 1200px; margin: 0 auto; }
.shot img, .film, .row img { width: 100%; height: auto; border-radius: 10px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(60, 45, 20, .12), 0 12px 32px rgba(60, 45, 20, .16), 0 40px 80px -24px rgba(60, 45, 20, .22); }
.shot figcaption { max-width: 40rem; margin: var(--line) auto 0; text-align: center; color: var(--ink-soft);
  font-size: 1.125rem; }
/* The desk collage brings its own shadows. */
.desk img { box-shadow: none; border-radius: 0; background: none; }

/* Four numbers, written big in pen. */
.numbers ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 2rem; max-width: 64rem; }
.numbers li { display: grid; }
.numbers .n { font-size: 3.5rem; line-height: calc(var(--line) * 2); font-weight: 600; color: var(--pen);
  font-variant-numeric: lining-nums; }
.numbers .l { color: var(--ink-soft); line-height: var(--line); }

/* Close-ups: a picture and a ticked-off feature side by side, alternating. */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3.5rem; align-items: center;
  max-width: 64rem; margin: 0 auto; }
.row + .row { margin-top: calc(var(--line) * 2.5); }
.row:nth-child(even) figure { order: 2; }
.row figure picture { display: block; max-width: 32rem; }
.row:nth-child(even) figure picture { margin-left: auto; }
.row .narrow picture { max-width: 20rem; }
.row h3 { position: relative; margin-bottom: calc(var(--line) / 2); }
.row h3 .check { position: static; display: inline-block; vertical-align: -.2rem; margin-right: .6rem; }
.row p { color: var(--ink); }

/* Features: a short to-do list, each one ticked off. */
.features { list-style: none; padding: 0; display: grid; gap: var(--line) 3rem; }
.sheet > .features { max-width: 64rem; }
.features li { position: relative; }
.features h3 { margin-bottom: 0; }
.check { position: absolute; left: calc(-1 * var(--gutter) + 1.6rem); top: .3rem; width: 1.5rem; height: 1.5rem;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.check rect { stroke: var(--pen); stroke-width: 1.4; fill: #fff; }
.check path { stroke: var(--pen); stroke-width: 2.6; }
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 641px) and (max-width: 900px) {
  .numbers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--line) 2rem; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row:nth-child(even) figure { order: 0; }
}

.price { font-size: 1.375rem; }
.faq h3 { margin-top: var(--line); }
.faq h3:first-of-type { margin-top: 0; }
.more { margin-top: var(--line); }

/* Prose pages */
.dated { color: var(--ink-soft); }
.prose h2 { margin: var(--line) 0 0; }
.prose h2 + p { margin-top: 0; }
.contact { font-size: 1.375rem; }
table.keys { border-collapse: collapse; width: 100%; max-width: 32rem; }
table.keys th, table.keys td { padding: 0; height: var(--line); vertical-align: middle; text-align: left; }
table.keys th { width: 8.5rem; white-space: nowrap; font-weight: 400; }

/* The footer shared by the theill.com app sites, in Anoto's paper and ink. */
.site-footer { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-soft);
  padding: 40px 1.5rem 40px var(--left); border-top: 1px solid var(--hairline); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-top { display: grid; grid-template-columns: minmax(0, 420px) auto; grid-template-areas: "brand links" "id lang";
  justify-content: space-between; align-items: start; gap: 6px 40px; }
.footer-id { grid-area: id; display: grid; gap: 6px; }
.footer-brand { grid-area: brand; display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-weight: 600;
  font-size: 16px; margin-bottom: 4px; }
.footer-brand img { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 0 0 1px var(--hairline);
  filter: grayscale(1); opacity: .5; transition: filter .2s, opacity .2s; }
.footer-brand:hover img { filter: none; opacity: 1; }
.footer-made a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px;
  text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer-made a:hover, .footer-made a:focus-visible { color: var(--ink); text-decoration-color: currentColor;
  text-decoration-thickness: 1px; }
.footer-links { grid-area: links; justify-self: end; display: flex; gap: 20px; }
.footer-lang { grid-area: lang; justify-self: end; margin-top: 10px; }

/* Language menu: a pill that opens a card upwards. Plain links inside, so it works without JavaScript. */
.language { position: relative; display: inline-block; }
.language summary { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px;
  border-radius: 999px; background: #fff; border: 1px solid var(--hairline); color: var(--ink);
  font: 600 15px/1 var(--sans); list-style: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background .2s, border-color .2s; }
.language summary::-webkit-details-marker { display: none; }
.language summary:hover, .language[open] summary { background: var(--paper-past); border-color: #d8cfb9; }
.language summary:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 999px; }
.language summary svg { width: 18px; height: 18px; flex: none; color: var(--ink-soft); }
.language summary .chevron { width: 14px; height: 14px; margin-left: 2px; transition: transform .2s; }
.language[open] summary .chevron { transform: rotate(180deg); }
.language ul { position: absolute; top: auto; bottom: calc(100% + 10px); right: 0; left: auto; z-index: 5;
  min-width: 220px; margin: 0; padding: 6px; list-style: none; display: grid; gap: 2px; background: #fff;
  border: 1px solid var(--hairline); border-radius: 20px; transform-origin: bottom right;
  box-shadow: 0 30px 70px -24px rgba(60, 45, 20, .35), 0 8px 24px rgba(60, 45, 20, .12); }
.language[open] ul { animation: language-in .16s cubic-bezier(.2, .8, .2, 1); }
@keyframes language-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.site-footer .language a { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: 14px; color: var(--ink); font-size: 16px; }
.site-footer .language a:hover, .site-footer .language a:focus-visible { background: var(--paper-past); outline: none; }
.language a[aria-current] { font-weight: 650; }
.language a svg { width: 18px; height: 18px; color: var(--pen); }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand lang" "id id" "links links";
    align-items: center; gap: 16px 24px; }
  .footer-brand, .footer-lang { margin: 0; }
  .footer-links { justify-self: start; padding-top: 16px; border-top: 1px solid var(--hairline); width: 100%; }
}

@media (max-width: 640px) {
  :root { --gutter: 3rem; }
  body { font-size: 1.1875rem; }
  .sheet { padding-right: 1.25rem; }
  .sheet::before { left: 1.75rem; }
  .check { left: -2.75rem; width: 1.25rem; height: 1.25rem; top: .4rem; }
  h1 { font-size: 1.875rem; line-height: var(--line); background: none; margin-right: -1.25rem; padding-right: 1.25rem; }
  h2 { font-size: 1.5rem; }
  .lead, .price, .contact { font-size: 1.25rem; }
  .site-header { padding-left: 1rem; padding-right: 1rem; flex-wrap: wrap; row-gap: .25rem; }
  .site-header nav { gap: 1rem; }
  .site-header .nav-features { display: none; }
  .shot, .closeups { padding: var(--line) .75rem; }
  .numbers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--line) 1.25rem; }
  .numbers .n { font-size: 2.75rem; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row:nth-child(even) figure { order: 0; }
  .row h3 .check { width: 1.25rem; height: 1.25rem; }
  /* A long store label (French) is set a little smaller, and a label that still wraps gets a taller pill. */
  .btn { height: auto; min-height: calc(var(--line) * 1.75); padding-block: .4rem; line-height: 1.25; text-align: center; }
  :lang(fr) .btn { font-size: 1rem; padding-inline: 1.1rem; }
  .site-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .language[open] ul { animation: none; } }
.gpage { max-width: 62rem; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; font-size: 1.1875rem; line-height: 1.65; }
.gpage h1 { background: none; margin: 0 0 1rem; padding: 0; line-height: 1.15; font-size: clamp(2.1rem, 5.5vw, 3.1rem); }
.gpage h2 { margin: 3rem 0 .75rem; line-height: 1.25; font-size: 1.65rem; }
.gpage p { margin: 0 0 1.1rem; }
.gpage .lead { font-size: 1.3rem; line-height: 1.6; margin-bottom: 1.5rem; }
.gpage ul, .gpage ol { padding-left: 1.3em; margin: 0 0 1.1rem; }
.gpage li { margin: 0 0 .5rem; }
.gpage code { font: .92em ui-monospace, Menlo, monospace; background: var(--paper-past); border-radius: 4px; padding: .1em .35em; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 3.5rem; }
.more-guides h2 a { color: inherit; text-decoration: none; }
.more-guides .guide-list a { font-size: 1.2rem; }
.guide-list { list-style: none; padding: 0 !important; margin: 0; }
.guide-list li { border-top: 1px solid var(--hairline); padding: 1.2rem 0 .8rem; margin: 0; }
.guide-list a { font: 600 1.45rem/1.3 var(--serif); text-decoration: none; }
.guide-list p { margin: .3rem 0 0; color: var(--ink-soft); }
.hero-img { margin: 1.5rem 0 .5rem; max-width: 62rem !important; }
.hero-img img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 1px 2px rgba(60, 45, 20, .12), 0 12px 32px rgba(60, 45, 20, .16); }
.fig { margin: 2.2rem 0; max-width: 62rem !important; }
.fig-title { margin: 0 0 .9rem !important; font: 600 1.3rem/1.3 var(--serif); }
.fig figcaption { margin-top: .8rem; color: var(--ink-soft); font: .95rem/1.45 var(--sans); text-align: center; }
/* Cards: one per app */
.cards { display: grid; gap: .9rem; grid-template-columns: repeat(4, minmax(0, 1fr)); font-family: var(--sans); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool { display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 1rem; min-width: 0; }
.tool.ours { border-color: var(--pen); box-shadow: 0 0 0 3px rgba(33, 96, 214, .14); }
.tool h3 { margin: 0; font: 650 1.1rem/1.25 var(--sans); }
.tool p { margin: 0 !important; font-size: .94rem; line-height: 1.45; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .25rem; }
.chip { font-size: .78rem; font-weight: 700; line-height: 1.3; border-radius: 999px; padding: .15rem .6rem; }
.chip.good { background: #e3edfc; color: var(--pen-dark); }
.chip.paid { background: #f6ecd2; color: var(--ink); }
.chip.info { background: var(--paper); color: var(--ink-soft); border: 1px solid var(--hairline); }
.mini { height: 84px; border-radius: 10px; border: 1px solid var(--hairline); background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.mini .bar { height: 12px; flex: none; display: flex; gap: 3px; align-items: center; padding: 0 5px; background: var(--paper-past); border-bottom: 1px solid var(--hairline); }
.mini .bar i { width: 4px; height: 4px; border-radius: 50%; background: #c9c3b3; }
.mini .body { flex: 1; display: flex; min-height: 0; }
.mini .side { width: 26%; background: var(--paper-past); border-right: 1px solid var(--hairline); padding: 6px 5px; display: flex; flex-direction: column; gap: 5px; }
.mini .side b { height: 4px; border-radius: 2px; background: #d6cfbd; }
.mini .side b.on { background: var(--pen); }
.mini .rows { flex: 1; padding: 7px 8px; display: flex; flex-direction: column; gap: 7px; }
.mini .rows span { display: flex; align-items: center; gap: 5px; }
.mini .rows span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid #b8b2a2; flex: none; }
.mini .rows span::after { content: ""; height: 4px; border-radius: 2px; background: #d6cfbd; width: 70%; }
.mini .rows span:nth-child(2n)::after { width: 48%; }
.mini .rows span:nth-child(3n)::after { width: 60%; }
.mini .rows span.dot::before { border-color: var(--margin); }
.mini .rows span.done::before { background: var(--pen); border-color: var(--pen); }
.mini .rows span.done::after { opacity: .45; }
.mini .pages { flex: 1; display: grid; grid-template-columns: 1fr 1fr; background: repeating-linear-gradient(to bottom, transparent 0 9px, var(--rule) 9px 10px); }
.mini .pages .left { background-color: rgba(244, 239, 226, .85); border-right: 1px solid #bdb6a3; padding: 6px 7px 0; display: flex; flex-direction: column; gap: 6px; }
.mini .pages .right { padding: 6px 7px 0; display: flex; flex-direction: column; gap: 6px; }
.mini .pages i { height: 4px; border-radius: 2px; background: #cfc9b8; }
.mini .pages .right i { background: #8fb1ee; }
.mini .pages i:nth-child(2) { width: 62%; }
/* Mashup */
.mash-stage { position: relative; aspect-ratio: 100 / 70; max-width: 62rem; }
.mash-shot { position: absolute; width: 62%; margin: 0; }
.mash-shot img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 1px 2px rgba(60, 45, 20, .12), 0 12px 32px rgba(60, 45, 20, .2); background: #fff; }
.mash-shot.a { left: 0; top: 0; transform: rotate(-1.5deg); z-index: 1; }
.mash-shot.b { right: 0; top: 31.4%; transform: rotate(1.2deg); z-index: 2; }
.call { position: absolute; width: 0; height: 0; z-index: 3; }
.call .dot { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--pen); color: #fff;
  font: 800 13px/26px var(--sans); text-align: center; box-shadow: 0 0 0 4px rgba(33, 96, 214, .3), 0 4px 10px rgba(0, 0, 0, .2); }
.call .lbl { position: absolute; width: max-content; max-width: 190px; font: 700 13px/1.3 var(--sans); background: var(--ink); color: #fff; padding: 6px 10px;
  border-radius: 9px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.call.r .lbl { left: 20px; top: -14px; } .call.l .lbl { right: 20px; top: -14px; }
.call.b .lbl { left: -20px; top: 20px; } .call.t .lbl { right: -20px; bottom: 20px; }
.legend { display: none; margin: 14px 0 0; padding: 0 !important; list-style: none; counter-reset: n; font-family: var(--sans); }
.legend li { counter-increment: n; display: flex; gap: 10px; align-items: baseline; font-size: .95rem; line-height: 1.45; margin: 0 0 6px; }
.legend li::before { content: counter(n); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pen); color: #fff;
  font: 800 12px/22px var(--sans); text-align: center; }
/* Versus and matrix: a grid of chips, one row per question */
.vs { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--sans); background: #fff;
  border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; table-layout: fixed; }
.vs th, .vs td { padding: .75rem .9rem; text-align: left; vertical-align: middle; border-top: 1px solid var(--hairline); line-height: 1.35; }
.vs thead th { border-top: 0; background: var(--paper-past); font: 650 1rem/1.3 var(--sans); }
.vs tbody th { font: 600 .95rem/1.35 var(--sans); color: var(--ink-soft); width: 26%; }
.vs tr.ours th, .vs tr.ours td { background: #f1f6fe; }
.vs .chip { display: inline-block; font-size: .85rem; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 640px) {
  .vs.matrix, .vs.matrix tbody, .vs.matrix tr, .vs.matrix th, .vs.matrix td { display: block; width: auto !important; }
  .vs.matrix thead { display: none; }
  .vs.matrix tr + tr { border-top: 1px solid var(--hairline); }
  .vs.matrix tbody th { border-top: 0; padding: .8rem .9rem .3rem; color: var(--ink); font-size: 1rem; }
  .vs.matrix td { border-top: 0; display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .3rem .9rem; }
  .vs.matrix td:last-child { padding-bottom: .9rem; }
  .vs.matrix td::before { content: attr(data-label); color: var(--ink-soft); font-size: .88rem; }
  .vs.matrix td .chip { text-align: right; }
}
.chip.no { background: #f3f1ec; color: var(--ink-soft); }
/* Cost: bars per year */
.cost { font-family: var(--sans); background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 1.1rem 1.2rem; }
.cost-key { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 1rem; padding: 0 !important; list-style: none; font-size: .92rem; }
.cost-key li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.cost-key li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--s0); }
.cost-key li.s1::before { background: var(--s1); }
.cost-year { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .35rem 1rem; align-items: center; margin: 0 0 .9rem; }
.cost-year > .yl { font-weight: 650; font-size: .95rem; grid-row: span 2; }
.cost-bar { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.cost-bar i { display: block; height: 20px; border-radius: 5px; background: var(--s0); flex: none; min-width: 4px; }
.cost-bar.s1 i { background: var(--s1); }
.cost-bar b { font-size: .9rem; font-weight: 700; white-space: nowrap; }
.cost { --s0: #8fb1ee; --s1: #d9a441; }
.w-0 { width: calc((100% - 5rem) * 0); }
.w-1 { width: calc((100% - 5rem) * 0.01); }
.w-2 { width: calc((100% - 5rem) * 0.02); }
.w-3 { width: calc((100% - 5rem) * 0.03); }
.w-4 { width: calc((100% - 5rem) * 0.04); }
.w-5 { width: calc((100% - 5rem) * 0.05); }
.w-6 { width: calc((100% - 5rem) * 0.06); }
.w-7 { width: calc((100% - 5rem) * 0.07); }
.w-8 { width: calc((100% - 5rem) * 0.08); }
.w-9 { width: calc((100% - 5rem) * 0.09); }
.w-10 { width: calc((100% - 5rem) * 0.1); }
.w-11 { width: calc((100% - 5rem) * 0.11); }
.w-12 { width: calc((100% - 5rem) * 0.12); }
.w-13 { width: calc((100% - 5rem) * 0.13); }
.w-14 { width: calc((100% - 5rem) * 0.14); }
.w-15 { width: calc((100% - 5rem) * 0.15); }
.w-16 { width: calc((100% - 5rem) * 0.16); }
.w-17 { width: calc((100% - 5rem) * 0.17); }
.w-18 { width: calc((100% - 5rem) * 0.18); }
.w-19 { width: calc((100% - 5rem) * 0.19); }
.w-20 { width: calc((100% - 5rem) * 0.2); }
.w-21 { width: calc((100% - 5rem) * 0.21); }
.w-22 { width: calc((100% - 5rem) * 0.22); }
.w-23 { width: calc((100% - 5rem) * 0.23); }
.w-24 { width: calc((100% - 5rem) * 0.24); }
.w-25 { width: calc((100% - 5rem) * 0.25); }
.w-26 { width: calc((100% - 5rem) * 0.26); }
.w-27 { width: calc((100% - 5rem) * 0.27); }
.w-28 { width: calc((100% - 5rem) * 0.28); }
.w-29 { width: calc((100% - 5rem) * 0.29); }
.w-30 { width: calc((100% - 5rem) * 0.3); }
.w-31 { width: calc((100% - 5rem) * 0.31); }
.w-32 { width: calc((100% - 5rem) * 0.32); }
.w-33 { width: calc((100% - 5rem) * 0.33); }
.w-34 { width: calc((100% - 5rem) * 0.34); }
.w-35 { width: calc((100% - 5rem) * 0.35); }
.w-36 { width: calc((100% - 5rem) * 0.36); }
.w-37 { width: calc((100% - 5rem) * 0.37); }
.w-38 { width: calc((100% - 5rem) * 0.38); }
.w-39 { width: calc((100% - 5rem) * 0.39); }
.w-40 { width: calc((100% - 5rem) * 0.4); }
.w-41 { width: calc((100% - 5rem) * 0.41); }
.w-42 { width: calc((100% - 5rem) * 0.42); }
.w-43 { width: calc((100% - 5rem) * 0.43); }
.w-44 { width: calc((100% - 5rem) * 0.44); }
.w-45 { width: calc((100% - 5rem) * 0.45); }
.w-46 { width: calc((100% - 5rem) * 0.46); }
.w-47 { width: calc((100% - 5rem) * 0.47); }
.w-48 { width: calc((100% - 5rem) * 0.48); }
.w-49 { width: calc((100% - 5rem) * 0.49); }
.w-50 { width: calc((100% - 5rem) * 0.5); }
.w-51 { width: calc((100% - 5rem) * 0.51); }
.w-52 { width: calc((100% - 5rem) * 0.52); }
.w-53 { width: calc((100% - 5rem) * 0.53); }
.w-54 { width: calc((100% - 5rem) * 0.54); }
.w-55 { width: calc((100% - 5rem) * 0.55); }
.w-56 { width: calc((100% - 5rem) * 0.56); }
.w-57 { width: calc((100% - 5rem) * 0.57); }
.w-58 { width: calc((100% - 5rem) * 0.58); }
.w-59 { width: calc((100% - 5rem) * 0.59); }
.w-60 { width: calc((100% - 5rem) * 0.6); }
.w-61 { width: calc((100% - 5rem) * 0.61); }
.w-62 { width: calc((100% - 5rem) * 0.62); }
.w-63 { width: calc((100% - 5rem) * 0.63); }
.w-64 { width: calc((100% - 5rem) * 0.64); }
.w-65 { width: calc((100% - 5rem) * 0.65); }
.w-66 { width: calc((100% - 5rem) * 0.66); }
.w-67 { width: calc((100% - 5rem) * 0.67); }
.w-68 { width: calc((100% - 5rem) * 0.68); }
.w-69 { width: calc((100% - 5rem) * 0.69); }
.w-70 { width: calc((100% - 5rem) * 0.7); }
.w-71 { width: calc((100% - 5rem) * 0.71); }
.w-72 { width: calc((100% - 5rem) * 0.72); }
.w-73 { width: calc((100% - 5rem) * 0.73); }
.w-74 { width: calc((100% - 5rem) * 0.74); }
.w-75 { width: calc((100% - 5rem) * 0.75); }
.w-76 { width: calc((100% - 5rem) * 0.76); }
.w-77 { width: calc((100% - 5rem) * 0.77); }
.w-78 { width: calc((100% - 5rem) * 0.78); }
.w-79 { width: calc((100% - 5rem) * 0.79); }
.w-80 { width: calc((100% - 5rem) * 0.8); }
.w-81 { width: calc((100% - 5rem) * 0.81); }
.w-82 { width: calc((100% - 5rem) * 0.82); }
.w-83 { width: calc((100% - 5rem) * 0.83); }
.w-84 { width: calc((100% - 5rem) * 0.84); }
.w-85 { width: calc((100% - 5rem) * 0.85); }
.w-86 { width: calc((100% - 5rem) * 0.86); }
.w-87 { width: calc((100% - 5rem) * 0.87); }
.w-88 { width: calc((100% - 5rem) * 0.88); }
.w-89 { width: calc((100% - 5rem) * 0.89); }
.w-90 { width: calc((100% - 5rem) * 0.9); }
.w-91 { width: calc((100% - 5rem) * 0.91); }
.w-92 { width: calc((100% - 5rem) * 0.92); }
.w-93 { width: calc((100% - 5rem) * 0.93); }
.w-94 { width: calc((100% - 5rem) * 0.94); }
.w-95 { width: calc((100% - 5rem) * 0.95); }
.w-96 { width: calc((100% - 5rem) * 0.96); }
.w-97 { width: calc((100% - 5rem) * 0.97); }
.w-98 { width: calc((100% - 5rem) * 0.98); }
.w-99 { width: calc((100% - 5rem) * 0.99); }
.w-100 { width: calc((100% - 5rem) * 1); }

/* Day: three spreads that follow each other */
.day-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; font-family: var(--sans); }
.day-frame { margin: 0; }
.day-frame figcaption { margin-top: .6rem; text-align: left; font-size: .92rem; color: var(--ink); }
.day-frame figcaption b { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--pen); color: #fff;
  font: 800 12px/22px var(--sans); text-align: center; margin-right: .4rem; }
.spread { aspect-ratio: 16 / 10; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #c9c2ae; border-radius: 10px; overflow: hidden;
  background: repeating-linear-gradient(to bottom, transparent 0 15px, var(--rule) 15px 16px), var(--paper);
  box-shadow: 0 1px 2px rgba(60, 45, 20, .12), 0 8px 20px rgba(60, 45, 20, .14); }
.spread .pg { padding: 12% 9% 0; display: flex; flex-direction: column; gap: 9px; position: relative; }
.spread .pg.l { background-color: rgba(236, 230, 214, .7); border-right: 1px solid #bdb6a3; }
.spread .pg.l::after { content: ""; position: absolute; inset: 0; background: rgba(244, 239, 226, .35); }
.spread .pg span { display: flex; align-items: center; gap: 6px; height: 7px; }
.spread .pg span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #9c968a; flex: none; box-sizing: border-box; }
.spread .pg span::after { content: ""; height: 5px; border-radius: 3px; background: var(--pen); opacity: .55; width: 72%; }
.spread .pg span:nth-child(2)::after { width: 52%; } .spread .pg span:nth-child(3)::after { width: 63%; }
.spread .pg.l span::after { background: #9c968a; }
.spread .pg span.done::before { background: var(--pen); border-color: var(--pen); }
.spread .pg.l span.done::before { background: #9c968a; border-color: #9c968a; }
.spread .pg span.done::after { opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .day.anim .day-frame { animation: dayfocus 9s infinite both; }
  .day.anim .day-frame:nth-child(2) { animation-delay: 3s; }
  .day.anim .day-frame:nth-child(3) { animation-delay: 6s; }
  @keyframes dayfocus { 0%, 100% { opacity: .5; transform: none; } 4%, 30% { opacity: 1; transform: translateY(-4px); } 36% { opacity: .5; transform: none; } }
  .day.anim .day-frame:nth-child(2) .pg.r span.done::before { animation: tick 9s infinite 3s both; }
  .day.anim .day-frame:nth-child(2) .pg.r span.done:nth-child(2)::before { animation-delay: 3.6s; }
  .day.anim .day-frame:nth-child(2) .pg.r span.done:nth-child(3)::before { animation-delay: 4.2s; }
  @keyframes tick { 0%, 3% { background: transparent; border-color: #9c968a; } 6%, 100% { background: var(--pen); border-color: var(--pen); } }
  .day.anim .day-frame:nth-child(3) .spread { animation: turn 9s infinite 6s both; }
  @keyframes turn { 0% { clip-path: inset(0 0 0 0); } 2% { clip-path: inset(0 0 0 50%); } 8%, 100% { clip-path: inset(0 0 0 0); } }
}
@media (max-width: 760px) { .day-frames { grid-template-columns: 1fr; max-width: 26rem; } .vs th, .vs td { padding: .6rem .55rem; }
  .vs tbody th { width: 30%; } .cost-year { grid-template-columns: 1fr; } .cost-year > .yl { grid-row: auto; } }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .call .lbl { display: none; } .legend { display: block; }
  .call .dot { left: -11px; top: -11px; width: 22px; height: 22px; font-size: 12px; line-height: 22px; }
  .mash-stage { aspect-ratio: 100 / 85; } .mash-shot { width: 80%; } .mash-shot.b { top: 26%; }
}
@media (max-width: 520px) { .cards, .cards.three { grid-template-columns: 1fr; } .gpage { padding-inline: 1.25rem; } }
.c-todo-1 { left: 17.5%; top: 20.3%; }
.c-todo-2 { left: 66%; top: 20.3%; }
.c-todo-3 { left: 62.5%; top: 29.4%; }
.c-todo-4 { left: 4.5%; top: 11.5%; }
.c-todoist-1 { left: 62.5%; top: 29.4%; }
.c-todoist-2 { left: 17.5%; top: 20.3%; }
.c-todoist-3 { left: 75%; top: 19%; }
.c-todoist-4 { left: 4.5%; top: 11.5%; }
.c-things-1 { left: 66%; top: 20.3%; }
.c-things-2 { left: 17.5%; top: 20.3%; }
.c-things-3 { left: 75%; top: 19%; }
.c-things-4 { left: 4.5%; top: 11.5%; }
.c-minimal-1 { left: 17.5%; top: 20.3%; }
.c-minimal-2 { left: 66%; top: 20.3%; }
.c-minimal-3 { left: 62.5%; top: 29.4%; }
.c-minimal-4 { left: 4.5%; top: 11.5%; }
