/* rcicaxis — Editorial Dark System
   Reference: useorigin.com — "midnight gallery of quiet wealth".
   Rules: serif display, mono micro-labels, flat color-stepped elevation
   (no drop shadows), white-on-black primary action, restrained motion. */
:root {
  /* Neutrals — color-stepped elevation, canvas → surface → raised → line */
  --void: #0a0b0c;
  --carbon: #0f1011;
  --obsidian: #16171a;
  --slate: #22242a;
  --smoke: #2e2e2e;
  --ash: #6c6f76;
  --fog: #9f9fa0;
  --mist: #d4d4d6;
  --bone: #e5e5e6;
  --paper: #ffffff;

  /* Brand & Accents — chromatic panels, never the primary CTA */
  --accent: #847dff;          /* iris gleam — brand accent */
  --accent-glow: rgba(132, 125, 255, 0.18);
  --cyan-signal: #00b3dd;     /* data / pipeline */
  --orchid: #dd90d8;          /* client-facing modules */
  --periwinkle: #90b8f0;      /* advisory / review */
  --pulse-green: #27a644;
  --pulse-green-glow: rgba(39, 166, 68, 0.2);
  --coral-red: #eb5757;
  --coral-red-glow: rgba(235, 87, 87, 0.18);
  --signal-teal: #02b8cc;
  --iris-violet: #847dff;
  --amber-gold: #c9a15a;

  /* Typography — three voices: display serif / UI sans / data mono */
  --font-display: 'Newsreader', 'Lyon Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Sizing & Layout */
  --max-w: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --radius-full: 9999px;
  --section-gap: 120px;

  /* Motion — two speeds only: 0.2s state, 2.5s atmospheric reveal */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-reveal: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --dur-state: 0.2s;
  --dur-item: 0.9s;    /* scroll-in items */
  --dur-reveal: 2.5s;  /* hero / atmospheric only */
  --border-hairline: 1px solid rgba(255, 255, 255, 0.08);
  --border-subtle: 1px solid #22242a;
}

/* Display serif — the single loudest signal of the reference style */
.hero-headline,
.section-title,
.closer-title,
.bento-title,
.review-client-info h3,
.portal-feature-row h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.005em;
}

.hero-headline,
.closer-title {
  line-height: 0.94;
}

.section-title {
  line-height: 1.02;
}

/* Italic emphasis instead of gradient-clipped text */
.hero-headline em,
.section-title em,
.closer-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--paper);
  background: none;
  -webkit-background-clip: initial;
}

/* Motion Philosophy Keyframes */
@keyframes atmosphericReveal {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes borderTurn {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes borderRotate {
  to {
    --border-angle: 360deg;
  }
}

.border-trace {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--carbon);
}

.border-trace::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--border-angle), transparent 70%, var(--accent) 95%, transparent 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
  pointer-events: none;
}

.hero-headline {
  animation: atmosphericReveal 2.5s var(--ease-reveal) both;
}

.hero-subtext {
  animation: atmosphericReveal 2.5s var(--ease-reveal) 0.2s both;
}

.hero-frame-container {
  animation: atmosphericReveal 2.5s var(--ease-reveal) 0.4s both;
}

/* Scroll Reveal Motion Classes */
.motion-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-reveal), transform 0.8s var(--ease-reveal);
  will-change: opacity, transform;
}
.motion-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-fade-in {
  opacity: 0;
  transition: opacity 1s var(--ease-reveal);
  will-change: opacity;
}
.motion-fade-in.is-visible {
  opacity: 1;
}

/* Staggered Delays for Children within a Container */
.motion-stagger-1 { transition-delay: 0.1s; }
.motion-stagger-2 { transition-delay: 0.2s; }
.motion-stagger-3 { transition-delay: 0.3s; }
.motion-stagger-4 { transition-delay: 0.4s; }

/* Video Showcase Styling */
.motion-video-wrap {
  width: 100%;
  position: relative;
  background: #08090a;
  overflow: hidden;
}

