/* Access pages (home message, sign-in, admin): the same world as the demo shell.
   Dark ABN AMRO green, yellow for anything you can touch, a Stater purple glow. */
:root {
  --g950: #001617; --g900: #001f20; --g800: #003737; --g700: #004c4c; --g600: #00716b; --g500: #00857a;
  --yellow: #ffd200; --yellow2: #f3c000; --purple: #572179; --bad: #ff8a7a; --ok: #7fe0c4;
  --ink: #0d2b2b; --mute: #5b7373; --line: #e3ecea;
  --k: 1; /* set by shared/scale.js, as in the demo */
  --pad: max(20px, calc(60px * var(--k)));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html, body { min-height: 100%; }
body { background: var(--g800); color: #fff; font: 16px/1.5 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* backdrop: the demo's washes, plus a faint stud grid as a nod to the brick world */
.world { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 70% 40%, var(--g700), var(--g900) 70%); }
.world i { position: absolute; inset: 0; }
.world .studs { opacity: .07; background-image: radial-gradient(circle at 50% 50%, #fff 0 5px, transparent 5.5px); background-size: 36px 36px; mask-image: radial-gradient(70% 70% at 75% 45%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 75% 45%, #000, transparent 75%); }
.world .purple { background: radial-gradient(60% 70% at 92% 4%, rgba(132, 62, 190, .5), rgba(87, 33, 121, .16) 45%, transparent 70%); mix-blend-mode: screen; }
.world .teal { background: radial-gradient(50% 55% at 6% 100%, rgba(0, 160, 146, .34), transparent 70%); mix-blend-mode: screen; }
.world .scrim { background: linear-gradient(90deg, rgba(0, 22, 23, .75) 0%, rgba(0, 22, 23, .35) 45%, transparent 70%); }
.world .grain { opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* top bar with the co-brand lockup */
.bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(26px * var(--k)) var(--pad) 0; }
.lockup { zoom: var(--k); }
.lockup { display: flex; align-items: center; gap: 18px; min-width: 0; }
.lockup img { display: block; height: 26px; width: auto; }
.lockup .stater { height: 30px; }
.lockup .finacle { height: 24px; opacity: .95; }
.lockup .x { width: 1px; height: 22px; background: rgba(255, 255, 255, .28); flex: none; }
@media (max-width: 640px) { .lockup { zoom: .7; } } /* same proportions, scaled to fit a phone */

.tag { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

/* staged reveal, as the demo's cover */
.rv { opacity: 0; transform: translateY(16px); filter: blur(6px); animation: rv 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rv { to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .rv { animation-duration: .01s; animation-delay: 0s; } }

/* a full-height stage: copy left, card right */
.stage { position: relative; z-index: 1; min-height: calc(100vh - 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 110px); padding: 40px var(--pad) 72px; }
.stage > .card { justify-self: center; width: 100%; max-width: 420px; } /* centred in the right half */
.stage.single { grid-template-columns: minmax(0, 860px); }
.copy h1 { margin: 22px 0 20px; font-size: clamp(44px, 7vw, 120px); font-weight: 300; line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.copy p { max-width: 36em; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 24px rgba(0, 20, 20, .6); }
.copy p b { font-weight: 600; color: #fff; }
.note { margin-top: 34px; max-width: 520px; padding: 18px 22px 20px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(120deg, rgba(120, 60, 170, .26), rgba(0, 76, 76, .34)); backdrop-filter: blur(14px); }
.note small { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.note small::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.note p { font-size: 17px; font-weight: 400; color: #fff; text-shadow: none; }
@media (max-width: 900px) { .stage { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 28px; } }

/* glass card + form */
.card { padding: 30px 30px 26px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: linear-gradient(160deg, rgba(0, 60, 60, .72), rgba(0, 31, 32, .82)); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0, 10, 10, .45); }
.card h2 { font-size: 24px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 6px; }
.card .sub { color: rgba(255, 255, 255, .7); font-size: 14.5px; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 20, 20, .45); color: #fff; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--yellow); background: rgba(0, 20, 20, .65); outline: none; }
.field input::placeholder { color: rgba(255, 255, 255, .38); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--g800); font-weight: 600; letter-spacing: .01em; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { background: var(--yellow2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.full { width: 100%; margin-top: 6px; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.link { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .78); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: #fff; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.msg { min-height: 1.5em; margin-top: 12px; font-size: 14px; color: var(--bad); }
.msg.ok { color: var(--ok); }
.hint { font-size: 13px; color: rgba(255, 255, 255, .6); margin: -4px 0 14px; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; max-width: 520px; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: rgba(255, 255, 255, .9); }
.steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 210, 0, .14); border: 1px solid rgba(255, 210, 0, .5); color: var(--yellow); font-size: 13px; font-weight: 600; }
.foot { position: relative; z-index: 1; padding: 0 var(--pad) 24px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
