:root {
  font-family: system-ui, sans-serif;
  scroll-padding-top: calc(var(--header-clearance, 0px) + clamp(2rem, 8vh, 4.5rem));
}

@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip; }
main { display: flow-root; }
figure, blockquote, h1, h2, h3, p { margin: 0; }
button { font: inherit; }
a { color: inherit; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 2 * clamp(1.25rem, 4.2vw, 4.5rem), 78rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 1rem; left: 1rem; padding: .75rem; background: var(--ink); color: var(--bg); }
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header, .site-footer, nav { display: flex; align-items: center; gap: clamp(.8rem, 2.7vw, 2rem); }
.site-header { min-height: 4.5rem; justify-content: space-between; border-bottom: 1px solid var(--line); }
.site-header nav { margin-left: auto; }
nav a { font-size: .88rem; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
.brand { flex: none; font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.brand span { color: var(--accent); }
.material-icon { display: block; flex: none; width: 1.25em; height: 1.25em; }
.header-link, .button, .text-link { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; }
.header-link { min-height: 2.5rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: var(--control-radius, var(--radius)); font-size: .875rem; }
.header-link:hover { background: var(--panel); border-color: var(--muted); }
.button { min-height: 3rem; justify-content: space-between; padding: .75rem 1rem; background: var(--accent); color: var(--on-accent); border-radius: var(--control-radius, var(--radius)); }
.button:hover { background: var(--accent-hover); }
.text-link { text-decoration: underline; text-underline-offset: .24em; font-size: .9rem; }
.text-link:hover { color: var(--accent-ink, var(--accent)); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.7rem, 5vw, 5rem); padding-block: clamp(3rem, 8vw, 7rem); }
.eyebrow { color: var(--muted); font-size: .875rem; font-weight: 500; line-height: 1.5; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-block: .75rem 1.5rem; font: var(--hero-weight, 500) clamp(2.5rem, 5vw, 4.5rem)/1.06 var(--display, system-ui); letter-spacing: -.045em; }
h1 em { color: var(--accent); display: block; font-style: normal; }
h2 { font: var(--hero-weight, 500) clamp(1.75rem, 3.3vw, 3.25rem)/1.08 var(--display, system-ui); letter-spacing: -.035em; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; letter-spacing: -.015em; }
.intro, .section li p, .example p, .questions p { color: var(--muted); line-height: 1.6; }
.intro { max-width: 47ch; margin-bottom: 1.5rem; font-size: clamp(1rem, 1.6vw, 1.125rem); }
.hero-note { color: var(--muted); margin-top: .75rem; font-size: .8125rem; }
.hero-art { min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.art { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; background: var(--panel); }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: .75rem 1rem; font-size: .9375rem; }
figcaption strong { font-weight: 600; }
figcaption span { color: var(--muted); font-size: .8125rem; }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(1.3rem, 3vw, 2.25rem); }
.section-head .eyebrow, .closing .eyebrow { margin-bottom: .55rem; }
.steps-list, .examples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li, .example { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.steps-list li, .example-copy { padding: clamp(1rem, 2.5vw, 1.65rem); }
.step-number { display: inline-block; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; margin-bottom: .75rem; }
.section li p, .example p, .questions p { margin-top: .55rem; font-size: .96rem; }
.example { overflow: hidden; }
.faq { --faq-inset: clamp(.875rem, 1.6vw, 1.25rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 1.5rem; }
.faq .section-head { margin-bottom: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 1rem calc(2.5rem + var(--faq-inset)) 1rem var(--faq-inset); font-weight: 600; }
summary::-webkit-details-marker { display: none; }
.faq-indicator { position: absolute; top: 50%; inset-inline-end: var(--faq-inset); display: grid; place-items: center; width: 1.5rem; height: 1.5rem; translate: 0 -50%; color: var(--accent); }
.faq-indicator .material-icon { grid-area: 1 / 1; }
details:not([open]) > summary .faq-remove,
details[open] > summary .faq-add { opacity: 0; }
.questions p { margin: 0 var(--faq-inset) 1.2rem; max-width: 62ch; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 4rem); border-block: 1px solid var(--line); }
.closing h2 { max-width: 20ch; }
.closing-links { display: grid; gap: .85rem; align-items: center; justify-items: start; }
.guide {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.guide-intro { min-width: 0; }
.guide .section-head { margin-bottom: 1.25rem; }
.guide-lead { max-width: 58ch; color: var(--muted); font-size: 1rem; line-height: 1.75; text-wrap: pretty; }
.guide-blocks { display: grid; min-width: 0; gap: 1rem; }
.guide-block { min-width: 0; padding: clamp(1.25rem, 2.7vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.guide-block h3 { max-width: 34ch; margin-bottom: .85rem; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; text-wrap: pretty; }
.guide-body > p { max-width: 65ch; color: var(--muted); font-size: .975rem; line-height: 1.7; text-wrap: pretty; }
.guide-body > p + p { margin-top: .8rem; }
.guide-block ol { margin: 1.25rem 0 0; padding: 0 0 0 1.8rem; color: var(--muted); line-height: 1.6; }
.guide-block li { padding: .8rem 0 .8rem .55rem; border-top: 1px solid var(--line); }
.guide-block li::marker { color: var(--accent-ink, var(--accent)); font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.guide-table-scroll { max-width: 100%; margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .75rem; }
.guide-table-scroll:focus-visible { outline-offset: 3px; }
.guide-table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.5; }
.guide-table caption { caption-side: top; padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; font-weight: 650; color: var(--ink); }
.guide-table th, .guide-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-table thead th { background: var(--table-head, var(--bg)); color: var(--ink); font-weight: 650; }
.guide-table thead th:first-child { width: 22%; }
.guide-table tbody th { color: var(--ink); font-weight: 600; }
.guide-table td { color: var(--muted); }
.guide-table tr > * + * { border-inline-start: 1px solid var(--line); }
.guide-table tbody tr:last-child > * { border-bottom: 0; }
@media (min-width: 1001px) {
  .guide-intro { position: sticky; top: calc(var(--header-clearance, 0px) + 2rem); }
}
@media (max-width: 1000px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .guide-lead { max-width: 68ch; }
}
@media (max-width: 480px) {
  .guide-table { min-width: 30rem; }
}
.site-footer { justify-content: space-between; align-items: flex-start; padding-block: 2.5rem; }
.site-footer p { color: var(--muted); font-size: .8rem; margin-top: .5rem; }
.site-footer nav { flex-wrap: wrap; padding-top: .5rem; }

@media (max-width: 760px) {
  .site-header nav { display: none; }
  .header-link { padding: .45rem .7rem; font-size: .8125rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero, .faq { grid-template-columns: minmax(0, 1fr); }
  .steps-list, .examples-grid { grid-template-columns: minmax(0, 1fr); }
  .closing, .site-footer { align-items: flex-start; flex-direction: column; }
  h1 { font-size: clamp(2.5rem, 8vw, 3.75rem); }
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url("./barlow-condensed.woff2") format('woff2');
  font-display: swap;
  font-weight: 700;
}

.prompts {
  --bg: #fff;
  --ink: #102b21;
  --muted: #43584e;
  --accent: #e5ff61;
  --accent-hover: #f1ff9e;
  --on-accent: #102b21;
  --accent-ink: #226748;
  --panel: #ecf8ef;
  --line: #cdded3;
  --sky: #06478e;
  --forest: #102b21;
  --on-forest: #f4fbf6;
  --radius: 1.25rem;
  --control-radius: 100vmax;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --hero-weight: 700;
  --section-space: clamp(3.5rem, 7vw, 6.5rem);
  --gutter: max(clamp(1.25rem, 4.2vw, 4.5rem), (100% - 78rem) / 2);
}

.prompts :focus-visible { outline-color: var(--accent-ink); }
.prompts :is(.site-header, .hero, .prompt-paper, .faq) :focus-visible { outline-color: var(--accent); }

.prompts .site-header {
  position: absolute;
  z-index: 1;
  top: 0;
  inset-inline: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 5rem;
  border: 0;
  color: #fff;
}

.prompts .site-header nav { margin-left: 0; }
.prompts .site-header nav a { color: #fff; }
.prompts .header-link { justify-self: end; }
.prompts .site-header .header-link {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.prompts .site-header .header-link:hover { background: var(--accent-hover); color: var(--on-accent); border-color: transparent; }
.prompts .brand { justify-self: start; font-size: 1.55rem; font-weight: 800; letter-spacing: -.06em; }

.prompts .eyebrow {
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.prompts h1, .prompts h2 {
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .88;
}

.prompts h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.prompts h2 span { color: var(--accent-ink); }

.prompts .hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(39rem, 56vw, 49rem);
  padding-block: 7rem 3.5rem;
  color: #fff;
  background: var(--sky);
}

.prompts .prompt-hero-visual {
  display: flex;
  min-width: 0;
  align-self: stretch;
  align-items: flex-end;
  justify-content: flex-end;
}
.prompts .prompt-location {
  position: absolute;
  z-index: -1;
  inset: 4.5rem max(0px, calc(var(--gutter) - 2rem)) 0 auto;
  width: min(52%, 38rem);
  overflow: hidden;
}
.prompts .prompt-location .cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.prompts .prompt-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  align-self: stretch;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.prompts .hero-kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
}

.prompts .hero-kicker::before {
  content: '';
  width: 1.25rem;
  height: 2px;
  background: var(--accent);
}

.prompts h1 {
  margin: .15em 0 .22em;
  color: var(--accent);
  font-size: clamp(3.5rem, 6.6vw, 6.25rem);
  text-wrap: wrap;
}

.prompts .hero .intro { max-width: 39ch; color: inherit; }
.prompts .hero-note { color: inherit; }

.prompts .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.prompts .button { --cta-icon-inset: .35rem; padding: .35rem .35rem .35rem 1rem; gap: 1rem; }
.prompts .button .material-icon {
  box-sizing: content-box;
  padding: .55rem;
  color: var(--accent);
  background: var(--forest);
}

.prompts :is(.header-link, .hero-actions .text-link) {
  color: #fff;
  background: rgb(255 255 255 / var(--glass-opacity, .12));
  -webkit-backdrop-filter: blur(var(--glass-blur, 16px));
  backdrop-filter: blur(var(--glass-blur, 16px));
}

.prompts :is(.header-link, .hero-actions .text-link) {
  border: 2px solid rgb(255 255 255 / .65);
}

.prompts .site-header .header-link {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.prompts .hero-actions .text-link {
  min-height: 3rem;
  padding-inline: 1.05rem;
  border-radius: var(--control-radius);
  border-color: #fff;
  background: #fff;
  color: var(--forest);
  text-decoration: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.prompts .hero-actions .text-link:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

@media (hover: hover) {
  .prompts .hero-actions .text-link:hover { border-color: var(--accent); }
  .prompts .hero-actions .text-link:hover .material-icon,
  .prompts .site-header .header-link:hover .material-icon { color: var(--on-accent); }
}

.prompts .prompt-map {
  border: 1px solid #638496;
  display: grid;
  align-self: end;
  flex: none;
  gap: .8rem;
  width: min(100%, 24rem);
  padding: clamp(1.125rem, 2vw, 1.75rem);
  text-decoration: none;
  border-radius: var(--radius);
  background: #102b21;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (hover: hover) {
  .prompts .prompt-map:hover { background: #1d3b2e; }
}

@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  .prompts :is(.header-link, .hero-actions .text-link, .prompt-map) {
    background: #07386f;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.prompts .prompt-map-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 650; }
.prompts .prompt-map-title .material-icon { color: var(--accent); }
.prompts .prompt-map-parts { display: flex; flex-wrap: wrap; gap: .25rem; }
.prompts .prompt-map-parts span {
  padding: .3rem .55rem;
  border-radius: var(--control-radius);
  color: var(--ink);
  background: var(--panel);
  font-size: .75rem;
  font-weight: 650;
}
.prompts .prompt-map-parts span:first-child { background: var(--accent); }

.prompts .prompt-study { padding-block: var(--section-space); }
.prompts .prompt-study .section-head { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 3.25rem); }
.prompts .study-intro { margin: .8rem auto 0; color: var(--muted); line-height: 1.55; }

.prompts .prompt-paper {
  --study-padding: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  max-width: 66rem;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--on-forest);
  background: #1d3b2e;
}

.prompts .prompt-excerpt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: var(--study-padding);
}

.prompts .study-label .eyebrow { margin-bottom: .3rem; color: var(--accent); }
.prompts .study-label :is(h3, strong) {
  font: 700 clamp(1.8rem, 3.25vw, 2.5rem)/1 var(--display);
  text-transform: uppercase;
}
.prompts .study-label strong { display: block; }

.prompts .prompt-text {
  max-width: 39ch;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  white-space: pre-line;
}

.prompts .copy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .75rem;
  margin-top: auto;
}

.prompts [data-copy] {
  min-height: 2.75rem;
  padding: .45rem .85rem;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  color: var(--ink);
  background: var(--accent);
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}

.prompts [data-copy]:hover { background: var(--accent-hover); }

.prompts .copy-status { color: #cce4d5; font-size: .8125rem; }
.prompts .prompt-result {
  --study-overlap: clamp(1.5rem, 4vw, 3rem);
  --study-fade-direction: to right;
  --study-shade-direction: to bottom;
  position: relative;
  display: grid;
  margin-inline-start: calc(-1 * var(--study-overlap));
}
.prompts .prompt-result figcaption {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto var(--study-overlap);
  display: block;
  padding: var(--study-padding);
}
.prompts .prompt-frame {
  --study-fade-length: min(55%, 15rem);
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  mask-image: linear-gradient(
    var(--study-fade-direction),
    transparent,
    rgb(0 0 0 / .16) calc(var(--study-fade-length) * .25),
    rgb(0 0 0 / .5) calc(var(--study-fade-length) * .5),
    rgb(0 0 0 / .84) calc(var(--study-fade-length) * .75),
    #000 var(--study-fade-length)
  );
}
.prompts .prompt-blend { position: absolute; inset: 0; }
.prompts .prompt-blend .cover-image { filter: blur(1.25rem); transform: scale(1.12); }
.prompts .prompt-frame > .cover-image {
  mask-image: linear-gradient(var(--study-fade-direction), transparent 12%, #000 min(68%, 18rem));
}
.prompts .prompt-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--study-shade-direction), rgb(12 29 22 / .9), rgb(12 29 22 / .75) 7rem, transparent 12rem);
  pointer-events: none;
}
.prompts .prompt-result .cover-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prompts .section { padding-block: var(--section-space); border-top: 0; }

.prompts :is(.steps, .faq) {
  width: 100%;
  padding-inline: var(--gutter);
}

.prompts .steps {
  --line: #a5bd35;
  --muted: #34482d;
  background: var(--accent);
}

.prompts .steps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.prompts .steps-list li { border: 0; border-radius: 0; background: transparent; }
.prompts .steps-list li:first-child { padding-inline-start: 0; }
.prompts .steps-list li + li { border-left: 1px solid var(--line); }

.prompts .step-number {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--forest);
  font-weight: 700;
}

.prompts :is(.example, .steps) h3 {
  font: 700 clamp(1.7rem, 2.7vw, 2.45rem)/1 var(--display);
  text-transform: uppercase;
  text-wrap: wrap;
}

.prompts .examples-grid { gap: clamp(.75rem, 2vw, 1.5rem); }

.prompts .faq {
  --line: #426252;
  --muted: #cce4d5;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  color: var(--on-forest);
  background: var(--forest);
}

.prompts .faq .section-head { text-align: center; }
.prompts .faq .questions { width: min(100%, 46rem); margin-inline: auto; }
.prompts .faq summary { min-height: 3.6rem; display: flex; align-items: center; padding-inline-end: calc(3rem + var(--faq-inset)); }
.prompts .faq-indicator {
  inset-inline-end: var(--faq-inset);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: var(--accent);
  background: #284a37;
}
.prompts details[open] .faq-indicator { color: var(--ink); background: var(--accent); }

.prompts .closing {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 0;
  border-radius: var(--radius);
  background: var(--panel);
}

.prompts .site-footer .brand span { color: var(--accent-ink); }

.prompts .guide { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.prompts .guide-intro { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; }
.prompts .guide .section-head { margin: 0; }
.prompts .guide h2 { font-size: clamp(2.8rem, 5vw, 4.75rem); }
.prompts .guide-blocks { grid-template-columns: 1.15fr 1fr; gap: 1.25rem; }
.prompts .guide-block h3 { font: 700 clamp(1.8rem, 2.7vw, 2.5rem)/1 var(--display); text-transform: uppercase; }
.prompts .guide-block--steps {
  grid-row: span 2;
  --line: #426252;
  --muted: #d1e8d9;
  --accent-ink: #e5ff61;
  color: var(--on-forest);
  background: var(--forest);
  border-color: var(--forest);
}
.prompts .guide-block--steps h3 { color: var(--accent); }
.prompts .guide-block:not(.guide-block--steps) { background: #f3f9f5; }
.prompts .guide-block ol { margin-top: 1.5rem; }
.prompts .guide-block li { padding-block: 1rem; }

@media (max-width: 960px) {
  .prompts .prompt-hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.75rem; }
  .prompts h1 { font-size: clamp(3rem, 6.8vw, 4rem); }
  .prompts .prompt-paper { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .prompts .prompt-result {
    --study-overlap: .75rem;
    --study-fade-direction: to bottom;
    --study-shade-direction: to top;
    margin-inline-start: 0;
    margin-block-start: calc(-1 * var(--study-overlap));
  }
  .prompts .prompt-result figcaption { inset: auto 0 0; }
  .prompts .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prompts .steps-list li:nth-child(odd) { border-left: 0; padding-inline-start: 0; }
  .prompts .steps-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .prompts .guide-intro { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}

@media (max-width: 760px) {
  .prompts .site-header { grid-template-columns: 1fr auto; min-height: 4.5rem; }
  .prompts .hero-actions { flex-direction: column; align-items: flex-start; }
  .prompts .header-link { padding-inline: .8rem; }
  .prompts .hero { --portrait-height: clamp(27rem, 88vw, 36rem); min-height: auto; padding-block: 6rem 2rem; }
  .prompts .prompt-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .prompts .prompt-hero-visual { min-height: var(--portrait-height); justify-content: center; }
  .prompts .prompt-location { inset: auto 0 0; width: 100%; height: calc(var(--portrait-height) + 2rem); }
  .prompts h1 { font-size: clamp(2.75rem, 11.5vw, 5.75rem); }
  .prompts .prompt-map { gap: .65rem; padding: 1rem; }
  .prompts .examples-grid { grid-template-columns: minmax(0, 1fr); }
  .prompts .guide-blocks { grid-template-columns: minmax(0, 1fr); }
  .prompts .guide-block--steps { grid-row: auto; }
}

@media (max-width: 400px) {
  .prompts .steps-list { grid-template-columns: minmax(0, 1fr); }
  .prompts .steps-list li { padding-inline: 0; }
  .prompts .steps-list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* Shared interaction behavior; theme colors and timing stay distinct. */
:root {
  --motion-ease: cubic-bezier(.2, .8, .2, 1);
  --motion-quick: 100ms;
  --motion-control: 200ms;
}

.templates {
  --control-shadow: inset 0 0 0 1px #fff7f148, 0 0 1.25rem #ff521f36;
  --surface-hover: #392018;
  --indicator-hover: #ff9675;
  --indicator-ink: #190903;
  --table-row-hover: #ff967510;
}
.images {
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --control-shadow: inset 0 0 0 1px #ffffff38, 0 .25rem 1.1rem #214bc825;
  --surface-hover: #eef4ff;
  --indicator-hover: #214bc8;
  --indicator-ink: #fff;
  --table-row-hover: #214bc80a;
}
.video {
  --motion-control: 240ms;
  --control-shadow: inset 0 0 0 1px #ffffff33, 0 0 1.4rem #d8399526;
  --surface-hover: #ffffff0d;
  --indicator-hover: var(--accent);
  --indicator-ink: var(--ink);
  --table-row-hover: #bee8f00c;
}
.prompts {
  --motion-control: 180ms;
  --control-shadow: inset 0 0 0 1px #102b2133, 0 0 0 3px #e5ff6126;
  --surface-hover: #284a3766;
  --indicator-hover: #e5ff61;
  --indicator-ink: #102b21;
  --table-row-hover: #e5ff6112;
}

/* Every button-shaped CTA uses one radius for its outer and nested surfaces. */
:is(.button, .header-link, .hero-examples-link, [data-copy]),
.prompts .hero-actions .text-link {
  --cta-radius: 1.5rem;
  --control-radius: var(--cta-radius);
  border-radius: var(--cta-radius);
}
:is(.templates, .prompts) .button .material-icon {
  border-radius: calc(var(--cta-radius) - var(--cta-icon-inset));
}

/* Underlines fade in without moving or changing the link's hit area. */
:is(.site-header, .site-footer) nav a { position: relative; }
:is(.site-header, .site-footer) nav a::after {
  content: '';
  position: absolute;
  inset-inline: var(--nav-line-inset, 0);
  bottom: var(--nav-line-bottom, -.3em);
  height: 1px;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
}
.templates .site-header nav { --nav-line-inset: clamp(.8rem, 1.65vw, 1.4rem); --nav-line-bottom: .5rem; }
.video .site-header nav { --nav-line-inset: clamp(.75rem, 1.65vw, 1.4rem); --nav-line-bottom: .5rem; }
:is(.templates, .video) .site-footer nav { --nav-line-bottom: .5rem; }

.questions summary { border-radius: .5rem; }
.faq-indicator { border-radius: 50%; }

/* Keyboard focus gets the same surface feedback, plus the theme's outline. */
:is(.button, .header-link, .hero-examples-link, .hero-preview, .prompt-map, [data-copy]):focus-visible,
.prompts .hero-actions .text-link:focus-visible {
  box-shadow: var(--control-shadow);
}
:is(.site-header, .site-footer) nav a:focus-visible::after { opacity: 1; }
:is(.button, .header-link, .hero-examples-link, [data-copy]):focus-visible,
.prompts .hero-actions .text-link:focus-visible { --cta-radius: 1.1rem; }
.questions summary:focus-visible { background-color: var(--surface-hover); }
.questions summary:focus-visible .faq-indicator {
  background-color: var(--indicator-hover);
  color: var(--indicator-ink);
  border-radius: .55rem;
}

@media (hover: hover) and (pointer: fine) {
  :is(.button, .header-link, .hero-examples-link, .hero-preview, .prompt-map, [data-copy]):hover {
    box-shadow: var(--control-shadow);
  }
  .prompts .hero-actions .text-link:hover { box-shadow: var(--control-shadow); }
  :is(.site-header, .site-footer) nav a:hover::after { opacity: 1; }
  .brand:hover { opacity: .8; }
  .text-link:hover { text-decoration-thickness: 2px; }
  .questions summary:hover { background-color: var(--surface-hover); }
  .questions summary:hover .faq-indicator {
    background-color: var(--indicator-hover);
    color: var(--indicator-ink);
    border-radius: .55rem;
  }
  .guide-table tbody tr:hover { background-color: var(--table-row-hover); }
  .templates .hero-preview:hover { border-color: var(--accent-ink); border-radius: .75rem; }
  .prompts .prompt-map:hover { border-color: var(--accent); border-radius: .9rem; }
  :is(.button, .header-link, .hero-examples-link, [data-copy]):hover,
  .prompts .hero-actions .text-link:hover { --cta-radius: 1.1rem; }
  .prompts .button:hover .material-icon { background-color: #226748; }
}

/* Press feedback is a fixed inset rim, including on touch devices. */
:is(.button, .header-link, .hero-examples-link, .hero-preview, .prompt-map, [data-copy]):active,
.prompts .hero-actions .text-link:active { box-shadow: inset 0 0 0 2px #00000030; }

/* Hover/press effects stay on surfaces; FAQ symbols animate when toggled. */
@media (prefers-reduced-motion: no-preference) {
  :is(.button, .header-link, .hero-examples-link, .text-link, .hero-preview, .prompt-map, [data-copy]) {
    transition:
      box-shadow var(--motion-control) var(--motion-ease),
      border-radius var(--motion-control) var(--motion-ease),
      background-color var(--motion-quick) ease-out,
      border-color var(--motion-quick) ease-out,
      color var(--motion-quick) ease-out;
  }
  .brand { transition: opacity var(--motion-quick) ease-out, background-color var(--motion-quick) ease-out; }
  :is(.site-header, .site-footer) nav a { transition: color var(--motion-quick) ease-out; }
  :is(.site-header, .site-footer) nav a::after {
    transition: opacity var(--motion-control) ease-out;
  }
  :is(a, button) .material-icon {
    transition: background-color var(--motion-control) ease-out, border-radius var(--motion-control) var(--motion-ease), color var(--motion-quick) ease-out;
  }
  .questions :is(details, summary), .guide-table tbody tr {
    transition: background-color var(--motion-quick) ease-out, border-color var(--motion-control) ease-out;
  }
  .faq-indicator {
    transition: border-radius var(--motion-control) var(--motion-ease), background-color var(--motion-quick) ease-out, color var(--motion-quick) ease-out;
  }
  .faq-indicator .material-icon {
    transition: opacity 120ms ease-out, rotate var(--motion-control) var(--motion-ease), scale var(--motion-control) var(--motion-ease);
  }
  details:not([open]) > summary .faq-remove { rotate: -90deg; scale: .6; }
  details[open] > summary .faq-add { rotate: 90deg; scale: .6; }

  :is(.button, .header-link, .hero-examples-link, .hero-preview, .prompt-map, [data-copy]):active,
  .prompts .hero-actions .text-link:active {
    transition-duration: 80ms;
  }
}
