/* verroes.com/transconception: a paper, set as an arXiv preprint would be on the web.
   Black on white, Latin Modern (the TeX face), subset and renamed VLM, self-hosted under fonts/ (see fonts/NOTICE.txt), a text column of about 70 characters.
   No script; nothing from another origin. */

@font-face { font-family: "VLM Roman"; src: url("/transconception/fonts/vlm-roman-regular.woff2") format("woff2");
             font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "VLM Roman"; src: url("/transconception/fonts/vlm-roman-italic.woff2") format("woff2");
             font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "VLM Roman"; src: url("/transconception/fonts/vlm-roman-bold.woff2") format("woff2");
             font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "VLM Roman"; src: url("/transconception/fonts/vlm-roman-bolditalic.woff2") format("woff2");
             font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "VLM Mono"; src: url("/transconception/fonts/vlm-mono-regular.woff2") format("woff2");
             font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #000;
  --ground: #fff;
  --rule: #000;
  --faint: #555;
  --link: #00009c;           /* the dark blue of hyperref's links */
  --serif: "VLM Roman", "Latin Modern Roman", "CMU Serif", "Computer Modern Serif", "Times New Roman", Times, serif;
  --mono: "VLM Mono", "Latin Modern Mono", "CMU Typewriter Text", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}

html { background: var(--ground); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}

.paper {
  max-width: 41rem;
  margin: 0 auto;
  padding: 3.5rem 16px 5rem;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

p { margin: 0 0 0.85em; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
a { color: var(--link); text-decoration: none; overflow-wrap: anywhere; }
a:hover, a:focus-visible { text-decoration: underline; }
strong { font-weight: 700; }
code { font-family: var(--mono); font-size: 0.94em; overflow-wrap: anywhere; hyphens: none; }

/* The title block, centred as \maketitle sets it. */
.titleblock { text-align: center; margin: 0 0 2.4rem; }
.titleblock p { text-align: center; hyphens: manual; -webkit-hyphens: manual; }
.titleblock h1 { font-size: 1.95em; font-weight: 700; line-height: 1.2; margin: 0 0 0.45em; letter-spacing: 0.005em; }
.subtitle p { font-size: 1.2em; line-height: 1.35; margin: 0 auto 1.4em; max-width: 30em; }
.author p { font-size: 1.12em; margin: 0 0 0.25em; }
.date p { margin: 0; }

/* The abstract, narrower and smaller, its title centred in bold. */
.abstract { font-size: 0.92em; margin: 0 2.2em 2.6rem; }
.abstract-title p { text-align: center; margin: 0 0 0.4em; }

/* Sections. The essay numbers its own headings (I., A.), so no counters are added. */
h2, h3, h4 { font-weight: 700; line-height: 1.3; text-align: left; hyphens: manual; -webkit-hyphens: manual; }
h2 { font-size: 1.3em; margin: 2.2em 0 0.7em; }
h3 { font-size: 1.1em; margin: 1.7em 0 0.55em; }
h4 { font-size: 1em; margin: 1.4em 0 0.5em; }
h2 code, h3 code { font-size: 0.92em; }

blockquote { margin: 0 0 1em; padding: 0 0 0 1.6em; }
blockquote p { text-align: left; }
ol, ul { margin: 0 0 1em; padding-left: 1.6em; }
li { margin: 0 0 0.35em; }
li > p { margin-bottom: 0.35em; }

/* Tables, as booktabs draws them: a heavy rule over and under, a light one under the head. */
.table-figure { margin: 1.6em 0 1.8em; }
.table-figure .caption p { text-align: left; font-size: 0.96em; line-height: 1.4; margin: 0 0 0.6em; hyphens: manual; -webkit-hyphens: manual; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 0.8em; line-height: 1.35;
        border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
thead th { border-bottom: 0.75px solid var(--rule); font-weight: 700; }
th, td { padding: 0.45em 0.6em; vertical-align: top; text-align: left; hyphens: auto; -webkit-hyphens: auto; }
th:first-child, td:first-child { padding-left: 0.15em; }
th:last-child, td:last-child { padding-right: 0.15em; }
tbody tr:first-child td { padding-top: 0.6em; }
tbody tr:last-child td { padding-bottom: 0.6em; }

/* A table of many columns spans wider than the text, as table* does. */
.table-figure.wide { width: min(66rem, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%); }
td code { overflow-wrap: normal; }

/* The bibliography: no bullets, a hanging indent. */
.references ul { list-style: none; padding: 0; font-size: 0.92em; }
.references li { padding-left: 1.6em; text-indent: -1.6em; margin: 0 0 0.55em; text-align: left; }

/* The notes, gathered at the end. */
sup { line-height: 0; }
a.footnote-ref { text-decoration: none; }
a.footnote-ref sup { font-size: 0.72em; }
section.footnotes { margin-top: 3rem; font-size: 0.88em; }
section.footnotes hr { border: 0; border-top: 0.75px solid var(--rule); width: 12rem; margin: 0 0 1em; }
section.footnotes::before { content: "Notes"; display: block; font-weight: 700; font-size: 1.48em; margin: 0 0 0.6em; order: -1; }
section.footnotes ol { padding-left: 1.4em; }
section.footnotes li { margin-bottom: 0.6em; }
section.footnotes p { text-align: left; }
a.footnote-back { text-decoration: none; font-family: var(--serif); }

:target { scroll-margin-top: 1rem; }
::selection { background: #cfd8ff; }

/* A phone: the text ragged right (justified lines open rivers at this width), the abstract full width. */
@media (max-width: 34rem) {
  body { font-size: 17.5px; }
  .paper { padding-top: 2rem; }
  p, th, td { text-align: left; }
  h1.title { font-size: 1.7em; }
  .subtitle p { font-size: 1.1em; }
  .abstract { margin: 0 0 2.2rem; }
  table { font-size: 0.78em; }
  /* tables of four or more columns scroll sideways inside their box rather than crush their columns */
  .mid table { min-width: 30rem; }
  .wide table { min-width: 52rem; }
}

@media print {
  body { font-size: 11pt; }
  .paper { max-width: none; padding: 0; }
  a { color: var(--ink); }
}
