﻿/* =========================================================================
   Grey Cardinal - site styles
   Built on RotFront tokens (rf-tokens.css). Adds an editorial display scale,
   the magnifier hero, public-site sections, and cockpit blocks.
   ========================================================================= */

:root {
  /* Editorial display scale - bigger than RotFront's app scale, for the
     brand site hero & section heads (monopo-grade typographic contrast). */
  --gc-display-1: clamp(44px, 8.4vw, 124px);
  --gc-display-2: clamp(34px, 5.6vw, 78px);
  --gc-display-3: clamp(26px, 3.4vw, 50px);
  --gc-display-4: clamp(21px, 2.2vw, 32px);

  --gc-maxw: 1320px;
  --gc-gutter: clamp(20px, 5vw, 88px);

  /* warm near-black, a hair warmer than rf-bg-0 for the brand site */
  --gc-page: #0a0b0d;
  --gc-page-2: #0d0f12;
  --gc-hair: rgba(255,255,255,0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--gc-page);
  color: var(--rf-fg-1);
  font-family: var(--rf-font-sans);
  font-size: var(--rf-fs-base);
  line-height: var(--rf-lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

#root { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(200,37,58,0.30); color: #fff; }

/* tasteful scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--gc-page); }
::-webkit-scrollbar-thumb { background: #23272f; border-radius: 999px; border: 3px solid var(--gc-page); }
::-webkit-scrollbar-thumb:hover { background: #2f343d; }

/* --- Display type helpers ----------------------------------------------- */
.gc-display-1 { font-size: var(--gc-display-1); font-weight: 600; line-height: 0.95; letter-spacing: 0; color: var(--rf-fg-0); }
.gc-display-2 { font-size: var(--gc-display-2); font-weight: 600; line-height: 1.0;  letter-spacing: 0; color: var(--rf-fg-0); }
.gc-display-3 { font-size: var(--gc-display-3); font-weight: 600; line-height: 1.05; letter-spacing: 0; color: var(--rf-fg-0); }
.gc-display-4 { font-size: var(--gc-display-4); font-weight: 600; line-height: 1.15; letter-spacing: 0; color: var(--rf-fg-0); }
.gc-thin { font-weight: 300; }
.gc-mute { color: var(--rf-fg-2); }
.gc-crimson { color: var(--rf-crimson-hi); }
.gc-mobile-stack { display: inline; }

.gc-eyebrow {
  font-family: var(--rf-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rf-fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gc-eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: var(--rf-crimson); display: inline-block;
}
.gc-eyebrow.no-rule::before { display: none; }

.gc-lead {
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--rf-fg-2);
  font-weight: 400;
}

/* --- Layout ------------------------------------------------------------- */
.gc-wrap { max-width: var(--gc-maxw); margin: 0 auto; padding-left: var(--gc-gutter); padding-right: var(--gc-gutter); }
.gc-section { padding-top: clamp(72px, 11vh, 150px); padding-bottom: clamp(72px, 11vh, 150px); position: relative; }
.gc-section--tight { padding-top: clamp(56px, 7vh, 96px); padding-bottom: clamp(56px, 7vh, 96px); }
.gc-rule { height: 1px; background: var(--gc-hair); border: 0; margin: 0; }

/* --- Public header ------------------------------------------------------ */
.gc-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(10,11,13,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.gc-header.scrolled { border-bottom-color: var(--gc-hair); background: rgba(10,11,13,0.9); }
.gc-header-inner {
  max-width: var(--gc-maxw); margin: 0 auto;
  padding: 16px var(--gc-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.gc-nav { display: flex; align-items: center; gap: 4px; }
.gc-nav-link {
  font-size: 13px; color: var(--rf-fg-2); padding: 8px 12px; border-radius: 4px;
  transition: color .15s, background .15s; cursor: pointer; white-space: nowrap;
}
.gc-nav-link:hover { color: var(--rf-fg-0); background: var(--rf-bg-2); }
.gc-header-actions { display: flex; align-items: center; gap: 8px; }

/* logo lockup */
.gc-logo { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.gc-logo img { display: block; }
.gc-logo-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.gc-logo-name { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--rf-fg-0); }
.gc-logo-sub { font-family: var(--rf-font-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rf-fg-3); }

/* --- Buttons (site scale - bigger than app rf-btn) ---------------------- */
.gc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 22px; border-radius: 6px;
  font-size: 14px; font-weight: 500; letter-spacing: 0;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s cubic-bezier(0.16, 1, 0.3, 1), border-color .2s, color .2s, transform .1s;
}
.gc-btn:active { transform: scale(0.98) translateY(1px); }
.gc-btn--primary { background: var(--rf-crimson); color: #fff; border-color: var(--rf-crimson); box-shadow: var(--rf-inset), 0 4px 12px rgba(200,37,58,0.2); }
.gc-btn--primary:hover { background: var(--rf-crimson-hi); border-color: var(--rf-crimson-hi); box-shadow: var(--rf-inset), 0 6px 16px rgba(200,37,58,0.3); }
.gc-btn--secondary { background: rgba(255,255,255,0.02); color: var(--rf-fg-0); border-color: var(--rf-line-3); backdrop-filter: blur(4px); }
.gc-btn--secondary:hover { background: var(--rf-bg-2); border-color: var(--rf-fg-3); }
.gc-btn--ghost { background: transparent; color: var(--rf-fg-1); }
.gc-btn--ghost:hover { color: var(--rf-fg-0); background: rgba(255,255,255,0.03); }
.gc-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.gc-btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }
.gc-btn--block { width: 100%; }

/* --- Magnifier hero ----------------------------------------------------- */
.gc-hero { position: relative; overflow: hidden; }
.gc-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.gc-hero-copy { max-width: 640px; }
.gc-hero h1 { margin: 22px 0 0; }
.gc-hero-sub { margin-top: 26px; max-width: 520px; }
.gc-hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.gc-hero-meta { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; }
.gc-hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.gc-hero-meta-k { font-family: var(--rf-font-mono); font-size: 22px; font-weight: 500; color: var(--rf-fg-0); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.gc-hero-meta-v { font-size: 11px; color: var(--rf-fg-3); text-transform: uppercase; letter-spacing: 0.1em; }

/* The lens stage */
.gc-lens-stage {
  position: relative;
  aspect-ratio: 1 / 1.04;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(120% 120% at 70% 10%, #16191f 0%, #0c0e11 60%, #0a0b0d 100%);
  overflow: hidden;
  box-shadow: var(--rf-shadow-3), inset 0 1px 0 rgba(255,255,255,0.05);
  cursor: crosshair;
  user-select: none;
}
.gc-lens-tag {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--rf-font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rf-fg-2); background: rgba(14,16,20,0.8); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--gc-hair);
}
.gc-lens-hint {
  position: absolute; bottom: 16px; right: 16px; z-index: 5;
  font-family: var(--rf-font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rf-fg-4);
  pointer-events: none; transition: opacity .4s ease;
}

/* raw transcript layer */
.gc-raw-layer { position: absolute; inset: 0; padding: 34px 28px; transition: filter 0.3s ease; }
.gc-raw-line {
  font-size: clamp(13px, 1.35vw, 17px); line-height: 1.9; color: rgba(255,255,255,0.35);
  letter-spacing: 0; transition: color 0.2s;
}
.gc-raw-line b { color: var(--rf-fg-2); font-weight: 500; }
.gc-raw-speaker { color: rgba(255,255,255,0.2); font-family: var(--rf-font-mono); font-size: 0.78em; letter-spacing: 0.05em; }

/* ----------: -------- ------ ---- ------ ----- ----- */
.gc-lens-stage:hover .gc-raw-layer {
  filter: blur(1.5px);
  opacity: 0.4;
}

/* the structured (under-lens) layer - clipped to a circle that follows cursor */
.gc-struct-layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(130% 130% at 70% 10%, #151a22 0%, #0b0d10 70%);
  -webkit-mask-image: radial-gradient(circle var(--lens-r, 130px) at var(--lens-x, 50%) var(--lens-y, 42%), #000 0 97%, transparent 100%);
          mask-image: radial-gradient(circle var(--lens-r, 130px) at var(--lens-x, 50%) var(--lens-y, 42%), #000 0 97%, transparent 100%);
  transition: opacity .25s ease;
}
.gc-struct-inner { position: absolute; inset: 0; padding: 26px 24px; }

/* the visible lens ring */
.gc-lens-ring {
  position: absolute; width: calc(var(--lens-r, 130px) * 2); height: calc(var(--lens-r, 130px) * 2);
  left: var(--lens-x, 50%); top: var(--lens-y, 42%); transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: 4;
  border: 1.5px solid rgba(200,37,58,0.7);
  background: rgba(200,37,58,0.01);
  backdrop-filter: brightness(1.04);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 8px 32px rgba(0,0,0,0.4), 0 0 40px rgba(200,37,58,0.25), inset 0 0 24px rgba(200,37,58,0.08);
  transition: opacity .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.gc-lens-ring::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(200,37,58,0.18);
}

/* structured content pieces */
.gc-wave { display: flex; align-items: flex-end; gap: 3.5px; height: 32px; margin-bottom: 16px; }
.gc-wave > i { width: 3px; background: var(--rf-crimson); border-radius: 2px; opacity: 0.9; display: block; transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1); }

.gc-struct-card {
  background: #111318; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  padding: 18px; box-shadow: 0 12px 36px rgba(0,0,0,0.5), var(--rf-shadow-2); max-width: 320px;
}
.gc-struct-eyebrow {
  font-family: var(--rf-font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rf-crimson-hi); display: flex; align-items: center; gap: 7px; margin-bottom: 12px;
}
.gc-struct-title { font-size: 18px; font-weight: 600; color: var(--rf-fg-0); letter-spacing: 0; margin-bottom: 16px; }
.gc-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 12.5px; }
.gc-kv dt { color: var(--rf-fg-3); }
.gc-kv dd { margin: 0; color: var(--rf-fg-1); text-align: right; font-family: var(--rf-font-mono); }
.gc-conf-row { margin-top: 16px; }
.gc-conf-row .gc-conf-bar { height: 5px; background: var(--rf-bg-3); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.gc-conf-row .gc-conf-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--rf-crimson), var(--rf-crimson-hi)); }

/* link arrow that connects phrase to task (decorative) */
.gc-struct-link { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,37,58,0.5)); }

