/* Recursive Forensics -- shared styles across the company home and product pages. */
:root {
  --bg: #0d1730;
  --bg-2: #101c3a;
  --panel: #142245;
  --border: #2a3b66;
  --gold: #e8a62e;
  --gold-hover: #d69820;
  --teal: #5fc7c0;
  --white: #ffffff;
  --ice: #cadcfc;
  --muted: #7c8bb3;
  --radius: 12px;
  --maxw: 1080px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ice);
  background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
h1, h2, h3 { color: var(--white); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13,23,48,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--white); font-size: 1.05rem; letter-spacing: -.01em; }
.brand:hover { color: var(--white); }
.brand .mark { width: 32px; height: 32px; flex: none; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ice); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--white); }
@media (max-width: 760px){ .nav-links a:not(.btn){ display:none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: .95rem; padding: 11px 20px; border-radius: 10px;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .05s;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); }

/* Hero */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero.short { padding: 70px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(232,166,46,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(95,199,192,.08), transparent 55%);
}
.eyebrow { color: var(--gold); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.hero p.lead { font-size: 1.2rem; color: var(--ice); max-width: 660px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .sub { margin-top: 16px; font-size: .9rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ice); }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--border); }
section.flush { border-top: none; }
.section-head { max-width: 660px; margin-bottom: 40px; }

/* Generic grids/cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(232,166,46,.12); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Product menu (home) */
.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.product-card {
  display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: border-color .15s, transform .1s;
}
.product-card.live:hover { border-color: var(--gold); transform: translateY(-2px); }
.product-card .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.tag-live { background: rgba(95,199,192,.12); color: var(--teal); border: 1px solid rgba(95,199,192,.32); }
.tag-soon { background: rgba(124,139,179,.12); color: var(--muted); border: 1px solid var(--border); }
.product-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.product-card .go { margin-top: 18px; font-weight: 600; color: var(--gold); font-size: .95rem; }
.product-card.soon { opacity: .8; }
.product-card.soon h3 { color: var(--ice); }

/* Workflow steps */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step .n { color: var(--gold); font-weight: 700; font-size: .85rem; letter-spacing: .1em; }
.step h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.step p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Security list */
.sec-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sec-item { display: flex; gap: 12px; align-items: flex-start; }
.sec-item .check { color: var(--teal); flex: none; margin-top: 2px; }
.sec-item h3 { font-size: 1rem; margin: 0 0 2px; }
.sec-item p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Download */
.download-card {
  background: linear-gradient(180deg, var(--panel), #101d3d);
  border: 1px solid var(--border); border-radius: 16px; padding: 36px;
  display: flex; gap: 30px; align-items: center; flex-wrap: wrap; justify-content: space-between;
}
.download-card .meta { font-size: .88rem; color: var(--muted); margin-top: 14px; }
code { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; font-size: .82rem; color: var(--ice); }
.pill { display: inline-block; background: rgba(95,199,192,.12); color: var(--teal); border: 1px solid rgba(95,199,192,.3); font-size: .78rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; }

/* Contact */
.contact-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 36px; text-align: center; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

.note { background: rgba(232,166,46,.07); border: 1px solid rgba(232,166,46,.25); border-radius: 10px; padding: 14px 16px; font-size: .85rem; color: var(--ice); margin-top: 20px; }
