:root {
  color-scheme: light;
  --ink: #17304b;
  --muted: #4b6275;
  --blue: #164f72;
  --line: #dce4e8;
  --paper: #faf8f4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 "DM Sans", system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #aa4b26; outline-offset: 5px; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 1.35rem; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.15rem; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; padding: .75rem; background: white; transform: translateY(-130%); z-index: 1; }
.skip:focus { transform: translateY(0); }
header { border-bottom: 1px solid var(--line); }
nav, .links, .foot { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.5rem; }
nav, .foot { justify-content: space-between; padding-block: 1.15rem; }
nav a { text-decoration: none; }
nav a:hover, nav [aria-current] { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 750; line-height: 1.3; }
.brand img { border-radius: .55rem; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero-image { border-radius: 1.75rem; border: 1px solid var(--line); }
.lead { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.button { display: inline-block; border: 1px solid var(--blue); border-radius: .5rem; padding: .7rem 1.15rem; background: var(--blue); color: white; text-decoration: none; font-weight: 650; }
.button:hover { background: var(--ink); }
.button-secondary { background: transparent; color: var(--blue); }
.button-secondary:hover { background: #e9f2f7; }
.workflow { padding-block: 3rem; border-block: 1px solid var(--line); }
.steps { margin: 1.7rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: .8rem; padding: 1.35rem; }
.steps p, .example p:last-child { margin-bottom: 0; }
.practice, .progress { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem 3rem; align-items: start; padding-block: 3.5rem; }
.progress { grid-template-columns: 1.2fr .8fr; border-bottom: 1px solid var(--line); }
.example { border-radius: 1rem; padding: clamp(1.3rem, 4vw, 2rem); background: #e9f2f7; }
blockquote { margin: .25rem 0 1rem; font: 1.35rem/1.5 Georgia, serif; }
.document { max-width: 48rem; padding-block: clamp(2.7rem, 7vw, 5rem); }
.document h1 { font-size: clamp(2.9rem, 7vw, 4.8rem); }
.document h2 { margin-top: 2rem; font-size: clamp(1.55rem, 4vw, 2.2rem); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .94rem; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .hero, .steps, .practice, .progress { grid-template-columns: 1fr; }
  .hero-image { width: min(100%, 27rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.example-heading { margin-top: 1.75rem; }
.dialogue { border-left: 2px solid var(--line); margin: 0 0 1.75rem; padding-left: 1.25rem; }
.dialogue dt { font-weight: 750; }
.dialogue dd { margin: 0 0 1rem; }
.dialogue dd:last-child { margin-bottom: 0; }
.prompt-list { display: grid; gap: .85rem; }