/* scattered task chips inside the lens layer */
.gc-struct-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--rf-font-mono); font-size: 11px; color: var(--rf-fg-1);
  background: #111318; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
  padding: 7px 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); white-space: nowrap;
}
.gc-dot-brand { width: 6px; height: 6px; border-radius: 50%; background: var(--rf-crimson); display: inline-block; }

.gc-struct-risk {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(200, 37, 58, 0.08); border: 1px solid rgba(200, 37, 58, 0.25); border-radius: 8px;
  padding: 10px 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); backdrop-filter: blur(4px);
}
.gc-struct-risk .risk-ic { width: 18px; height: 18px; border-radius: 50%; background: var(--rf-crimson); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: 0 0 auto; }
.gc-struct-risk .rk-t { font-family: var(--rf-font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--rf-crimson-hi); font-weight: 600; }
.gc-struct-risk .rk-d { font-size: 11px; color: var(--rf-fg-2); margin-top: 3px; }

.gc-struct-kanban { position: absolute; left: 24px; right: 24px; bottom: 26px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gc-struct-kcol { background: #111318; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--rf-shadow-1); }
.gc-struct-kcol .kh { font-family: var(--rf-font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rf-fg-3); margin-bottom: 2px; }
.gc-struct-kcol .kc { height: 7px; border-radius: 3px; background: rgba(255,255,255,0.06); }
.gc-struct-kcol .kc:first-of-type { background: rgba(200,37,58,0.35); }

/* --- Problem section --------------------------------------------------- */
.gc-problem-list { display: grid; gap: 0; margin-top: 56px; border-top: 1px solid var(--gc-hair); }
.gc-problem-row {
  display: grid; grid-template-columns: 90px 1fr auto; align-items: baseline; gap: 24px;
  padding: clamp(26px, 4vw, 44px) 0; border-bottom: 1px solid var(--gc-hair);
}
.gc-problem-num { font-family: var(--rf-font-mono); font-size: 13px; color: var(--rf-fg-4); letter-spacing: 0.1em; }
.gc-problem-text { font-size: clamp(22px, 3vw, 40px); font-weight: 500; letter-spacing: 0; color: var(--rf-fg-0); line-height: 1.1; }
.gc-problem-note { font-size: 13px; color: var(--rf-fg-3); max-width: 220px; text-align: right; }

/* --- How it works ------------------------------------------------------ */
.gc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: var(--gc-hair); border: 1px solid var(--gc-hair); border-radius: 10px; overflow: hidden; }
.gc-step { background: var(--gc-page); padding: 30px 26px 36px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; transition: background .2s; }
.gc-step:hover { background: var(--gc-page-2); }
.gc-step-num { font-family: var(--rf-font-mono); font-size: 12px; color: var(--rf-crimson-hi); letter-spacing: 0.1em; }
.gc-step-ic { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--rf-line-2); background: var(--rf-bg-1); display: grid; place-items: center; color: var(--rf-fg-1); margin-top: auto; }
.gc-step-title { font-size: 19px; font-weight: 600; color: var(--rf-fg-0); letter-spacing: 0; }
.gc-step-desc { font-size: 13px; color: var(--rf-fg-3); line-height: 1.5; }