.motion-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* Custom Organization Theme Variables */
[data-org-theme="royal-gold"] {
  --org-accent: #d4af37;
  --org-accent-glow: rgba(212, 175, 55, 0.25);
  --org-brand-name: "Kensington Immigration Law";
}
[data-org-theme="pacific-teal"] {
  --org-accent: #06b6d4;
  --org-accent-glow: rgba(6, 182, 212, 0.25);
  --org-brand-name: "Pacific Border Legal Group";
}
[data-org-theme="maple-crimson"] {
  --org-accent: #f43f5e;
  --org-accent-glow: rgba(244, 63, 94, 0.25);
  --org-brand-name: "Maple Leaf Immigration Council";
}
[data-org-theme="default"] {
  --org-accent: #847dff;
  --org-accent-glow: rgba(132, 125, 255, 0.25);
  --org-brand-name: "RCIC Axis Portal";
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--void);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--void);
  color: var(--mist);
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--accent);
  color: var(--void);
}

a {
  color: inherit;
  text-decoration: none;
}

code, kbd, pre {
  font-family: var(--font-mono);
}

/* Ambient Background Grid & Radial Glow */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(132, 125, 255, 0.05), transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 40%, rgba(39, 166, 68, 0.03), transparent 70%),
    radial-gradient(ellipse 40% 30% at 15% 75%, rgba(99, 102, 241, 0.03), transparent 70%);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
}

/* Layout Container */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 9, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s var(--ease);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--fog);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--paper);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
/* Primary action is white-on-black only (21:1) — accents never fill a CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--paper);
  color: #0a0b0c;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur-state) var(--ease), color var(--dur-state) var(--ease);
}

.btn-primary::after {
  content: '→';
  font-size: 13px;
  transition: transform var(--dur-state) var(--ease);
}

.btn-primary:hover {
  background: var(--mist);
}

.btn-primary:hover::after {
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--mist);
  font-size: 13px;
  font-weight: 400;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #23252a;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--fog);
  transition: all 0.2s var(--ease);
}

.btn-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--paper);
}

/* Badges & Tags */
/* Badges are micro-labels, not alerts. Neutral surface, mono type; the
   only colour left is a small dot for genuinely live state. */
.badge-lime,
.badge-green,
.badge-red {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fog);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.badge-green { color: var(--mist); }
.badge-red { color: var(--ash); }

/* Section Common */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 300;
  letter-spacing: -0.005em;
  line-height: 1.02;
  color: var(--paper);
  margin-bottom: 18px;
  text-wrap: balance;
}

.section-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--fog);
}

/* Section 1: Hero */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-pill-wrap {
  display: inline-flex;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 0.94;
  color: var(--paper);
  max-width: 1040px;
  margin: 0 auto 28px auto;
  text-wrap: balance;
}

.hero-headline em {
  font-style: italic;
  color: var(--paper);
}

.hero-subtext {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--fog);
  max-width: 740px;
  margin: 0 auto 36px auto;
}

.hero-subtext strong {
  color: var(--mist);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Page-level buttons, one step up from the nav. A size modifier rather than a
   place selector or an inline style: sizing used to live in all three, so a
   second button dropped beside the hero's kept the nav size and the pair came
   out mismatched. Kept alongside for archive/v1, which predates the class. */
/* Two class names, not one: .btn-lg alone ties on specificity with
   .btn-secondary, which lives in v2.css and therefore wins on order. Pairing
   the modifier with the variant makes the size independent of file order. */
.btn-primary.btn-lg,
.btn-secondary.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
}

.hero-cta-group .btn-primary {
  padding: 13px 26px;
  font-size: 15px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mist);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.15s ease;
}

.hero-link:hover {
  color: var(--accent);
}

.hero-link svg {
  transition: transform 0.15s ease;
}
.hero-link:hover svg {
  transform: translateX(3px);
}

/* Hero Showcase Frame */
.hero-frame-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero-atmospheric-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(132, 125, 255, 0.12) 0%, rgba(39, 166, 68, 0.06) 40%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.hero-card {
  background: var(--carbon);
  border-radius: var(--radius-xl);
  border: 1px solid #23252a;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: left;
}

