@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --canvas: #f4f0e8;
  --surface: #fffdf8;
  --ink: #1d1b18;
  --soft-ink: #6d655b;
  --rule: #d8d0c4;
  --accent: #b73a2c;
  --accent-wash: #f7dfd8;
  --quiet-wash: #ece6db;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }


.hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 28px max(7vw, 28px) 62px;
  background: #e7efff;
}

.hero::before,
.hero::after {
  position: absolute;
  content: '';
  filter: blur(1px);
  border-radius: 50%;
}

.hero::before { top: -160px; right: -75px; width: 430px; height: 430px; background: #b7d2ff; }
.hero::after { bottom: -210px; left: -100px; width: 300px; height: 300px; background: #ffd4bd; }
.hero-copy { position: relative; z-index: 1; max-width: 1080px; margin: 78px auto 0; }
.eyebrow, .number, .prompt strong, .answer strong, .tag { font: 500 11px 'DM Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { color: #1f62d0; }
h2 { font-family: 'DM Sans', Arial, sans-serif; }

h1 {
  max-width: 800px;
  margin: 13px 0 15px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 em { font-style: normal; }
.name { margin: 0; color: #000; font-size: 18px; font-weight: 700; }

main { max-width: 1080px; margin: 0 auto; padding: 48px 28px 76px; }

.intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 0 0 36px;
  border-bottom: 2px solid var(--ink);
}

.intro p { max-width: 760px; margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.tag { padding: 6px 8px; color: var(--surface); background: var(--accent); }
.tasks { display: grid; gap: 0; }
.task { padding: 38px 0; border-bottom: 1px solid var(--rule); }

.task-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 20px;
}

.number { color: var(--accent); }
h2 { margin: 0; font-size: clamp(27px, 3vw, 38px); font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; }
.prompt, .answer { padding: 16px 20px; }
.prompt { border-left: 4px solid var(--accent); background: var(--accent-wash); }
.answer { margin-top: 12px; background: var(--quiet-wash); }
.prompt strong, .answer strong { display: block; margin-bottom: 7px; }
.prompt p, .answer p { margin: 0; }

figure img {
  display: block;
  width: min(100%, 700px);
  margin: 0 auto;
}
/* img { max-width: 100%; } */

figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; color: var(--soft-ink); font-size: 13px; }
figcaption a { color: var(--accent); }
footer { max-width: 1080px; margin: 0 auto; padding: 0 28px 30px; color: var(--soft-ink); font: 11px 'DM Mono', monospace; letter-spacing: 0.04em; }

@media (max-width: 600px) {
  .hero { min-height: 340px; padding: 28px 20px 54px; }
  .hero-copy { margin-top: 62px; }
  main { padding: 34px 20px 54px; }
  .intro { grid-template-columns: 1fr; gap: 14px; padding-bottom: 28px; }
  .task { padding: 30px 0; }
  .task-head { grid-template-columns: 1fr; gap: 8px; }
  figcaption { flex-direction: column; gap: 4px; }
  footer { padding: 0 20px 24px; }
}