/* --- Capabilities grid ------------------------------------------------- */
.gc-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--gc-hair); border: 1px solid var(--gc-hair); border-radius: 10px; overflow: hidden; }
.gc-cap { background: var(--gc-page); padding: 26px 24px; min-height: 168px; display: flex; flex-direction: column; gap: 12px; transition: background .2s; cursor: default; }
.gc-cap:hover { background: var(--gc-page-2); }
.gc-cap-ic { color: var(--rf-fg-3); transition: color .2s; }
.gc-cap:hover .gc-cap-ic { color: var(--rf-crimson-hi); }
.gc-cap-idx { font-family: var(--rf-font-mono); font-size: 10px; color: var(--rf-fg-4); letter-spacing: 0.12em; margin-left: auto; }
.gc-cap-head { display: flex; align-items: center; gap: 12px; width: 100%; }
.gc-cap-title { font-size: 16px; font-weight: 600; color: var(--rf-fg-0); letter-spacing: 0; margin-top: 8px; }
.gc-cap-desc { font-size: 12.5px; color: var(--rf-fg-3); line-height: 1.5; }

/* --- Product preview (mini cockpit) ------------------------------------ */
.gc-preview-frame {
  margin-top: 52px; border: 1px solid var(--rf-line-2); border-radius: 12px; overflow: hidden;
  background: var(--rf-bg-0); box-shadow: var(--rf-shadow-3);
}
.gc-preview-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--rf-line-1); background: var(--rf-bg-1); }
.gc-preview-dots { display: flex; gap: 6px; }
.gc-preview-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rf-bg-4); display: block; }
.gc-preview-url { font-family: var(--rf-font-mono); font-size: 11px; color: var(--rf-fg-3); margin-left: 8px; }
.gc-preview-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rf-line-1); }
.gc-preview-pane { background: var(--rf-bg-0); padding: 20px; }
.gc-preview-pane-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gc-preview-pane-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--rf-fg-3); font-family: var(--rf-font-mono); }
.gc-preview-kanban { background: var(--rf-bg-0); padding: 20px; border-top: 1px solid var(--rf-line-1); }

