/* ==========================================================================
   christinaferris.com — Stylesheet
   Fonts: Zalando Sans (headings), Noto Sans (body)
   ========================================================================== */

/* Import fonts — add these to your HTML <head> instead if you prefer:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Noto+Sans:wght@400;500;700&display=swap" rel="stylesheet">
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Noto+Sans:wght@400;500;700&display=swap');

/* --------------------------------------------------------------------------
   Color palette
   -------------------------------------------------------------------------- */
:root {
  --ink-black: #070414;
  --neon-violet: #E400E7;
  --ultrasonic-blue: #300BD6;
  --honey-bronze: #F2A830;
  --alice-blue: #F1F8F9;

  /* Semantic aliases */
  --color-bg: var(--ink-black);
  --color-text: var(--alice-blue);
  --color-heading: var(--neon-violet);
  --color-link: var(--honey-bronze);
  --color-link-hover: var(--neon-violet);
  --color-accent: var(--ultrasonic-blue);

  /* Typography */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Noto Sans', sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Main container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 3rem;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .container {
    padding: 2rem 1rem 3rem;
  }
}

/* --------------------------------------------------------------------------
   Paragraphs
   -------------------------------------------------------------------------- */
p {
  margin: 0 0 1.25em;
}

/* --------------------------------------------------------------------------
   Headings
   H1: Zalando Sans, weight 700, 64px
   H2–H6 scaled down proportionally, still weight 700
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 64px;
  margin-top: 0;
  margin-bottom: 0.25em;
}

h2 {
  font-size: 48px;
  margin-top: 2em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid rgba(7, 4, 20, 0.12);
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 22px;
}

h6 {
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
a {
  color: var(--color-link);
  text-decoration: underline;
}

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

a:focus-visible {
  outline: 2px solid var(--color-link-hover);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
ul, ol {
  font-family: var(--font-body);
  font-size: 16px;
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.5em;
}

li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Responsive scaling for smaller screens
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 26px; }
  h4 { font-size: 22px; }
  h5 { font-size: 19px; }
  h6 { font-size: 17px; }
}
