/* RightTech — Shared tokens & base for redesign explorations
   Mirrors style guide §1, §4. Each direction file extends these. */

:root {
  /* Colors — straight from style guide */
  --bg-primary: #0A0E14;
  --bg-secondary: #111820;
  --bg-tertiary: #161D27;
  --bg-card: #131A23;
  --text-primary: #E8ECF1;
  --text-secondary: #8B95A5;
  --text-tertiary: #5A6477;
  --accent: #1DB98C;
  --accent-dim: rgba(29, 185, 140, 0.12);
  --accent-glow: rgba(29, 185, 140, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Radii */
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Eyebrow label — used everywhere */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}

/* Primary CTA — solid green, dark text */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #042C20;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: none;
  transition: transform .18s ease, filter .18s ease;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Outline CTA — transparent w/ subtle border */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-hover);
  transition: border-color .18s ease, color .18s ease;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Logo */
.rt-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.rt-logo span { color: var(--accent); }

/* Nav skeleton shared across directions */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 56px;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 20, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav .links { display: flex; gap: 32px; }
.nav .links a {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-secondary);
  transition: color .15s ease;
}
.nav .links a:hover { color: var(--text-primary); }

/* Scrollbar tweak so it doesn't break dark theme */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }

/* Reveal utility (used by JS in directions B & C) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Section dividers — used to mark cut/move recommendations on the canvas only */
hr.hairline {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
