@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@500;600;700&display=swap");

:root {
  --bg: #070b12;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(103, 232, 249, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --accent: #67e8f9;
  --accent-hover: #a5f3fc;
  --blue: #67e8f9;
  --purple: #a5b4fc;
  --amber: #fbbf24;
  --red: #fb7185;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 2%, rgba(34, 211, 238, 0.12), transparent 30rem),
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-attachment: fixed;
  background-size: auto, 56px 56px, 56px 56px;
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
}

::selection {
  background: rgba(103, 232, 249, 0.25);
  color: #fff;
}

.nav {
  background: rgba(7, 11, 18, 0.95);
  border-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  height: 72px;
  max-width: 1280px;
}

.nav-brand {
  gap: 0.7rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 30px;
  height: 30px;
  display: block;
}

.nav-links {
  gap: 1.5rem;
}

.nav-links a {
  color: #cbd5e1;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn {
  min-height: 42px;
  border-radius: 0;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: #071018;
}

/* A .btn-primary inside the nav lost its text colour to `.nav-links a`:
   `.nav-links a` is (0,1,1) and `.btn-primary` only (0,1,0), so the link rule
   wins on specificity regardless of source order. That painted light grey
   #cbd5e1 on the cyan fill — a measured 1.02:1 contrast ratio, i.e. an
   effectively invisible primary CTA. Re-assert it at (0,2,1). */
.nav-links a.btn-primary {
  color: #071018;
}

.nav-links a.btn-primary:hover {
  color: #071018;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #071018;
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.18);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline:hover {
  border-color: rgba(103, 232, 249, 0.7);
  background: rgba(103, 232, 249, 0.04);
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 9.5rem;
  border-bottom: 1px solid rgba(103, 232, 249, 0.1);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.93) 55%, rgba(8, 13, 24, 0.94));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge,
.err-code {
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 0;
  background: rgba(103, 232, 249, 0.08);
  color: var(--accent);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.err h1 {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero h1 span,
.err h1 span {
  color: var(--accent);
}

.hero p,
.err > .err-inner > p {
  color: #cbd5e1;
  line-height: 1.6;
}

.frameworks,
.stance {
  border-color: var(--border);
  background: rgba(2, 6, 23, 0.66);
}

.framework-item,
.stance-item h2,
.glance-card dt {
  font-family: "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.framework-item .count,
.tag,
.price-card.featured::before {
  border-radius: 0;
}

.glance-card,
.feature-card,
.price-card,
.trial-inner,
.faq-item,
.definition-callout,
.fp-item,
.stake-card,
.wf-step,
.link-card {
  border-color: var(--border);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 28px rgba(34, 211, 238, 0.02);
}

.glance-card,
.feature-card,
.price-card,
.faq-item,
.fp-item,
.stake-card,
.wf-step,
.link-card {
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.glance-card:hover,
.feature-card:hover,
.price-card:hover,
.faq-item:hover,
.fp-item:hover,
.stake-card:hover,
.wf-step:hover,
.link-card:hover {
  border-color: rgba(103, 232, 249, 0.38);
  background: rgba(103, 232, 249, 0.055);
}

.feature-card:hover,
.link-card:hover {
  transform: translateY(-2px);
}

.section-header h2,
.definition-inner h2,
.fine-print h2,
.deploy-inner h2,
.trial-inner h2,
.cta h2,
.stake-card h3,
.wf-step h3,
.link-card h2 {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.section-header::before {
  content: "GRCFLOW // SYSTEM";
  display: block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.features,
.definition,
.faq,
.pricing,
.matrix,
.fine-print,
.comparison,
.stakeholders,
.workflow,
.trial,
.deploy,
.cta {
  border-color: var(--border);
  background-color: rgba(7, 11, 18, 0.72);
}

.features:nth-of-type(even),
.pricing,
.matrix,
.stakeholders {
  background-color: rgba(9, 15, 25, 0.9);
}

.feature-icon {
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 0;
  background: rgba(103, 232, 249, 0.07);
  color: var(--accent);
}

.screenshot-frame,
.table-wrap {
  border-color: rgba(103, 232, 249, 0.2);
  border-radius: 0;
  background: #070b12;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.screenshot-bar,
thead th {
  border-color: var(--border);
  background: #0f172a;
}

.screenshot-dot {
  border-radius: 0;
  background: rgba(103, 232, 249, 0.35);
}

table {
  color: #cbd5e1;
}

th,
td,
tbody td {
  border-color: var(--border);
}

thead th,
td.feature {
  font-family: "Geist Mono", ui-monospace, monospace;
}

tbody tr:hover td {
  background: rgba(103, 232, 249, 0.035);
}

td.ours,
thead th.ours {
  background: rgba(103, 232, 249, 0.06);
}

.code-block,
code,
td code,
.fine-print code,
.stance-item code,
.price-card code {
  border-color: rgba(103, 232, 249, 0.16);
  border-radius: 0;
  background: #05080d;
  color: var(--accent);
  font-family: "Geist Mono", ui-monospace, monospace;
}

.trial-form input {
  border-radius: 0;
  background: #05080d;
  font-family: "Geist Mono", ui-monospace, monospace;
}

.notice,
.stake-win {
  border-radius: 0;
}

.workflow .wf-step .num,
.wf-step .num {
  border-radius: 0;
  background: rgba(103, 232, 249, 0.1);
  color: var(--accent);
  font-family: "Geist Mono", ui-monospace, monospace;
}

.footer {
  border-color: var(--border);
  background: rgba(7, 11, 18, 0.96);
}

.footer a {
  color: #94a3b8;
}

.footer a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-links {
    top: 72px;
    background: #070b12;
  }

  .hero {
    padding-top: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
