/* style.css
* Main stylesheet for katy.devilishseraph.net
* Imports reset and root, then applies site-wide styles.
* Keep layout and component styles in here or split further as needed.
*/

@import url('reset.css');
@import url('root.css');

/* ============================================================
* BASE
* ============================================================ */

html {
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  min-height: 100vh;
}

/* ============================================================
* TYPOGRAPHY
* ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-monospace);
  font-weight: normal; /* adjust to taste */
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-size-xxl); }
h2 { font-size: var(--font-size-xl); }
h3 { font-size: var(--font-size-lg); }

p {
  margin-bottom: var(--space-md);
}

/* ============================================================
* LINKS
* ============================================================ */

a {
  color: var(--color-link);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

a:visited {
  color: var(--color-link-visited);
}

a:hover,
a:focus {
  color: var(--color-link-hover);
}

/* Visible focus ring — important for keyboard and a11y */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
* LAYOUT SCAFFOLD — adjust as the site takes shape
* ============================================================ */

.site-wrapper {
  max-width: 960px;
  margin: 10rem auto 0 auto;
  padding: 0 var(--space-md);
}

.signature {
  font-family: var(--font-cursive);
  font-size: var(--font-size-xxl);
  margin-top: var(--space-lg);
}

.fa-heart {
  color: var(--swatch-dark-crimson);
}

/* ============================================================
* CODE / PRE
* ============================================================ */

code,
pre {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-xs) var(--space-sm);
}

pre {
  padding: var(--space-md);
  overflow-x: auto;
  border-left: 3px solid var(--color-accent);
}