/* Rigel Ventures LLC — shared styles */

:root {
  --bg: #060a12;
  --bg-elev: #0c1322;
  --bg-elev-2: #111a2c;
  --line: #1c2740;
  --line-soft: #162034;
  --text: #e8edf7;
  --text-dim: #9aa9c4;
  --text-faint: #6b7a95;
  --accent: #5b9dff;
  --accent-dim: #3d7ad6;
  --accent-glow: rgba(91, 157, 255, 0.14);
  --max: 1080px;
  --pad: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #86b8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 24px;
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand svg {
  flex: none;
  display: block;
}

.brand .suffix {
  color: var(--text-faint);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 15px;
}

.nav a {
  color: var(--text-dim);
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding: 108px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 720px;
  background: radial-gradient(
    circle at center,
    var(--accent-glow) 0%,
    rgba(91, 157, 255, 0.05) 38%,
    transparent 68%
  );
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 600;
  max-width: 17ch;
  margin-bottom: 26px;
}

.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 60ch;
}

/* ---------- sections ---------- */

.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.section h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  max-width: 22ch;
  margin-bottom: 22px;
}

.section .body {
  color: var(--text-dim);
  max-width: 66ch;
}

/* ---------- capability grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- product ---------- */

.product {
  margin-top: 40px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px 34px;
}

.product-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.product-head h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(91, 157, 255, 0.1);
  border: 1px solid rgba(91, 157, 255, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
}

.product p {
  color: var(--text-dim);
  max-width: 66ch;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.product-meta div {
  min-width: 150px;
}

.product-meta dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.product-meta dd {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

/* ---------- company facts ---------- */

.facts {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}

.facts li {
  background: var(--bg);
  padding: 24px 22px;
}

.facts .k {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 7px;
}

.facts .v {
  font-size: 15px;
  color: var(--text);
}

/* ---------- contact ---------- */

.contact-box {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #04101f;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid var(--accent);
}

.btn:hover {
  background: #7db0ff;
  color: #04101f;
  text-decoration: none;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 56px;
  font-size: 14px;
  color: var(--text-faint);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.footer-legal {
  max-width: 46ch;
}

.footer-legal strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-legal address {
  font-style: normal;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-dim);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- legal / text pages ---------- */

.page {
  padding: 76px 0 88px;
}

.page h1 {
  font-size: clamp(1.9rem, 4.6vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 48px;
}

.prose {
  max-width: 68ch;
  color: var(--text-dim);
}

.prose h2 {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text);
  margin: 44px 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1.1em;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.notice {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-dim);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 40px;
  font-size: 15px;
}

/* ---------- 404 ---------- */

.center-page {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.center-page h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.center-page p {
  color: var(--text-dim);
  margin-bottom: 30px;
}

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .site-header .wrap {
    min-height: 60px;
    gap: 4px 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav {
    gap: 6px 18px;
    font-size: 14px;
  }

  .hero {
    padding: 68px 0 62px;
  }

  .section {
    padding: 58px 0;
  }

  .product {
    padding: 28px 22px;
  }
}

@media (max-width: 520px) {
  .nav a[data-optional] {
    display: none;
  }

  .site-header .wrap {
    flex-wrap: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
