/* The trial sign-in: an entrance, not a form. Left-weighted, compact gate on the right. */
body.entrance { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background:
  radial-gradient(1200px 800px at 72% 42%, rgba(41,54,67,.9), transparent 70%), #080C11; }
body.entrance .nav { position: relative; background: transparent; }
.portal { position: fixed; right: -24vmax; top: 50%; width: 70vmax; height: 70vmax; transform: translateY(-50%); pointer-events: none; z-index: 0; }
.portal-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 60%, rgba(246,146,30,.5) 72%, transparent 86%); filter: blur(30px); opacity: .42; animation: spin 20s linear infinite; }
.portal-core { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(246,146,30,.13), transparent 62%); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .portal-ring { animation: none; } }

/* wider overall, copy gets the room; the gate is a small capped card on the right */
.entry.wrap { max-width: 1340px; }
.entry { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 420px); gap: clamp(32px, 4.5vw, 80px); align-items: center; padding-top: 24px; padding-bottom: 40px; }
.entry h1 { font-size: clamp(34px, 3.4vw, 54px); }
.entry h1 .accent { color: var(--orange); }
.entry .lede { margin: 20px 0 22px; max-width: 46em; }
.entry-facts { list-style: none; padding: 0; margin: 0; color: var(--text-2); font-size: 14.5px; }
.entry-facts li { padding: 6px 0 6px 24px; position: relative; }
.entry-facts li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; border-radius: 3px; background: var(--orange); }
.entry-facts strong { color: #FFD9A8; }
.entry-guided { margin: 18px 0 0; max-width: 46em; color: var(--text-2); font-size: 14.5px; }
.entry-guided a { color: var(--orange); font-weight: 600; }

/* one compact card: form on top, a slim creds strip beneath */
.gate { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 6px; box-shadow: 0 40px 90px -44px rgba(0,0,0,.85), 0 0 0 1px rgba(246,146,30,.07); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gate-inner { display: grid; grid-template-columns: 1fr; border-radius: 13px; overflow: hidden; }
.gate-form { background: #F5F7F9; color: #16222E; padding: 26px 24px; }
.gate-form h2 { font-family: var(--display); color: var(--navy); font-size: 19px; letter-spacing: -.02em; margin: 0 0 14px; }
.gate-form label { display: block; font-weight: 700; font-size: 12.5px; color: var(--navy); margin: 12px 0 6px; }
.gate-form input { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #C9D4DC; background: #fff; color: #16222E; }
.gate-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(246,146,30,.2); }
.gate-go { width: 100%; margin-top: 18px; font-size: 15px; padding: 12px 20px; }
.gate-go[disabled] { opacity: .7; cursor: progress; }
.gate-err { color: #B02A24; font-weight: 600; margin: 10px 0 0; min-height: 1em; }
.creds .gate-err { color: #FFB4AE; }
.gate-msg { color: #1E5E7A; font-weight: 600; background: #E3EFF4; border-radius: 9px; padding: 8px 11px; margin-bottom: 8px; font-size: 13px; }
.gate-msg:empty { display: none; }

.creds { background: linear-gradient(160deg, #293643, #18212B); padding: 18px 24px 20px; border-top: 1px solid rgba(255,255,255,.08); }
.creds-kicker { font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.creds-dir { color: var(--text-2); font-size: 13px; line-height: 1.45; margin: 0 0 14px; font-weight: 500; }
.creds dl { margin: 0 0 14px; }
.creds dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-top: 10px; }
.creds dd { margin: 5px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.creds code { font-family: "Cascadia Mono", Consolas, Menlo, monospace; font-size: 13.5px; color: #fff; background: rgba(0,0,0,.28); border: 1px dashed rgba(246,146,30,.5); border-radius: 8px; padding: 5px 9px; letter-spacing: .01em; white-space: nowrap; max-width: 100%; overflow-x: auto; }
.copy { background: transparent; border: 1px solid rgba(255,255,255,.28); color: var(--text-2); border-radius: 7px; padding: 4px 8px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.copy:hover { color: #fff; border-color: #fff; }
#fillBtn { margin-top: 2px; }

/* Next steps (item 18): one slim strip under the header, on the sign-in page and the sign-out return. */
.next-bar { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(11,16,22,.6); }
.next-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 9px; padding-bottom: 9px; }
.next-bar-text { color: var(--text-2); font-weight: 600; font-size: 14px; margin-right: auto; }
.next-bar .btn-sm { white-space: nowrap; }
.entry-foot a { color: var(--text-2); }
.entry-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; color: var(--muted); font-size: 12.5px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid var(--line); }
.entry-foot .demo-flag { color: #FFD9A8; }

@media (max-width: 560px) { .next-bar-text { width: 100%; font-size: 13px; } .next-bar .btn-sm { padding: 7px 11px; font-size: 13px; } }
@media (max-width: 980px) { .entry { grid-template-columns: 1fr; gap: 34px; } .entry h1 { font-size: clamp(32px, 7vw, 48px); } .gate { max-width: 460px; } }
