﻿/* Minimal, performant CSS with comments for clarity */

/* CSS Reset (lightweight) */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; color: #0e1116; background: #ffffff; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === RayCo quick color theme boost === */
:root {
  --ink: #0e1116;
  --muted: #5a667a;
  --bg: #f1f5fb;            /* page backdrop */
  --surface: #ffffff;       /* cards */
  --card-border: #e3e8f1;
  --accent: #2563eb;        /* primary blue */
  --accent-ink: #ffffff;
  --chip: #eef3ff;          /* light accent chip */
}

/* Layout helpers */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section.alt { background: #f6f8fb; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Header & nav */
.header { border-bottom: 1px solid #eceff3; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font-weight: 700; letter-spacing: 0.3px; }
.nav-right { display: flex; gap: 16px; align-items: center; }
.nav-link { opacity: 0.8; }
.nav-link:hover { opacity: 1; }
.nav-cta { padding: 10px 14px; border: 1px solid #0e1116; border-radius: 8px; font-weight: 600; }

/* Hero */
.hero { padding: 60px 0 40px; text-align: center; border-bottom: 1px solid #e8eef6; }
.hero-title { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; margin-bottom: 12px; }
.hero-subtitle { font-size: clamp(16px, 2.4vw, 20px); color: #3a4657; margin-bottom: 24px; }
.nowrap { white-space: nowrap; }

/* Waitlist form */
.waitlist-form { display: flex; flex-direction: column; gap: 10px; align-items: center; margin: 12px auto 10px; max-width: 520px; }
.waitlist-form input[type="email"] { width: 100%; padding: 12px 14px; border: 1px solid #cfd7df; border-radius: 10px; font-size: 16px; }
.waitlist-form button { padding: 12px 16px; border: none; border-radius: 10px; background: #0e1116; color: white; font-weight: 600; cursor: pointer; }
.waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37,99,235,.32);
}

.form-note { font-size: 12px; color: #596579; }

/* Badges */
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.badge { padding: 6px 10px; border: 1px solid #e1e6ee; border-radius: 999px; font-size: 12px; background: #fff; }

/* Cards */
.card { background: white; border: 1px solid #e9eef5; border-radius: 14px; padding: 18px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.mini-card { background: #f8fafc; border: 1px solid #e9eef5; border-radius: 10px; padding: 10px; }
.mini-title { font-size: 12px; color: #5a667a; }
.mini-value { font-weight: 700; }
.mini-value.pos { color: #0f7b0f; }

/* Proof grid */
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
@media (min-width: 800px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
.proof-card { background: white; border: 1px solid #e9eef5; border-radius: 12px; overflow: hidden; }
.proof-card figcaption { font-size: 12px; color: #5a667a; padding: 10px; }
.proof-card img { height: auto; }
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); }
}

/* Footer */
.footer { border-top: 1px solid #eceff3; padding: 20px 0; font-size: 14px; margin-top: 40px; }
.footer .container { display: flex; align-items: center; justify-content: space-between; }
.footer-right { display: flex; gap: 12px; }

/* Simple doc pages */
body.doc { background: #f6f8fb; }
.doc-main { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.muted { color: #5a667a; }
.note { color: #5a667a; font-size: 12px; }

/* Accessibility */
:focus { outline: 2px solid #0e1116; outline-offset: 2px; }

/* ===== Proofs polish (light theme) ===== */

/* Reuse your existing card look but tighten visuals for images */
.proof-card {
  background: #ffffff;
  border: 1px solid #e3e8f1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* Consistent frame for PNG charts so they don't look like raw screenshots */
.proof-img {
  display: block;
  width: 100%;
  background: #f7f9fc;              /* soft frame so white charts blend nicely */
  padding: 10px;                     /* frame thickness */
  border-bottom: 1px solid #eef2f7;  /* separate image from caption area */
  border-radius: 12px;               /* matches your rounded style */
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* Caption style to match your muted copy */
.proof-caption {
  font-size: 12px;
  color: #5a667a;
  padding: 10px 12px 12px;
}

.asof {
  font-size: 12px; color: var(--muted);
  margin: 8px 0 0; text-align: right;
}

/* Grid breathing room on larger screens */
@media (min-width: 900px) {
  .proof-grid { gap: 20px; }
}

/* Optional: dark-mode auto if user prefers (keeps charts framed nicely) */
@media (prefers-color-scheme: dark) {
  body { color: #e7ecf2; background: #0b0e13; }
  .section.alt { background: #0f1420; }
  .card, .proof-card { background: #121722; border-color: #1e2635; }
  .proof-img { background: #0f1420; border-bottom-color: #1e2635; }
  .proof-caption, .muted { color: #9fb0c4; }
  .nav-cta { border-color: #e7ecf2; }
}


/* Page backdrop + sections */
body { background: radial-gradient(1200px 500px at 50% -80px, #e8f1ff 0%, var(--bg) 55%, #f7f9fd 100%); }
.section.alt { background: #eef3fb; }

/* Header/nav/link polish */
.header { background: transparent; border-bottom-color: #e8eef6; }
.logo { color: var(--ink); }
.nav-link { color: var(--muted); }
.nav-cta {
  border: none; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(37,99,235,.25);
}
.nav-cta:hover { filter: brightness(0.96); }

/* Hero */
.hero-subtitle { color: #334155; }

/* Badges */
.badge { background: var(--chip); border-color: #d8e4ff; }

/* Cards */
.card, .proof-card { background: var(--surface); border-color: var(--card-border);
  box-shadow: 0 8px 24px rgba(2, 24, 55, 0.06);
}

a:hover .proof-img { transform: scale(1.01); box-shadow: 0 10px 28px rgba(2,24,55,.12); }
.proof-caption { color: var(--muted); }

.waitlist-form button {
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(37,99,235,.25);
}

/* Accent headings + interactive links */
h1, h2, h3 { color: #0b1220; }
.section h2 { color: var(--accent); }

a.nav-link:hover,
a[href]:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Smoother type rendering */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Accent underline only on hover for all links */
a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Subtle hero title emphasis */
.hero-title { letter-spacing: .2px; }

/* Footer tone down + spacing */
.footer { background: #f7f9fd; border-top-color: #e6ecf5; }

/* Better spacing under "Proof of precision" cards on mobile */
@media (max-width: 600px) {
  .proof-grid { gap: 14px; }
  .proof-caption { padding: 8px 10px 12px; }
}

/* ===== Landing polish ===== */

/* global containers */
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* nav */
.header { position: sticky; top: 0; backdrop-filter: blur(6px); background: rgba(255,255,255,0.7); border-bottom: 1px solid #eef0f3; z-index: 20; }
.nav { display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo { font-weight: 700; text-decoration:none; color:#111; }
.nav-right { display:flex; gap:16px; align-items:center; }
.nav-link { color:#444; text-decoration:none; }
.nav-cta { padding:8px 12px; border-radius:999px; border:1px solid #e6e8ec; background:#fff; text-decoration:none; }

/* hero */
.hero-landing {
  background: radial-gradient(1200px 400px at 20% -20%, #f3f7ff 0%, transparent 60%),
              radial-gradient(900px 300px at 90% 0%, #f5fff6 0%, transparent 60%);
  padding: 48px 0 24px;
  border-bottom: 1px solid #eef0f3;
}
.hero-grid { display:grid; grid-template-columns: 1.1fr 0.9fr; gap:24px; align-items:center; }
@media (max-width: 860px){ .hero-grid{ grid-template-columns: 1fr; } .hide-sm{ display:none; } }
.hero-copy h1 { font-size: 40px; line-height: 1.15; margin: 0 0 12px; }
.lead { font-size: 18px; color:#444; margin-bottom: 16px; }

.waitlist-form { display:flex; gap:10px; flex-wrap:wrap; margin: 12px 0 10px; }
.waitlist-form input[type="email"]{ padding:10px 12px; border:1px solid #e2e6ea; border-radius:10px; min-width:260px; }
.waitlist-form button{ padding:10px 14px; border-radius:10px; border:1px solid #0a65cc; background:#0d6efd; color:#fff; font-weight:600; cursor:pointer; }
.form-note{ color:#666; margin-left: 4px; font-size: 12px; }

.pill-row { display:flex; gap:8px; margin-top: 8px; }
.pill{ background:#f2f5f9; border:1px solid #e6e8ec; border-radius:999px; padding:4px 10px; font-size:12px; }

/* hero card */
.hero-card{ background:#fff; border:1px solid #e6e8ec; border-radius:14px; padding:14px; box-shadow: 0 6px 18px rgba(16,24,40,0.05); }
.hc-header{ font-weight:600; margin-bottom:8px; }
.hc-row{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed #eef0f3; }
.hc-row:last-child{ border-bottom:0; }
.hc-footer{ margin-top:8px; font-size:12px; }
.num{ font-variant-numeric: tabular-nums; }
.pos{ color:#088a3f; font-weight:600; }

.badge{ display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; border:1px solid rgba(0,0,0,0.06); }
.badge.tradeable{ background:#e9f9ee; }
.badge.maker{ background:#e9f2ff; }

/* shared sections */
.section{ padding: 36px 0; }
.section.alt{ background:#fafcff; border-top:1px solid #eef0f3; border-bottom:1px solid #eef0f3; }
.grid-2{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:24px; }
@media (max-width: 980px){ .grid-2{ grid-template-columns:1fr; } }

.card{ background:#fff; border:1px solid #e6e8ec; border-radius:12px; padding:16px; }
.checklist li{ margin: 8px 0; }
.mini-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:10px; margin-top:10px; }
.mini-card{ background:#f7f9fc; border:1px solid #e6e8ec; border-radius:10px; padding:10px; }
.mini-title{ font-size:12px; color:#6b7280; }
.mini-value{ font-weight:600; }
.note{ color:#6b7280; font-size:12px; }

.button{ display:inline-block; padding:10px 14px; border-radius:10px; border:1px solid #0a65cc; color:#fff; background:#0d6efd; text-decoration:none; }

/* footer */
.footer{ padding: 24px 0; }
.footer-flex{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.footer-links a{ margin-left:16px; color:#444; text-decoration:none; }
.muted{ color:#667085; }
.nowrap{ white-space:nowrap; }
