/* HYVE FORGE client view sign-in (hyveforge.beta-cloud.net). The brand screen: the HYVE FORGE mark large, its
   content cells bursting out and forging back in (signin.js), on the Deep Navy ground with a one-axis gradient (HYVE
   rule). Colors are the HYVE Visual Language values. */
:root {
  --navy: #152a4b;
  --navy-deep: #0d1f38;
  --navy-lift: #1c3a63;
  --spark: #f4b251;
  --spark-light: #ffca77;
  --ash: #f1f1f1;
  --muted: #b9c6d8;
  --faint: #8296ad;
  --coral-light: #fd9d85;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh; background: linear-gradient(180deg, var(--navy-lift) 0%, var(--navy-deep) 100%); color: var(--ash);
  font-family: "Open Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.si { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 32px 6vw; max-width: 1280px; margin: 0 auto; }
.si__stage { position: relative; height: min(64vh, 520px); display: grid; place-items: center; }
.si__mark { width: min(36vh, 260px); height: min(36vh, 260px); overflow: visible; position: relative; z-index: 1; }
.si__hex { fill: none; stroke: var(--spark); stroke-width: 2.5; stroke-linejoin: round; }
.si__spark { fill: var(--ash); transform-box: view-box; transform-origin: 28px 28px; }
.si__core { fill: var(--spark); }
.si__cell, .si__twinkle, .si__flash { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.si__cell span {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 64px; height: 72px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--ash); color: var(--navy);
}
.si__cell svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.si__cell em { position: absolute; top: 80px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.si__twinkle span { position: absolute; transform: translate(-50%, -50%); color: var(--spark-light); display: grid; }
.si__twinkle svg { width: 18px; height: 18px; fill: currentColor; }
.si__flash svg { position: absolute; left: -160px; top: -160px; width: 320px; height: 320px; overflow: visible; }
.si__flash polygon { fill: none; stroke: var(--spark-light); stroke-width: 2; }

.si__panel { max-width: 460px; }
.si__word { margin: 0 0 22px; font-family: "Archivo Black", "Open Sans", sans-serif; font-size: 28px; line-height: 1; }
.si__word span:last-child { color: var(--spark); }
.si__title { margin: 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.si__lead { margin: 14px 0 28px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.si__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.si__row { display: flex; gap: 10px; }
.si__row input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(241, 241, 241, .22);
  background: rgba(241, 241, 241, .08); color: var(--ash);
}
.si__row input:focus { outline: 2px solid var(--spark); outline-offset: 2px; border-color: transparent; }
.si__row button {
  font: inherit; font-size: 16px; font-weight: 800; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--spark); color: var(--navy); transition: background-color .15s, transform .15s;
}
.si__row button:hover { background: var(--spark-light); }
.si__row button:active { transform: translateY(1px); }
.si__row button:focus-visible { outline: 2px solid var(--ash); outline-offset: 3px; }
.si__error { margin: 12px 0 0; font-size: 14px; color: var(--coral-light); }
.si__foot { margin: 40px 0 0; font-size: 13px; color: var(--faint); }

@media (max-width: 860px) {
  .si { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 40px; gap: 0; }
  .si__stage { height: 300px; }
  .si__mark { width: 150px; height: 150px; }
  .si__cell span { width: 44px; height: 50px; }
  .si__cell svg { width: 18px; height: 18px; }
  .si__cell em { display: none; }
  .si__panel { max-width: none; }
  .si__row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