/* --- Daemon CTA + flow diagram ----------------------------------------- */
.gc-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; margin-top: 8px; }
.gc-flow-node {
  flex: 1; min-width: 120px; padding: 18px 16px; border: 1px solid var(--rf-line-2); background: var(--rf-bg-1);
  display: flex; flex-direction: column; gap: 7px; position: relative;
}
.gc-flow-node:not(:last-child) { border-right: 0; }
.gc-flow-node:first-child { border-radius: 8px 0 0 8px; }
.gc-flow-node:last-child { border-radius: 0 8px 8px 0; }
.gc-flow-node.is-accent { background: var(--rf-crimson-wash); border-color: rgba(200,37,58,0.35); }
.gc-flow-k { font-family: var(--rf-font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rf-fg-4); }
.gc-flow-v { font-size: 13.5px; color: var(--rf-fg-0); font-weight: 500; }
.gc-flow-node.is-accent .gc-flow-v { color: var(--rf-crimson-hi); }
.gc-flow-arrow { display: grid; place-items: center; color: var(--rf-fg-4); width: 30px; flex: 0 0 auto; }

/* --- Generic two-col section ------------------------------------------- */
.gc-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.gc-split--center { align-items: center; }

/* --- Security list ----------------------------------------------------- */
.gc-sec-list { display: grid; gap: 1px; background: var(--gc-hair); border: 1px solid var(--gc-hair); border-radius: 10px; overflow: hidden; }
.gc-sec-item { background: var(--gc-page); padding: 22px 24px; display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; transition: background .2s; }
.gc-sec-item:hover { background: var(--gc-page-2); }
.gc-sec-item .ic { color: var(--rf-crimson-hi); margin-top: 1px; }
.gc-sec-item p { margin: 0; font-size: 14.5px; color: var(--rf-fg-1); line-height: 1.5; }

/* --- Big final CTA ----------------------------------------------------- */
.gc-final { text-align: center; }
.gc-final h2 { max-width: 16ch; margin: 18px auto 0; }
.gc-final-cta { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Footer ------------------------------------------------------------ */
.gc-footer { border-top: 1px solid var(--gc-hair); padding: 56px 0 40px; }
.gc-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.gc-footer-col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rf-fg-3); margin: 0 0 16px; font-weight: 600; }
.gc-footer-col a { display: block; font-size: 13px; color: var(--rf-fg-2); padding: 5px 0; transition: color .15s; }
.gc-footer-col a:hover { color: var(--rf-fg-0); }
.gc-footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gc-hair); flex-wrap: wrap; gap: 12px; }
.gc-footer-bottom span { font-family: var(--rf-font-mono); font-size: 11px; color: var(--rf-fg-4); letter-spacing: 0.04em; }

/* --- Tag/pill (site) --------------------------------------------------- */
.gc-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 10px; border-radius: 999px;
  font-family: var(--rf-font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rf-fg-2); border: 1px solid var(--gc-hair); background: var(--rf-bg-1);
}
.gc-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rf-ok); }
.gc-pill .dot.pulse { box-shadow: 0 0 0 0 rgba(61,163,122,.6); animation: gc-pulse-ok 1.8s infinite; }
@keyframes gc-pulse-ok { 0%{box-shadow:0 0 0 0 rgba(61,163,122,.5);} 70%{box-shadow:0 0 0 6px rgba(61,163,122,0);} 100%{box-shadow:0 0 0 0 rgba(61,163,122,0);} }

/* reveal on scroll */
.gc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.gc-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .gc-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .gc-hero-grid { grid-template-columns: 1fr; }
  .gc-lens-stage { max-width: 520px; margin: 0 auto; }
  .gc-steps { grid-template-columns: repeat(2, 1fr); }
  .gc-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .gc-split { grid-template-columns: 1fr; }
  .gc-preview-body { grid-template-columns: 1fr; }
  .gc-footer-grid { grid-template-columns: 1fr 1fr; }
  .gc-nav { display: none; }
}
@media (max-width: 560px) {
  .gc-steps, .gc-cap-grid { grid-template-columns: 1fr; }
  .gc-problem-row { grid-template-columns: 40px 1fr; }
  .gc-problem-note { display: none; }
  .gc-hero-meta { gap: 20px; }
}

