.idea-page { max-width: 1120px; }
.idea-narrow { max-width: 760px; }
.idea-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--pale);
  border-radius: var(--radius);
}
.idea-intro > div { flex: 1 1 420px; min-width: 0; }
.idea-intro h1 { max-width: 18ch; }
.idea-intro p { max-width: 67ch; margin-top: 15px; }
.idea-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-block: 24px 32px;
  border-bottom: 1px solid var(--line);
}
.idea-tabs a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 2px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.idea-tabs a[aria-current="page"] { box-shadow: inset 0 -2px var(--action); }
.idea-tabs a:hover { text-decoration: underline; }
.idea-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); gap: 24px; }
.idea-card {
  padding: var(--panel-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow-wrap: anywhere;
}
.idea-card h3 { font-size: 1.25rem; line-height: 1.4; }
.idea-heading { padding-block: 14px 22px; }
.idea-heading h1 { max-width: 30ch; }
.idea-page .button, .idea-narrow .button { width: fit-content; }
.idea-narrow .page-head { margin-bottom: 4px; }
.idea-narrow .prototype { overflow-wrap: anywhere; }
.project-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 10rem;
  place-items: center;
  background: var(--pale);
  color: var(--action);
  border-radius: var(--radius);
}
.library-photo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 24rem;
  object-fit: contain;
  border-radius: var(--radius);
}
.invention-progress { margin-block: 12px 24px; }
.invention-progress h2 { font-size: 1.25rem; }
.invention-progress ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 20px;
  list-style-position: inside;
  padding: 0;
  margin: 24px 0 0;
}
.invention-progress li {
  padding: 20px;
  border-top: 2px solid var(--line);
  background: var(--canvas);
  border-radius: 0 0 var(--radius) var(--radius);
}
.invention-progress li::marker { color: var(--muted); }
.invention-progress li strong { font-size: .9375rem; font-weight: 600; }
.invention-progress li p { margin-top: 12px; font-size: .875rem; line-height: 1.7; color: var(--muted); }
.invention-progress li[aria-current="step"] { border-color: var(--action); background: var(--sea); }
.invention-progress li[aria-current="step"]::marker { color: var(--action); }
