/* Home page only: the headline formed from light, and the problem builder. Loaded after dark.css.
   Text never sits on an animation. Scripts are in home.js. */
.build h2 { font-family: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -0.02em; }
.fine { max-width: none; text-align: center; }
#scenarios { display: none; }
.chips { margin: 0; }
/* ---- first screen: the headline is the visual ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .mhint { display: inline; } }
/* 3 build */
.b3 { padding: 0; border: 0; color: #f2f6f3; background: radial-gradient(60rem 30rem at 50% -5%, rgba(61, 220, 151, 0.14), transparent 65%), #060909; }
.build { width: min(76rem, 100% - 2.5rem); margin-inline: auto; padding: clamp(3.5rem, 7vh, 5rem) 0 2rem; text-align: center; }
.build h2 { max-width: none; color: #f2f6f3; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.ask { display: flex; gap: 0.5rem; max-width: 42rem; margin: 1.6rem auto 0.9rem; padding: 0.4rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.ask input { flex: 1; min-width: 0; min-height: 48px; padding: 0 0.9rem; background: none; border: 0; color: #fff; font: inherit; }
.ask input::placeholder { color: #9fb0a8; }
.ask input:focus { outline: none; }
.ask:focus-within { border-color: #3ddc97; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
.chips button { min-height: 44px; padding: 0.3rem 0.9rem; background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; color: #c9d6cf; font: inherit; font-size: 0.92rem; cursor: pointer; }
.chips button:hover { border-color: #fff; color: #fff; }
.chips button[aria-pressed="true"] { background: #f2f6f3; border-color: #f2f6f3; color: #06100c; font-weight: 600; }
.board { margin: 1.6rem 0 0; padding: clamp(0.6rem, 2vw, 1.4rem); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; background: rgba(255, 255, 255, 0.025); }
.board svg { display: block; width: 100%; height: auto; fill: none; }
.board figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; padding-top: 0.8rem; text-align: left; font-size: 1.05rem; }
.pl { stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl.on { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s cubic-bezier(0.3, 0.6, 0.2, 1); }
.pg { stroke-width: 12; opacity: 0; } .pg.on { opacity: 0.16; transition: opacity 1.6s 0.4s; }
.pk { fill: #fff; opacity: 0; }
.nd { opacity: 0; transform: translateY(10px); transform-box: fill-box; }
.nd.on { opacity: 1; transform: none; transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nd rect { fill: #0b1412; stroke-width: 1.6; }
.nd text { font: 500 14.5px "Plus Jakarta Sans", system-ui, sans-serif; fill: #f2f6f3; stroke: none; }
.nd-a rect { stroke: #e8a93a; } .nd-m rect { stroke: #3ddc97; } .nd-e rect { stroke: #3ddc97; fill: #3ddc97; } .nd-e text { fill: #04130d; font-weight: 700; } .nd-h rect { stroke: #9debfa; fill: #122026; }
.fine { margin-top: 0.9rem; font-size: 0.85rem; color: #93a59c; }