/* --- Focused polish pass ------------------------------------------------ */
:root {
  --gc-display-1: 86px;
  --gc-display-2: 68px;
  --gc-display-3: 44px;
  --gc-display-4: 28px;
}

.gc-display-1,
.gc-display-2,
.gc-display-3,
.gc-display-4,
.gc-logo-name,
.gc-btn,
.gc-raw-line,
.gc-struct-title,
.gc-problem-text,
.gc-step-title,
.gc-cap-title,
.gc-hero-meta-k {
  letter-spacing: 0;
}

.gc-hero {
  min-height: min(860px, calc(100vh - 69px));
  display: grid;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 78px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(200,37,58,0.08), transparent 34%),
    var(--gc-page);
  background-size: 74px 74px, 74px 74px, auto, auto;
  isolation: isolate;
}
.gc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 32%, rgba(226,58,82,0.14), transparent 30%),
    radial-gradient(circle at 78% 38%, rgba(255,255,255,0.07), transparent 24%),
    linear-gradient(90deg, rgba(10,11,13,0.82), rgba(10,11,13,0.48) 50%, rgba(10,11,13,0.86));
  z-index: -1;
}
.gc-hero-copy {
  position: relative;
  z-index: 2;
}
.gc-hero .gc-eyebrow {
  color: #aeb4c0;
}
.gc-hero h1 {
  color: #fbfcff;
  text-shadow: 0 14px 42px rgba(0,0,0,0.42);
}
.gc-hero-sub {
  color: #c0c6d0;
}
.gc-hero-copy > .gc-eyebrow,
.gc-hero h1,
.gc-hero-sub,
.gc-hero-cta,
.gc-hero-meta {
  animation: gc-rise .72s cubic-bezier(.2,.8,.2,1) both;
}
.gc-hero h1 { animation-delay: .06s; }
.gc-hero-sub { animation-delay: .12s; }
.gc-hero-cta { animation-delay: .18s; }
.gc-hero-meta { animation-delay: .30s; }

.gc-hero-signals {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 620px;
}
.gc-hero-signal {
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(17,19,23,0.78);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 12px 28px rgba(0,0,0,0.18);
  animation: gc-rise .65s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(.22s + var(--i) * .07s);
}
.gc-hero-signal-k {
  font-family: var(--rf-font-mono);
  font-size: 10px;
  color: var(--rf-crimson-hi);
  letter-spacing: .08em;
}
.gc-hero-signal-v { font-size: 13px; color: var(--rf-fg-0); font-weight: 600; }
.gc-hero-signal-d { font-size: 11.5px; color: var(--rf-fg-3); line-height: 1.35; }

.gc-lens-stage {
  animation: gc-float 7s ease-in-out infinite;
}
.gc-lens-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0 48%, rgba(255,255,255,0.055) 50%, transparent 52% 100%);
  background-size: 100% 42px;
  opacity: .26;
  mix-blend-mode: screen;
}
.gc-lens-caption {
  font-size: 12px;
  margin-top: 14px;
  text-align: center;
  font-family: var(--rf-font-mono);
  letter-spacing: .04em;
}
.gc-raw-line {
  opacity: 0;
  animation: gc-line-in .55s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(.22s + var(--i) * .08s);
}
.gc-wave > i {
  animation: gc-wave-breathe 2.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .035s);
  transform-origin: bottom;
}
.gc-struct-card,
.gc-struct-chip,
.gc-struct-risk {
  animation: gc-soft-pop .6s cubic-bezier(.2,.8,.2,1) both;
}
.gc-struct-chip { animation-delay: .08s; }
.gc-struct-risk { animation-delay: .16s; }

.gc-btn:hover { transform: translateY(-1px); }
.gc-btn:active { transform: translateY(1px) scale(.99); }

.gc-step,
.gc-cap,
.gc-preview-frame,
.gc-sec-item,
.gc-flow-node {
  transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .22s, background .22s, box-shadow .22s;
}
.gc-step:hover,
.gc-cap:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 12px 30px rgba(0,0,0,.24);
}
.gc-step:hover .gc-step-ic,
.gc-cap:hover .gc-cap-ic {
  color: var(--rf-crimson-hi);
}
.gc-preview-frame:hover {
  border-color: rgba(200,37,58,.34);
  box-shadow: var(--rf-shadow-3), 0 0 0 1px rgba(200,37,58,.08);
}
.gc-preview-dots i:nth-child(1) { background: var(--rf-danger); }
.gc-preview-dots i:nth-child(2) { background: var(--rf-warn); }
.gc-preview-dots i:nth-child(3) { background: var(--rf-ok); }
.gc-final {
  background: linear-gradient(180deg, rgba(200,37,58,0.08), transparent 58%), var(--gc-page);
}

