@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #09090b;
  --bg-2: #0e0e11;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --muted: #929299;
  --dim: #5c5c63;
  --accent: #fff;
  --good: #4ade80;
  --bad: #f87171;
  --radius: 18px;
  --display: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  --body: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --hair: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #fff; color: #000; }

/* starfield behind everything on marketing pages */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 20px; letter-spacing: -0.035em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; flex: none; background: linear-gradient(#fff, #d9d9de); position: relative; box-shadow: 0 6px 18px -8px rgba(255,255,255,.6); }
.logo-mark::after { content: ''; position: absolute; left: 7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: 3px -2px 0 -1px #fff inset; }
.logo .dim { color: var(--muted); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 15px; border: 0;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .15s, box-shadow .2s, transform .1s, filter .15s;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary, .btn-glow {
  color: #0a0a0a; background: linear-gradient(#fff, #d9d9de);
  box-shadow: 0 10px 26px -12px rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0,0,0,.08);
}
.btn-primary:hover, .btn-glow:hover { background: linear-gradient(#fff, #e6e6ea); box-shadow: 0 12px 30px -10px rgba(255, 255, 255, 0.7); }
.btn-ghost { background: transparent; box-shadow: none; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-danger { color: var(--bad); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .3); background: rgba(248, 113, 113, .06); }
.btn-danger:hover { background: rgba(248, 113, 113, .12); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 13px; }

.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border-radius: 14px; border: 0;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  outline: none; transition: box-shadow .15s, background .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .select:focus, .textarea:focus { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.05); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.select option { background: #111; }
.textarea { resize: vertical; min-height: 90px; }
.label { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }

#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px; pointer-events: none; }
.toast { padding: 11px 16px; border-radius: 14px; font-size: 14.5px; background: rgba(18, 18, 21, .92); backdrop-filter: blur(14px); box-shadow: var(--hair), 0 14px 40px -10px #000; animation: toast-in .25s cubic-bezier(.2,1.3,.4,1); }
.toast.bad { color: #fca5a5; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }

.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