.hero-window-header {
  background: #121315;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #23252a;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27282b;
}

.window-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #090a0b;
  border: 1px solid #23252a;
  border-radius: var(--radius-md);
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
}

.window-url-bar span {
  color: var(--fog);
}

.window-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #7fae91;
}

.status-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fae91;
  box-shadow: 0 0 8px #7fae91;
  animation: pulse-beacon 2s infinite ease-in-out;
}

@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-window-body {
  padding: 24px;
  background: #0b0c0d;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--carbon);
  border: 1px solid #23252a;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
}

.kpi-card.highlight::before {
  background: var(--accent);
}

.kpi-label {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-value {
  font-size: 26px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}

.kpi-sub {
  font-size: 12px;
  color: var(--fog);
  margin-top: 4px;
}

.kpi-sub.green { color: #7fae91; }
.kpi-sub.lime { color: var(--accent); }

.hero-scan-panel {
  background: #121316;
  border: 1px solid #23252a;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.scan-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scan-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.scan-row-item {
  background: #090a0c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scan-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #191b1f;
  border: 1px solid #272a30;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.scan-meta {
  flex: 1;
  min-width: 0;
}

.scan-file-name {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scan-status-line {
  font-size: 11px;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scan-status-line .dot-green {
  width: 5px;
  height: 5px;
  background: #7fae91;
  border-radius: 50%;
}

/* Section 2: Trust Bar */
.trust-bar-section {
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 16, 17, 0.6);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.trust-lead {
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
  padding-right: 24px;
  border-right: 1px solid #23252a;
  white-space: nowrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #161719;
  border: 1px solid #272a30;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fog);
}

.trust-content h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--bone);
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 12px;
  color: var(--ash);
}

/* Section 3: Problem & Pivot Bento Box */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--carbon);
  border: 1px solid #23252a;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
}

.bento-card.col-8 { grid-column: span 7; }
.bento-card.col-4 { grid-column: span 5; }
.bento-card.col-4-third { grid-column: span 4; }

.bento-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bento-label {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}

.bento-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fog);
  margin-bottom: 20px;
}

.bento-split-box {
  background: #090a0c;
  border: 1px solid #1c1e22;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* Problem/fix rows carry no colour of their own — mono red-on-green at
   full saturation pulled the eye off the card's actual claim. Hierarchy
   comes from weight and tone instead. */
.bento-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.bento-problem {
  color: var(--ash);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.bento-solution {
  color: var(--mist);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* Section 4: Flagship Engine */
.engine-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.engine-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.engine-step-item {
  background: #0f1012;
  border: 1px solid #23252a;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.engine-step-item:hover, .engine-step-item.active {
  border-color: rgba(132, 125, 255, 0.4);
  background: #141518;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(132, 125, 255, 0.08);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13px;
  color: var(--fog);
  line-height: 1.5;
}

.step-desc code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: #7fae91;
}

/* Interactive Engine Stage */
.engine-stage-card {
  background: #0f1012;
  border: 1px solid #23252a;
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.7);
}

.engine-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1f2227;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.pipeline-diagram {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pipeline-box {
  flex: 1;
  background: #16171a;
  border: 1px solid #262930;
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.pipeline-box:hover {
  background: #1f222a;
  border-color: #3b3f4d;
  transform: translateY(-2px);
}

.pipeline-box.active {
  border-color: var(--accent);
  background: #1c1e24;
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(0);
}

.pipeline-arrow {
  color: var(--ash);
  font-size: 14px;
}

.pipeline-box-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--ash);
  text-transform: uppercase;
}

.pipeline-box-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--bone);
  margin-top: 4px;
}

.engine-live-terminal {
  background: #070809;
  border: 1px solid #1c1e22;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
  line-height: 1.7;
}

.term-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.term-line .term-tag {
  color: var(--accent);
  flex-shrink: 0;
}

.term-line .term-ok {
  color: #7fae91;
}

