@layer base {
  html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-font-smoothing: antialiased; }
  body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-sans); font-weight: 400; line-height: 1.5; }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-ember); outline-offset: 3px; }
  summary { list-style: none; }
  summary::-webkit-details-marker { display: none; }
  ::selection { background: var(--color-copper); color: var(--color-cream); }
  section[id] { scroll-margin-top: 5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 680ms cubic-bezier(0.2, 0, 0, 1) both; }
  .rise-2 { animation-delay: 90ms; }
  .rise-3 { animation-delay: 180ms; }
  .rise-4 { animation-delay: 270ms; }
}
@layer utilities {
  .hover\:bg-copper-ink:hover { background-color: var(--color-copper-ink); }
  .hover\:bg-cream\/10:hover { background-color: color-mix(in oklab, var(--color-cream) 10%, transparent); }
  .hover\:bg-paper:hover { background-color: var(--color-paper); }
  .hover\:bg-pine-deep:hover { background-color: var(--color-pine-deep); }
  .hover\:text-cream:hover { color: var(--color-cream); }
  .group-open\:rotate-45:is(:where(.group):is([open], :popover-open, :open) *) { rotate: 45deg; }
  .shadow-card { --tw-shadow: 0 24px 50px -28px rgb(16 25 46 / 0.55); box-shadow: var(--tw-shadow); }
  .transition-colors { transition-property: color, background-color, border-color; transition-duration: 200ms; }
  .duration-200 { transition-duration: 200ms; }
  .tabular-nums { font-variant-numeric: tabular-nums; }
}