@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=DM+Sans:wght@400;500;600;700&display=swap');
/* rubiqos.com — shared styles for the site pages (the market matrix and the live demo keep their own styles and only take the nav).
   Palette = the pitch deck (Figma variables "Pitch colors", 2026-10-18): navy #0A1220, accent #2457E6, light #F3F5F8, panel #E4E9F0;
   Cormorant Garamond for the big headings, DM Sans for everything else — the same pair as the slides. */
:root {
  --navy: #0a1220; --accent: #2457e6; --panel: #e4e9f0; --sand: var(--panel); --ink: #0a1220; --text: #46505e; --muted: #5b6676; --line: rgba(10, 18, 32, 0.12);
  --bg: #f3f5f8; --card: #ffffff; --navh: 48px; --display: "Cormorant Garamond", "Times New Roman", serif; --body: "DM Sans", "Inter", system-ui, sans-serif;
  --ok: #2e9e6b; --warn: #e07a2f; --bad: #c0504d;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.5; }
body.site a { color: var(--accent); }
/* --- site nav (also injected into the market matrix and the demo) */
.sitenav { position: sticky; top: 0; z-index: 50; background: rgba(243, 245, 248, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.sitenav .in { padding: 0 16px; height: 48px; display: flex; align-items: center; gap: 28px; }   /* logo, then the tabs right next to it (founder 2026-10-18) */
.sitenav .brand { font: 700 18px "DM Sans", "Inter", system-ui, sans-serif; color: var(--navy); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; justify-self: start; }
.sitenav nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.sitenav nav::-webkit-scrollbar { display: none; }
.sitenav nav a { font: 500 13px "DM Sans", "Inter", system-ui, sans-serif; color: var(--navy); text-decoration: none; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.sitenav nav a:hover { background: rgba(10, 18, 32, 0.06); }
.sitenav nav a.on { background: var(--navy); color: #fff; }
@media (max-width: 720px) { .sitenav .in { gap: 14px; } }
/* --- page scaffold */
body.site .wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
body.site .hero { padding: 56px 0 28px; }
body.site .hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.02; letter-spacing: -0.005em; color: var(--navy); margin: 0 0 14px; max-width: 18ch; }
body.site .hero p { font-size: 17px; color: var(--text); max-width: 62ch; margin: 0 0 18px; }
body.site .hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
body.site .btn { display: inline-block; font: 500 13.5px var(--body); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; text-decoration: none; }
body.site .btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
body.site .btn:hover { filter: brightness(0.97); }
body.site section { padding: 26px 0; }
body.site section > h2 { font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.1; color: var(--navy); margin: 0 0 6px; letter-spacing: 0; }
body.site section > .lead { color: var(--muted); font-size: 14px; margin: 0 0 16px; max-width: 70ch; }
body.site .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
body.site .card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
body.site .card h3 { font: 600 17px var(--body); color: var(--navy); margin: 0 0 6px; letter-spacing: -0.01em; }
body.site .card h3 small { font: 500 11px var(--body); color: var(--accent); margin-left: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
body.site .card p { margin: 0 0 8px; font-size: 13.5px; color: var(--text); }
body.site .card ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text); }
body.site .card li { margin: 2px 0; }
body.site .card .num { font: 600 30px var(--body); color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; }
body.site .card .num small { font: 500 12px var(--body); color: var(--muted); margin-left: 6px; }
body.site .kv { display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; font-size: 13px; }
body.site .kv span:nth-child(2n) { text-align: right; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
body.site table.t { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
body.site table.t th { text-align: left; font: 600 10.5px var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); padding: 10px 12px; border-bottom: 1px solid var(--line); background: #eef1f6; }
body.site table.t td { padding: 9px 12px; border-bottom: 1px solid rgba(10, 18, 32, 0.06); vertical-align: top; }
body.site table.t tr:last-child td { border-bottom: 0; }
body.site table.t td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
body.site .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, 0.12); }
body.site .muted { color: var(--muted); }
body.site .foot { padding: 30px 0 50px; color: var(--muted); font-size: 12px; }
body.site .frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
body.site .frame iframe { width: 100%; height: 78vh; min-height: 540px; border: 0; display: block; }
body.site .note { background: var(--panel); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #2b3542; }
@media (max-width: 720px) { .hero { padding: 34px 0 20px; } }
