@layer base {
  @font-face {
    font-family: "Abril Fatface";
    src: url("../fonts/AbrilFatface.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  :root {
    --pdc-rose: #ff9ac7;
    --pdc-cotton: #ffeef7;
    --pdc-lollipop: #ff6b9d;
    --pdc-choco: #8b4513;
    --pdc-cream: #fffaf0;
    --pdc-text: #2d1b2e;
    --pdc-text-light: #6b5a6e;
    --pdc-bg: #ffffff;
    --pdc-bg-alt: #fef5fb;
    --pdc-border: #f0d9e8;
    --pdc-shadow: rgba(255, 154, 199, 0.15);
    --pdc-gradient-1: linear-gradient(135deg, var(--pdc-rose) 0%, var(--pdc-lollipop) 100%);
    --pdc-gradient-2: linear-gradient(135deg, var(--pdc-cotton) 0%, var(--pdc-cream) 100%);
    --pdc-font-display: "Abril Fatface", Georgia, "Times New Roman", serif;
    --pdc-font-body: Georgia, "Times New Roman", serif;
    --pdc-radius: 1rem;
    --pdc-radius-sm: 0.5rem;
    --pdc-radius-lg: 1.5rem;
    --pdc-radius-full: 9999px;
    --pdc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --pdc-text: #f5e6f0;
      --pdc-text-light: #d4b8d1;
      --pdc-bg: #1a0f1b;
      --pdc-bg-alt: #2d1b2e;
      --pdc-border: #4a2f4d;
      --pdc-shadow: rgba(255, 154, 199, 0.25);
    }
  }

  body {
    font-family: var(--pdc-font-body);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.6;
    color: var(--pdc-text);
    background-color: var(--pdc-bg);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--pdc-font-display);
    line-height: 1.2;
    font-weight: 400;
    text-wrap: balance;
  }

  h1 {
    font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 1.75rem + 1.25vw, 3rem);
  }

  h3 {
    font-size: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  }

  p {
    text-wrap: pretty;
  }

  a {
    transition: color var(--pdc-transition);
  }

  a:hover {
    color: var(--pdc-lollipop);
  }

  a:focus-visible {
    outline: 2px solid var(--pdc-rose);
    outline-offset: 2px;
    border-radius: var(--pdc-radius-sm);
  }

  button:focus-visible {
    outline: 2px solid var(--pdc-rose);
    outline-offset: 2px;
  }
}
