: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; }
.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; }
@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%; }
