:root {
  color-scheme: light;
  --navy: #12212e;
  --paper: #f5f3eb;
  --white: #fffef9;
  --teal: #28c6a5;
  --green: #176452;
  --muted: #4c5c62;
  --line: #d7dcd5;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible,button:focus-visible,summary:focus-visible,textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
h1,h2,h3,p { margin: 0; }
button,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
[hidden] { display: none!important; }
.shell { width: min(1020px,calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.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; }
.header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand strong { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.5px; }
.brand small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.nav { display: flex; align-items: center; font-size: 13px; font-weight: 650; }
.nav a { padding-block: 12px; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--green); }
.nav span { margin-left: 8px; }
.page-intro { padding-block: 44px 29px; }
.eyebrow,.section-label { font-size: 10px; line-height: 1.8; font-weight: 750; letter-spacing: 1.3px; text-transform: uppercase; color: var(--green); }
h1 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(44px,4.8vw,62px); font-weight: 400; letter-spacing: -2.5px; line-height: 1.04; margin-top: 13px; }
h1 em { font-weight: 400; color: var(--green); }
.intro { margin-top: 17px; max-width: 610px; color: var(--muted); font-size: 15px; line-height: 1.8; text-wrap: pretty; }
.prompt-panel { padding: 29px 31px 17px; background: var(--white); border: 1px solid #c5d0c4; border-radius: 6px; box-shadow: 0 5px 20px #12212e04; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field label { font-size: 14px; font-weight: 750; line-height: 1.6; }
.field-number { margin-right: 7px; font-size: 10px; color: var(--green); }
.field-help { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 7px; }
.field textarea,.prompt-result textarea { display: block; width: 100%; resize: vertical; min-height: 142px; padding: 12px 14px; margin-top: 12px; border: 1px solid #a7b5ab; background: #fff; color: var(--navy); border-radius: 3px; line-height: 1.7; font-size: 14px; }
.field textarea[aria-invalid=true] { border-color: #a73b30; }
.field-error { margin-top: 9px; font-size: 12px; line-height: 1.6; color: #8a2e24; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; padding: 14px 20px; background: var(--navy); color: var(--paper); border: 1px solid var(--navy); border-radius: 3px; font-size: 13px; line-height: 1.5; font-weight: 700; text-decoration: none; }
.button:hover { background: #233c48; }
.button-light { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.button-light:hover { background: #fffef9; }
.plain-button { background: transparent; border: 0; padding: 12px 0; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.form-note { margin-left: auto; font-size: 11px; color: var(--muted); line-height: 1.7; }
.tool-status { font-size: 12px; line-height: 1.7; color: var(--green); margin-top: 11px; min-height: 20px; }
.prompt-result { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 23px; padding-bottom: 13px; }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.25px; }
.small-button { display: inline-block; padding: 9px 12px; background: var(--white); border: 1px solid #8ba596; border-radius: 3px; color: var(--green); font-size: 12px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.small-button:hover { background: #edf4ed; }
.prompt-result textarea { min-height: 230px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 12px; background: #f7f8f3; }
.copy-help { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.notice { padding: 12px; background: #f6ead5; font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.support-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.support-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; text-decoration: none; }
.support-link strong { display: block; font-size: 13px; line-height: 1.6; }
.support-link small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.support-link>span:last-child { color: var(--green); font-size: 21px; }
.support-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
details { border-block: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 650; line-height: 1.7; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; font-size: 21px; line-height: 1; font-weight: 400; color: var(--green); }
details[open] summary::after { content: "−"; }
.details-copy { max-width: 750px; padding-bottom: 22px; font-size: 12px; color: var(--muted); line-height: 1.85; }
.details-copy p+p { margin-top: 12px; }
.how-it-works { margin-top: 11px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 27px 32px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer>a { white-space: nowrap; }
.resources-main .page-intro { padding-bottom: 32px; }
.resource-starter { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: 30px 32px; background: var(--navy); color: var(--paper); border-radius: 5px; }
.resource-starter .section-label { color: var(--teal); margin-bottom: 12px; }
.resource-starter h2 { font-family: Georgia,"Times New Roman",serif; font-size: 31px; font-weight: 400; letter-spacing: -.7px; line-height: 1.2; }
.resource-starter p:not(.section-label) { max-width: 570px; margin-top: 12px; font-size: 13px; line-height: 1.85; color: #cbd6d3; }
.starter-action { flex-shrink: 0; }
.starter-action p { text-align: center; font-size: 11px!important; margin-top: 9px!important; }
.resource-starter a:focus-visible { outline-color: var(--teal); }
.practice-library { margin-top: 27px; }
.practice-library summary { font-size: 13px; }
.exercise-count { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 400; }
.resource-note { max-width: 750px; color: var(--muted); font-size: 12px; line-height: 1.85; padding-bottom: 20px; }
.resource-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 20px; border-top: 1px solid var(--line); }
.resource-row h2 { font-size: 15px; line-height: 1.6; }
.resource-row p { margin-top: 4px; max-width: 620px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.resource-row .small-button { flex-shrink: 0; }
.resource-return { font-size: 13px; line-height: 1.8; padding-block: 24px 17px; font-weight: 650; color: var(--green); }
.resources-main .how-it-works { margin-top: 0; }
@media(max-width:720px) {
  .shell { width: calc(100% - 40px); }
  .header { min-height: 82px; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav { font-size: 12px; }
  .page-intro { padding-block: 30px 24px; }
  h1 { font-size: clamp(43px,9vw,58px); letter-spacing: -1.9px; }
  .intro { font-size: 14px; margin-top: 15px; }
  .prompt-panel { padding: 23px 23px 13px; }
  .fields-grid { grid-template-columns: 1fr; gap: 23px; }
  .field textarea { font-size: 16px; min-height: 140px; }
  .form-actions { gap: 18px; }
  .form-note { width: 100%; margin-left: 0; margin-top: -8px; }
  .resource-starter { display: block; padding: 26px; }
  .starter-action { margin-top: 21px; }
  .starter-action p { text-align: left; }
  .resource-row { display: block; }
  .resource-row .small-button { margin-top: 13px; }
  .exercise-count { display: none; }
  .footer { font-size: 10px; gap: 15px; }
}
@media(max-width:420px) {
  .shell { width: calc(100% - 32px); }
  .header { gap: 12px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 10px; }
  .nav span { margin-left: 3px; }
  .nav { font-size: 11px; }
  .eyebrow { font-size: 9px; letter-spacing: .9px; }
  h1 { font-size: 43px; }
  .prompt-panel { padding: 20px 18px 12px; }
  .field label { font-size: 13px; }
  .field-number { margin-right: 4px; }
  .form-actions { gap: 17px; }
  .button { gap: 16px; padding: 13px 16px; font-size: 12px; }
  .result-heading { align-items: start; flex-direction: column; }
  .support-links { grid-template-columns: 1fr; gap: 0; margin-top: 13px; }
  .support-link { padding-block: 14px; }
  .support-link+.support-link { border-top: 1px solid var(--line); }
  .how-it-works { margin-top: 3px; }
  .resource-starter { padding: 24px; }
  .resource-starter h2 { font-size: 28px; }
  .footer { flex-direction: column; align-items: start; gap: 9px; padding-block: 23px 27px; }
}
@media print {
  .header nav,.form-actions,.support-links,.footer>a,.button,.small-button { display: none; }
  .shell { width: 100%; }
  body,.prompt-panel,.resource-starter { background: white; color: var(--navy); }
  .page-intro { padding-block: 20px; }
  .prompt-panel { box-shadow: none; }
  .fields-grid { grid-template-columns: 1fr; }
  .resource-starter p:not(.section-label) { color: var(--navy); }
  .resource-row { break-inside: avoid; }
}
