:root {
  --brand-red: #FE0F09;
  --brand-red-deep: #D60B05;
  --brand-red-bright: #FF3D38;
  --brand-red-soft: rgba(254, 15, 9, 0.08);
  --charcoal: #1C1F23;
  --bg: #FAF9F7;
  --bg-card: #FFFFFF;
  --bg-tint: #F2F0EC;
  --line: #E2DED7;
  --line-strong: #C7C2B8;
  --text: #1C1F23;
  --text-muted: #6B6863;
  --text-faint: #9C988F;
  --green: #2C7A4F;
  --grid-line: rgba(28, 31, 35, 0.04);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Stage ---------- */
.stage {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 88%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 88%);
  pointer-events: none;
}

/* ---------- Browser frame ---------- */
.product-mockup {
  position: relative;
  background: var(--charcoal);
  border-radius: 16px;
  padding: 12px;
  box-shadow:
    0 48px 100px -32px rgba(28, 31, 35, 0.42),
    0 16px 36px -8px rgba(28, 31, 35, 0.18);
}
.mockup-chrome {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px 10px;
}
.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.mockup-screen {
  background: white;
  border-radius: 6px;
  overflow: hidden;
}

/* ---------- Annotations ---------- */
.mockup-annot {
  position: absolute;
  background: white;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow:
    0 18px 40px -8px rgba(28, 31, 35, 0.22),
    0 4px 12px -2px rgba(28, 31, 35, 0.08);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.mockup-annot .ic {
  width: 24px;
  height: 24px;
  background: var(--brand-red);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.mockup-annot .ic.dark { background: var(--charcoal); }
.mockup-annot .ic.green { background: var(--green); }

/* ---------- Sidebar variant (reused across multiple mockups) ---------- */
.side-pane {
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: 16px 12px;
}
.side-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  padding: 0 8px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 2px;
}
.side-brand .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  border-radius: 50%;
  margin-left: 2px;
}
.side-section {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 8px 4px;
}
.side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 5px;
  margin-bottom: 2px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.side-item.active {
  background: white;
  color: var(--brand-red);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.side-icon {
  width: 11px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.55;
  flex-shrink: 0;
}
.side-item.active .side-icon {
  background: var(--brand-red);
  border-color: var(--brand-red);
  opacity: 1;
}

/* ---------- Common helpers ---------- */
.mono { font-family: 'JetBrains Mono', monospace; }
.fraunces { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; }

/* Pills used in some images */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
}
.pill.green {
  background: rgba(44, 122, 79, 0.12);
  color: var(--green);
}
.pill.red {
  background: var(--brand-red-soft);
  color: var(--brand-red);
}
.pill.dark {
  background: var(--charcoal);
  color: white;
}
.pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