/* Section 5: The Review System */
.review-dashboard-wrapper {
  background: #0f1012;
  border: 1px solid #23252a;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.review-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #202328;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.review-client-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}

.review-client-info p {
  font-size: 13px;
  color: var(--fog);
}

.review-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-gauge-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.gauge-box {
  background: #141619;
  border: 1px solid #23252a;
  border-radius: var(--radius-md);
  padding: 16px;
}

.gauge-header {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ash);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gauge-count {
  font-size: 28px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.gauge-count.green { color: #7fae91; }
.gauge-count.amber { color: #c9a15a; }
.gauge-count.blue { color: #8fa8c9; }

.review-findings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.finding-item {
  background: #121316;
  border: 1px solid #202328;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* Bento Card Visual Media */
.bento-media-wrap {
  margin-top: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #090a0c;
  position: relative;
  max-height: 220px;
}

.bento-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
  display: block;
}

.bento-card:hover .bento-media-wrap img {
  transform: scale(1.03);
}

.bento-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 10, 0.85) 100%);
  pointer-events: none;
}

/* Feature Showcase Images */
.showcase-frame {
  background: var(--carbon);
  border: 1px solid #23252a;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s var(--ease);
}

.showcase-frame:hover img {
  transform: scale(1.01);
}

.showcase-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}


/* Section 6: Client Portal */
.portal-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.portal-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portal-feature-row {
  display: flex;
  gap: 14px;
}

.portal-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #161719;
  border: 1px solid #272930;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.portal-feature-row h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 4px;
}

.portal-feature-row p {
  font-size: 14px;
  color: var(--fog);
  line-height: 1.5;
}

.portal-dropzone-mockup {
  background: #111215;
  border: 1px solid #23252a;
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
}

.dropzone-box {
  border: 2px dashed #2b2f38;
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  background: #090a0c;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.dropzone-box:hover {
  border-color: var(--accent);
  background: #0e0f12;
}

.dropzone-icon {
  color: var(--accent);
  margin-bottom: 12px;
}

.dropzone-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 6px;
}

.dropzone-subtitle {
  font-size: 12px;
  color: var(--ash);
}

.uploaded-file-row {
  background: #16171a;
  border: 1px solid #252830;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  text-align: left;
}

.file-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-name-tag {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--paper);
}

.file-size-tag {
  font-size: 11px;
  color: var(--ash);
}

/* Section 7: Case Notes & Communication */
.notes-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.notes-timeline-card {
  background: #101114;
  border: 1px solid #23252a;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.timeline-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-item {
  background: #16181c;
  border: 1px solid #24272f;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  position: relative;
}

.feed-item.staff-only {
  border-left: 3px solid var(--amber-gold);
}

.feed-item.client-comms {
  border-left: 3px solid #8fa8c9;
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
}

.feed-badge-staff {
  color: var(--amber-gold);
  background: rgba(201, 161, 90, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
}

.feed-badge-client {
  color: #8fa8c9;
  background: rgba(96, 165, 250, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
}

.feed-time {
  color: var(--ash);
}

.feed-text {
  font-size: 13px;
  color: var(--bone);
  line-height: 1.5;
}

/* Section 8: White-Labeling & Branding Redesign */
.whitelabel-studio-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 10px;
}

.whitelabel-presets-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .whitelabel-presets-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .whitelabel-presets-tabs {
    grid-template-columns: 1fr;
  }
}

.whitelabel-preset-card {
  background: #101216;
  border: 1px solid #22252c;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  position: relative;
  user-select: none;
}

.whitelabel-preset-card:hover {
  background: #15181e;
  border-color: #333842;
  transform: translateY(-2px);
}

.whitelabel-preset-card.active {
  background: #171a22;
  border-color: var(--org-accent, var(--accent));
  box-shadow: 0 0 20px var(--org-accent-glow, var(--accent-glow));
  transform: translateY(-2px);
}

.preset-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preset-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}

.preset-card-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--fog);
}

.preset-card-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}

