/* Page-specific styles for /signals.html. Everything else (header, footer,
   sections, buttons, media frames, numbered chapters) comes from index.css,
   so this file holds only what the Signals page adds. */

/* The hero stacks rather than sitting beside its illustration: the before/after
   is detailed enough to reward being looked at, and at ~45% of the column it was
   too small to read. index.css lays .hero-shell out as two columns and caps the
   headline at 10.9ch for the home page's narrow measure; both are overridden
   here rather than in the shared file, which the home page still needs. */
.signals-hero {
	display: block;
	min-height: 0;
	padding: 3rem 0 4rem;
}

.signals-hero .hero-copy h1 {
	max-width: none;
	text-wrap: balance;
}

.signals-hero .section-lead {
	max-width: 68ch;
}

.signals-figure {
	margin: 2.75rem 0 0;
}

/* Matches the SVG's own ratio, so the contained image fills the frame instead of
   leaving bands above and below it. */
.signals-figure .media-frame {
	min-height: 0;
	aspect-ratio: 1360 / 620;
}

/* The tool inventory under step 1. The claim is that this step is whatever the
   project needs rather than one fixed tool, and a list of sixty is the only
   thing that actually proves it. Names are set as chips so the block can be
   scanned for a familiar one rather than read. */
.tool-showcase {
	margin-bottom: 2rem;
}

.tool-statement {
	margin: 0 0 0.5rem;
	color: var(--home-ink);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	text-wrap: balance;
}

.tool-sub {
	max-width: 60ch;
	margin: 0 0 1.75rem;
	color: var(--home-muted);
}

.tool-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.tool-group {
	padding: 1rem 1.1rem;
	border: 1px solid var(--home-line);
	border-radius: 1rem;
	background: #ffffff;
}

.tool-group h4 {
	margin: 0 0 0.6rem;
	color: var(--home-ink);
	font-size: 0.95rem;
}

.tool-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tool-chips li {
	padding: 0.15rem 0.5rem;
	border: 1px solid var(--home-line);
	border-radius: 0.5rem;
	background: var(--home-soft);
	color: var(--home-blue);
	font-size: 0.78rem;
	white-space: nowrap;
}

.tool-note {
	margin: 0.65rem 0 0;
	color: var(--home-muted);
	font-size: 0.83rem;
	line-height: 1.5;
}

.tool-footnote {
	max-width: 68ch;
	margin: 0;
	padding: 1rem 1.15rem;
	border-left: 3px solid var(--home-cyan);
	border-radius: 0 0.6rem 0.6rem 0;
	background: var(--home-soft);
	color: var(--home-muted);
	font-size: 0.9rem;
}

.signals-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.signals-field-group {
	padding: 1.25rem;
	border: 1px solid var(--home-line);
	border-radius: 1.1rem;
	background: var(--color-surface, #ffffff);
}

.signals-field-group h3 {
	margin: 0 0 0.75rem;
	color: var(--home-ink);
	font-size: 1.05rem;
}

.signals-field-group ul {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--home-muted);
}

.signals-field-group li {
	margin-bottom: 0.35rem;
}

.signals-boundaries {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.signals-boundaries li {
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--home-line);
	border-radius: 1.1rem;
	color: var(--home-muted);
}

.signals-boundaries strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--home-ink);
}

@media (max-width: 900px) {
	.signals-field-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
