/* styles.css */

/* 1. Brand tokens – swap these to match your actual site */
:root {
  /* Replace these with your real font stacks if you want 1:1 matching */
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;

  --color-bg: #f3f4f6; /* page background */
  --color-surface: #ffffff; /* card background */
  --color-text: #111827; /* primary text */
  --color-muted: #4b5563; /* secondary text */
  --color-accent: #4f46e5; /* accent color for headings/links */

  --radius-lg: 1.5rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.1);
}

/* 2. Global reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  background: radial-gradient(
    circle at top left,
    #e5e7eb 0,
    #f9fafb 35%,
    #f3f4f6 100%
  );
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1.5rem;
}

/* 3. Layout */

main {
  width: 100%;
  max-width: 720px;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.75rem 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* 4. Typography */

header {
  margin-bottom: 2.5rem;
  text-align: left;
}

h1,
h2 {
  font-family: var(--font-heading);
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

header p:first-of-type {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

header p:nth-of-type(2),
header p:nth-of-type(3) {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
  max-width: 48rem;
}

section {
  margin-bottom: 2.25rem;
}

h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

/* 5. Book list */

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 1.1rem;
  color: var(--color-accent);
}

li strong {
  color: var(--color-text);
  font-weight: 600;
}

/* 6. Footer */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* 7. Links (handy if you add any later) */

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 8. Small screens */

@media (max-width: 640px) {
  body {
    padding: 1.5rem 1.25rem;
  }

  main {
    padding: 2rem 1.5rem;
    border-radius: 1.1rem;
  }
}