/* Authentic rcicaxis Client Details Workspace Screen (White-Label Showcase) */
.rcic-app-showcase-frame {
  background: #08090b;
  border: 1px solid #23252c;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}



/* Window URL Chrome Bar */
.rcic-window-chrome {
  background: #0e1014;
  border-bottom: 1px solid #1a1c22;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rcic-url-pill {
  flex: 1;
  background: #060709;
  border: 1px solid #1c1f26;
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rcic-url-pill strong {
  color: var(--org-accent, var(--accent));
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Main App Two-Column View (Sidebar + Content) */
.rcic-app-container {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 600px;
  background: #08090b;
}

@media (max-width: 900px) {
  .rcic-app-container {
    grid-template-columns: 1fr;
  }
}

/* Left Sidebar */
.rcic-sidebar {
  background: #0d0e12;
  border-right: 1px solid #1c1e25;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rcic-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid #171920;
  margin-bottom: 12px;
}

.rcic-brand-badge {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: var(--org-accent, var(--accent));
  color: #08090a;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--org-accent-glow, var(--accent-glow));
  transition: all 0.3s ease;
}

.rcic-brand-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.2px;
}

.rcic-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rcic-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--fog);
  transition: all 0.2s ease;
  user-select: none;
}

.rcic-nav-item.active {
  background: #1e2025;
  color: var(--paper);
  font-weight: 500;
}

.rcic-sidebar-footer {
  padding-top: 12px;
  border-top: 1px solid #171920;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--fog);
}

.rcic-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e212b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--paper);
}

/* App Main Body Area */
.rcic-main-area {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Breadcrumb Bar */
.rcic-top-bar {
  padding: 10px 20px;
  background: #0b0c10;
  border-bottom: 1px solid #1a1c22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.rcic-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fog);
}

.rcic-btn-add {
  background: #ffffff;
  color: #08090a;
  border: none;
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease;
}

.rcic-btn-add:hover {
  opacity: 0.9;
}

/* Client Header Card */
.rcic-client-header {
  padding: 18px 20px;
  background: #0e1015;
  border-bottom: 1px solid #1a1c22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.rcic-client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rcic-client-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #181b24;
  border: 1.5px solid var(--org-accent, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--paper);
  position: relative;
  transition: border-color 0.3s ease;
}

.rcic-client-avatar-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--org-accent, var(--accent));
  color: #08090a;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.rcic-client-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.rcic-client-sub {
  font-size: 11px;
  color: var(--fog);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.rcic-tabs-row {
  display: flex;
  gap: 6px;
  padding: 8px 20px;
  background: #0b0c10;
  border-bottom: 1px solid #171920;
}

.rcic-tab-pill {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--fog);
  cursor: pointer;
  user-select: none;
}

.rcic-tab-pill.active {
  background: #191c24;
  color: var(--paper);
  font-weight: 600;
  border-bottom: 2px solid var(--org-accent, var(--accent));
  transition: border-color 0.3s ease;
}

/* 3-Column Workspace Area */
.rcic-workspace-3col {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 1px;
  background: #171920;
  flex: 1;
}

@media (max-width: 1080px) {
  .rcic-workspace-3col {
    grid-template-columns: 1fr;
  }
}

/* Workspace Column 1: Application Sections */
.rcic-col-sections {
  background: #0c0d11;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rcic-section-label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--ash);
  text-transform: uppercase;
}

.rcic-section-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--fog);
  cursor: pointer;
}

.rcic-section-item.active {
  background: #161820;
  color: var(--paper);
  font-weight: 600;
}

.rcic-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--org-accent, var(--accent));
  transition: background 0.3s ease;
}

/* Workspace Column 2: Form Fields */
.rcic-col-editor {
  background: #08090b;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rcic-editor-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}

.rcic-editor-sub {
  font-size: 11px;
  color: var(--fog);
}

.rcic-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rcic-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rcic-form-label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 4px;
}

.rcic-form-input {
  background: #0f1116;
  border: 1px solid #20232c;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 11px;
  color: var(--paper);
  font-family: var(--font-mono);
}

/* Workspace Column 3: Documents Rail */
.rcic-col-docs {
  background: #0c0d11;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rcic-doc-item {
  background: #12141a;
  border: 1px solid #20232a;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 11px;
}

