/* Tenorbook holding page. Tokens, fonts and type taken from the site's
   "Board paper" stylesheet (site/assets/site.v5.css). */

@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4.005R/SourceSerif4-Regular.ttf.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4.005R/SourceSerif4-Semibold.ttf.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4 Display"; src: url("/assets/fonts/source-serif-4.005R/SourceSerif4Display-Semibold.ttf.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3.052R/SourceSans3-Regular.ttf.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3.052R/SourceSans3-Semibold.ttf.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Serif Fallback"; src: local("Times New Roman"), local("Liberation Serif"); size-adjust: 107.6%; ascent-override: 96.3%; descent-override: 31.1%; line-gap-override: 0%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial"), local("Liberation Sans"); size-adjust: 92.6%; ascent-override: 108%; descent-override: 35.2%; line-gap-override: 0%; }

:root {
  color-scheme: light dark;
  --paper: #FAF8F3;
  --rule: #E2DCCF;
  --ink-2: #4A5560;
  --ink-3: #5C6670;
  --band: #102029;
  --band-ink: #EEEAE1;
  --band-ink-2: #AFBCC1;
  --band-accent: #93C4D3;
  --band-rule: rgba(236, 232, 223, 0.12);
  --band-rule-strong: rgba(236, 232, 223, 0.32);
  --serif: "Source Serif 4", "Serif Fallback", Georgia, serif;
  --display: "Source Serif 4 Display", "Serif Fallback", Georgia, serif;
  --sans: "Source Sans 3", "Sans Fallback", "Segoe UI", sans-serif;
  --gutter: 24px;
  --max: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11171D;
    --rule: #26303A;
    --ink-2: #AEB5B9;
    --ink-3: #939CA3;
    --band: #13232C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--band);
  color: var(--band-ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
p { margin: 0 0 16px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--band-accent); outline-offset: 3px; }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.masthead { border-bottom: 1px solid var(--band-rule); }
.masthead-inner { display: flex; align-items: center; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.brand::before { content: ""; width: 14px; height: 14px; border: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) 2px calc(100% - 2px) / calc(100% - 4px) 5px no-repeat; }

.hero { flex: 1; display: flex; align-items: center; padding: 96px 0; }
.hero .wrap { width: 100%; }
.kicker { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--band-accent); margin: 0 0 24px; }
.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: 64px;
  letter-spacing: -0.022em;
  line-height: 1.02;
  margin: 0 0 32px;
  max-width: 14em;
  text-wrap: balance;
}
.lead { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--band-ink-2); max-width: 36em; margin: 0 0 36px; }
.cta { margin: 0; }
.arrow-link { font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--band-rule-strong); padding-bottom: 2px; }
.arrow-link::after { content: "\2192"; display: inline-block; margin-left: 6px; }
.arrow-link:hover { border-bottom-color: currentColor; color: var(--band-accent); }

.site-footer { background: var(--paper); color: var(--ink-3); border-top: 1px solid var(--rule); padding: 32px 0 28px; font-size: 14px; }
.site-footer p { margin: 0 0 6px; }

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .hero { padding: 56px 0; }
  .kicker { font-size: 12.5px; letter-spacing: 0.09em; }
  .display { font-size: 42px; line-height: 1.04; }
  .lead { font-size: 18.5px; }
}
@media (forced-colors: active) {
  body, .site-footer { background: Canvas; color: CanvasText; }
}
