/* Second's live typography. Kept separate so FPL and earlier explorations stay as authored. */
@font-face { font-family: "EB Garamond"; src: url(fonts/eb-garamond-latin.woff2) format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/source-serif-4-latin.woff2) format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; }

:root {
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --reading: "Source Serif 4", Georgia, Cambria, "Times New Roman", Times, serif;
  /* Second Neo Button, default variant and size: components/ui/button.tsx + index.css.
     Static CSS equivalent for this dependency-free site; see README for the source revision. */
  --button-radius: 10px;
  --button-height: 32px;
  --button-padding: 10px;
  --button-font-size: 14px;
  --button-weight: 470;
  --button-primary: oklch(0.23 0.0035 65);
  --button-foreground: oklch(0.985 0.0015 85);
  --button-ring: oklch(0.7 0.006 70);
}
:root[data-theme="dark"] {
  --button-primary: oklch(0.925 0.006 85);
  --button-foreground: oklch(0.225 0.005 65);
  --button-ring: oklch(0.56 0.01 70);
}

.button {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--button-height);
  padding: 0 var(--button-padding);
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  background: var(--button-primary);
  background-clip: padding-box;
  color: var(--button-foreground);
  font-family: var(--sans);
  font-size: var(--button-font-size);
  font-weight: var(--button-weight);
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  transition: background-color 150ms, box-shadow 150ms, transform 150ms;
}
/* Keep the kit's compact visible shape, with a 44px pointer target on the web. */
.button::before { content: ""; position: absolute; inset: -6px 0; }
.button:hover { background-color: color-mix(in oklab, var(--button-primary) 80%, transparent); }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline: 2px solid var(--button-ring); outline-offset: 2px; }
.button:disabled { opacity: .5; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