.rcic-doc-name {
  font-family: var(--font-mono);
  color: var(--paper);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rcic-doc-meta {
  font-size: 9px;
  color: #7fae91;
  margin-top: 2px;
  font-family: var(--font-mono);
}

.rcic-btn-upload {
  background: #171a22;
  border: 1px solid #262a34;
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  padding: 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
}

.rcic-btn-scan {
  background: var(--org-accent, var(--accent));
  color: #08090a;
  border: none;
  font-size: 11px;
  font-weight: 700;
  padding: 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 10px var(--org-accent-glow, var(--accent-glow));
  transition: all 0.3s ease;
}

.receipt-verified-tag {
  color: #7fae91;
  font-size: 10px;
  font-family: var(--font-mono);
}

/* 4-Pillar Features Grid */
.whitelabel-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .whitelabel-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .whitelabel-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.whitelabel-pillar-card {
  background: #101216;
  border: 1px solid #22252c;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s var(--ease);
}

.whitelabel-pillar-card:hover {
  background: #14171d;
  border-color: #333842;
  transform: translateY(-2px);
}

.whitelabel-pillar-icon {
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: #171920;
  border: 1px solid #262932;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whitelabel-pillar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}

.whitelabel-pillar-desc {
  font-size: 12px;
  color: var(--fog);
  line-height: 1.5;
}

/* Section 9: Closer / Bottom CTA */
.closer-section {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.closer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 280px;
  background: radial-gradient(ellipse at center bottom, rgba(132, 125, 255, 0.1) 0%, rgba(39, 166, 68, 0.04) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.closer-card {
  background: linear-gradient(180deg, #111215 0%, #0c0d0f 100%);
  border: 1px solid #262930;
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.closer-title {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 16px;
}

.closer-sub {
  font-size: 18px;
  color: var(--fog);
  max-width: 600px;
  margin: 0 auto 36px auto;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #060708;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fog);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--ash);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-size: 12px;
  color: var(--ash);
  font-family: var(--font-mono);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-bar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-lead {
    grid-column: span 2;
    border-right: none;
    border-bottom: 1px solid #23252a;
    padding-bottom: 12px;
  }
  .bento-card.col-8, .bento-card.col-4, .bento-card.col-4-third {
    grid-column: span 12;
  }
  .engine-container, .portal-showcase-grid, .notes-showcase-container, .whitelabel-demo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* A 1fr track is minmax(auto, 1fr), so one nowrap mono filename inside a
     collapsed column widened the whole page by ~90px. */
  .engine-container > *, .portal-showcase-grid > *,
  .notes-showcase-container > *, .whitelabel-demo-grid > * {
    min-width: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  /* The header CTA wrapped to two lines and grew the bar over the wordmark. */
  .site-header .btn-primary {
    font-size: 10px;
    padding: 10px 14px;
    white-space: nowrap;
  }
  .hero-kpis {
    grid-template-columns: 1fr;
  }
  .scan-rows {
    grid-template-columns: 1fr;
  }
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }
  .review-gauge-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Editorial pass — reference: useorigin.com
   Flat gallery-wall elevation, restrained motion, scroll-driven reveals.
   Loaded last so it wins over the older "glow + drop shadow" rules above.
   ========================================================================== */

/* 1. Elevation is color-stepped, not shadowed --------------------------- */
.hero-card,
.engine-stage-card,
.review-dashboard-wrapper,
.notes-timeline-card,
.rcic-app-showcase-frame,
.showcase-frame,
.closer-card,
.bento-card:hover,
.rcic-btn-scan,
.rcic-brand-badge,
.whitelabel-preset-card.active,
.btn-primary,
.kpi-card {
  box-shadow: none;
}

.hero-card,
.engine-stage-card,
.review-dashboard-wrapper,
.notes-timeline-card,
.rcic-app-showcase-frame,
.showcase-frame,
.closer-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate);
}

.bento-card,
.gauge-box,
.whitelabel-pillar-card,
.whitelabel-preset-card,
.portal-dropzone-mockup {
  border-radius: var(--radius-lg);
}

.closer-card {
  background: var(--carbon);
}

/* Atmosphere: one quiet iris wash, no technical grid overlay */
.ambient-grid {
  display: none;
}

.ambient-bg {
  background-image: radial-gradient(ellipse 70% 45% at 50% -5%, rgba(132, 125, 255, 0.07), transparent 70%);
}

.hero-atmospheric-glow,
.closer-glow {
  background: radial-gradient(ellipse at center, rgba(132, 125, 255, 0.10) 0%, transparent 70%);
  filter: blur(60px);
}

/* The rotating conic border was the loudest non-reference element */
.border-trace::before {
  display: none;
}

/* 2. Type voices -------------------------------------------------------- */
body {
  font-weight: 300;
}

.section-tag,
.bento-label,
.kpi-label,
.gauge-header,
.rcic-section-label,
.rcic-form-label,
.footer-col h4,
.pipeline-box-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-tag {
  color: var(--fog);
}

.section-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-subtext,
.closer-sub {
  font-weight: 300;
}

.btn-primary.no-arrow::after {
  content: none;
}

/* 3. Rhythm — the reference breathes; 96px was too tight ---------------- */
.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.section-header {
  margin-bottom: 72px;
}

.hero-section {
  padding-top: 180px;
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }
  .hero-section { padding-top: 130px; padding-bottom: 72px; }
}

/* 4. Motion system ------------------------------------------------------
   Two speeds only: 0.2s for state, 2.5s for atmospheric reveal.
   Reveal = opacity + 24px rise + 6px defocus. No springs, no parallax. */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--dur-item) var(--ease-reveal) var(--reveal-delay, 0s),
    transform var(--dur-item) var(--ease-reveal) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Legacy classes fold into the same system */
.motion-fade-up,
.motion-fade-in {
  transition-duration: var(--dur-item);
  transition-timing-function: var(--ease-reveal);
}

/* Hero runs on load, not on scroll */
.hero-pill-wrap,
.hero-headline,
.hero-subtext,
.hero-cta-group,
.hero-frame-container {
  animation: atmosphericReveal var(--dur-reveal) var(--ease-reveal) both;
}
.hero-pill-wrap      { animation-delay: 0s; }
.hero-headline       { animation-delay: 0.1s; }
.hero-subtext        { animation-delay: 0.25s; }
.hero-cta-group      { animation-delay: 0.4s; }
.hero-frame-container{ animation-delay: 0.55s; }

@keyframes atmosphericReveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll progress hairline in the header */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: var(--accent);
  z-index: 200;
  pointer-events: none;
}

/* State transitions: uniform, quiet */
.bento-card,
.whitelabel-pillar-card,
.whitelabel-preset-card,
.engine-step-item,
.pipeline-box,
.nav-link,
.btn-ghost,
.btn-pill {
  transition: background-color var(--dur-state) var(--ease),
              border-color var(--dur-state) var(--ease),
              color var(--dur-state) var(--ease),
              transform var(--dur-state) var(--ease);
}

.bento-card:hover,
.whitelabel-pillar-card:hover,
.whitelabel-preset-card:hover,
.pipeline-box:hover {
  transform: none;
  background: var(--obsidian);
  border-color: #33353c;
}

/* Number tickers land on their value rather than popping in */
.kpi-value,
.gauge-count {
  font-variant-numeric: tabular-nums;
}

/* 5. Accessibility ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* Rotating ring on the primary CTA only — the reference runs
   `borderTurn 2.5s linear infinite` behind its GET STARTED button. The same
   effect on a large card (where this site had it) just reads as noise. */
.btn-primary.is-glow {
  position: relative;
  isolation: isolate;
}

.btn-primary.is-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: inherit;
  /* A travelling highlight on an even halo — the single wide arc it replaced
     read as a purple blob parked on one side of the button, not as a ring. */
  background: conic-gradient(from var(--border-angle),
    transparent 58%, var(--accent) 76%, #cdc9ff 84%, transparent 92%);
  box-shadow: 0 0 20px -6px var(--accent);
  filter: blur(6px);
  opacity: 0.55;
  animation: borderRotate 2.5s linear infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary.is-glow::before { animation: none; opacity: 0.5; }
}
