/* ==========================================================================
   base.css - Reset, page typography, headings
   Dooze Clip Generator
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-ambient, var(--bg));
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-family, "Google Sans", "Google Sans Text", "Inter", system-ui, -apple-system, sans-serif);
  letter-spacing: -0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1.5rem 2rem;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(168, 199, 250, 0.28);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid rgba(168, 199, 250, 0.65);
  outline-offset: 2px;
}

button,
select,
textarea,
input {
  font: inherit;
}

h1 {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -0.015em;
  margin: 1rem 0 0.25rem;
}
