/* Strike Everywhere design system: Strike's design language (app.strikefinance.org, Oct 2026)
   extended with glass surfaces for marketing pages. Shared by landing, dashboard and portfolio demo. */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #0a0a0a;
  --bg-2: #0d0d0d;
  --panel: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --raised: #252525;
  --line: #252525;
  --line-2: #363636;
  --ink: #ffffff;
  --ink-soft: #d0d0d0;
  --ink-2: #b8b8b8;
  --muted: rgba(255, 255, 255, 0.55);
  --faint: rgba(255, 255, 255, 0.35);
  --mint: #4efab0;
  --mint-rgb: 78, 250, 176;
  --mint-ink: #04120c;
  --mint-deep: #1aa673;
  --rose: #f43f5e;
  --rose-rgb: 244, 63, 94;
  --gold: #f8931a;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  --glass-line: rgba(255, 255, 255, 0.09);
  --glass-line-hi: rgba(var(--mint-rgb), 0.38);
  --radius: 6px;
  --radius-lg: 12px;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: rgba(var(--mint-rgb), 0.3); }
:focus-visible { outline: 2px solid rgba(var(--mint-rgb), 0.75); outline-offset: 2px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pos { color: var(--mint); }
.neg { color: var(--rose); }
.muted { color: var(--muted); }
.soft { color: var(--ink-2); }
.dotted { border-bottom: 1px dashed rgba(255, 255, 255, 0.35); padding-bottom: 1px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- top nav (Strike app header pattern) ---------- */
.se-nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 24px; background: rgba(10, 10, 10, 0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.se-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.se-brand .se-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.se-mark { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--mint); display: grid; place-items: center; box-shadow: 0 0 24px rgba(var(--mint-rgb), 0.35); }
.se-mark svg { width: 16px; height: 16px; }
.se-links { display: flex; gap: 26px; }
.se-links a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); opacity: 0.86; transition: color 0.15s, opacity 0.15s; }
.se-links a:hover { opacity: 1; color: var(--mint); }
.se-links a.on { color: var(--mint); opacity: 1; }
.se-nav .sp { flex: 1; }
.se-nav .chip { font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

/* ---------- ticker strip (Strike market strip pattern) ---------- */
.se-ticker { height: 38px; display: flex; align-items: center; gap: 26px; padding: 0 24px; border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; font-size: 13px; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.se-ticker .t { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.se-ticker .t .c { font-family: var(--mono); font-weight: 500; }
.se-ticker .star { color: var(--gold); }
.se-ticker .live { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; }
.se-ticker .off { color: var(--muted); font-size: 12.5px; font-weight: 500; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--radius); border: 0; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; transition: filter 0.15s, background 0.15s, border-color 0.15s, transform 0.15s; white-space: nowrap; }
.btn-mint { background: var(--mint); color: var(--mint-ink); box-shadow: 0 8px 30px rgba(var(--mint-rgb), 0.18); }
.btn-mint:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--ink); border: 1px solid var(--glass-line); }
.btn-ghost:hover { border-color: var(--glass-line-hi); background: rgba(var(--mint-rgb), 0.06); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

/* ---------- pills / segmented (Strike ticket pattern) ---------- */
.seg { display: inline-flex; background: var(--raised); border-radius: var(--radius); padding: 2px; }
.seg button { border: 0; background: none; height: 28px; padding: 0 12px; border-radius: 5px; font-weight: 600; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: rgba(var(--mint-rgb), 0.18); color: var(--mint); }
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: none; padding: 10px 0 9px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tab.on { color: var(--ink); border-bottom-color: var(--mint); }

/* ---------- panels (Strike app surfaces) ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.panel-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel-h h2, .panel-h h3 { margin: 0; font-size: 14px; font-weight: 600; }
.panel-h .sub { color: var(--muted); font-size: 12px; }
.panel-b { padding: 16px; }

/* ---------- glass ---------- */
.glass { position: relative; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius-lg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 60px rgba(0, 0, 0, 0.35); }
.glass::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(var(--mint-rgb), 0.35), transparent 40%, transparent 60%, rgba(255, 255, 255, 0.12)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.glass:hover::before, .glass:focus-within::before { opacity: 1; }

/* ---------- tables (Strike positions table pattern) ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-2); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th span { border-bottom: 1px dashed rgba(255, 255, 255, 0.3); padding-bottom: 1px; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background 0.12s; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.tbl .r { text-align: right; }
.empty { color: var(--ink-2); text-align: center; padding: 34px 12px; font-size: 13px; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--raised); color: var(--ink-2); }
.badge.mint { background: rgba(var(--mint-rgb), 0.13); color: var(--mint); }
.badge.rose { background: rgba(var(--rose-rgb), 0.14); color: #fda4b4; }
.badge.gold { background: rgba(248, 147, 26, 0.14); color: #fbbf74; }
.badge.blue { background: rgba(122, 162, 255, 0.14); color: #a9c1ff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(var(--mint-rgb), 0.16); display: inline-block; }
.dot.pulse { animation: pulse 2s ease-in-out infinite; }
.dot.gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(248, 147, 26, 0.16); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(var(--mint-rgb), 0.16); } 50% { box-shadow: 0 0 0 6px rgba(var(--mint-rgb), 0.04); } }

/* ---------- inputs ---------- */
.input { height: 36px; background: rgba(255, 255, 255, 0.07); border: 1px solid transparent; border-radius: var(--radius); padding: 0 12px; outline: none; transition: border-color 0.15s; }
.input:focus { border-color: rgba(var(--mint-rgb), 0.55); }
select.input option { background: #1a1a1a; }
.code { background: #050505; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font: 12.5px/1.6 var(--mono); color: var(--ink-soft); white-space: pre-wrap; word-break: break-all; margin: 0; }
.code .k { color: var(--mint); }
.code .s { color: #f5d38a; }
.code .a { color: #9cc4ff; }

/* ---------- page backgrounds ---------- */
.bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.bg-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); }

footer.se-foot { border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; padding: 26px 0 40px; }
footer.se-foot .row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

@media (max-width: 860px) {
  .se-links { display: none; }
  .se-nav { gap: 14px; padding: 0 16px; }
  .se-ticker { padding: 0 16px; }
  .wrap { padding: 0 16px; }
}
/* Phones: the nav keeps the brand and the primary (mint) action only, and the brand may truncate. */
@media (max-width: 640px) {
  .se-nav { gap: 10px; }
  .se-nav .chip, .se-nav .btn-ghost, .se-links { display: none; }
  .se-nav > * { flex-shrink: 0; }
  .se-nav .se-brand { flex-shrink: 1; min-width: 0; gap: 8px; font-size: 13.5px; letter-spacing: 0.06em; }
  .se-nav .sp { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