@keyframes gc-rise {
  from { opacity: 1; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes gc-line-in {
  from { opacity: .72; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes gc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes gc-soft-pop {
  from { opacity: 1; transform: scale(.97) translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes gc-wave-breathe {
  0%, 100% { transform: scaleY(.72); opacity: .58; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

@media (max-width: 960px) {
  :root {
    --gc-display-1: 64px;
    --gc-display-2: 48px;
    --gc-display-3: 36px;
    --gc-display-4: 26px;
  }
  .gc-hero { min-height: auto; }
}
@media (max-width: 560px) {
  :root {
    --gc-display-1: 46px;
    --gc-display-2: 36px;
    --gc-display-3: 30px;
    --gc-display-4: 24px;
  }
  .gc-hero-signals { grid-template-columns: 1fr; }
  .gc-hero-signal { min-height: 64px; }
  .gc-header-actions { display: none; }
  .gc-mobile-stack { display: block; }
  .gc-hero-word { display: block; }
  .gc-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .gc-hero-cta .gc-btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gc-hero-copy > .gc-eyebrow,
  .gc-hero h1,
  .gc-hero-sub,
  .gc-hero-cta,
  .gc-hero-meta,
  .gc-hero-signal,
  .gc-lens-stage,
  .gc-raw-line,
  .gc-wave > i,
  .gc-struct-card,
  .gc-struct-chip,
  .gc-struct-risk {
    animation: none;
  }
  .gc-step:hover,
  .gc-cap:hover,
  .gc-btn:hover {
    transform: none;
  }
}

/* --- Second polish pass -------------------------------------------------- */
body,
body * {
  letter-spacing: 0 !important;
}

.gc-lead { font-size: 19px; }
.gc-raw-line { font-size: 15px; }
.gc-problem-text { font-size: 30px; }

.gc-problem-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.gc-problem-action {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(200,37,58,.28);
  border-radius: 6px;
  background: rgba(200,37,58,.08);
  color: var(--rf-crimson-hi);
  font-family: var(--rf-font-mono);
  font-size: 11px;
}
.gc-problem-row {
  transition: background .22s, padding-left .22s, padding-right .22s;
}
.gc-problem-row:hover {
  background: rgba(255,255,255,.018);
  padding-left: 14px;
  padding-right: 14px;
}

.gc-ops {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 48px;
  align-items: center;
}
.gc-ops-section {
  padding-bottom: 82px;
}
#features {
  padding-top: 92px;
}
.gc-ops-board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rf-line-2);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.034) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(135deg, rgba(17,19,23,.96), rgba(10,11,13,.98));
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: var(--rf-shadow-3), inset 0 1px 0 rgba(255,255,255,.035);
}
.gc-ops-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(200,37,58,.12), transparent 38%, rgba(61,163,122,.06));
}
.gc-ops-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rf-line-1);
}
.gc-ops-metric {
  min-height: 128px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  border-right: 1px solid var(--rf-line-1);
}
.gc-ops-metric:last-child { border-right: 0; }
.gc-ops-metric-v {
  font-family: var(--rf-font-mono);
  font-size: 34px;
  line-height: 1;
  color: var(--rf-fg-0);
  font-variant-numeric: tabular-nums;
}
.gc-ops-metric-k {
  font-size: 13px;
  color: var(--rf-fg-0);
  font-weight: 600;
}
.gc-ops-metric-d {
  font-size: 12px;
  color: var(--rf-fg-3);
}
.gc-ops-timeline {
  position: relative;
  padding: 24px 24px 18px;
  display: grid;
  gap: 16px;
}
.gc-ops-timeline::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 32px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, var(--rf-crimson), rgba(255,255,255,.08));
}
.gc-ops-event {
  position: relative;
  display: grid;
  grid-template-columns: 66px 20px 1fr;
  gap: 14px;
  align-items: start;
  animation: gc-line-in .55s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i) * .08s);
}
.gc-ops-event-time {
  font-family: var(--rf-font-mono);
  font-size: 12px;
  color: var(--rf-fg-3);
  padding-top: 2px;
}
.gc-ops-event-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--rf-crimson);
  box-shadow: 0 0 0 5px rgba(200,37,58,.12);
}
.gc-ops-event-body {
  display: grid;
  gap: 4px;
  padding-bottom: 2px;
}
.gc-ops-event-type {
  color: var(--rf-crimson-hi);
  font-family: var(--rf-font-mono);
  font-size: 11px;
}
.gc-ops-event-text {
  color: var(--rf-fg-1);
  font-size: 13.5px;
  line-height: 1.45;
}
.gc-ops-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 24px;
}
.gc-ops-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(10,11,13,.62);
  color: var(--rf-fg-2);
  font-size: 12px;
}

.gc-preview-frame {
  position: relative;
}
.gc-preview-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rf-line-1);
  background: linear-gradient(90deg, rgba(200,37,58,.08), rgba(17,19,23,.92));
}
.gc-preview-insight {
  min-height: 72px;
  padding: 15px 18px;
  display: grid;
  gap: 3px;
  border-right: 1px solid var(--rf-line-1);
}
.gc-preview-insight:last-child { border-right: 0; }
.gc-preview-insight-k {
  font-family: var(--rf-font-mono);
  font-size: 10px;
  color: var(--rf-crimson-hi);
}
.gc-preview-insight-v {
  font-size: 24px;
  line-height: 1;
  color: var(--rf-fg-0);
  font-weight: 600;
}
.gc-preview-insight-d {
  font-size: 12px;
  color: var(--rf-fg-3);
}

