:root {
  --ink: #17312f;
  --muted: #5c6c69;
  --paper: #fffdf8;
  --cream: #f7f2e8;
  --coral: #f1654c;
  --coral-dark: #c9402d;
  --peach: #ffd2bd;
  --mint: #a9dac7;
  --mint-dark: #1d6a5b;
  --yellow: #f5cc63;
  --line: #d8ded9;
  --shadow: 0 18px 50px rgba(23, 49, 47, .11);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 20; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-header {
  max-width: 1240px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1.1; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--coral); color: white; border-radius: 50% 50% 50% 12px; font-size: .83rem; }
.week-pill { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: .86rem; font-weight: 700; }
.hero {
  position: relative;
  min-height: 650px;
  max-width: 1184px;
  margin: 0 auto 72px;
  padding: 80px 72px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--cream);
}
.hero::before { content: ""; position: absolute; width: 170px; height: 170px; left: -65px; bottom: -75px; border-radius: 50%; background: var(--yellow); }
.eyebrow { margin: 0 0 12px; color: var(--coral-dark); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: 1.04; }
h1 { max-width: 720px; font-size: clamp(3.2rem, 6vw, 5.7rem); font-weight: 820; }
h1 em { color: var(--coral); font-family: Georgia, serif; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.author-line { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.author-line p { margin: 0; line-height: 1.25; }
.author-line strong, .author-line small { display: block; }
.author-line strong { font-size: .96rem; }
.author-line small { margin-top: 4px; color: var(--muted); font-size: .82rem; }
.author-dot { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral-dark); font-size: .72rem; font-weight: 900; letter-spacing: .04em; }
.hero-lead { max-width: 650px; margin: 28px 0 34px; color: var(--muted); font-size: 1.15rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 2px solid transparent; border-radius: 12px; cursor: pointer; text-decoration: none; font-weight: 800; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-primary { background: var(--coral); color: white; box-shadow: 0 8px 0 #b93e2d; }
.button-primary:hover { background: var(--coral-dark); }
.button-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.empathy-card { position: relative; z-index: 2; width: 245px; padding: 36px 32px; display: grid; gap: 8px; background: var(--ink); color: white; border-radius: 120px 120px 28px 28px; transform: rotate(3deg); box-shadow: 24px 25px 0 var(--mint); }
.empathy-card .face { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 10px; background: var(--yellow); color: var(--ink); border-radius: 50%; font-size: 2.4rem; }
.empathy-card strong { font-size: 1.25rem; }
.orbit { position: absolute; border: 2px solid var(--coral); border-radius: 50%; }
.orbit-one { width: 360px; height: 360px; }
.orbit-two { width: 440px; height: 300px; transform: rotate(-24deg); border-color: var(--mint-dark); }
.spark { position: absolute; z-index: 3; color: var(--coral); font-size: 2.5rem; }
.spark-one { top: 40px; right: 30px; }.spark-two { bottom: 55px; left: 25px; color: var(--mint-dark); }
.section-shell { max-width: 1040px; margin: 0 auto; padding: 90px 28px; }
.explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.explanation-copy { padding-left: 30px; border-left: 4px solid var(--mint); font-size: 1.14rem; }
.explanation-copy p:first-child { margin-top: 0; }
.instructions { max-width: 1184px; padding: 85px 72px; border-radius: 32px; background: var(--ink); color: white; }
.instructions .eyebrow { color: var(--peach); }
.section-heading { max-width: 760px; }
.section-heading > p:last-child { margin-top: 20px; color: #c5d0cd; font-size: 1.08rem; }
.steps { margin: 50px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; counter-reset: steps; }
.steps li { padding: 24px; display: flex; gap: 16px; border: 1px solid #46625e; border-radius: 16px; }
.steps li > span { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 50%; font-weight: 900; }
.steps strong { font-size: 1.08rem; }.steps p { margin: 6px 0 0; color: #c5d0cd; font-size: .92rem; }
.tip { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: #264944; border-radius: 14px; }
.tip span { color: var(--yellow); }.tip p { margin: 0; }
.activity { max-width: 1184px; margin: 90px auto; padding: 0 28px; }
.activity-toolbar { margin-bottom: 30px; display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.progress-wrap { width: min(230px, 100%); color: var(--muted); font-size: .82rem; font-weight: 750; }
.progress { height: 9px; margin-top: 7px; overflow: hidden; background: #e7e9e5; border-radius: 99px; }
.progress span { display: block; width: 0; height: 100%; background: var(--mint-dark); border-radius: inherit; transition: width .25s; }
.persona-sheet { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.persona-intro { padding: 40px; display: grid; grid-template-columns: 110px 1.4fr .45fr .8fr; gap: 22px; align-items: end; background: var(--cream); }
.avatar { width: 96px; height: 96px; display: grid; place-items: center; align-self: center; background: var(--peach); color: var(--coral-dark); border-radius: 50% 50% 14px 50%; font-family: Georgia, serif; font-size: 2.7rem; font-weight: 800; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 850; }.field label span { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 5px; background: var(--cream); border-radius: 50%; color: var(--coral-dark); }
.field small { color: var(--muted); }
input, textarea { width: 100%; border: 1.5px solid #bdc8c4; border-radius: 10px; background: #fff; color: var(--ink); transition: border .18s, box-shadow .18s; }
input { height: 49px; padding: 0 14px; }
textarea { padding: 13px 14px; resize: vertical; }
input:hover, textarea:hover { border-color: var(--mint-dark); }
input:focus, textarea:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(29,106,91,.1); outline: 0; }
::placeholder { color: #788783; opacity: 1; }
.persona-grid { padding: 36px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field-wide { grid-column: 1 / -1; }
.challenge-field { padding: 38px 40px; background: var(--mint); }
.challenge-field label { max-width: 850px; display: block; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.18; }
.challenge-field p { margin: 8px 0 20px; color: #28574f; }
.challenge-field textarea { border-color: transparent; }
.form-actions { padding: 24px 40px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-actions > div { display: flex; gap: 12px; }
.save-status { margin: 0; color: var(--muted); font-size: .86rem; }
footer { padding: 45px 28px; text-align: center; background: var(--cream); color: var(--muted); font-size: .88rem; }
footer p { margin: 4px; }

@media (max-width: 900px) {
  .hero { margin-inline: 16px; padding: 55px 35px; grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .explanation { grid-template-columns: 1fr; gap: 30px; }
  .instructions { margin-inline: 16px; padding: 60px 32px; }
  .steps { grid-template-columns: 1fr; }
  .persona-intro { grid-template-columns: 96px 1fr 1fr; }
  .field-name { grid-column: 2 / -1; }.field-age { grid-column: 2; }.field-role { grid-column: 3; }
  .form-actions { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .site-header { padding: 16px; }.week-pill { display: none; }
  .hero { min-height: auto; padding: 48px 24px; border-radius: 24px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-visual { min-height: 315px; transform: scale(.85); margin: -20px; }
  .section-shell { padding: 65px 20px; }.explanation-copy { padding-left: 18px; }
  .instructions { padding: 50px 22px; }
  .activity { margin: 65px auto; padding: 0 16px; }
  .activity-toolbar { align-items: flex-start; flex-direction: column; }
  .persona-intro { padding: 28px 22px; grid-template-columns: 80px 1fr; }
  .avatar { width: 72px; height: 72px; font-size: 2rem; }
  .field-name { grid-column: 2; }.field-age, .field-role { grid-column: 1 / -1; }
  .persona-grid { padding: 28px 22px; grid-template-columns: 1fr; }.field-wide { grid-column: auto; }
  .challenge-field { padding: 30px 22px; }.form-actions { padding: 24px 22px; }
  .form-actions > div, .form-actions .button { width: 100%; }.form-actions > div { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: white; font-size: 10pt; }
  .site-header, .hero, .explanation, .instructions, footer, .activity-toolbar .eyebrow, .form-actions { display: none !important; }
  .activity { max-width: none; margin: 0; padding: 0; }
  .activity-toolbar { display: block; margin-bottom: 12px; }
  .activity-toolbar h2 { font-size: 22pt; }
  .progress-wrap { display: none; }
  .persona-sheet { border: 1px solid #777; border-radius: 0; box-shadow: none; }
  .persona-intro { padding: 14px; grid-template-columns: 70px 1.4fr .4fr .8fr; gap: 10px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .avatar { width: 60px; height: 60px; font-size: 20pt; }
  input, textarea { border: 1px solid #aaa; border-radius: 4px; resize: none; }
  input { height: 33px; padding: 4px 7px; } textarea { padding: 7px; }
  .field small { display: none; }
  .persona-grid { padding: 14px; gap: 10px; }
  .persona-grid textarea { min-height: 72px; }
  .challenge-field { padding: 15px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .challenge-field label { font-size: 16pt; }.challenge-field p { margin: 3px 0 8px; }
  .challenge-field textarea { min-height: 66px; }
}
