:root {
  color-scheme: light;
  --paper: #fffefa;
  --ink: #303632;
  --grid: rgb(107 148 177 / 25%);
  --red: #a73530;
  --rule: #858a84;
  --cell: 40px;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.notebook { width: min(100% - 40px, 1040px); margin-inline: auto; }
.masthead {
  padding-top: clamp(22px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  font: 600 30px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.04em;
}
.brand__mark { display: block; width: 76px; height: 76px; object-fit: contain; }
.tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  margin-top: 26px;
}
.tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.tab:hover, .tab[aria-current="page"] { color: var(--red); }
.tab[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.content {
  flex: 1;
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: clamp(54px, 11vw, 116px) 18px clamp(55px, 12vw, 130px);
  text-align: center;
}
.content h1 {
  max-width: 19ch;
  margin: 0 auto;
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.055em;
}
.content p { margin: 20px 0 0; font-size: clamp(18px, 2.3vw, 23px); line-height: 1.55; }
.motion-mark {
  position: relative;
  width: clamp(220px, 32vw, 260px);
  aspect-ratio: 1;
  margin: 34px auto 0;
}
.motion-mark .mark__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.motion-mark .mark__fallback { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transition: opacity .9s ease; }
.motion-mark.is-live .mark__canvas { opacity: 1; }
.motion-mark.is-live .mark__fallback { opacity: 0; }
.content .role-lines { margin-top: 28px; font-size: 18px; }
.content .role-lines p { margin-top: 8px; font-size: inherit; }
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 17px;
  background: var(--red);
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
}
.cta:hover { background: #852a26; }
.quiet-link { display: inline-block; margin-top: 18px; font-size: 14px; }
.waitlist-section { width: min(100% - 40px, 1040px); margin: 0 auto 28px; padding: 24px 18px 10px; text-align: center; }
.waitlist-section h2 { font-size: 20px; font-weight: 500; }
.waitlist { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.waitlist input { min-height: 44px; min-width: min(100%, 230px); border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--ink); font: inherit; }
.waitlist button { min-height: 44px; padding: 0 14px; background: var(--red); color: var(--paper); cursor: pointer; }
.waitlist #waitlist-note { flex-basis: 100%; margin: 0; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.foot { width: min(100% - 40px, 1040px); margin: 0 auto; padding: 18px 18px 28px; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
@media (max-width: 660px) {
  :root { --cell: 32px; }
  .notebook, .content, .foot { width: min(100% - 24px, 1040px); }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 440px); row-gap: 2px; margin-top: 20px; }
  .brand { gap: 14px; font-size: 26px; }
  .brand__mark { width: 60px; height: 60px; }
  .tab { padding: 9px 4px; font-size: 13px; }
  .content, .foot { padding-inline: 12px; }
  .waitlist-section { width: min(100% - 24px, 1040px); padding-inline: 12px; }
  .content { padding-top: 56px; }
}
@media (max-width: 360px) {
  .tab { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Every visible text line uses a whole paper cell; the measured baseline
   offset is supplied by notebook-grid.js rather than guessed from the font. */
:root { --red: #b44540; }
body { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.masthead { padding-top: var(--cell); }
.brand { height: calc(2 * var(--cell)); font-size: 28px; line-height: var(--cell); }
.brand__mark { width: calc(2 * var(--cell)); height: calc(2 * var(--cell)); }
.tabs { margin-top: var(--cell); }
.tab { padding: 0 8px; line-height: var(--cell); font-size: 14px; }
.content { padding-top: calc(2 * var(--cell)); padding-bottom: calc(2 * var(--cell)); }
.content h1 { font-size: clamp(28px, 4.2vw, 48px); line-height: calc(2 * var(--cell)); font-weight: 500; letter-spacing: -.04em; }
.content p { margin: var(--cell) 0 0; font-size: 16px; line-height: var(--cell); }
.content .role-lines { margin-top: var(--cell); font-size: 16px; }
.content .role-lines p { margin-top: 0; }
.cta { display: inline-block; min-height: var(--cell); padding: 0 16px; margin-top: var(--cell); background: transparent; color: var(--red); line-height: var(--cell); text-decoration: underline; text-decoration-thickness: 1px; }
.cta:hover { background: transparent; color: var(--ink); }
.download-content { flex: 0; padding-top: var(--cell); padding-bottom: 0; }
.download-art { display: block; position: relative; width: calc(7 * var(--cell)); max-width: 100%; margin: 0 auto; color: var(--red); text-decoration: none; }
.download-art .motion-mark { display: block; width: 100%; margin: 0; aspect-ratio: 1; }
.download-label { display: block; position: absolute; bottom: 0; width: 100%; font-size: 16px; line-height: var(--cell); }
.download-art:hover .download-label { text-decoration: underline; text-decoration-thickness: 1px; }
.download-art:hover .mark__fallback { transform: rotate(-3deg); }
.download-art .mark__fallback { transition: opacity .9s ease, transform .35s ease; }
.content .release-note { margin-top: 0; font-size: 12px; color: #687069; }
.waitlist-section { margin: 0 auto; padding: 0; text-align: center; }
.waitlist-section summary { display: inline-block; color: var(--ink); font-size: 12px; line-height: var(--cell); cursor: pointer; list-style: none; }
.waitlist-section summary::-webkit-details-marker { display: none; }
.waitlist-section summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.waitlist { gap: 0 20px; margin-top: var(--cell); line-height: var(--cell); }
.waitlist input { min-height: var(--cell); height: var(--cell); padding: 0; line-height: var(--cell); font-size: 14px; }
.waitlist button { border: 0; min-height: var(--cell); padding: 0 12px; color: var(--red); background: transparent; font: inherit; line-height: var(--cell); text-decoration: underline; }
.waitlist #waitlist-note { font-size: 12px; line-height: var(--cell); }
.foot { margin-top: auto; padding-top: var(--cell); padding-bottom: var(--cell); line-height: var(--cell); }
.foot__row, .foot__links { gap: 0 24px; }
.foot a, .foot__row > span { display: inline-block; line-height: var(--cell); }
.grid-baseline { display: inline-block; width: 0; height: 0; padding: 0; margin: 0; border: 0; vertical-align: baseline; pointer-events: none; }
.download-label > span, .brand > span, .tab, .content h1:not(.sr-only), .content h2, .content p, .content > .cta, .waitlist-section > summary, .waitlist, .foot a, .foot__row > span, .notebook-shell main h1, .notebook-shell main p, #read-terms, #download, .actions > a, #agreement > span, #updates-label > span { position: relative; }
@media (max-width: 660px) {
  .brand { font-size: 24px; }
  .tabs { margin-top: var(--cell); row-gap: 0; }
  .tab { padding: 0 4px; font-size: 12px; }
  .content { padding-top: calc(2 * var(--cell)); }
  .download-content { padding-top: var(--cell); }
  .content h1 { line-height: calc(2 * var(--cell)); }
  .foot__row, .foot__links { gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .download-art:hover .mark__fallback { transform: none; } }

/* Keep Matthew's original two floating T's visible in each centered header. */
.brand { height: calc(3 * var(--cell)); }
.brand .header-mark { position: relative; display: block; width: calc(4 * var(--cell)); height: calc(3 * var(--cell)); aspect-ratio: auto; margin: 0; }
.header-mark .mark__fallback { object-fit: contain; }

.notebook-wordmark { white-space:nowrap; }
.notebook-wordmark .wordmark-wave { display:inline-block; width:56px; height:56px; vertical-align:-16px; }

/* The correction oval surrounds the complete word, not only its initial. */
.notebook-wordmark { position: relative; isolation: isolate; }
.notebook-wordmark::after { content: ""; position: absolute; pointer-events: none; inset: -14px -18px -12px -14px; background: url(/tinkr-word-ring-a387b0b6a733.svg) center / 100% 100% no-repeat; }

.notebook-wordmark .wordmark-wave { margin-right: -14px; }
.notebook-wordmark::after { inset: -18px -22px -16px -18px; }
/* Do not flash the static pi while the animated letters initialize. */
@media (prefers-reduced-motion: no-preference) {
  [data-mark-motion]:not([data-motion-state="unavailable"]) .mark__fallback { opacity: 0; transition: none; }
}
