
/* palette taken from logo.png: bright #FEF567, gold #DAB32A, amber #CD8725, brown #7C3E03 */
:root{--bg:#141416;--bg-card:#1c1c1c;--bg-input:#111;--line:#2a2a2e;--line-hi:#3b3b41;
--gold:#7cc0ff;--gold-hi:#a8d8ff;--bronze:#4d8ec7;--brown:#7c3e03;--text:#e9e9ec;
--muted:#b6b6bd;--danger:#e06a5a;--ok:#8fc46a;--radius:14px}
*{box-sizing:border-box}
html{height:100%}
/* flat base; the video layer sits on top of this at z-index -1 */
body{margin:0;min-height:100vh;min-height:100dvh;color:var(--text);
font:13.5px/1.5 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
display:grid;place-items:center;padding:28px 18px;-webkit-font-smoothing:antialiased;
background:var(--bg)}

/* -------------------------------- video bg -------------------------- */
.bg{position:fixed;inset:0;z-index:-1;overflow:hidden;background:var(--bg);pointer-events:none}
.bg-video{width:100%;height:100%;object-fit:cover;display:block}
/* light scrim so the video reads clearly, plus a touch of matte grain */
.bg-overlay{position:absolute;inset:0;
background-image:
linear-gradient(rgba(10,10,10,.26),rgba(10,10,10,.42)),
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
background-attachment:fixed,scroll;
background-repeat:no-repeat,repeat}

/* almost invisible: low alpha + heavy blur so the video reads through it,
   with only a hairline edge and the faintest shadow to hint at a box */
/* all boxes share the same near-invisible glass */
/* readable glass: dark enough that text always has consistent ground */
.card{width:100%;max-width:360px;
background:rgba(10,10,10,.55);
-webkit-backdrop-filter:blur(28px) saturate(120%);
backdrop-filter:blur(28px) saturate(120%);
border:1px solid rgba(255,255,255,.13);
border-radius:16px;padding:16px 20px 14px;
box-shadow:0 8px 30px rgba(0,0,0,.34)}

/* top-right: Features / Pricing */
.topnav{position:fixed;top:16px;right:16px;z-index:20;display:flex;gap:8px}
.toplink{padding:7px 14px;border-radius:999px;font-size:12.5px;letter-spacing:.04em;
color:#e6e0d2;text-decoration:none;text-shadow:0 1px 3px rgba(0,0,0,.9);transition:color .14s}
.toplink:hover{color:#8ec7ff}

/* shared glass surface - used by the corner badge and both topbar links */
.glass{background:rgba(12,12,12,.26);
-webkit-backdrop-filter:blur(28px) saturate(120%);
backdrop-filter:blur(28px) saturate(120%);
border:1px solid rgba(255,255,255,.11);
box-shadow:0 6px 26px rgba(0,0,0,.26)}

/* brand now floats on the video, above the card */
.stack{display:flex;flex-direction:column;align-items:center;
width:100%;max-width:360px;min-width:0}
/* brand lockup: the mark on the left, the name in the page's own type on the
   right. This replaced the full-width block-letter SVG - at card width the
   pixel wordmark read as the heading of the form rather than a brand line. */
.wordmark-wrap{display:flex;align-items:center;justify-content:center;gap:11px;
width:100%;min-width:0;margin:12px 0 18px}
.login-logo{width:38px;height:38px;object-fit:contain;display:block;flex:0 0 auto;
image-rendering:pixelated;filter:drop-shadow(0 1px 3px rgba(0,0,0,.6))}
.login-word{font-size:28px;font-weight:800;letter-spacing:-.015em;line-height:1;
color:#8ec7ff;text-shadow:0 1px 3px rgba(0,0,0,.75)}

/* corner badge, bottom right - same glass as the login box */
.corner{position:fixed;right:16px;bottom:16px;z-index:20;
display:flex;align-items:center;gap:9px;
padding:7px 12px;border-radius:999px}
.corner-logo{width:20px;height:20px;image-rendering:pixelated;display:block;flex:0 0 auto;
filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.corner-mark{font-size:12.5px;font-weight:600;letter-spacing:.10em;text-transform:uppercase;
color:#8ec7ff;text-shadow:0 1px 3px rgba(0,0,0,.9)}
.corner-year{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;
text-shadow:0 1px 3px rgba(0,0,0,.9)}
.corner-link{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;
color:var(--muted);text-decoration:none;transition:color .14s,background .14s}
.corner-link:hover{color:#8ec7ff;background:rgba(255,255,255,.08)}
.corner-link svg{width:17px;height:17px;fill:currentColor;display:block}

.field{display:block;margin-bottom:9px}
.field>span{display:block;font-size:10.5px;letter-spacing:.01em;color:#e8e2d4;margin-bottom:6px;text-shadow:0 1px 4px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.6)}
.field input,.field select{width:100%;padding:9px 11px;background:rgba(8,8,8,.66);
border:1px solid rgba(255,255,255,.10);border-radius:9px;color:var(--text);font:inherit;
font-size:13px;outline:none;
transition:border-color .15s,box-shadow .15s,background .15s}
.field input::placeholder{color:#a8a294}
.field input:focus,.field select:focus{border-color:var(--bronze);
background:rgba(8,8,8,.82);
box-shadow:0 0 0 3px rgba(168,118,58,.26)}

.webhook{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);
animation:reveal .22s ease-out}
@keyframes reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
body.generating .webhook{margin-top:0;padding-top:0;border-top:0}

.primary{width:100%;margin-top:6px;padding:10px 14px;border:0;border-radius:9px;font:inherit;
font-size:13px;font-weight:600;letter-spacing:.03em;color:#06122b;
background:linear-gradient(180deg,#9ccfff,#4d8ec7);cursor:pointer;
transition:filter .15s,transform .06s}
.primary:hover:not(:disabled){filter:brightness(1.07)}
.primary:active:not(:disabled){transform:translateY(1px)}
.primary:disabled{opacity:.55;cursor:default}

.link{background:none;border:0;padding:0;font:inherit;color:var(--gold);cursor:pointer;
text-decoration:underline;text-underline-offset:3px}
.link:hover{color:var(--gold-hi)}

.alt{margin:8px 0 0;text-align:center;font-size:12px;color:var(--muted);text-shadow:0 1px 4px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.6)}
.status{margin:6px 0 0;min-height:0;font-size:11.5px;text-align:center;color:var(--muted);text-shadow:0 1px 4px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.6)}
.status.error{color:var(--danger)}
.status.success{color:var(--ok)}

.logged-in{text-align:center;animation:reveal .25s ease-out}
/* Stub only. Success is reported on the status line, so this panel is never
   rendered. */
#logged-in{display:none!important}
.logged-in .check{width:56px;height:56px;margin:4px auto 14px;border-radius:50%;
display:grid;place-items:center;font-size:27px;color:#14210c;
background:linear-gradient(180deg,var(--gold-hi),var(--bronze));
box-shadow:0 0 26px rgba(124,192,255,.36)}
.logged-in h2{margin:0 0 8px;font-size:19px;letter-spacing:.04em}
.logged-in .hint{margin-bottom:14px;color:var(--muted);font-size:12.5px}

table{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:4px}
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line)}
th{color:var(--muted);font-weight:500;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
td.num{color:var(--muted);font-variant-numeric:tabular-nums}
.row{display:flex;gap:10px;align-items:flex-end}
.row .field{flex:1;margin-bottom:0}
.row .primary{width:auto;padding:12px 20px}
.panel{margin-top:24px;padding-top:20px;border-top:1px dashed var(--line)}
.panel h2{font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 14px;color:var(--gold)}
.out{margin-top:12px;padding:11px 13px;background:var(--bg-input);border:1px solid var(--line);
border-radius:10px;font-size:13px;word-break:break-all;min-height:40px;color:var(--text)}
.empty{color:var(--muted);font-size:13px;padding:16px 0;text-align:center}
.stats{display:flex;gap:10px;margin-bottom:18px}
.stat{flex:1;background:var(--bg-input);border:1px solid var(--line);border-radius:10px;
padding:11px 13px}
.stat b{display:block;font-size:20px;color:var(--gold);font-variant-numeric:tabular-nums}
.stat span{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
[hidden]{display:none!important}

