/* Long-form Aseprite MCP guide: editorial, scannable, and comfortably readable. */
body {
  margin: 0;
  background: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .07) 1px, transparent 0) 0 0 / 24px 24px, var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, p { margin-top: 0; }

.info-hero {
  border-bottom: 2px solid var(--line);
  background: linear-gradient(115deg, rgba(255,255,255,.96) 0 68%, var(--blue-soft) 100%);
}

.info-hero-inner { padding: clamp(48px, 5vw, 68px) 0; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: "Space Mono", monospace;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* The upper end of this scale is deliberately below the 920px measure: at the old
   6.8rem a three-word title broke onto three lines and pushed the hero's list and
   buttons off a 900–1000px laptop viewport. */
.info-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 5.4vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .9;
  text-transform: uppercase;
  text-wrap: balance;
}

.lede {
  max-width: 880px;
  margin-bottom: 0;
  border-top: 2px solid;
  padding-top: 20px;
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.info-article section { padding: var(--space-section) 0; }

.prose-grid {
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 5.5vw, 84px);
  align-items: start;
}

.prose-grid > * { min-width: 0; }

.prose-grid h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.35rem, 3.6vw, 4.35rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}

.prose { max-width: var(--reading); font-size: 1.06rem; line-height: 1.72; }
.prose p { margin-bottom: 1.2em; }
.dark .prose, .dark .section-kicker { color: rgba(255,255,255,.8); }

/* Mid-flow subheadings inside running prose. */
.prose > h3 {
  margin: 2.1em 0 .55em;
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.25;
}

.prose > h3:first-child { margin-top: 0; }
.dark .prose > h3 { color: var(--paper-2); }

.numbered-flow { margin: 28px 0 0; padding: 0; border: 2px solid; border-radius: var(--radius); background: var(--paper-2); color: var(--ink); list-style: none; overflow: hidden; box-shadow: var(--shadow-sm); }
.numbered-flow li { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 17px 20px; }
.numbered-flow li + li { border-top: 1px solid var(--soft-line); }
.numbered-flow strong { color: var(--blue); font-family: "Space Mono", monospace; text-transform: uppercase; }

/* Tighter in the hero, where the list competes with the fold, and held to the
   same measure as the lede so the hero's blocks share one right edge; the
   in-article copies of this list keep the roomier full-width rows above. */
.info-hero .numbered-flow { max-width: 880px; margin-top: 20px; }

/* Guarded so this stays out of the stacked mobile rows below, which it would
   otherwise outrank on specificity. */
@media (min-width: 521px) {
  .info-hero .numbered-flow li { gap: 18px; padding: 12px 18px; }
}

/* One shared label column sized to the longest label in the list, so multi-word
   labels stay on one line without leaving the rows ragged. Each row keeps its
   own box for the separator and padding. Falls back to the fixed column above. */
@supports (grid-template-columns: subgrid) {
  .numbered-flow { display: grid; grid-template-columns: minmax(135px, max-content) 1fr; }
  .numbered-flow li { grid-column: 1 / -1; grid-template-columns: subgrid; }
}

.workflow-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.workflow-cards h3 { margin-top: 16px; }
.workflow-cards a, .section-link a { display: inline-flex; align-items: center; min-height: 44px; font-family: "Space Mono", monospace; font-size: .75rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-transform: uppercase; }
.comparison-wrap { margin-top: 26px; }
.section-link { margin: 18px 0 0; }
.checklist ul, .prose > ul { padding-left: 1.25rem; }
.checklist li, .prose > ul > li { margin-bottom: .65rem; }
.prose > ul { margin: 1.15em 0 1.35em; }
.prose > ul > li:last-child { margin-bottom: 0; }
.faq-list.single { grid-template-columns: 1fr; }
.faq-list.single details p { color: var(--muted); }

@media (max-width: 900px) {
  .prose-grid { grid-template-columns: 1fr; gap: 28px; }
  .prose-grid h2 { max-width: 13ch; }
  .workflow-cards { grid-template-columns: 1fr; }
  .info-hero h1 { font-size: clamp(3.1rem, 10vw, 5.7rem); }
}

@media (max-width: 520px) {
  .info-hero-inner { padding: 44px 0 50px; }
  .info-hero h1 { max-width: 9ch; font-size: clamp(2.75rem, 12.5vw, 3.7rem); line-height: .94; }
  .lede { font-size: 1.05rem; line-height: 1.6; }
  .info-actions { display: grid; }
  .info-actions .button { width: 100%; }
  .prose-grid h2 { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .prose { font-size: 1rem; line-height: 1.68; }
  .numbered-flow li { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
}
