/*
  Trial of a neutral style (2026-11-26): a white page, black text, one
  typeface, no covers, no textures, no title effect. Loaded after site.css
  and hero.css and only overrides them.
*/

:root {
  color-scheme: light;
  --page: #ffffff;
  --ink: #1a1a1a;
  --muted: #5e5e5e;
  --hairline: rgba(0, 0, 0, 0.14);
  --paper-deep: #f4f4f2;
  --paper: #ffffff;
  --paper-ink: #1a1a1a;
  --paper-muted: #5e5e5e;
  /* The same blue, darker, so author names pass 4.5:1 on white. */
  --pelican-blue: #1d6f8c;
  --font-title: var(--font-body);
}

body {
  background: var(--page);
}

/* Title block: the body typeface, with ordinary spacing. */
.hero {
  padding-bottom: 8px;
}

.hero-inner {
  max-width: 860px;
  padding-top: 20px;
}

.hero h1 {
  font-size: clamp(1.9rem, 2.7vw, 2.5rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.hero .title-wrap {
  margin-top: 28px;
}

/* The venue is one plain grey line, in the typeface of the page, so the eye
   stays on the title. */
.hero .venue {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero .venue a {
  color: inherit;
}

.hero .venue a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Buttons: hover text is white on the site colours. */
.hero .btn-arxiv:hover {
  color: #ffffff;
}

/* The menu is a plain white sheet with a thin border. */
.hero .more-menu {
  background-image: none;
  border: 1px solid var(--hairline);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.08);
}

/* The TL;DR under the buttons: the main result first, then the others, set
   like the prose of the page and as wide as its column. */
.hero .tldr {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Paper figures sit straight on the page. */
main .surface {
  padding: 0;
  background: none;
}

.surface img {
  mix-blend-mode: normal;
}

/* The footer has the ground of the page and the logos drawn for a light
   ground. A hairline, as wide as the text column, sets it apart. */
.site-footer {
  margin-top: 40px;
}

.site-footer .wrap::before {
  height: 1px;
  background: var(--hairline);
}

/* The formulas are drawn in one light colour for the dark page: print them
   in the ink of this page. */
.metrics .eq img,
.formula img {
  filter: brightness(0);
  opacity: 0.9;
}

/* Figures at 80% of the width they have in site.css (600, 960 and 720 px).
   On a phone they still fill the column. The caption stays as wide as its
   figure. */
.fig-narrow {
  width: min(480px, 100%);
}

.fig-wide {
  width: min(768px, 100%);
}

.teaser {
  width: min(576px, 100%);
}

/* Text that follows a table starts a little lower than its caption. */
.table-fig + p {
  margin-top: 28px;
}
