/* Prompt 5: page-specific composition. Existing type, palette and textures remain. */
.features-page .feature-selection{max-width:780px;margin:24px 0 0;font-size:14px;line-height:1.7;color:var(--muted)}
.features-page .chapter-nav .wrap{flex-wrap:wrap;gap:12px 25px;padding-top:22px;padding-bottom:22px}
.features-page .chapter-nav a{min-height:32px;display:inline-flex;align-items:center}
.features-page .feature-task{padding:64px 0;border-bottom:1px solid var(--line)}
.features-page [id]{scroll-margin-top:16px}
.features-page .feature-task-heading{max-width:850px;margin-bottom:30px}
.features-page .feature-task-heading h2{margin:0 0 14px}
.features-page .feature-task-heading>p:last-child{margin:0;max-width:700px;color:var(--text)}
.features-page .task-examples{display:grid;gap:30px;min-width:0}
.features-page .task-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.features-page .task-example{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);box-shadow:0 7px 20px #14151909}
.features-page .task-explanation{padding:26px 28px 0}
.features-page .project-source{margin:0 0 20px;font:600 12px/1.65 var(--sans);color:var(--red)}
.features-page .project-source span{display:block;font-weight:400;color:var(--muted);font-size:11px}
.features-page .task-example h3{margin:0 0 21px;font-size:29px;line-height:1.16}
.features-page .task-question{font-size:16px;line-height:1.6;margin:0 0 14px;color:var(--ink)}
.features-page .task-question strong,.features-page .task-input strong{display:block;margin-bottom:6px;font:600 11px/1.6 var(--sans);letter-spacing:.03em;text-transform:uppercase;color:var(--ink)}
.features-page .task-help,.features-page .task-input p{font-size:14px;line-height:1.8;margin:0;color:var(--text)}
.features-page .task-evidence{margin:24px 28px 0;min-width:0}
.features-page .feature-crop{display:block;position:relative;width:100%;padding:0;aspect-ratio:var(--crop-ratio);overflow:hidden;border:1px solid #d9d9d6;background:#eee;cursor:zoom-in;box-shadow:0 4px 10px #1516190a}
.features-page .feature-crop img{display:block;position:absolute;width:var(--image-width);max-width:none;height:auto;left:var(--image-left);top:var(--image-top);object-fit:contain}
.features-page .feature-crop:hover{border-color:var(--red)}
.features-page .feature-crop:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.features-page .task-evidence figcaption{font:400 12px/1.65 var(--sans);color:var(--muted);margin-top:12px}
.features-page .enlargement-hint{display:block;margin-top:4px;color:var(--red);font-size:11px}
.features-page .task-input{padding:22px 28px 26px;margin-top:auto}
.features-page .task-input .text-link{margin-top:18px;font-size:12px;max-width:100%;min-height:40px}
.features-page .task-input .text-link svg{flex:none}
.features-page .task-single .task-example{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:30px;padding:28px}
.features-page .task-single .task-explanation{grid-column:1;padding:0}
.features-page .task-single .task-evidence{grid-column:2;grid-row:1/3;margin:0;align-self:center}
.features-page .task-single .task-input{grid-column:1;padding:22px 0 0;margin:0}
.features-page .task-note{margin-top:28px;padding:25px 28px;border-left:3px solid var(--red);background:#fff;box-shadow:0 5px 18px #15161907}
.features-page .task-note h3{font-size:25px;margin:0 0 10px}
.features-page .task-note p{font-size:14px;line-height:1.8;max-width:950px;margin:0 0 12px}
.features-page .task-note .text-link{font-size:12px;min-height:40px}
.features-page .feature-planning{display:grid;grid-template-columns:1.4fr 1fr;gap:50px;padding-top:48px;padding-bottom:48px}
.features-page .feature-planning h2{font-size:32px;margin:0 0 16px}
.features-page .feature-planning p{font-size:14px;line-height:1.8;margin:0}
.features-page .feature-planning .related-links{align-items:start;justify-content:center;flex-direction:column;gap:16px;margin:0}
.features-page .feature-planning .text-link{font-size:13px}
.features-page .screen-close{left:0;z-index:2;min-height:44px}
@media(max-width:1000px){
 .features-page .task-explanation{padding:22px 22px 0}
 .features-page .task-evidence{margin-left:22px;margin-right:22px}
 .features-page .task-input{padding:20px 22px 22px}
 .features-page .task-single .task-example{column-gap:25px;padding:24px}
 .features-page .task-example h3{font-size:27px}
}
@media(max-width:700px){
 .features-page .feature-task{padding:42px 0}
 .features-page [id]{scroll-margin-top:12px}
 .features-page .chapter-nav .wrap{gap:8px 20px;padding-top:16px;padding-bottom:16px}
 .features-page .chapter-nav span{width:100%}
 .features-page .chapter-nav a{font-size:12px;min-height:36px}
 .features-page .task-pair{grid-template-columns:1fr;gap:22px}
 .features-page .task-single .task-example{display:flex;padding:0}
 .features-page .task-single .task-explanation{padding:22px 20px 0}
 .features-page .task-single .task-evidence{margin:20px 20px 0;align-self:stretch}
 .features-page .task-single .task-input{padding:20px}
 .features-page .task-explanation{padding:22px 20px 0}
 .features-page .task-evidence{margin:20px 20px 0}
 .features-page .task-input{padding:20px}
 .features-page .task-note{padding:22px 20px}
 .features-page .task-note .text-link{max-width:100%}
 .features-page .task-note .text-link svg{flex:none}
 .features-page .feature-task-heading{margin-bottom:24px}
 .features-page .feature-task-heading h2{font-size:35px}
 .features-page .feature-task-heading>p:last-child{font-size:14px}
 .features-page .feature-planning{grid-template-columns:1fr;gap:25px;padding-top:35px;padding-bottom:35px}
 .features-page .feature-planning h2{font-size:30px}
}
