/* Shared by every page: the reset and the centred column every Carrd page used.
   Values are Carrd's own (archive/live-2026-11-26/pages/*.css); each page sets its own --width, --pad-h, --pad-v,
   --spacing and root font size in its stylesheet, as the four Carrd sites each did. */

html, body, div, span, h1, h2, h3, p, a, em, strong, u, ul, li, hr, nav, main, footer, header, section, button, time {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
*, *::before, *::after { box-sizing: border-box; }
ul { list-style: none; }
strong { font-weight: bolder; }
em { font-style: italic; }
u { text-decoration: underline; }

body {
  line-height: 1;
  min-height: 100vh;
  min-height: 100svh;
  min-width: 320px;
  overflow-x: hidden;
  word-wrap: break-word;
  -webkit-text-size-adjust: none;
}

/* .wrap = Carrd's .site-wrapper, .main = .site-main, .inner = .site-main > .inner */
.wrap {
  align-items: center; display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden; position: relative; z-index: 2;
}
.main {
  align-items: center; display: flex; flex-grow: 0; flex-shrink: 0; justify-content: center;
  max-width: 100%; position: relative; z-index: 1;
}
.inner {
  max-width: 100%; position: relative; z-index: 1;
  width: var(--width);
  padding: var(--pad-v) var(--pad-h);
}
.inner > * { margin-top: var(--spacing); margin-bottom: var(--spacing); }
.inner > :first-child { margin-top: 0 !important; }
.inner > :last-child { margin-bottom: 0 !important; }

/* A bare action: no box, no fill (DLM T3), for the few controls that are buttons in the markup. */
button { background: none; color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }

/* Underlines that ease away under the pointer instead of vanishing (DLM M2: a beat in, a slower way home).
   Pages opt in with class="ease-underline" on a link list or text block. */
.ease-underline a, a.ease-underline {
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  transition: text-decoration-color 0.9s ease, color 0.9s ease;
}
@media (hover: hover) {
  .ease-underline a:hover, a.ease-underline:hover {
    text-decoration-color: transparent;
    transition: text-decoration-color 0.35s ease 0.08s, color 0.35s ease 0.08s;
  }
}

/* Elements that reveal themselves (js/reveal.js) start hidden only when scripts run. */
.js [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transform: none !important; }
}
