/* Site Forge — the brand-sheet input in the hero.
   Scoped to #fp-forge / #fp-brand. Sits inside #fp-hero, which already owns the
   dark register, so these rules only need to dress the form and the result. */

#fp-hero .fp-forge { margin: 0 0 26px; }
#fp-hero .fp-forge-label {
  display: block; margin-bottom: 9px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244,248,249,.62);
}
#fp-hero .fp-forge-row { display: flex; gap: 10px; flex-wrap: wrap; }
#fp-hero .fp-forge input {
  flex: 1 1 260px; min-width: 0; min-height: 52px;
  padding: 14px 18px; border-radius: 12px;
  font: inherit; font-size: 15px; color: #f4f8f9;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  transition: border-color .18s ease, background .18s ease;
}
#fp-hero .fp-forge input::placeholder { color: rgba(244,248,249,.42); }
#fp-hero .fp-forge input:focus {
  outline: none; border-color: #27e0ce; background: rgba(255,255,255,.09);
}
#fp-hero .fp-forge button { min-height: 52px; white-space: nowrap; }
#fp-hero .fp-forge button[disabled] { opacity: .6; cursor: progress; }
#fp-hero .fp-forge-hint {
  margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(244,248,249,.6);
}
#fp-hero .fp-forge-hint.is-bad { color: #ffb4a8; }
#fp-hero .fp-forge-alt { margin: 14px 0 0; font-size: 12.5px; color: rgba(244,248,249,.5); }
#fp-hero .fp-forge-alt a { color: rgba(39,224,206,.9); text-decoration: none; border-bottom: 1px solid rgba(39,224,206,.3); }

/* the working state: three bars that pulse while the writer thinks */
#fp-hero .fp-forge-work { display: none; align-items: center; gap: 10px; margin: 12px 0 0;
  font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: rgba(39,224,206,.9); }
#fp-hero .fp-forge-work.on { display: flex; }
#fp-hero .fp-forge-work i {
  width: 6px; height: 6px; border-radius: 999px; background: #27e0ce;
  animation: fp-forge-pulse 1.1s ease-in-out infinite;
}
#fp-hero .fp-forge-work i:nth-child(2) { animation-delay: .15s; }
#fp-hero .fp-forge-work i:nth-child(3) { animation-delay: .3s; }
@keyframes fp-forge-pulse { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ------------------------------------------------------------------ the result */
#fp-brand { padding: 8px 0 0; }
#fp-brand[hidden] { display: none; }
#fp-brand .fp-brand-eyebrow {
  margin: 0 0 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(39,224,206,.88);
}
#fp-brand h2 {
  margin: 0 0 6px; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.05;
  letter-spacing: -.028em; font-weight: 800;
}
#fp-brand .fp-brand-trade { margin: 0 0 26px; font-size: 13px; color: rgba(244,248,249,.6); }

#fp-brand .fp-brand-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
}
#fp-brand .fp-card {
  padding: 20px 22px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
}
#fp-brand .fp-card h3 {
  margin: 0 0 10px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244,248,249,.5); font-weight: 700;
}
#fp-brand .fp-wide { grid-column: 1 / -1; }
#fp-brand .fp-positioning { margin: 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; }
#fp-brand .fp-hl {
  margin: 0; font-size: clamp(24px, 3vw, 40px); line-height: 1.06;
  letter-spacing: -.03em; font-weight: 800;
}
#fp-brand ul { list-style: none; margin: 0; padding: 0; }
#fp-brand li { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
#fp-brand li:last-child { margin-bottom: 0; }
#fp-brand li b { display: block; font-size: 13.5px; }
#fp-brand li span { color: rgba(244,248,249,.62); }
#fp-brand .fp-tags li { font-size: 15px; }
#fp-brand .fp-tags li::before { content: "— "; color: rgba(39,224,206,.8); }

#fp-brand .fp-swatches { display: flex; gap: 8px; margin: 0 0 12px; }
#fp-brand .fp-sw {
  flex: 1; height: 62px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16);
}
#fp-brand .fp-hex {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: rgba(244,248,249,.6);
  display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap;
}
#fp-brand .fp-note { margin: 10px 0 0; font-size: 11.5px; color: rgba(244,248,249,.5); }

#fp-brand .fp-brand-foot {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
}
#fp-brand .fp-brand-foot .fp-foot-note { font-size: 12.5px; color: rgba(244,248,249,.55); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  #fp-hero .fp-forge-work i { animation: none; }
}
