/* Flawsome static site — design tokens & base */
:root {
  --flawsome-red: #ff5f50;
  --flawsome-red-hover: #ec4a3b;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-pink: #f9d6cf;
  --bg-blue: #a8d3e0;
  --bg-blue-deep: #8ecae6;
  --bg-dark: #131415;
  --text: #222222;
  --text-muted: #6b6f76;
  --text-subtle: #929cad;
  --border: #e7eaee;
  --radius: 8px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 0 20px rgba(0, 0, 0, 0.04);
  --max-w: 1120px;
  --font-heading: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --font-script: "Clicker Script", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

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

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
}

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

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