.gc-daemon-console {
  border: 1px solid var(--rf-line-2);
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(17,19,23,.96), rgba(10,11,13,.98));
  box-shadow: var(--rf-shadow-3), inset 0 1px 0 rgba(255,255,255,.035);
}
.gc-daemon-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.gc-daemon-stream {
  margin-top: 16px;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--rf-line-1);
  border-radius: 8px;
  background: var(--rf-line-1);
}
.gc-daemon-stream span {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(10,11,13,.82);
  color: var(--rf-fg-2);
  font-family: var(--rf-font-mono);
  font-size: 11px;
}
.gc-daemon-stream b {
  color: var(--rf-crimson-hi);
  font-weight: 500;
}
.gc-flow-node {
  min-height: 78px;
  justify-content: center;
}
.gc-flow-node.is-accent {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

@media (max-width: 960px) {
  .gc-lead { font-size: 17px; }
  .gc-problem-text { font-size: 26px; }
  .gc-ops { grid-template-columns: 1fr; gap: 28px; }
  .gc-ops-metrics { grid-template-columns: 1fr; }
  .gc-ops-metric { min-height: 104px; border-right: 0; border-bottom: 1px solid var(--rf-line-1); }
  .gc-ops-metric:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .gc-lead { font-size: 16px; }
  .gc-raw-line { font-size: 14px; }
  .gc-problem-text { font-size: 22px; }
  .gc-problem-row:hover {
    padding-left: 0;
    padding-right: 0;
  }
  .gc-preview-insights { grid-template-columns: 1fr; }
  .gc-preview-insight { border-right: 0; border-bottom: 1px solid var(--rf-line-1); }
  .gc-preview-insight:last-child { border-bottom: 0; }
  .gc-daemon-console { padding: 14px; }
  .gc-daemon-stream span { flex-direction: column; gap: 3px; }
  .gc-ops-timeline::before { left: 88px; }
  .gc-ops-event { grid-template-columns: 54px 18px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .gc-ops-event {
    animation: none;
  }
}

/* --- Live backend ribbon + hero data pipeline --------------------------- */
.gc-api-ribbon {
  position: relative;
  margin-top: 22px;
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.028) 1px, transparent 1px),
    rgba(13,15,18,.82);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 38px rgba(0,0,0,.24);
  overflow: hidden;
  animation: gc-rise .6s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: .24s;
}
.gc-api-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-left: 3px solid var(--rf-crimson);
}
.gc-api-ribbon--online::before { border-left-color: var(--rf-ok); }
.gc-api-ribbon--offline::before { border-left-color: var(--rf-danger); }
.gc-api-ribbon-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gc-api-ribbon-ic {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--rf-crimson-hi);
  border: 1px solid rgba(200,37,58,.34);
  background: rgba(200,37,58,.08);
  flex: 0 0 auto;
}
.gc-api-ribbon--online .gc-api-ribbon-ic {
  color: var(--rf-ok);
  border-color: var(--rf-ok-line);
  background: var(--rf-ok-bg);
}
.gc-api-ribbon--offline .gc-api-ribbon-ic {
  color: var(--rf-danger);
  border-color: var(--rf-danger-line);
  background: var(--rf-danger-bg);
}
.gc-api-ribbon--checking .gc-api-ribbon-ic svg {
  animation: gc-spin 1.2s linear infinite;
}
.gc-api-ribbon-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.gc-api-ribbon-k {
  font-family: var(--rf-font-mono);
  font-size: 10px;
  color: var(--rf-fg-3);
  text-transform: uppercase;
}
.gc-api-ribbon-copy strong {
  color: var(--rf-fg-0);
  font-size: 14px;
  font-weight: 600;
}
.gc-api-ribbon-copy small {
  color: var(--rf-fg-3);
  font-size: 11.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.gc-api-ribbon-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 300px;
  min-width: 0;
}
.gc-api-ribbon-chips span,
.gc-api-ribbon-chips button {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px;
  background: rgba(10,11,13,.68);
  color: var(--rf-fg-2);
  font-size: 11px;
}
.gc-api-ribbon-chips button {
  cursor: pointer;
  color: var(--rf-fg-0);
  font-weight: 500;
}
.gc-api-ribbon-chips button:hover {
  border-color: rgba(200,37,58,.38);
  background: rgba(200,37,58,.09);
}
.gc-api-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rf-fg-4);
}
.gc-api-dot.online { background: var(--rf-ok); box-shadow: 0 0 0 4px rgba(61,163,122,.12); }
.gc-api-dot.checking { background: var(--rf-crimson); box-shadow: 0 0 0 0 rgba(200,37,58,.5); animation: rf-pulse 1.5s infinite; }
.gc-api-dot.offline { background: var(--rf-danger); }

