/* Sign-in page (2026-11-23): the same layout, proportions and type scale as the Noovis and Sentrics
   sign-ins, so the three read as one family. Left: the elevator hologram at full strength in a cut-corner
   frame, a thin line of Action orange running its edge, the Action Elevator logo on a glass plate.
   Right: the card (edge light, cursor-free), Powered by Simpl in the exact Noovis component.
   Public (no sign-in needed), so it holds nothing but looks. Motion: transform and opacity, plus the
   frame's edge light; everything stops under reduced motion. */
:root { --bg: #060708; --ink: #F4F5F7; --muted: #8D98A5; --line: rgba(255, 255, 255, .09);
  --brand: #3B5EAB; --brand-2: #FD6B0D; --or: 253, 107, 13; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); display: flex;
  font: 15px/1.5 "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the picture: the hologram in a cut-corner frame ---- */
.pic { flex: 1.15; position: relative; padding: 22px 0 22px 22px; }
@media (min-width: 901px) { .pic { flex: 1.6; } }
.frame { position: absolute; inset: 22px 0 22px 22px; overflow: hidden; border-radius: 14px 0 0 14px;
  clip-path: polygon(0 0, 86% 0, 100% 13%, 100% 87%, 86% 100%, 0 100%);
  background:
    radial-gradient(70% 60% at 50% 78%, rgba(var(--or), .22), transparent 70%),
    radial-gradient(60% 50% at 30% 10%, rgba(59, 94, 171, .28), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, #0b0e14, #07080b); }
.frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 7, 8, 0) 70%, rgba(6, 7, 8, .4) 100%), linear-gradient(0deg, rgba(6, 7, 8, .55), transparent 30%); }
.holo-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.trace { position: absolute; inset: 22px 0 22px 22px; width: calc(100% - 22px); height: calc(100% - 44px); overflow: visible; pointer-events: none; }
.trace .rest { stroke: rgba(var(--or), .3); stroke-width: 1; }
.trace .run { stroke: #FFD9BF; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 9 91; animation: trace 9s linear infinite; }
.trace .run.halo { stroke: rgba(var(--or), .5); stroke-width: 7; }
.trace .run2 { animation-delay: -4.5s; opacity: .55; }
@keyframes trace { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
body.fx-on .trace .run { animation-play-state: paused; }
.plate { position: absolute; left: 60px; top: 58px; z-index: 3; padding: 14px 20px; border-radius: 14px;
  background: rgba(6, 7, 8, .45); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45); animation: rise .9s .25s cubic-bezier(.2, .8, .2, 1) both; }
.plate .logo { display: block; width: 190px; height: auto; filter: drop-shadow(0 8px 24px rgba(var(--or), .25)); }
.plate .logo-text { font: 600 22px/1.2 "Space Grotesk", sans-serif; }

/* ---- the card ---- */
.side { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 32px; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.g1 { width: 760px; height: 560px; top: -250px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(var(--or), .14), rgba(var(--or), 0)); animation: breathe 8s ease-in-out infinite alternate; }
.g2 { width: 640px; height: 640px; bottom: -330px; right: -230px; background: radial-gradient(closest-side, rgba(59, 94, 171, .16), rgba(59, 94, 171, 0));
  animation: breathe2 6s ease-in-out 1s infinite alternate; }
@keyframes breathe { from { opacity: .55; transform: translateX(-50%) scale(.97); } to { opacity: 1; transform: translateX(-50%) scale(1.03); } }
@keyframes breathe2 { from { opacity: .5; } to { opacity: 1; } }
.card { position: relative; z-index: 1; width: 100%; max-width: 380px; margin: 0; border-radius: 18px; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.edge { position: absolute; inset: -1px; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 2; }
.beam { position: absolute; opacity: .75; }
.b1 { top: 0; left: 0; height: 2px; width: 50%; background: linear-gradient(90deg, transparent, rgb(var(--or)), transparent); transform: translateX(-100%); animation: bx 3.5s ease-in-out infinite; }
.b2 { right: 0; top: 0; width: 2px; height: 50%; background: linear-gradient(180deg, transparent, rgb(var(--or)), transparent); transform: translateY(-100%); animation: by 3.5s ease-in-out .6s infinite; }
.b3 { bottom: 0; right: 0; height: 2px; width: 50%; background: linear-gradient(270deg, transparent, rgb(var(--or)), transparent); transform: translateX(100%); animation: bxr 3.5s ease-in-out 1.2s infinite; }
.b4 { left: 0; bottom: 0; width: 2px; height: 50%; background: linear-gradient(0deg, transparent, rgb(var(--or)), transparent); transform: translateY(100%); animation: byr 3.5s ease-in-out 1.8s infinite; }
@keyframes bx { 0% { transform: translateX(-100%); } 70%, 100% { transform: translateX(200%); } }
@keyframes by { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(200%); } }
@keyframes bxr { 0% { transform: translateX(100%); } 70%, 100% { transform: translateX(-200%); } }
@keyframes byr { 0% { transform: translateY(100%); } 70%, 100% { transform: translateY(-200%); } }
.core { position: relative; display: flex; flex-direction: column; padding: 30px 28px 24px; border-radius: 18px; overflow: hidden;
  background: rgba(13, 15, 18, .82); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.core::before { content: ""; position: absolute; inset: 0; opacity: .035; pointer-events: none;
  background-image: linear-gradient(135deg, #fff .5px, transparent .5px), linear-gradient(45deg, #fff .5px, transparent .5px); background-size: 30px 30px; }
h1 { margin: 0; text-align: center; font: 600 22px/1.2 "Space Grotesk", "Geist", sans-serif; letter-spacing: -.01em; }
.sub { margin: 4px 0 22px; text-align: center; font-size: 13px; color: var(--muted); }
.field { position: relative; margin-bottom: 12px; }
.field svg.i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); transition: stroke .2s; pointer-events: none; }
.field:focus-within svg.i { stroke: var(--ink); }
.field input { width: 100%; height: 44px; margin: 0; background: rgba(255, 255, 255, .05); border: 1px solid transparent; border-radius: 10px;
  color: var(--ink); font: inherit; font-size: 15px; padding: 0 14px 0 38px; outline: none; transition: background .2s, border-color .2s, box-shadow .2s; }
.field input::placeholder { color: rgba(255, 255, 255, .32); }
.field input:hover { background: rgba(255, 255, 255, .075); border-color: rgba(var(--or), .3); }
.field input:focus { background: rgba(255, 255, 255, .08); border-color: rgba(var(--or), .55); box-shadow: 0 0 0 3px rgba(var(--or), .15); }
#code { letter-spacing: .3em; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }
.row { font-size: 12px; color: var(--muted); margin: 2px 0 18px; }
.row a, .help a { color: #ff8d47; text-decoration: none; }
.row a:hover, .help a:hover { text-decoration: underline; text-underline-offset: 3px; }
button.go { position: relative; width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--brand-2); color: #160800; cursor: pointer;
  font: 700 15px "Geist", system-ui, sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(var(--or), .35), 0 14px 32px -14px rgba(var(--or), .55); transition: background-color .15s, box-shadow .25s; }
button.go:hover { background: #ff7c26; box-shadow: 0 8px 30px rgba(var(--or), .4); }
button.go:active { background: #e85f06; }
button.go:disabled { opacity: .7; cursor: default; }
button.go svg { width: 14px; height: 14px; }
button.linkish { background: none; border: 0; color: #ff8d47; margin-top: 12px; font: inherit; font-size: 13px; cursor: pointer; }
button.linkish:hover { text-decoration: underline; text-underline-offset: 3px; }
.err { color: #F5A49B; background: rgba(240, 100, 90, .1); border: 1px solid rgba(240, 100, 90, .4); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-size: 13px; }
.ok { color: #8FE3B0; background: rgba(60, 200, 120, .08); border: 1px solid rgba(60, 200, 120, .4); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-size: 13px; }
.note { font-size: 13px; line-height: 1.45; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 141, 71, .10); color: #cfd3d8; }
.help { color: var(--muted); font-size: 12.5px; text-align: center; margin: 14px 0 0; }
.qr { background: #fff; border-radius: 10px; padding: 6px; width: max-content; margin: 0 auto 10px; }
.qr svg { display: block; height: min(176px, 24vh); width: auto; }
.key { font-family: ui-monospace, Consolas, monospace; letter-spacing: .08em; user-select: all; color: #fff; }
/* Powered by Simpl: the same component as the Noovis sign-in (markup, live SVG, size, color, spacing) */
.foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; font-size: 12px; color: var(--muted); }
.foot .by { display: flex; align-items: center; gap: 8px; }
.foot svg { height: 20px; width: auto; display: block; }
.terms { font-size: 12px; color: var(--muted); text-align: center; }
.terms a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(var(--or), .5); text-underline-offset: 3px; }
.terms a:hover { color: #ff8d47; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.field input:focus-visible { outline: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* normal desktop size, the Noovis card: 372-420px wide, scaling gently from 1280x720 to 2560x1440 */
@media (min-width: 901px) {
  .side { padding: clamp(20px, 3vw, 48px); }
  .card { max-width: clamp(372px, 26vw, 420px); }
  .card, .core, .edge { border-radius: 20px; }
  .core { padding: clamp(26px, 4.2vh, 40px) clamp(24px, 2.2vw, 34px) clamp(22px, 3.4vh, 32px); }
  h1 { font-size: clamp(24px, 1.75vw, 28px); }
  .sub { font-size: clamp(13.5px, .95vw, 15px); margin: 6px 0 clamp(20px, 3.4vh, 30px); }
  .field svg.i { left: 14px; width: 17px; height: 17px; }
  .field input { height: clamp(44px, 5.6vh, 48px); border-radius: 11px; padding: 0 16px 0 42px; }
  .row { font-size: 12.5px; margin: 4px 0 clamp(16px, 2.6vh, 22px); }
  button.go { height: clamp(44px, 5.6vh, 48px); font-size: 15.5px; border-radius: 11px; }
  .foot { font-size: 12.5px; margin-top: clamp(18px, 3vh, 26px); padding-top: clamp(14px, 2vh, 18px); }
  .foot svg { height: 22px; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .pic { padding: 14px 0 14px 14px; } .frame, .trace { inset: 14px 0 14px 14px; } .trace { width: calc(100% - 14px); height: calc(100% - 28px); }
  .plate { left: 44px; top: 40px; }
}
/* phones: the picture on top, the card under it */
@media (max-width: 900px) {
  body { flex-direction: column; }
  .pic { flex: none; height: 210px; padding: 0; }
  .frame, .trace { inset: 16px 16px 0 16px; }
  .trace { width: calc(100% - 32px); height: calc(100% - 16px); }
  .frame { clip-path: polygon(0 0, 100% 0, 100% 80%, 94% 100%, 6% 100%, 0 80%); border-radius: 12px 12px 0 0; }
  .plate { left: 30px; top: 30px; padding: 9px 13px; } .plate .logo { width: 120px; }
  .side { flex: 1; align-items: flex-start; padding: 20px 16px 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