.gc-hero-pipeline {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  gap: 0;
  align-items: center;
}
.gc-hero-pipe-node {
  min-height: 78px;
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: rgba(17,19,23,.68);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  animation: gc-soft-pop .55s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(.12s + var(--i) * .08s);
}
.gc-hero-pipe-node svg {
  color: var(--rf-crimson-hi);
}
.gc-hero-pipe-node span {
  color: var(--rf-fg-0);
  font-size: 12px;
  font-weight: 600;
}
.gc-hero-pipe-node small {
  color: var(--rf-fg-3);
  font-family: var(--rf-font-mono);
  font-size: 10px;
}
.gc-hero-pipe-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(200,37,58,.15), rgba(200,37,58,.7), rgba(200,37,58,.15));
  position: relative;
  overflow: hidden;
}
.gc-hero-pipe-line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -20px;
  width: 18px;
  height: 5px;
  background: var(--rf-crimson-hi);
  filter: blur(1px);
  animation: gc-flow-dot 1.8s ease-in-out infinite;
}

@keyframes gc-spin { to { transform: rotate(360deg); } }
@keyframes gc-flow-dot {
  from { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  to { transform: translateX(62px); opacity: 0; }
}

@media (max-width: 820px) {
  .gc-api-ribbon { grid-template-columns: 1fr; }
  .gc-api-ribbon-chips { justify-content: flex-start; max-width: none; }
}

@media (max-width: 560px) {
  html,
  body,
  #root {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .gc-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .gc-hero-grid,
  .gc-hero-copy,
  .gc-hero-sub,
  .gc-hero-cta,
  .gc-api-ribbon {
    min-width: 0;
    max-width: 100%;
  }
  .gc-lead {
    overflow-wrap: anywhere;
  }
  .gc-hero h1,
  .gc-hero-sub {
    width: 100%;
    max-width: calc(100vw - 48px);
  }
  .gc-hero-sub {
    text-wrap: pretty;
  }
  .gc-api-ribbon {
    max-width: 100%;
    padding: 12px;
  }
  .gc-api-ribbon-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: none;
  }
  .gc-api-ribbon-chips span,
  .gc-api-ribbon-chips button {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .gc-api-ribbon-chips button {
    grid-column: 1 / -1;
  }
  .gc-hero-pipeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gc-hero-pipe-line {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gc-api-ribbon,
  .gc-api-ribbon--checking .gc-api-ribbon-ic svg,
  .gc-hero-pipe-node,
  .gc-hero-pipe-line::after {
    animation: none;
  }
}

/* --- Third visual pass: hero stage + product polish --------------------- */
.gc-hero-visual {
  position: relative;
  isolation: isolate;
}
.gc-hero-stage-wrap {
  position: relative;
}
.gc-hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  pointer-events: none;
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgba(200,37,58,.18), transparent 34%),
    linear-gradient(245deg, rgba(61,163,122,.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 38px);
  opacity: .74;
  mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 82%, transparent 100%);
}
.gc-hero-visual .gc-lens-stage {
  border-color: rgba(255,255,255,.13);
  box-shadow:
    0 26px 80px rgba(0,0,0,.48),
    0 0 0 1px rgba(200,37,58,.08),
    inset 0 1px 0 rgba(255,255,255,.07);
}
.gc-preview-frame::before {
  content: "";
  position: absolute;
  inset: 39px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,37,58,.5), transparent);
  animation: gc-preview-scan 4s ease-in-out infinite;
  z-index: 2;
}
.gc-preview-bar {
  min-height: 44px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    rgba(17,19,23,.95);
  background-size: 42px 42px, auto;
}
.gc-preview-pane,
.gc-preview-kanban {
  background:
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--rf-bg-0);
  background-size: 38px 38px, 38px 38px, auto;
}
.gc-preview-frame .gca-tline,
.gc-preview-frame .gca-task,
.gc-preview-frame .gca-kcard {
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.gc-preview-frame .gca-task.fresh {
  position: relative;
}
.gc-preview-frame .gca-task.fresh::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  pointer-events: none;
  border: 1px solid rgba(200,37,58,.38);
  animation: gc-card-pulse 2.6s ease-in-out infinite;
}
.gc-preview-kanban .gca-kcol {
  background: rgba(10,11,13,.72);
}

@keyframes gc-preview-scan {
  0%, 100% { transform: translateX(-55%); opacity: 0; }
  30%, 70% { opacity: .8; }
  100% { transform: translateX(55%); }
}
@keyframes gc-card-pulse {
  0%, 100% { opacity: .28; box-shadow: 0 0 0 0 rgba(200,37,58,.18); }
  50% { opacity: .9; box-shadow: 0 0 0 5px rgba(200,37,58,0); }
}

@media (prefers-reduced-motion: reduce) {
  .gc-preview-frame::before,
  .gc-preview-frame .gca-task.fresh::before {
    animation: none;
  }
}

